Sorry to hear you’re facing problems
In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:
Or for longer, use three backticks above and below the code snippet:
longer example here
Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can
Nextcloud version 27.1 AIO
Operating system and version Debian 12 / Docker
Apache or nginx version AiO edition behind NginX reverse proxy
PHP version 8.1.23
The issue you are facing:
All file storage is via several external storage connectors - SFTP to TrueNas (Approx 50Tb in total). Most users are mounted Readonly.
All external storage showing green ticks and using Global Credentials which are OK.
When we try to access an image file (.jpg) for download we are presented with the following error in the browser:
This is the WebDAV interface. It can only be accessed by WebDAV clients such as the Nextcloud desktop sync client.
If we try to access the file for preview in the browser, the preview just spins. Returning to that folder then shows the image files as 0Kb and cannot be accessed or downloaded via Nextcloud. This is persistent after a nextcloud reboot.
The files are however still intact on the backend storage.
Other file types seem OK. PDF’s will open in preview.
In the file crumbtrail we are often presented with “You do not have permission to upload or create files here.”
Is this the first time you’ve seen this error? (Y/N): Y
The output of your Nextcloud log in Admin > Logging:
fopen(sftpread://mnt/tank2/archive/GTP_Headshot-2.jpg): Failed to open stream: "OCA\Files_External\Lib\Storage\SFTPReadStream::stream_open" call failed at /var/www/html/apps/files_external/lib/Lib/Storage/SFTP.php#381 Error core Can't get app storage, app files_external, user not logged in Error core Can't get app storage, app files_external, user not logged in Error core Can't get app storage, app files_external, user not logged in Error core Can't get app storage, app files_external, user not logged in
The output of your config.php file in
/path/to/nextcloud (make sure you remove any identifiable information!):
The output of your Apache/nginx/system log in
Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary. PASTE HERE