Restoring from previous instance

I am trying to restore from a previous instance. I have the following files backed up from the old instance: cert.pem config config.xml csrftokens.txt https-cert.pem https-key.pem index-v0.14.0.db key.pem. I am now running syncthing in a docker container. Here’s my compose file:


services: syncthing: image: syncthing/syncthing container_name: syncthing hostname: syncthing environment:

  • PUID=1000
  • PGID=1000
  • STGUIADDRESS=:8086 volumes:
  • ./syncthing-config-backup:/var/syncthing #- ./syncthing-config-backup:/var/syncthing/data network_mode: host restart: unless-stopped healthcheck: test: curl -fkLsS -m 2 127.0.0.1:8384/rest/noauth/health | grep -o --color=never OK || exit 1 interval: 1m timeout: 10s retries: 3

My backed up folder is in ~/docker/syncthing/syncthing-config-backup.

My compose file is in ~/docker/syncthing/.

Docker ps shows my instance unhealthy. Do I need to do something with port 8384? Did I configure this right? Accessing the webui, it doesn’t look like anything carried over. I am using a different IP, so not sure if that needs to be reflected somewhere….

If you configure syncthing’s API/GUI to listen on port 8086, you can’t then subsequently expect it to be reachable on port 8384.

1 Like

ok, made that change. everything else I did is correct? it doesn’t look like the interface is password protected like it was before.

Can anyone please assist?

No idea what the problem is, are you missing your config? The paths that you’re mounting look weird (why are you mounting syncthing-config-backup twice in different locations?), but due to the broken formatting it’s not really readable.