FS#71920 - [nextcloud-client] 3.3.1.1 breaks login flow

Attached to Project: Community Packages
Opened by Max Berndt (Mexx77) - Wednesday, 25 August 2021, 11:10 GMT
Last edited by Chih-Hsuan Yen (yan12125) - Sunday, 12 September 2021, 03:45 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Chih-Hsuan Yen (yan12125)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
I downgraded to 3.3.0-1 because login is not working for me with 3.3.1-1

Steps to reproduce:

- Open nextcloud 3.3.1-1
- After a while it opens a modal and a Browser window
- Approve the login in the opened Browser window
- Focus the modal, the modal will try to finish the login flow 2 but will get stuck and never actually finish it (it stays open)
This task depends upon

Closed by  Chih-Hsuan Yen (yan12125)
Sunday, 12 September 2021, 03:45 GMT
Reason for closing:  Fixed
Additional comments about closing:  1:3.3.3-1
Comment by Max Berndt (Mexx77) - Wednesday, 25 August 2021, 11:12 GMT Comment by Chih-Hsuan Yen (yan12125) - Thursday, 26 August 2021, 05:01 GMT
Cannot reproduce. Maybe the issue occurs under some specific scenarios. Please attach logfiles to the upstream issue to see if upstream developers can identify the issue, thanks!
Comment by Max Berndt (Mexx77) - Thursday, 26 August 2021, 08:42 GMT
This is my log. Attaching it here because github won't let me.
Comment by Chih-Hsuan Yen (yan12125) - Thursday, 26 August 2021, 09:33 GMT
> 2021-08-26 10:33:59:923 [ info nextcloud.sync.credentials.keychainchunk ]: Backend unavailable (yet?) Retrying in a few seconds. "The name org.freedesktop.secrets was not provided by any .service files"

Seems the keychain is not working as expected. Could you re-check tips for auto-login from https://wiki.archlinux.org/title/Nextcloud#Desktop?
Comment by Max Berndt (Mexx77) - Thursday, 26 August 2021, 10:10 GMT
Hey Chih-Hsuan,
thanks for your support. Thats true, but not the root cause. I am not using auto-login. If I wanted I could try to follow the steps in the wiki you mentioned. Currently I don't see the need to install and configure a keychain manager such qtkeychain-qt5 and a secret service.

The login works in 3.3.0
Comment by Gabe Venberg (Toric) - Thursday, 26 August 2021, 18:50 GMT
Happens for me as well, downgrading to 3.3.0 works for workaround.
Comment by Chih-Hsuan Yen (yan12125) - Friday, 27 August 2021, 12:40 GMT
> I am not using auto-login.

Thanks for the info! I can now reproduce the issue on 3.3.1 if I disabled the keychain. Also, I can confirm the issue does not exist on 3.3.0 even without a running keychain. From logs, I wonder if this is slightly different than https://github.com/nextcloud/desktop/issues/3704. Let me investigate it deeper.
Comment by Chih-Hsuan Yen (yan12125) - Friday, 27 August 2021, 19:19 GMT
Looks like there are plenty of login-related regressions in 3.3.1:

* https://github.com/nextcloud/desktop/issues/3722 (closer to this ticket)
* https://github.com/nextcloud/desktop/issues/3707 (turns out a different issue)
* https://github.com/nextcloud/desktop/issues/3704 (mentioned above)
* https://github.com/nextcloud/desktop/issues/3677
* https://github.com/nextcloud/desktop/issues/3694

I'm afraid such issues will last for some time and I cannot give help unless I revert the package to an older version. Also, I can still reproduce the login issue without a keyring for version 3.3.2 (locally built, not uploaded to Arch official repositories yet). Reporting bugs to upstream with as many details as possible should help things better.
Comment by Max Berndt (Mexx77) - Friday, 27 August 2021, 20:57 GMT
thanks Chih-Hsuan. I see if I can provide more details upstream. Will stay on 3.3.0 for now.
Comment by Chih-Hsuan Yen (yan12125) - Sunday, 29 August 2021, 16:17 GMT
As many users are affected, I downgraded community/nextcloud-client to 1:3.3.0-1. I will upload 3.3.2 to [community-testing] when I find time, so that users affected by bugs in 3.3.0 [1][2] can use the latest version.

Update: 3.3.2 now in [community-testing]

[1] https://github.com/nextcloud/desktop/issues/3616
[2] https://github.com/nextcloud/desktop/issues/3628
Comment by Max Berndt (Mexx77) - Sunday, 29 August 2021, 19:37 GMT
awesome, Chih-Hsuan!
Comment by Chih-Hsuan Yen (yan12125) - Friday, 03 September 2021, 15:03 GMT
The issue should have been fixed with community-testing/nextcloud-client 1:3.3.3-1. Please give it a try, thanks!
Comment by Max Berndt (Mexx77) - Monday, 06 September 2021, 08:06 GMT
confirm. its fixed for me with 1.3.3.3-1 :)
Comment by Chih-Hsuan Yen (yan12125) - Sunday, 12 September 2021, 03:45 GMT
Thanks for testing! Another user also signed-off the testing package at https://archlinux.org/packages/signoffs/ (requires at least a tester account) - I assume there are no other issues, and moved 1:3.3.3-1 to [community].

Loading...