Settings disappeared - arch linux

Thanks @tz678 for the tip about checking whether Duplicati was running as root. It wasn’t … so I traced back the steps I used to install it in the first place.

TL;DR Because of the way I installed and configured Duplicati, I needed to manually change User=Duplicati to User=root in the `/usr/lib/systemd/system/duplicati.service’. On reboot, my original settings have returned.

How I installed

    $ git clone https://aur.archlinux.org/duplicati-latest.git
    $ cd duplicati-latest
    $ makepkg -si PKGBUILD

    Y to install (with root password)

# Root user power

    $ cd /usr/lib/systemd/system
    $ sudo vim duplicati.service

replace `User=Duplicati` with `User=root`. Save and exit editor

# Reload daemon service

    $ sudo systemctl daemon-reload
    $ sudo systemctl start duplicati.service
    $ sudo systemctl enable duplicati.service

In browser, go to localhost:8200 … previous configuration is used correctly.

Regarding any future updates via the AUR, presumably I will need to repeat this process each time?

Thanks for everyone’s help. Great introduction to the Forum :smile:

1 Like