Ddclient not finding custom files (and therefore not updating)

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!

Seems i did not use the last line in the config to provide the (sub-)domains as I expected the zone (as top-level domain) to be enough if no update of anything else is done.
Weird though, that no message is provided and the execution just stops.
Now I encounter another issue with determining the public IPv6-address of the server.
Using ifv6, ipv6 or webv6 fail to determine the IP and for cmdv6 I only get the following (URLS were modified to allow posting)

SENDING: request=GET
SENDING: url=“https://domains.googlecom/checkip
WARNING: CURL error (7) Failed to connect to host.
RECEIVE:
WARNING: curl cannot connect to https:/domains.google.com using IPv6

Any other website does not work as well. The container is using a net with IPv6 enabled, as described here:

Use IPv6 networking | Docker Docs

Thanks for any hints.

I feel it’s worth mentioning, you wouldn’t get the public ipv6 of the HOST anyway, you would get the public ipv6 of the container. That said, I am the only ipv6 using teammember and I do not use ddclient. It may be best to reach out to the ddclient devs to ensure what you’re doing is correct in terms of config. You could also spin up a vm and test your config there to rule out any docker shenanigans.

Thanks for the hint, so for my application I use the original ddclient directly outside docker and that works.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.