owncloud / core

:cloud: ownCloud web server core (Files, DAV, etc.)
https://owncloud.com
GNU Affero General Public License v3.0
8.35k stars 2.06k forks source link

32 bit Server: Upload of … exceeds the quota for the folder, when server has plenty of remaining storage #40703

Closed sgparry closed 1 year ago

sgparry commented 1 year ago

I have tried my best to format this bug report as requested - if I have messed up anywhere please let me know in the comments; I posted a request for help on central and got no feedback at all

I have been trying to solve this for several days. After extensive housekeeping, My VPS has 17GB out of 74GB still free, but ownCloud still refuses to sync. I suspect it is something to do with the 32 bitness of my server or the external storage.

Expected behaviour

Files should be synchronized to server without error

Actual behaviour

Client complains "There is insufficient space available on the server" and shows "Upload of ... exceeds the quota for the folder" in not synced tab. Running occ files:scan --all and occ trashbin:cleanup makes no difference, nor does retry sync in the client. The error seems to be a conspiracy between the two sides, client and server. The web server logs have shown genuine 507 errors from remote.php, typically on MOVE commands, but also the client seems to retain any error status permanently.

Steps to reproduce

  1. Ensure the server has the following space usage for target user, and is using some in-built storage and some external local storage on the same drive as owncloud's data directory:
    
    $ df -h
    Filesystem      Size  Used Avail Use% Mounted on
    /dev/root        74G   55G   17G  78% /

$ du -d0 -h /var/www/owncloud/data/ 17G /var/www/owncloud/data/

External local storage 1

$ du -d0 -h /srv/moodle/redacted/vle/moodledata/repository/ 2.6G /srv/moodle/redacted/vle/moodledata/repository/

External local storage 2

$ du -d0 -h /srv/www/redacted/html 124M /srv/www/redacted/html

from web interface:
You are using 14.1 GB of 30.1 GB (46.79 %)

2. Install client with non-virtual file mode and selected files.
3. Connect client to user area - choose about 50 - 60 % of the folders to sync.
4. Configure client to synchronize hidden files. Turn off both "Ask for..." confirmations
5. Allow files to sync (if possible).
6. Add one file of 13,496,320 bytes called "%HOME%\ownCloud\pyspace repository\CA-GCE-COMPSCI\assessments\2022-2023\Year13\AP4-Mock-2\paper-2-raw\2.dat".

### Server configuration
**Operating system:** Ubuntu 18.04.6 LTS (32 bit)

**Web server:** apache2  2.4.29-1ubuntu4.27

**Database:** MySQL 5.7.41

**PHP version:** 7.4.33

**ownCloud version:** ownCloud 10.12.0 (stable)

**Updated from an older ownCloud or fresh install:** updated

**Where did you install ownCloud from:**
following apt repo:
deb http://download.opensuse.org/repositories/isv:/ownCloud:/server:/10/Ubuntu_18.04/ /

**Signing status (ownCloud 9.0 and above):**

No errors have been found.


**The content of config/config.php:** https://gist.github.com/sgparry/fc8528febc5b5bccfd7ed646a3cd4d34

**List of activated apps:**

Enabled:

Are you using external storage, if yes which one: local

$ du -d0 -h /srv/moodle/**redacted**/vle/moodledata/repository/
4.8G    /srv/moodle/**redacted**/vle/moodledata/repository/
# du -d0 -h /srv/www/**redacted**/html
124M    /srv/www/**redacted**/html

Are you using encryption: no

Are you using an external user-backend, if yes which one: LDAP

LDAP configuration (delete this part if not used)

https://gist.github.com/sgparry/3f3b2e21a6b231b9537907defe5c0f3c

Client configuration

Browser: Firefox 111.0.1 (64 bit)

Client version: ownCloud 3.2.1.10355 [9724d6]

Operating system: windows-10.0.19044

OS language: British English

Installation path of client: c:\program files\ownCloud

Logs

Web server error log

https://gist.github.com/sgparry/c1a28276436d68b32dbaccfa5730ded9

ownCloud log (data/owncloud.log)

https://gist.github.com/sgparry/be646093e46e76c922f5149ab8fabb18

Browser log

n/a

Client logfile:

ownCloud.zip (sorry, too big to gist)

sgparry commented 1 year ago

Many of #40695 commenters are 32bit...

On 26 March 2023 11:27:10 BST, ho4ho @.***> wrote:

  • Unrelated by 32bit and duplicate by #40695?
  • Related by LDAP: #40693?

-- Reply to this email directly or view it on GitHub: https://github.com/owncloud/core/issues/40703#issuecomment-1484054349 You are receiving this because you authored the thread.

Message ID: @.***> -- Sent from my Android device with K-9 Mail. Please excuse my brevity.

sgparry commented 1 year ago

Duplicate of #40695