Hi there,
I have set up ddclient with a rootless docker (not sure if that matters) and get the following log:
…
[custom-init] No custom files found, skipping…
Setting up watches.
Watches established.
[ls.io-init] done.
Afterwards nothing happens anymore.
I had some topics with setting up ddclient.conf (in home/USER/appdata/ddclient/config) for Cloudflare as the log was showing different errors, so the file seems to be read correctly.
If I go into the docker container’s shell and execute “ddclient -daemon=0 -verbose”, I get a lot of errors:
WARNING: file /etc/dd> client/ddclient.conf: Cannot open file ‘/etc/ddclient/ddclient.conf’. (No such file or directory)
stat() on closed filehandle FD at /usr/bin/ddclient line 1578.
Use of uninitialized value $mode in bitwise and (&) at /usr/bin/ddclient line 1579.
-o on closed filehandle FD at /usr/bin/ddclient line 1584.
-w on closed filehandle FD at /usr/bin/ddclient line 1584.
Use of uninitialized value $mode in bitwise and (&) at /usr/bin/ddclient line 1587.
readline() on closed filehandle FD at /usr/bin/ddclient line 1594.
WARNING: file /etc/ddclient/ddclient.conf: Cannot open file ‘/etc/ddclient/ddclient.conf’. (No such file or directory)
stat() on closed filehandle FD at /usr/bin/ddclient line 1578.
Use of uninitialized value $mode in bitwise and (&) at /usr/bin/ddclient line 1579.
-o on closed filehandle FD at /usr/bin/ddclient line 1584.
-w on closed filehandle FD at /usr/bin/ddclient line 1584.
Use of uninitialized value $mode in bitwise and (&) at /usr/bin/ddclient line 1587.
readline() on closed filehandle FD at /usr/bin/ddclient line 1594.
For that one I found a github entry from 2020 (Handle missing config file cleanly · Issue #188 · ddclient/ddclient · GitHub)
What am I doing wrong (or is it linked to the rootless docker)?
Thanks in advance!