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.
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 -
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@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.
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@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.
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/../
```
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?
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.
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.
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:
ddclient runs as a daemon/service by default. Edit the configuration file
(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 useddclient-snap.exec
.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:
Then run these commands and copy/paste the output;
The $ sign indicate a new command. Copy the text after the dollar sign.
PS! Please use formatted text when you're posting the output.
Sorry, typo in the last command. It's
printenv
- NOT printentCan you continue to
ls
in theetc
-folder?Example:
Lines starting with a # is example output. Lines starting with $ are commands as before.
Could you also
If you exit-ed the shell, you'll have to run the
snap run --shell
command from the previous post.Try again:
Or
But I advice using the symlinked (the first with
current
) if it works, as the digit2
is the revision of the snap, which will be increased by by every update. The symlinkedcurrent
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:I will symlink the two files, but they are both empty.
But, I downloaded the openDNS copy for ddclient.
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
Is the phrase
is empty
being returned by the command or is it something you're stating?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
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.gtail -f /var/log/syslog
) or journald (e.gsudo journald -xef
). Follow log on restart.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.