Error 403 while syncing large files (>10 mb) after moving data directory. Files get blacklisted!

Steps to reproduce

  1. Move data directory to another partition on the same hard drive.
  2. Try to sync large files, bigger than 10 MB.

Expected behaviour

After moving the data directory following the instructions all files should sync normally.

Actual behaviour

Large files, bigger than 10 MB are blacklisted after receiving an error message 403 forbidden on MKCOL.

Server configuration

Operating system: Ubuntu 20.04.5 LTS

Web server:
Apache /2.4.41
Database:
10.3.37-MariaDB-0ubuntu0.20.04.1
PHP version:
PHP 7.4.3
ownCloud version: (see ownCloud admin page)
10.11.06

Updated from an older ownCloud or fresh install:
Updated from older owncloud
Where did you install ownCloud from:
Can’t remember.

Signing status (ownCloud 9.0 and above):

https://gist.github.com/rainerbopp/c990eaae90fbe61d48abe3c3d09ee1ef

The content of config/config.php:

(https://gist.github.com/rainerbopp/527603ebf60b348635d7d97104a4a402)

List of activated apps:

https://gist.github.com/rainerbopp/05d4f0370c3dbecc846893d8fe50837a

Are you using external storage, if yes which one: local/smb/sftp/…
local
Are you using encryption: yes/no
yes

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

LDAP configuration (delete this part if not used)

None

Client configuration

Browser: Safari

Operating system:
Mac OS Ventura 13.0

Logs

Web server error log

https://gist.github.com/rainerbopp/148a70c86b2febdcb4e2d351d6d28a22

ownCloud log (data/owncloud.log)

The log is 1.3 G big and contains almost 2 million lines. I checked, bu could not find anything relevant. Here is the line in the desktop client app: 
Server replied "403 Forbidden" to "MKCOL https://fslowncloud.ddns.net/remote.php/dav/uploads/admin/3120620168" (Could not create directory //3120620168)

Browser log

Insert your browser log here, this could for example include:

-----
1 Like

I had a similar issue and figured out it was caused by the uploads folder being missing. The fix that worked for me was to add it in.

1 Like