[Support] Linuxserver.io - ddclient


79 posts in this topic Last Reply

Recommended Posts

On 3/29/2021 at 11:51 PM, Raf1888 said:

Hi there !

 

I have several questions about how to use this docker image.

  • First : AFAIK ddclient is not started when the docker container is turned up. A "ps -a" in a shell in the container does not show anything related to ddclient. Did I miss something ?
  • Then : A "ddclient" command in the same shell seems to work fine as long as my ddclient.conf file is in /etc/ddclient. For this, I need to fix the default app template, replacing /config mount by /etc/ddclient. Is that normal ?
  • Final : How to make ddclient being turned up when the container is revived ?

Thanks for reading !

ddclient is running as long as the container is running and the config is copied to the correct place if it's edited.

You have not supplied any usable info to be able to help you. Post the full logs and the docker run command (no template screenshots).

Link to post
  • Replies 78
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

@ZooMass use=web, web=dynamicdns.park-your-domain.com/getip protocol=namecheap server=dynamicdns.park-your-domain.com login=yourdomain.com password=your dynamic dns password @,www  

Application Name: ddclient Application Site: https://github.com/ddclient/ddclient Docker Hub: https://hub.docker.com/r/linuxserver/ddclient/ Github: https://github.com/linuxserver/docker-ddclient

Thanks for this! Been scouring the net for a good config file and yours is the first that's worked for me!

Posted Images

Hi saarg,

 

Thx for your answer and for the help.

 

So ddclient should be running "out of the box" with the default template configuration. Thus, I removed any modification I did, and this is what I get :

 

Docker run command :

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='ddclient' --net='bridge' -e TZ="Europe/Paris" -e HOST_OS="Unraid" -e 'PUID'='99' -e 'PGID'='100' -v '/mnt/user/appdata/ddclient':'/config':'rw' 'linuxserver/ddclient'

 

And this is the docker log :


[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01-envfile: executing...
[cont-init.d] 01-envfile: exited 0.
[cont-init.d] 10-adduser: executing...

-------------------------------------
_ ()
| | ___ _ __
| | / __| | | / \
| | \__ \ | | | () |
|_| |___/ |_| \__/


Brought to you by linuxserver.io
-------------------------------------

To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------

User uid: 99
User gid: 100
-------------------------------------

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 30-config: executing...
[cont-init.d] 30-config: exited 0.
[cont-init.d] 99-custom-files: executing...
[custom-init] no custom files found exiting...
[cont-init.d] 99-custom-files: exited 0.
[cont-init.d] done.
[services.d] starting services
Setting up watches.
[services.d] done.
Watches established.
WARNING: file /var/cache/ddclient/ddclient.cache, line 3: Invalid Value for keyword 'ip' = ''
WARNING: skipping update of ||Here's my private dyndns|| from <nothing> to ||My.Private.IP.Here||
WARNING: last updated <never> but last attempt on Thu Apr 1 12:08:43 2021 failed.
WARNING: Wait at least 5 minutes between update attempts.

The third last WARNING in this log obviously report the problem...

 

Here's the ddclient.conf file, mounted in /config :

daemon=300
syslog=yes
pid=/var/run/ddclient/ddclient.pid
protocol=dyndns2
ssl=yes
use=web
server=infomaniak.com
login=|myprivateID|
password=|myprivatepasswd|
|myprivatedyndns|

Do you need anything else ?🙂

Edited by Raf1888
Link to post
9 hours ago, Raf1888 said:

Hi saarg,

 

Thx for your answer and for the help.

 

So ddclient should be running "out of the box" with the default template configuration. Thus, I removed any modification I did, and this is what I get :

 

Docker run command :


root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='ddclient' --net='bridge' -e TZ="Europe/Paris" -e HOST_OS="Unraid" -e 'PUID'='99' -e 'PGID'='100' -v '/mnt/user/appdata/ddclient':'/config':'rw' 'linuxserver/ddclient'

 

And this is the docker log :



[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01-envfile: executing...
[cont-init.d] 01-envfile: exited 0.
[cont-init.d] 10-adduser: executing...

-------------------------------------
_ ()
| | ___ _ __
| | / __| | | / \
| | \__ \ | | | () |
|_| |___/ |_| \__/


Brought to you by linuxserver.io
-------------------------------------

To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------

User uid: 99
User gid: 100
-------------------------------------

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 30-config: executing...
[cont-init.d] 30-config: exited 0.
[cont-init.d] 99-custom-files: executing...
[custom-init] no custom files found exiting...
[cont-init.d] 99-custom-files: exited 0.
[cont-init.d] done.
[services.d] starting services
Setting up watches.
[services.d] done.
Watches established.
WARNING: file /var/cache/ddclient/ddclient.cache, line 3: Invalid Value for keyword 'ip' = ''
WARNING: skipping update of ||Here's my private dyndns|| from <nothing> to ||My.Private.IP.Here||
WARNING: last updated <never> but last attempt on Thu Apr 1 12:08:43 2021 failed.
WARNING: Wait at least 5 minutes between update attempts.

The third last WARNING in this log obviously report the problem...

 

Here's the ddclient.conf file, mounted in /config :


daemon=300
syslog=yes
pid=/var/run/ddclient/ddclient.pid
protocol=dyndns2
ssl=yes
use=web
server=infomaniak.com
login=|myprivateID|
password=|myprivatepasswd|
|myprivatedyndns|

Do you need anything else ?🙂

Set the Daemon to at least 600, or else you will get banned from checkip.

Is your dyndns provider supported by ddclient?

Link to post
  • 2 weeks later...

Hi there,

 

Better answering late than never. I tried again the day after, and everything was working fine.

 

@saarg : So u were right. I most likely had been temporary banned for setting a too low value for the daemon variable...

 

Thx again !

Link to post

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.