Skip to content

Bug Report: Upload fails due to incorrect quota check in version 3.17.0-20250805 #8555

@sto228

Description

@sto228

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

Bug description

Summary:

After upgrading to Nextcloud Desktop Client version 3.17.0-20250805, uploads fail with the error message indicating that a 2KB file exceeds the available space in the folder which is reported as 0 KB available, even though the user quota is not reached and sufficient space is available.

Steps to reproduce

Upgrade client to 3.17.0-20250805.
Make a change in the txt/script file in the folder which is under sync configuration
Let nextcloud-client to sync edited file
Observe error: “Upload of 2 KB exceeds 0 B of space left in folder <folder_path> ”.

Expected behavior

File should be synced successfully if the user and folder quotas are not exceeded.

Which files are affected by this bug

All files in my synced folder which have been modified on the client side

Operating system

Linux

Which version of the operating system you are running.

Ubuntu 22.04

Package

Distro package manager

Nextcloud Server version

30.0.13

Nextcloud Desktop Client version

3.17.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

## Server side:
No specific records in the data/nextcloud.log in the respective time


## Client side: output from ~/.config/Nextcloud/logs/20250808_1108_nextcloud.log.0.gz

2025-08-08 11:09:03:144 [ info nextcloud.sync.propagator ./obj-x86_64-linux-gnu/src/libsync/nextcloudsync_autogen/EWIEGA46WW/../../../../../src/libsync/owncloudpropagator.h:213 ]:       Starting CSyncEnums::CSYNC_INSTRUCTION_ERROR propagation of "remmina/remmina-connections/group_rdp_umn-winjump---utools02w-(10-241-87-133)_10-241-87-147.remmina" by OCC::PropagateIgnoreJob(0x5789dd3888a0)
2025-08-08 11:09:03:144 [ warning nextcloud.sync.propagator ./src/libsync/owncloudpropagator.cpp:280 ]: Could not complete propagation of "remmina/remmina-connections/group_rdp_umn-winjump---utools02w-(10-241-87-133)_10-241-87-147.remmina" by OCC::PropagateIgnoreJob(0x5789dd3888a0) with status OCC::SyncFileItem::NormalError and error: "Upload of 2 KB exceeds 0 B of space left in folder remmina/remmina-connections."
2025-08-08 11:09:03:144 [ warning nextcloud.gui.activity ./src/gui/tray/usermodel.cpp:916 ]:    Item  "remmina/remmina-connections/group_rdp_umn-winjump---utools02w-(10-241-87-133)_10-241-87-147.remmina"  retrieved resulted in  "Upload of 2 KB exceeds 0 B of space left in folder remmina/remmina-connections."
2025-08-08 11:09:03:144 [ info nextcloud.gui.activity ./src/gui/tray/usermodel.cpp:872 ]:       Item  "remmina/remmina-connections/group_rdp_umn-winjump---utools02w-(10-241-87-133)_10-241-87-147.remmina"  retrieved resulted in error  "Upload of 2 KB exceeds 0 B of space left in folder remmina/remmina-connections."
2025-08-08 11:09:03:144 [ warning nextcloud.gui.activity ./src/gui/tray/activitylistmodel.cpp:580 ]:    Error successfully added to the notification list:  OCC::ActivityListModel::ErrorType::SyncError "remmina/remmina-connections/group_rdp_umn-winjump---utools02w-(10-241-87-133)_10-241-87-147.remmina" "Upload of 2 KB exceeds 0 B of space left in folder remmina/remmina-connections." OCC::SyncResult::Undefined OCC::SyncFileItem::NormalError
2025-08-08 11:09:03:145 [ warning sync.localdiscoverytracker ./src/libsync/localdiscoverytracker.cpp:70 ]:      inserted error item "remmina/remmina-connections/group_rdp_umn-winjump---utools02w-(10-241-87-133)_10-241-87-147.remmina"
2025-08-08 11:09:03:149 [ info nextcloud.sync.engine ./src/libsync/syncengine.cpp:924 ]:        Sync run took  609 ms
2025-08-08 11:09:03:149 [ warning sync.localdiscoverytracker ./src/libsync/localdiscoverytracker.cpp:84 ]:      sync failed, keeping last sync's local discovery path list
2025-08-08 11:09:03:149 [ info nextcloud.gui.folder ./src/gui/folder.cpp:1257 ]:        Client version 3.17.0-20250805.190040.9ccf474ad-1.0~jammy1  Qt 6.2.4  SSL  OpenSSL 3.0.2 15 Mar 2022
2025-08-08 11:09:03:149 [ warning nextcloud.gui.folder ./src/gui/folder.cpp:1264 ]:     SyncEngine finished with ERROR
2025-08-08 11:09:03:149 [ debug com.nextcloud.owncloudgui ./src/gui/owncloudgui.cpp:473 ]       [ OCC::ownCloudGui::slotShowTrayMessage ]:        Going to show notification with title: ' "Sync Activity" ' and message: ' "remmina/remmina-connections/group_rdp_umn-winjump---utools02w-(10-241-87-133)_10-241-87-147.remmina and 7 other files could not be synced due to errors. See the log for details." '
2025-08-08 11:09:03:150 [ info nextcloud.gui.folder ./src/gui/folder.cpp:426 ]: Folder "" sync result:  OCC::SyncResult::SyncRunning
2025-08-08 11:09:03:150 [ info nextcloud.gui.folder ./src/gui/folder.cpp:1293 ]:        the last 9 syncs failed

Additional info

Workaround by downgrade to dpkg version 3.16.6-20250628. All dpkg installed from PPA stable(3.16.6-20250628) / beta(3.17.0-20250805) repositories.

Metadata

Metadata

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions