mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-08-02 10:38:41 -04:00
Help: Synology Cannot #255
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @flyegg on GitHub (Feb 7, 2023).
TLDR: I tried to use the docker suite built in Synology DSM to run the ddns-updater. Because the DSM is highly customized linux, I am not sure I put the config.json in the right place. I first made the dir and the config.json file inside the docker foder following the setup guide so It looks like /docker/data/config.jason. Then I started the container by using defaut settings. Although it seems that the ddns-updater is up and can read the config.json file but actually it is not working properly. The web page at 8000 port shows a table like page head and nothing else. Thanks a lot!
Running version latest built on 2023-02-02T00:41:38Z (commit
228fc50) | stdoutLogs:
Configuration file (remove your credentials!):
Host OS:
Synology DSM 7.1.1
@jimpapi commented on GitHub (Mar 4, 2023):
ok it's easy:
1 your path is: /volume1/docker/data
2 in this data folder put (as you have already done) the config.json after editing with your ddns credentials
3 stop the container ddns-updater and add your path so it can read YOUR json and not the default
to do this right click the container>edit>advanced settings>environment>DATADIR = volume1/docker/data
Run the container again and now reads your config.json
The other way is to delete the container and buld it again by running the command line for this
1 ssh your synology with putty
2 connect by giving your synology ip and your synology credentials
3 go to the folder you have the file docker-compose.yaml (i put it in the some folder of the container)
to go the command line there write : cd /volume1/docker/data (put the docker-compose.yaml in the data folder)
4 build the container by writting: sudo docker-compose up -d
ofcourse before this you must delete the container if already in docker and edit the docker-compose.yaml file to have the right path for the config.json
i give you the example of mine docker-compose.yaml:
@qdm12 commented on GitHub (Apr 13, 2023):
Thanks @jimpapi
I'll close the issue assuming it's fixed. Note you can also inline the json on a single line with the env variable
CONFIGif you prefer.