Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 836734 - net-misc/nextcloud-client-3.4.3 freeze on startup
Summary: net-misc/nextcloud-client-3.4.3 freeze on startup
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-04 05:08 UTC by Siuchung Cheung (Clement)
Modified: 2024-01-09 12:09 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Siuchung Cheung (Clement) 2022-04-04 05:08:02 UTC
Upstream bug: https://github.com/nextcloud/desktop/issues/4106
Caused by a broken new feature bulk upload.

Affected versions:
www-apps/nextcloud-23.0.0 up to 23.0.2
net-misc/nextcloud-client-3.4.1 up to 3.5.0-rc1

Currently, Gentoo stable is at 23.0.0 server and 3.4.3 client. Stable is broken. Gentoo unstable is at 23.0.3 server and 3.4.3 client. Unstable works as long as the server is running Gentoo latest. 

Fixes:
1. Upgrade to www-apps/nextcloud-23.0.3
Upstream 23.0.3 disables this feature from server side. https://github.com/nextcloud/server/pull/31171 This worked on my machine. We currently have broken 23.0.0 as our stable version. We should either stabilize 23.0.3 or remove stable tag for 23.0.0. Maybe a big fat warning for 23.0.0 to 23.0.2 or even mask these versions.

2. Downgrade to net-misc/nextcloud-client-3.3.6
That means we need to mask 3.4.2 and 3.4.3 to protect Gentoo users. Or at least don't mark 3.4.3 as stable. And we miss out on any 3.4 features until this is fixed.

3. Backport fix from net-misc/nextcloud-client-3.5rc2
This is what upstream already did for 3.4.3. https://github.com/nextcloud/desktop/pull/4267 But my 3.4.3 is still frozen. Others also reported 3.5.0 still broken. https://github.com/nextcloud/desktop/issues/4106#issuecomment-1075061932 I don't believe this fix actually solves the problem.

4. Patch nextcloud-client-3.4.1+ to disable bulk upload
This is what Arch Linux currently do. https://bugs.archlinux.org/task/73625 https://github.com/nextcloud/desktop/issues/4106#issuecomment-1029764959 But we'll need to babysit this patch and make sure we remove this hack when they finally fixed the bug for real.

5. Patch the server to disable bulk upload
https://github.com/nextcloud/desktop/issues/4106#issuecomment-1030608442 This is the same as the official "fix" on 23.0.3. https://github.com/nextcloud/server/pull/31171/commits/58cec19291ac7f1b10b22286c27e3ab052e9514d By backporting this, we can keep stable at 23.0.0 if we don't want to stabilize another version.

Reproducible: Always

Steps to Reproduce:
1. Start NextCloud client
Actual Results:  
NextCloud client is frozen with 100% CPU usage during sync as soon as it started. Doesn't even respond to clicking on pause sync. Restarting NextCloud client or the whole PC gets it back to the same stuck state. Completely unusable.

Expected Results:  
Sync works without freezing.
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2022-04-04 08:13:50 UTC
There's also net-misc/nextcloud-client-3.4.4 release available...
Comment 2 Florian Schmaus gentoo-dev 2022-04-07 07:40:19 UTC
I've added nextcloud-client 3.4.4 to ::gentoo. However, I am not sure if it fixes the issue or if users need to use Nextcloud 23.0.3 (see also bug #837056).
Comment 3 Bernard Cafarelli gentoo-dev 2022-08-08 20:47:24 UTC
Is this still an issue with current releases in tree? Stable 3.5.2 or just-pushed 3.5.4
Comment 4 Bernard Cafarelli gentoo-dev 2024-01-09 12:09:20 UTC
Cleaning old bugs, upstream marked it as done in July don't hesitate to reopen if this still happens with current version
https://github.com/nextcloud/desktop/issues/4106#issuecomment-1620373666