DuckDNS -> "Something went wrong"

  • Hey there,


    I can not install duckdns docker.


    installation:

    docker create \

    --name=duckdns \

    --dns=1.1.1.1 \

    -e PUID=998 \

    -e PGID=100 \

    -e TZ=Europe/Berlin \

    -e SUBDOMAINS=xxxxxxxxx \

    -e TOKEN=xxxxxxx \

    -e LOG_FILE=true \

    -v /var/lib/docker/duckdns:/config \

    --restart unless-stopped \

    ghcr.io/linuxserver/duckdns



    LOG:


    If other information are missing, please ask.

    Hopefully someone can help. :S

  • maar10media I am curious, why are you using docker cli method and not docker-compose? I'm not saying it is wrong, but it seems that most on the forum use the docker-compose format to deploy containers, and thus you might get a bit more input regarding a solution if you went that route. Also, as gderf posted above puid=998 is the root admin user, and that is considered not the best practices for several reasons admin is just intended for use with the GUI. You should create a regular user in the Users tab of the GUI, giving you a user id of 1000 or above. Add that user to the ssh and sudo groups and you will make the "code gods" happy.

    Simple and sure backup and restore: In a Scheduled Job: rsync -av --delete /srv/dev-disk-by-label-SOURCE/ /srv/dev-disk-by-label-DESTINATION/ (HT: Getting Started with OMV5)
    OMV 5 (current) - Hardware: Thinkserver TS140, Nextcloud, Plex, Airsonic, Navidrome, Ubooquity, Digikam, & Heimdall - NanoPi M4 (v.1), backup - Odroid XU4, Pi-Hole (DietPi) - Testing/Playing: hc2, xu4, Pi 3B+, Odroid H2. Mac user trying to convert to Linux on a HP dx2400, Debian 10 XFCE.

    Edited once, last by Agricola ().

  • -v /var/lib/docker/duckdns:/config \

    I also noticed your docker storage path is pointing to your boot drive. This too could lead to problems down the road. It needs to be somewhere on a data disk, something like /srv/dev-disk-by...../docker/duckdns


    There are a couple of items in the example docker cli code that also differ from yours"

    1. The example above does not list a dns entry.
    2. The LOG_FILE variable is set to false, and is optional BTW.

    Simple and sure backup and restore: In a Scheduled Job: rsync -av --delete /srv/dev-disk-by-label-SOURCE/ /srv/dev-disk-by-label-DESTINATION/ (HT: Getting Started with OMV5)
    OMV 5 (current) - Hardware: Thinkserver TS140, Nextcloud, Plex, Airsonic, Navidrome, Ubooquity, Digikam, & Heimdall - NanoPi M4 (v.1), backup - Odroid XU4, Pi-Hole (DietPi) - Testing/Playing: hc2, xu4, Pi 3B+, Odroid H2. Mac user trying to convert to Linux on a HP dx2400, Debian 10 XFCE.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!