-
I get this error message in the logs when I attempt to startup. I have posted an issue on the issues tab. Anyone else experienced this? 2023-01-09T17:02:31Z ERROR open /updater/data/updates.json: permission denied |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
Had the same error. Go to your docker settings and change Config: from "/mnt/user/appdata/ddns-updater" to "/mnt/user/appdata/ddns-updater/data" At least it solved it for me. |
Beta Was this translation helpful? Give feedback.
-
had the same, follow the exact setup procedure.. https://github.com/qdm12/ddns-updater#setup |
Beta Was this translation helpful? Give feedback.
-
I would like to use the ddns updater under unraid I created the config.json file. but still get the error message |
Beta Was this translation helpful? Give feedback.
-
I had a similar issue on my Synology NAS where the container log informed me that updates.json could not be created due to a permissions issue. I found that the container was trying to write the updates.json file with the UID:GID of 1000:1000, which did not exist on my NAS. You can see these args in the Dockerfile, and they cannot be replaced by ENV variables. To fix this issue, I noted the UID:GID of another suitable NAS user (ensuring that said user had write permissions on the share mapped to /updater/data in the container) and then instructed my docker-compose file to build the container instead of pulling an image. This allowed me to supply args to change the UID and GID. Here is an example of my docker-compose file:
You'll need to make sure you have Git installed before doing the above. I just installed Git Server using the Synology Package Center; no other config required. |
Beta Was this translation helpful? Give feedback.
-
Documenting the answer for any future user encountering this issue. Usually you did not read properly essentially step 1 of the Setup section in the readme. All the following is said there, but it's detailed more below:
|
Beta Was this translation helpful? Give feedback.
Documenting the answer for any future user encountering this issue. Usually you did not read properly essentially step 1 of the Setup section in the readme. All the following is said there, but it's detailed more below:
1000
, and it works. But some systems such as Unraid might require this, especially outside the terminal and through graphical user interfaces.PUID
,PGID
,UID
orGID
do NOT exist in this Docker image, and they don't do anything. The image is without a base system and is pre-built to run as user1000
(and it's not root downgrading to …