Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Issues with ddclient using cloudflare and duckdns #100

Closed
1 task done
trulow opened this issue Feb 19, 2025 · 3 comments
Closed
1 task done

[BUG] Issues with ddclient using cloudflare and duckdns #100

trulow opened this issue Feb 19, 2025 · 3 comments

Comments

@trulow
Copy link

trulow commented Feb 19, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Anyone have issues with the recent release of ddclient docker container?

ddclient  | ddclient has been restarted
ddclient  | Setting up watches.
ddclient  | Watches established.
ddclient  | FAILED:  [cloudflare][domain.com]> 404 Not Found
ddclient  | FAILED:  [cloudflare][domain2.com]> 404 Not Found
ddclient  | FAILED:  [duckdns][domain]> 404 Not Found

Here's the config

protocol=cloudflare
zone=carlozayne.com
ttl=1
use=web
web=checkip.amazonaws.com
password=<API_KEY>
domain.com

protocol=duckdns
use=web
web=https://checkip.amazonaws.com
password=<API_KEY>
domain

It was previously working, then I updated my container and now I'm getting these errors.

Expected Behavior

No response

Steps To Reproduce

Updated ddclient to the latest docker version
Run the docker container
Errors show up when viewing the logs and ddclient does not update the IP for the required services/protocols

Environment

- OS:
- How docker service was installed:

CPU architecture

x86-64

Docker creation

name: ddclient
services:
    ddclient:
        container_name: ddclient
        environment:
            - PUID=1000
            - PGID=1000
            - TZ=America/Los_Angeles
        volumes:
            - ./config:/config
        restart: unless-stopped
        image: lscr.io/linuxserver/ddclient:latest

Container logs

ddclient  | [migrations] started
ddclient  | [migrations] no migrations found
ddclient  | ───────────────────────────────────────
ddclient  | 
ddclient  |       ██╗     ███████╗██╗ ██████╗
ddclient  |       ██║     ██╔════╝██║██╔═══██╗
ddclient  |       ██║     ███████╗██║██║   ██║
ddclient  |       ██║     ╚════██║██║██║   ██║
ddclient  |       ███████╗███████║██║╚██████╔╝
ddclient  |       ╚══════╝╚══════╝╚═╝ ╚═════╝
ddclient  | 
ddclient  |    Brought to you by linuxserver.io
ddclient  | ───────────────────────────────────────
ddclient  | 
ddclient  | To support LSIO projects visit:
ddclient  | https://www.linuxserver.io/donate/
ddclient  | 
ddclient  | ───────────────────────────────────────
ddclient  | GID/UID
ddclient  | ───────────────────────────────────────
ddclient  | 
ddclient  | User UID:    1000
ddclient  | User GID:    1000
ddclient  | ───────────────────────────────────────
ddclient  | Linuxserver.io version: v4.0.0-ls190
ddclient  | Build-date: 2025-02-18T06:54:24+00:00
ddclient  | ───────────────────────────────────────
ddclient  |     
ddclient  | [custom-init] No custom files found, skipping...
ddclient  | Setting up watches.
ddclient  | Watches established.
ddclient  | [ls.io-init] done.
ddclient  | FAILED:  [cloudflare][domain.com]> 404 Not Found
ddclient  | FAILED:  [cloudflare][domain2.com]> 404 Not Found
ddclient  | FAILED:  [duckdns][domain]> 404 Not Found
Copy link

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@trulow
Copy link
Author

trulow commented Feb 19, 2025

After downgrading back to v3.11.2-ls183, everything seems to be working again. So the issue is with the latest update/s with v4 and up.

[migrations] started
[migrations] no migrations found
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

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

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1000
User GID:    1000
───────────────────────────────────────
Linuxserver.io version: v3.11.2-ls184
Build-date: 2025-01-14T06:51:33+00:00
───────────────────────────────────────
    
[custom-init] No custom files found, skipping...
Setting up watches.
Watches established.
[ls.io-init] done.
SUCCESS:  updating domain.com: IPv4 address set to <IP_Address>
SUCCESS:  updating domain2.com: IPv4 address set to <IP_Address>
SUCCESS:  updating domain3: good: IPv4 address set to <IP_Address>
SUCCESS:  updating domain4.com: good: IPv4 address set to <IP_Address>

@trulow
Copy link
Author

trulow commented Feb 20, 2025

I've narrowed the issue down to freedns and got it to finally work on the latest version..

##
## freedns.afraid.org
##
protocol=freedns,    \
server=freedns.afraid.org,    \
login=<USERNAME>,    \
password=<PASSWORD>     \
sub.domain.it

Freedns requires the , \ or else the config gets screwy. Interestingly, I don't have the , \ in any of my other protocols and they all work fine without it. It's only freedns that screws everything else up.

@trulow trulow closed this as completed Feb 21, 2025
@LinuxServer-CI LinuxServer-CI moved this from Issues to Done in Issue & PR Tracker Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant