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
PHP version:
PHP 7.4.3
ownCloud version: (see ownCloud admin page)

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):

The content of config/config.php:


List of activated apps:

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

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

LDAP configuration (delete this part if not used)


Client configuration

Browser: Safari

Operating system:
Mac OS Ventura 13.0


Web server error log

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" (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

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.