Nextcloud version: 29.0.2
Operating system and version: Ubuntu 24.04
Apache or nginx version: 2.4.58-1ubuntu8.4
PHP version: 8.3
The issue you are facing:
It does not allow uploading any files, Access control has disabled the operation
Is this the first time you’ve seen this error? (Y/N):
Yes
Steps to replicate it:
The output of your Nextcloud log in Admin > Logging:
00:00",“remoteAddr”:“192.168.80.100”,“user”:“admin”,“app”:“PHP”,“method”:“POST”,“url”:“/remote.php/dav/bulk”,“message”:“file_put_contents(/var/www/html/nextcloud/data/admin/files/My Music Year/2024/2024 Year Processing/Intim Torna Illegal - Hipnotizor kiraly.mp3): Failed to open stream: Permission denied at /var/www/html/nextcloud/lib/private/Files/Storage/Local.php#339”,“userAgent”:“Mozilla/5.0 (Windows) mirall/3.13.0stable-Win64 (build 20240423) (Nextcloud, windows-10.0.22631 ClientArchitecture: x86_64 OsArchitecture: x86_64)”,“version”:“29.0.2.2”,“data”:{“app”:“PHP”}}
{“reqId”:“qlLtrt3wabAnMMyRV3Gf”,“level”:3,“time”:“2024-07-02T17:28:53+00:00”,“remoteAddr”:“192.168.80.100”,“user”:“admin”,“app”:“no app in context”,“method”:“POST”,“url”:“/remote.php/dav/bulk”,“message”:“Could not create path "/admin/files/My Music Year/2024/2024 Year Processing/Intim Torna Illegal - Hipnotizor kiraly.mp3"”,“userAgent”:“Mozilla/5.0 (Windows) mirall/3.13.0stable-Win64 (build 20240423) (Nextcloud, windows-10.0.22631 ClientArchitecture: x86_64 OsArchitecture: x86_64)”,“version”:“29.0.2.2”,“data”:{“path”:“/My Music Year/2024/2024 Year Processing/Intim Torna Illegal - Hipnotizor kiraly.mp3”}}
{“reqId”:“uublrLBxN8E6x6vxO3A9”,“level”:3,“time”:“2024-07-02T17:31:17+00:00”,“remoteAddr”:“192.168.80.100”,“user”:“admin”,“app”:“PHP”,“method”:“POST”,“url”:“/remote.php/dav/bulk”,“message”:“file_put_contents(/var/www/html/nextcloud/data/admin/files/My Music Year/2024/2024 Year Processing/Intim Torna Illegal - Hipnotizor kiraly.mp3): Failed to open stream: Permission denied at /var/www/html/nextcloud/lib/private/Files/Storage/Local.php#339”,“userAgent”:“Mozilla/5.0 (Windows) mirall/3.13.0stable-Win64 (build 20240423) (Nextcloud, windows-10.0.22631 ClientArchitecture: x86_64 OsArchitecture: x86_64)”,“version”:“29.0.2.2”,“data”:{“app”:“PHP”}}
{“reqId”:“uublrLBxN8E6x6vxO3A9”,“level”:3,“time”:“2024-07-02T17:31:17+00:00”,“remoteAddr”:“192.168.80.100”,“user”:“admin”,“app”:“no app in context”,“method”:“POST”,“url”:“/remote.php/dav/bulk”,“message”:“Could not create path "/admin/files/My Music Year/2024/2024 Year Processing/Intim Torna Illegal - Hipnotizor kiraly.mp3"”,“userAgent”:“Mozilla/5.0 (Windows) mirall/3.13.0stable-Win64 (build 20240423) (Nextcloud, windows-10.0.22631 ClientArchitecture: x86_64 OsArchitecture: x86_64)”,“version”:“29.0.2.2”,“data”:{“path”:“/My Music Year/2024/2024 Year Processing/Intim Torna Illegal - Hipnotizor kiraly.mp3”}}
The output of your Apache/nginx/system log in /var/log/apache2/error.log
:
[Thu Aug 08 00:00:07.059045 2024] [mpm_prefork:notice] [pid 229158] AH00163: Apache/2.4.58 (Ubuntu) configured – resuming normal operations
[Thu Aug 08 00:00:07.059071 2024] [core:notice] [pid 229158] AH00094: Command line: ‘/usr/sbin/apache2’
[Thu Aug 08 01:26:36.808976 2024] [php:error] [pid 238243] [client 103.77.204.90:44328] script ‘/var/www/html/index.php’ not found or unable to stat
[Thu Aug 08 03:14:43.491596 2024] [php:error] [pid 238243] [client 200.201.211.72:56950] script ‘/var/www/html/index.php’ not found or unable to stat
[Thu Aug 08 05:58:27.587435 2024] [core:error] [pid 237816] [client 116.198.35.209:59655] AH10244: invalid URI path (/cgi-bin/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/bin/sh)
[Thu Aug 08 05:58:28.121014 2024] [core:error] [pid 238244] [client 116.198.35.209:60068] AH10244: invalid URI path (/cgi-bin/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65>
[Thu Aug 08 05:58:40.842862 2024] [php:error] [pid 238893] [client 116.198.35.209:60381] script ‘/var/www/html/index.php’ not found or unable to stat
[Thu Aug 08 05:58:41.297272 2024] [php:error] [pid 238893] [client 116.198.35.209:60381] script ‘/var/www/html/index.php’ not found or unable to stat
[Thu Aug 08 05:58:41.519816 2024] [php:error] [pid 238893] [client 116.198.35.209:60381] script ‘/var/www/html/index.php’ not found or unable to stat
[Thu Aug 08 10:50:27.733395 2024] [php:error] [pid 238246] [client 142.93.150.114:51542] script ‘/var/www/html/upl.php’ not found or unable to stat
[Thu Aug 08 10:50:28.734989 2024] [php:error] [pid 237818] [client 142.93.150.114:51576] script ‘/var/www/html/1.php’ not found or unable to stat
[Thu Aug 08 10:50:29.240221 2024] [php:error] [pid 238247] [client 142.93.150.114:51592] script ‘/var/www/html/password.php’ not found or unable to stat
[Thu Aug 08 22:48:54.384916 2024] [mpm_prefork:notice] [pid 229158] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Aug 08 22:49:20.718038 2024] [mpm_prefork:notice] [pid 1023] AH00163: Apache/2.4.58 (Ubuntu) configured – resuming normal operations
[Thu Aug 08 22:49:20.719523 2024] [core:notice] [pid 1023] AH00094: Command line: ‘/usr/sbin/apache2’