-
-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Can't login into Duplicati any more #89
Comments
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid. |
Same issue here 😞 |
same issue for me unable to login I didn't set any password |
Same issue for me. Everything works with 2.0.8 tag but stops working with 2.1.0. |
I entered the password for
and now I can login again. |
Same issue for me |
Same issue here |
With everyone that's saying "Same issue here" - it would be helpful to know if you've read through the thread and also the readme to add the password env into your deployment method of choice. Otherwise your just adding an unhelpful comment. |
This is what I specifically tried: arch-anes/self-hosted-services@3e9f044. I also tried disabling encryption via Either my backup config is wiped or I get a "Failed to get nonce" error at login. The same issue happens with |
Did you try adding it as a regular plain text environment variable? The changes you made have several moving parts. |
Yes, I tried adding SETTINGS_ENCRYPTION_KEY but the error persisted. |
for anyone using unraid you fix the login problem by resetting the docker image and going into the docker log |
Hello, For me, the problem was with the reverse proxy. I had to add these 2
With these 2 headers, everything's fine. This is probably the problem described here : https://forum.duplicati.com/t/unable-to-log-in-using-reverse-proxy/19760 |
@abelfodil & @tugdualenligne: The database encryption key is not the same as the webservice API/UI password.
That indicates a caching error in the WebUI. The "nonce" logic was part of 2.0.8.1 and older, the 2.1.0.2 does not use nonces (at least not that way). @emol-ch You need to either use the signin link found in the logs, or set a password with the environment variable It is not optional in 2.1.0.2 and later. Additional information on the password are in the Duplicati docs. |
Hi Kenkendk, nice seeing you here in that Linuxserver space, far from the Duplicati forums ;-) |
Hello, I just want to comment something, I always logged in with "http://192.168.152.13:8200/ngax/index.html" wich resulted in the error. (Could not log in) I replaced "localhost" with the server ip, then the docker prompted me to set a new password, which I did and now the old Link works again. Hope this helps some people. |
It is rare, but I sometimes move a bit :)
If you mean the API password, then it is not a bug and here to stay. If you see the dialog with "Connection lost Connection to server was rejected due to invalid authentication" then it (most likely) means that you are not logged in. If you have not yet set a password, look in the logs as described by @Lolcraftspace, find the link and open it to sign in. From here you can change the password in the Settings. After changing the password, the link will no longer appear on startup. If you set a password with If the password is not working, you can also try If the container is running, you can go into it and run It could also be a proxy issue where the websocket is being rejected. If this is the case, you should see the configured backups loading (and the text "Beta" underneath the Duplicati logo top-left). If you see one of these two things you are logged in, but the websocket connection is failing. Try using Developer Tools in the browser to see error messages. |
Path in the container would be |
数据库密码和web密码不要设置一样的,会导致无法登录,我的教训~! |
thank you for your help ,
The problem has been resolved
eMoL〃CH
***@***.***
…------------------ 原始邮件 ------------------
发件人: "linuxserver/docker-duplicati" ***@***.***>;
发送时间: 2025年1月10日(星期五) 凌晨5:12
***@***.***>;
***@***.******@***.***>;
主题: Re: [linuxserver/docker-duplicati] [BUG] Can't login into Duplicati any more (Issue #89)
Hi Kenkendk, nice seeing you here in that Linuxserver space, far from the Duplicati forums ;-)
It is rare, but I sometimes move a bit :)
I am lost here about the situation: is this a bug and I should wait, or is there a configuration change I should do?
If you mean the API password, then it is not a bug and here to stay.
If you see the dialog with "Connection lost Connection to server was rejected due to invalid authentication" then it (most likely) means that you are not logged in.
If you have not yet set a password, look in the logs as described by @Lolcraftspace, find the link and open it to sign in. From here you can change the password in the Settings. After changing the password, the link will no longer appear on startup.
If you set a password with DUPLICATI__WEBSERVICE_PASSWORD=<password> then simply click the "Login" button when you get the "Connection Lost", enter the password, and you are logged in.
If the password is not working, you can also try CLI_ARGS: --webservice-password=<password>, which should do the same.
If the container is running, you can go into it and run /opt/duplicati/duplicati-server-util change-password (maybe the path is different in the linuxserver image).
It could also be a proxy issue where the websocket is being rejected. If this is the case, you should see the configured backups loading (and the text "Beta" underneath the Duplicati logo top-left). If you see one of these two things you are logged in, but the websocket connection is failing. Try using Developer Tools in the browser to see error messages.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
For me, it was solved by enabling Websocket support in my Nginx reverse proxy. No additional settings for the websocket/proxy were needed. |
Is there an existing issue for this?
Current Behavior
After polling the latest image on my linuxserver/duplicati under dockge
I can't login into my duplicati any more.
I get the message:
Connection lost Connection to server was rejected due to invalid authentication. Log in again, or re-open the page from the TrayIcon (if applicable)
I added the two new option to my compose-file:
And I tried
What can be done to login into my duplicati again.
Expected Behavior
Login into WebUI of duplicati
Steps To Reproduce
Environment
CPU architecture
x86-64
Docker creation
Container logs
The text was updated successfully, but these errors were encountered: