#1 Snap installation of ddclient-snap failure

Closed
opened 1 year ago by ineuw · 13 comments
ineuw commented 1 year ago

Using Linux Mint 20.0, ddclient-snap is installed, but the OS does not recognize it. These are my snap installed apps, but I have no clue how to set up and activate ddclient-snap. Any direction is greatly appreciated.

Name Version Rev Tracking Publisher Notes core18 20200724 1885 latest/stable canonical✓ base core20 20 634 latest/stable canonical✓ base ddclient-snap v3.9.1 2 latest/stable joachimmg - gtk-common-themes 0.1-36-gc75f853 1506 latest/stable canonical✓ - irfanview 4.54 26 latest/stable mmtrt - notepad-plus-plus 7.8.9 238 latest/stable mmtrt - snapd 2.45.3.1 8790 latest/stable canonical✓ snapd wine-platform-3-stable 3.0.4 6 latest/stable mmtrt - wine-platform-5-stable 5.0.2 10 latest/stable mmtrt - wine-platform-runtime v1.0 145 latest/stable mmtrt -

Using Linux Mint 20.0, ddclient-snap is installed, but the OS does not recognize it. These are my snap installed apps, but I have no clue how to set up and activate ddclient-snap. Any direction is greatly appreciated. Name Version Rev Tracking Publisher Notes core18 20200724 1885 latest/stable canonical✓ base core20 20 634 latest/stable canonical✓ base ddclient-snap v3.9.1 2 latest/stable joachimmg - gtk-common-themes 0.1-36-gc75f853 1506 latest/stable canonical✓ - irfanview 4.54 26 latest/stable mmtrt - notepad-plus-plus 7.8.9 238 latest/stable mmtrt - snapd 2.45.3.1 8790 latest/stable canonical✓ snapd wine-platform-3-stable 3.0.4 6 latest/stable mmtrt - wine-platform-5-stable 5.0.2 10 latest/stable mmtrt - wine-platform-runtime v1.0 145 latest/stable mmtrt -

Hi,

Can you give me the output of:

sudo snap services

ddclient runs as a daemon/service by default. Edit the configuration file

sudo # /var/snap/ddclient-snap/current/etc/ddclient/ddclient.conf

