Problem explanation :
When I load the ‘All files’ page, I get the following error message :
‘This directory is unavailable, please check the logs or contact the administrator’
The only interaction with Nextcloud we had before the first occurrence was one of my administrator sharing files.
At the time of the first occurrence, the Nextcloud version was 25.0.3 and the PHP version was 8.0.
I updated both as an unsuccessful fixing attempt.
When I disable the ‘File Sharing’ App, I don’t get the error message anymore and the page load correctly.
Could we have we done something wrong with the ‘File Sharing’ App ?
Also, as I get the error message, I can see one of the Nextcloud request get an error 500 :
Request URL: https://membres.arpejeh.com/remote.php/dav/files/username/
Request Method: PROPFIND
Status Code: 500 Internal Server Error
System :
Nextcloud version (eg, 20.0.5): 26.0.1
Operating system and version (eg, Ubuntu 20.04): Debian 10.13
Apache or nginx version (eg, Apache 2.4.25): Nginx 1.20.2.1-v.debian.10+p18.0.51.1+t230404.1037
PHP version (eg, 7.4): 8.1.18
The issue you are facing:
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- Sharing files ?
- Going to the “All Files” page
The output of your Nextcloud log in Admin > Logging:
No new log lines appear at the time of the bug
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
Nothing seem relevant to my problem in this file, please ask me this information if you think otherwise.
The output of your Apache/nginx/system log in /var/log/____
:
(this is the logs of docker in which the nextcloud is running, those lines are the only thing appearing at the time of the bug)
[Wed May 03 07:29:27.990239 2023] [core:notice] [pid 1] AH00052: child pid 2470 exit signal Segmentation fault (11)
[Wed May 03 07:29:29.624260 2023] [php:error] [pid 663] [client 80.11.116.116:0] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 262144 bytes) in /var/www/html/apps/files_sharing/lib/SharedStorage.php on line 532
[Wed May 03 07:29:29.624727 2023] [php:error] [pid 663] [client 80.11.116.116:0] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 262144 bytes) in Unknown on line 0