wayner Posted November 6, 2023 Share Posted November 6, 2023 I have posted this issue in the support thread for this docker, but others have posted about this issue and it has not been answered. I am getting errors when writing to files in appdata on a newly created docker - this is the MQTT docker. 1699286534: Error saving in-memory database, unable to open /config/data/mosquitto.db.new for writing. 1699286534: Error: Permission denied. I believe this directory is appdata/MQTT/data. How do I fix this? Here are the permissions for the main appdata directory plus the child directories drw-rw-rw- 1 nobody users 177 Nov 6 08:28 MQTT/ ls -l for /mnt/user/appdata/MQTT drw-rw-rw- 1 root root 20 Nov 6 08:28 ca_certificates/ -rw-rw-rw- 1 root root 793 Nov 6 08:28 passwords.README -rw-rw-rw- 1 root root 794 Nov 6 08:28 mosquitto.conf drw-rw-rw- 1 root root 20 Nov 6 08:28 conf.d/ drw-rw-rw- 1 root root 20 Nov 6 08:28 certs/ drw-rw-rw- 1 root root 27 Nov 6 08:28 log/ drw-rw-rw- 1 root root 6 Nov 6 08:28 data/ -rw-rw-rw- 1 root root 0 Nov 6 08:28 passwords.mqtt -rw-rw-rw- 1 root root 794 Nov 6 08:28 mosquitto.conf.example Quote Link to comment
Timmons Posted November 20, 2023 Share Posted November 20, 2023 I am also getting this error and would really like to solve it for my home assistant camera motion configuration. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.