Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 836734

Summary: net-misc/nextcloud-client-3.4.3 freeze on startup
Product: Gentoo Linux Reporter: Siuchung Cheung (Clement) <>
Component: Current packagesAssignee: Bernard Cafarelli <voyageur>
Severity: normal CC: flow, gentoo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also:
Package list:
Runtime testing required: ---

Description Siuchung Cheung (Clement) 2022-04-04 05:08:02 UTC
Upstream bug:
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. 

1. Upgrade to www-apps/nextcloud-23.0.3
Upstream 23.0.3 disables this feature from server side. 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. But my 3.4.3 is still frozen. Others also reported 3.5.0 still broken. 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. 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 This is the same as the official "fix" on 23.0.3. 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