# Start container openhab3 failed: {"message":"failed to initialize logging driver: database is locked"}

**URL:** <https://community.openhab.org/t/start-container-openhab3-failed-message-failed-to-initialize-logging-driver-database-is-locked/113344>\
**Category:** Installation\
**Tags:** docker\
**Created:** [January 7, 2021, 5:50pm UTC](https://community.openhab.org/t/start-container-openhab3-failed-message-failed-to-initialize-logging-driver-database-is-locked/113344 "2021-01-07T17:50:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![yphyph01](https://community.openhab.org/user_avatar/community.openhab.org/yphyph01/32/92181_2.png) [@yphyph01](https://community.openhab.org/u/yphyph01)\
**Post date:** [January 7, 2021, 5:50pm UTC](https://community.openhab.org/t/start-container-openhab3-failed-message-failed-to-initialize-logging-driver-database-is-locked/113344/1 "2021-01-07T17:50:39Z")

</div>

Running on a synology 6.2 server, I’ve succesfully installed and used the OH3 docker container until a reboot. Now when I want to re-start the container, It failed with the following message:

> Start container openhab3 failed: {“message”:“failed to initialize logging driver: database is locked”}

Any idea how to solve this ?

---

<div class="post-metadata">

**Author:** ![joriskofman](https://community.openhab.org/user_avatar/community.openhab.org/joriskofman/32/63671_2.png) [@joriskofman](https://community.openhab.org/u/joriskofman)\
**Post date:** [January 7, 2021, 6:16pm UTC](https://community.openhab.org/t/start-container-openhab3-failed-message-failed-to-initialize-logging-driver-database-is-locked/113344/2 "2021-01-07T18:16:49Z")

</div>

Do you have the correct rights to the volumes where the database is stored?  
Does the user starting the process have the rights to access the location where the volumes are stored?

Those would be my guess. Other than that maybe post the contents of your docker compose or the command line arguments?

---

<div class="post-metadata">

**Author:** ![yphyph01](https://community.openhab.org/user_avatar/community.openhab.org/yphyph01/32/92181_2.png) [@yphyph01](https://community.openhab.org/u/yphyph01)\
**Post date:** [January 7, 2021, 6:57pm UTC](https://community.openhab.org/t/start-container-openhab3-failed-message-failed-to-initialize-logging-driver-database-is-locked/113344/3 "2021-01-07T18:57:04Z")

</div>

I don’t know the reason but after a cleaning of the container data, I’ve succesfully restarted it.  
Thank you for your advise

---

<div class="post-metadata">

**Author:** ![Seltzer65](https://community.openhab.org/user_avatar/community.openhab.org/seltzer65/32/85056_2.png) [@Seltzer65](https://community.openhab.org/u/Seltzer65)\
**Post date:** [December 29, 2021, 7:19am UTC](https://community.openhab.org/t/start-container-openhab3-failed-message-failed-to-initialize-logging-driver-database-is-locked/113344/4 "2021-12-29T07:19:46Z")

</div>

Thanks for sharing this info this is useful keep it up[.](https://www.mybalancenow.ltd/)
