I’m having trouble using duplicati-server-util via a script. I’m using the Linuxserver Duplicati Docker image, and until recently, the login was saved without any issues even after restarting the container, but for some time now, that doesn’t seem to be working anymore.
At first, the login command within the container works, and a token is supposedly saved:
Logging in to the server
Connecting to ``http://127.0.0.1:8200/``...
Logged in, persistent token saved
But when I start a backup immediately afterward using run, the refresh token cannot be used:
Connecting to ``http://127.0.0.1:8200/``...
Failed to use refresh token: Server error (401): Failed to refresh token
Failed to obtain a signin token: Server error (401): Failed to sign in
What’s going wrong here? The /config directory is mounted on the host. What’s strange is that immediately after the login command, no token can be found without the container having been stopped or restarted.