I had duplicati running as a container on my nas and it was working fine. I have watchtower updating the container regularly.
I went to check on it yesterday and it asked for a password, which I never set. I managed to set a password using the docker compose yaml, and then the logs complained that I didn’t have a settings encryption key so I put randomly generated string in and managed to get access again.
However my backup jobs seemed to be missing. My backups go to google drive, and I do see one on Jan 20th there.
I tried to just recreate the back up jobs but every 30-60 seconds or so I got a message saying “The connection to the server is lost, attempting again in 0:14 …” and refreshing would take me back to the start of the process so I couldn’t even create a job unless I somehow speed ran it.
I wiped my config file and decided to start again. However when I run the container I just get the “The connection to the server is lost, attempting again in 0:14 …” message constantly and can’t use duplicati at all.
I’m not sure what else to try. I’m running Debian (OpenMedia Vault actually) and portainer, and usually use nginx proxy manager to access my containers.
My docker stack is here:
version: "2.1"
services:
duplicati:
image: duplicati/duplicati:latest
container_name: duplicati
environment:
- PUID=1005 # duplicati user
- PGID=100
- TZ=Europe/London
- DUPLICATI__WEBSERVICE_PASSWORD=B [redacted] Z
- SETTINGS_ENCRYPTION_KEY=lZq [redacted] tOJu
volumes:
- /docker-volumes/duplicati/config:/config
- /docker-volumes:/docker-volumes
- /var/lib/docker/volumes:/system-docker-volumes
- /srv/dev-disk-by-uuid-509940ff-.../ [redacted]
ports:
- 8200:8200
restart: unless-stopped
The container logs just have one line:
Server has started and is listening on port 8200