desktop icon indicating copy to clipboard operation
desktop copied to clipboard

[Bug]: Desktop client tries to log me back in after removing account

Open spacehitchhiker42 opened this issue 3 years ago • 3 comments

⚠️ Before submitting, please verify the following: ⚠️

Bug description

Nextcloud brings up a dialog box saying that i've been logged out of my account, and starts a browser with the login/grant permissions page.

Steps to reproduce

  1. Open the main dialog from the tray
  2. click your account
  3. click the 3-dots
  4. click remove account
  5. Restart Computer

Expected behavior

Don't try to log me back into an account that i want to get rid of. wait until i click on the tray icon so that i can add an account manually. debug.zip

Which files are affected by this bug

No files, it's an account issue

Operating system

Windows

Which version of the operating system you are running.

Windows 10

Package

Other

Nextcloud Server version

24

Nextcloud Desktop Client version

3.6.0

Is this bug present after an update or on a fresh install?

Updated to a major version (ex. 3.3.6 to 3.4.0)

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

Are you using an external user-backend?

  • [ ] Default internal user-backend
  • [ ] LDAP/ Active Directory
  • [ ] SSO - SAML
  • [ ] Other

Nextcloud Server logs

No response

Additional info

No response

spacehitchhiker42 avatar Sep 08 '22 05:09 spacehitchhiker42

Is this a dupe of #4715?

dave-kennedy avatar Sep 08 '22 15:09 dave-kennedy

Nope, but it might be related. the problem on #4713 is that it keeps forgetting his credentials when he restarts. My problem is that Accounts that i've removed from the desktop client keep reappearing and trying to log me back in.

spacehitchhiker42 avatar Sep 08 '22 17:09 spacehitchhiker42

Can reproduce on 3.6.0 (macOS). Hovever, deleting the account through the tray menu again seems to get rid of it permanently.

Tegenwind avatar Sep 09 '22 10:09 Tegenwind

I had to remove the account manually via nextcloud.cfg in ~/AppData/Roaming/Nextcloud :(

Snaptags avatar Nov 23 '22 07:11 Snaptags

Same issue on Linux:

  • To fix using client from system package: you need to edit ~/.config/Nextcloud/nextcloud.cfg
  • To fix using client from flatpak package: you need to edit ~/.var/app/com.nextcloud.desktopclient.nextcloud/config/Nextcloud/nextcloud.cfg

Tip: you can't just add a comma ; in front of each lines you want to disable.

Still present in version 3.7.4 (KDE).

cClaude avatar Mar 28 '23 04:03 cClaude

I have the same issue.

  1. 2nd Account removed
  2. PC Restart
  3. 2nd Account is listed again

I can repeat steps 1-3 over and over.

Version: 3.10.0 (Windows)

Sieboldianus avatar Sep 28 '23 12:09 Sieboldianus

3.10.1 (Windows, x64) here, same problem.

A full PC restart is not required to reproduce the bug. Simply fully closing NextCloud via the tray icon and then restarting the application causes it to re-add the removed account and try to log back in.

UpcraftLP avatar Dec 04 '23 20:12 UpcraftLP