(Change # with whatever editor you're using, e.g vim, nano, gedit etc)

Then restart it with sudo snap restart ddclient-snap.daemon. If you don't want to use the daemon, you can use ddclient-snap.exec.

Hi, Can you give me the output of: ``` sudo snap services ``` ddclient runs as a daemon/service by default. Edit the configuration file ``` sudo # /var/snap/ddclient-snap/current/etc/ddclient/ddclient.conf ``` (Change # with whatever editor you're using, e.g `vim`, `nano`, `gedit` etc) Then restart it with `sudo snap restart ddclient-snap.daemon`. If you don't want to use the daemon, you can use `ddclient-snap.exec`.
ineuw commented 1 year ago
Poster

ineuw@LMC200DT:~$ sudo snap services

Service Startup Current Notes

ddclient-snap.daemon enabled active -

sudo gedit /var/snap/ddclient-snap/current/etc/ddclient/ddclient.conf

The is no such document.

ineuw@LMC200DT:~$ sudo snap services Service Startup Current Notes ddclient-snap.daemon enabled active - sudo gedit /var/snap/ddclient-snap/current/etc/ddclient/ddclient.conf The is no such document.

Hmm,

The layout might be different on Mint than ubuntu.

Try to login to the daemon as a shell:

sudo snap run --shell ddclient-snap.daemon

Then run these commands and copy/paste the output;

$ echo $SNAP_DATA
$ ls $SNAP_DATA
$ printevt

The $ sign indicate a new command. Copy the text after the dollar sign.

PS! Please use formatted text when you're posting the output.

Hmm, The layout might be different on Mint than ubuntu. Try to login to the daemon as a shell: ``` sudo snap run --shell ddclient-snap.daemon ``` Then run these commands and copy/paste the output; ``` $ echo $SNAP_DATA $ ls $SNAP_DATA $ printevt ``` The $ sign indicate a new command. Copy the text after the dollar sign. PS! Please use formatted text when you're posting the output.
ineuw commented 1 year ago
Poster
ineuw@LMC200DT:~$ sudo snap run --shell ddclient-snap.daemon
root@LMC200DT:/home/ineuw# echo $SNAP_DATA
/var/snap/ddclient-snap/2
root@LMC200DT:/home/ineuw# ls $SNAP_DATA
etc  var
root@LMC200DT:/home/ineuw# printevt
bash: printevt: command not found
ineuw@LMC200DT:~$ sudo snap run --shell ddclient-snap.daemon root@LMC200DT:/home/ineuw# echo $SNAP_DATA /var/snap/ddclient-snap/2 root@LMC200DT:/home/ineuw# ls $SNAP_DATA etc var root@LMC200DT:/home/ineuw# printevt bash: printevt: command not found

Sorry, typo in the last command. It's printenv - NOT printent

Can you continue to ls in the etc-folder?

Example:

$ ls $SNAP_DATA
# etc var
$ ls $SNAP_DATA/etc
# ddclient
$ ls $SNAP_DATA/etc/ddclient

Lines starting with a # is example output. Lines starting with $ are commands as before.

Could you also

$ ls $SNAP_DATA/../

If you exit-ed the shell, you'll have to run the snap run --shell command from the previous post.

Sorry, typo in the last command. It's `printenv` - NOT printent Can you continue to `ls` in the `etc`-folder? Example: ``` $ ls $SNAP_DATA # etc var $ ls $SNAP_DATA/etc # ddclient $ ls $SNAP_DATA/etc/ddclient ``` Lines starting with a # is example output. Lines starting with $ are commands as before. Could you also ``` $ ls $SNAP_DATA/../ ``` If you exit-ed the shell, you'll have to run the `snap run --shell` command from the previous post.
ineuw commented 1 year ago
Poster
root@LMC200DT:/home/ineuw# ls $SNAP_DATA
etc  var

root@LMC200DT:/home/ineuw# ls $SNAP_DATA/etc
ddclient

root@LMC200DT:/home/ineuw# ls $SNAP_DATA/etc/ddclient
ddclient.conf

root@LMC200DT:/home/ineuw# printenv
SHELL=/bin/bash
SNAP_REVISION=2
COLORTERM=truecolor
SUDO_GID=1000
SNAP_USER_COMMON=/root/snap/ddclient-snap/common
LANGUAGE=en_US
LC_ADDRESS=en_US.UTF-8
LC_NAME=en_US.UTF-8
SNAP_INSTANCE_KEY=
SUDO_COMMAND=/usr/bin/snap run --shell ddclient-snap.daemon
LC_MONETARY=en_US.UTF-8
SUDO_USER=ineuw
PWD=/home/ineuw
LOGNAME=root
XAUTHORITY=/home/ineuw/.Xauthority
TEMPDIR=/tmp
SNAP_CONTEXT=Aj7RcJscL6LVHNa-RTpvUqLkV874u5yopCYLvpb9Gj3fXwnR89Cf
HOME=/root/snap/ddclient-snap/2
LC_PAPER=en_US.UTF-8
LANG=en_US.UTF-8
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
SNAP_ARCH=amd64
SNAP_INSTANCE_NAME=ddclient-snap
SNAP_USER_DATA=/root/snap/ddclient-snap/2
TMPDIR=/tmp
PERL5LIB=/snap/ddclient-snap/2/usr/lib/x86_64-linux-gnu/perl-base/:/snap/ddclient-snap/2/usr/lib/x86_64-linux-gnu/perl5/5.30/:/snap/ddclient-snap/2/usr/share/perl5/:/snap/ddclient-snap/2/usr/share/perl/5.30.0/:/snap/ddclient-snap/2/usr/lib/x86_64-linux-gnu/perl/5.30/:/snap/ddclient-snap/2/usr/lib/x86_64-linux-gnu/perl/5.30.0/
SNAP_REEXEC=
LC_IDENTIFICATION=en_US.UTF-8
TERM=xterm-256color
USER=root
SNAP=/snap/ddclient-snap/2
SNAP_COMMON=/var/snap/ddclient-snap/common
SNAP_VERSION=v3.9.1
DISPLAY=:0
SHLVL=1
SNAP_LIBRARY_PATH=/var/lib/snapd/lib/gl:/var/lib/snapd/lib/gl32:/var/lib/snapd/void
SNAP_COOKIE=Aj7RcJscL6LVHNa-RTpvUqLkV874u5yopCYLvpb9Gj3fXwnR89Cf
LC_TELEPHONE=en_US.UTF-8
LC_MEASUREMENT=en_US.UTF-8
SNAP_DATA=/var/snap/ddclient-snap/2
LD_LIBRARY_PATH=/var/lib/snapd/lib/gl:/var/lib/snapd/lib/gl32:/var/lib/snapd/void:/snap/ddclient-snap/2/usr/x86_64-linux-gnu/pulseaudio/::/snap/ddclient-snap/2/usr/lib:/snap/ddclient-snap/2/usr/lib/x86_64-linux-gnu
XDG_RUNTIME_DIR=/run/user/0/snap.ddclient-snap
LC_TIME=en_CA.UTF-8
LC_ALL=C.UTF-8
SNAP_NAME=ddclient-snap
PATH=/snap/ddclient-snap/2/usr/sbin:/snap/ddclient-snap/2/usr/bin:/snap/ddclient-snap/2/sbin:/snap/ddclient-snap/2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
SUDO_UID=1000
MAIL=/var/mail/root
LC_NUMERIC=en_US.UTF-8
_=/usr/bin/printenv
root@LMC200DT:/home/ineuw# 
root@LMC200DT:/home/ineuw# ls $SNAP_DATA etc var root@LMC200DT:/home/ineuw# ls $SNAP_DATA/etc ddclient root@LMC200DT:/home/ineuw# ls $SNAP_DATA/etc/ddclient ddclient.conf root@LMC200DT:/home/ineuw# printenv SHELL=/bin/bash SNAP_REVISION=2 COLORTERM=truecolor SUDO_GID=1000 SNAP_USER_COMMON=/root/snap/ddclient-snap/common LANGUAGE=en_US LC_ADDRESS=en_US.UTF-8 LC_NAME=en_US.UTF-8 SNAP_INSTANCE_KEY= SUDO_COMMAND=/usr/bin/snap run --shell ddclient-snap.daemon LC_MONETARY=en_US.UTF-8 SUDO_USER=ineuw PWD=/home/ineuw LOGNAME=root XAUTHORITY=/home/ineuw/.Xauthority TEMPDIR=/tmp SNAP_CONTEXT=Aj7RcJscL6LVHNa-RTpvUqLkV874u5yopCYLvpb9Gj3fXwnR89Cf HOME=/root/snap/ddclient-snap/2 LC_PAPER=en_US.UTF-8 LANG=en_US.UTF-8 LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36: SNAP_ARCH=amd64 SNAP_INSTANCE_NAME=ddclient-snap SNAP_USER_DATA=/root/snap/ddclient-snap/2 TMPDIR=/tmp PERL5LIB=/snap/ddclient-snap/2/usr/lib/x86_64-linux-gnu/perl-base/:/snap/ddclient-snap/2/usr/lib/x86_64-linux-gnu/perl5/5.30/:/snap/ddclient-snap/2/usr/share/perl5/:/snap/ddclient-snap/2/usr/share/perl/5.30.0/:/snap/ddclient-snap/2/usr/lib/x86_64-linux-gnu/perl/5.30/:/snap/ddclient-snap/2/usr/lib/x86_64-linux-gnu/perl/5.30.0/ SNAP_REEXEC= LC_IDENTIFICATION=en_US.UTF-8 TERM=xterm-256color USER=root SNAP=/snap/ddclient-snap/2 SNAP_COMMON=/var/snap/ddclient-snap/common SNAP_VERSION=v3.9.1 DISPLAY=:0 SHLVL=1 SNAP_LIBRARY_PATH=/var/lib/snapd/lib/gl:/var/lib/snapd/lib/gl32:/var/lib/snapd/void SNAP_COOKIE=Aj7RcJscL6LVHNa-RTpvUqLkV874u5yopCYLvpb9Gj3fXwnR89Cf LC_TELEPHONE=en_US.UTF-8 LC_MEASUREMENT=en_US.UTF-8 SNAP_DATA=/var/snap/ddclient-snap/2 LD_LIBRARY_PATH=/var/lib/snapd/lib/gl:/var/lib/snapd/lib/gl32:/var/lib/snapd/void:/snap/ddclient-snap/2/usr/x86_64-linux-gnu/pulseaudio/::/snap/ddclient-snap/2/usr/lib:/snap/ddclient-snap/2/usr/lib/x86_64-linux-gnu XDG_RUNTIME_DIR=/run/user/0/snap.ddclient-snap LC_TIME=en_CA.UTF-8 LC_ALL=C.UTF-8 SNAP_NAME=ddclient-snap PATH=/snap/ddclient-snap/2/usr/sbin:/snap/ddclient-snap/2/usr/bin:/snap/ddclient-snap/2/sbin:/snap/ddclient-snap/2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games SUDO_UID=1000 MAIL=/var/mail/root LC_NUMERIC=en_US.UTF-8 _=/usr/bin/printenv root@LMC200DT:/home/ineuw#

Try again:

sudo gedit /var/snap/ddclient-snap/current/etc/ddclient/ddclient.conf

Or

sudo gedit /var/snap/ddclient-snap/2/etc/ddclient/ddclient.conf

But I advice using the symlinked (the first with current) if it works, as the digit 2 is the revision of the snap, which will be increased by by every update. The symlinked current path will always point to the current running revision.

Some revisions might be in your system in case of rollbacks, but if there is an update and you edit the file in revision 2 - it won't work for the current (higher revision).

Running the following from the shell from previous commands will tell if you have the current-symlink:

ls -al $SNAP_DATA/../
Try again: ``` sudo gedit /var/snap/ddclient-snap/current/etc/ddclient/ddclient.conf ``` Or ``` sudo gedit /var/snap/ddclient-snap/2/etc/ddclient/ddclient.conf ``` But I advice using the symlinked (the first with `current`) if it works, as the digit `2` is the revision of the snap, which will be increased by by every update. The symlinked `current` path will always point to the current running revision. Some revisions might be in your system in case of rollbacks, but if there is an update and you edit the file in revision 2 - it won't work for the current (higher revision). Running the following from the shell from previous commands will tell if you have the `current`-symlink: ``` ls -al $SNAP_DATA/../ ```
ineuw commented 1 year ago
Poster
sudo gedit /var/snap/ddclient-snap/current/etc/ddclient/ddclient.conf
is empty

sudo gedit /var/snap/ddclient-snap/2/etc/ddclient/ddclient.conf
is empty

ls -al $SNAP_DATA/../

ineuw@LMC200DT:~$ ls -al $SNAP_DATA/../
total 108
drwxr-xr-x  24 root  root   4096 Sep  5 14:54 .
drwxr-xr-x  24 root  root   4096 Sep  5 14:54 ..
drwxr-xr-x   2 root  root   4096 Sep  5 15:30 bin
drwxr-xr-x   4 root  root   4096 Sep  5 17:30 boot
drwxr-xr-x   2 root  root   4096 Sep  5 13:04 cdrom
drwxr-xr-x  20 root  root   4660 Sep  8 16:55 dev
drwxr-xr-x 149 root  root  12288 Sep  7 14:56 etc
drwxr-xr-x   3 root  root   4096 Sep  5 13:04 home
drwxr-xr-x  23 root  root   4096 Sep  5 13:06 lib
drwxr-xr-x   2 root  root   4096 Jun 24 14:11 lib64
drwx------   2 root  root  16384 Sep  5 13:01 lost+found
drwxrwxrwx  12 ineuw ineuw  4096 Sep  5 18:46 media
drwxr-xr-x   2 root  root   4096 Jun 24 14:10 mnt
drwxr-xr-x   5 root  root   4096 Sep  5 15:56 opt
dr-xr-xr-x 222 root  root      0 Sep  8 16:54 proc
drwx------  10 root  root   4096 Sep  7 14:45 root
drwxr-xr-x  37 root  root   1020 Sep  8 17:00 run
drwxr-xr-x   2 root  root  12288 Sep  5 15:30 sbin
drwxr-xr-x  13 root  root   4096 Sep  7 14:45 snap
drwxr-xr-x   2 root  root   4096 Jun 24 14:10 srv
dr-xr-xr-x  13 root  root      0 Sep  8 16:54 sys
drwxrwxrwt  17 root  root   4096 Sep  8 18:01 tmp
drwxr-xr-x  11 root  root   4096 Jun 24 14:10 usr
drwxr-xr-x  12 root  root   4096 Sep  5 14:54 var

I will symlink the two files, but they are both empty.

But, I downloaded the openDNS copy for ddclient.

##
## OpenDNS.com account-configuration
##
protocol=dyndns2
use=web, web=myip.dnsomatic.com
ssl=yes
server=updates.opendns.com
login="ineuw01@gmail.com"
password="xxxxxxxx"
aei

should I paste this in the version 2 file?

sudo gedit /var/snap/ddclient-snap/current/etc/ddclient/ddclient.conf is empty sudo gedit /var/snap/ddclient-snap/2/etc/ddclient/ddclient.conf is empty ls -al $SNAP_DATA/../ ineuw@LMC200DT:~$ ls -al $SNAP_DATA/../ total 108 drwxr-xr-x 24 root root 4096 Sep 5 14:54 . drwxr-xr-x 24 root root 4096 Sep 5 14:54 .. drwxr-xr-x 2 root root 4096 Sep 5 15:30 bin drwxr-xr-x 4 root root 4096 Sep 5 17:30 boot drwxr-xr-x 2 root root 4096 Sep 5 13:04 cdrom drwxr-xr-x 20 root root 4660 Sep 8 16:55 dev drwxr-xr-x 149 root root 12288 Sep 7 14:56 etc drwxr-xr-x 3 root root 4096 Sep 5 13:04 home drwxr-xr-x 23 root root 4096 Sep 5 13:06 lib drwxr-xr-x 2 root root 4096 Jun 24 14:11 lib64 drwx------ 2 root root 16384 Sep 5 13:01 lost+found drwxrwxrwx 12 ineuw ineuw 4096 Sep 5 18:46 media drwxr-xr-x 2 root root 4096 Jun 24 14:10 mnt drwxr-xr-x 5 root root 4096 Sep 5 15:56 opt dr-xr-xr-x 222 root root 0 Sep 8 16:54 proc drwx------ 10 root root 4096 Sep 7 14:45 root drwxr-xr-x 37 root root 1020 Sep 8 17:00 run drwxr-xr-x 2 root root 12288 Sep 5 15:30 sbin drwxr-xr-x 13 root root 4096 Sep 7 14:45 snap drwxr-xr-x 2 root root 4096 Jun 24 14:10 srv dr-xr-xr-x 13 root root 0 Sep 8 16:54 sys drwxrwxrwt 17 root root 4096 Sep 8 18:01 tmp drwxr-xr-x 11 root root 4096 Jun 24 14:10 usr drwxr-xr-x 12 root root 4096 Sep 5 14:54 var I will symlink the two files, but they are both empty. But, I downloaded the openDNS copy for ddclient. ## ## OpenDNS.com account-configuration ## protocol=dyndns2 use=web, web=myip.dnsomatic.com ssl=yes server=updates.opendns.com login="ineuw01@gmail.com" password="xxxxxxxx" aei should I paste this in the version 2 file?

You don't have to symlink then. Snapd will do it for you, to make sure it's linking the correct revisions.

But when you're running

sudo gedit /var/snap/ddclient-snap/current/etc/ddclient/ddclient.conf

Is the phrase is empty being returned by the command or is it something you're stating?

You don't have to symlink then. Snapd will do it for you, to make sure it's linking the correct revisions. But when you're running ``` sudo gedit /var/snap/ddclient-snap/current/etc/ddclient/ddclient.conf ``` Is the phrase `is empty` being returned by the command or is it something you're stating?
ineuw commented 1 year ago
Poster

Both files are empty.

Both files are empty.

They're supposed to. (both files is the same file. Just stick to the one in the current path).

You have to copy and paste in your config

protocol=dyndns2
use=web, web=myip.dnsomatic.com
ssl=yes
server=updates.opendns.com
login="ineuw01@gmail.com"
password="xxxxxxxx"
aei

in /var/snap/ddclient-snap/current/etc/ddclient/ddclient.conf

Then restart with sudo snap restart ddclient-snap.daemon

Add verbose=yes to the config to get logging to syslog (e.g tail -f /var/log/syslog) or journald (e.g sudo journald -xef). Follow log on restart.

They're supposed to. (both files is the same file. Just stick to the one in the `current` path). You have to copy and paste in your config ``` protocol=dyndns2 use=web, web=myip.dnsomatic.com ssl=yes server=updates.opendns.com login="ineuw01@gmail.com" password="xxxxxxxx" aei ``` in `/var/snap/ddclient-snap/current/etc/ddclient/ddclient.conf` Then restart with `sudo snap restart ddclient-snap.daemon` Add `verbose=yes` to the config to get logging to syslog (e.g `tail -f /var/log/syslog`) or journald (e.g `sudo journald -xef`). Follow log on restart.
ineuw commented 1 year ago
Poster

Thanks so much for your help! I am monitoring the log and getting mixed messages of success and failures. Allow me to follow this for a day and will post to let you know what's happening. Thank you again for your prompt help.

Thanks so much for your help! I am monitoring the log and getting mixed messages of success and failures. Allow me to follow this for a day and will post to let you know what's happening. Thank you again for your prompt help.

Great. I'm closing this issue. Open a new one if you'll find a bug.

Great. I'm closing this issue. Open a new one if you'll find a bug.
Sign in to join this conversation.
No Label
No Milestone
2 Participants
Loading...
Cancel
Save
There is no content yet.