[quote="system, post:[quote=“jtr, post:2, topic:223138, full:true”]
It would be helpful if you filled out the support template. Particularly since the installation method - among other things - impacts how External Storage is made available to Nextcloud.
[/quote]
1, topic:137402"]
The Basics
- Nextcloud Server version (Nextcloud Hub 10 (31.0.4)):
- Operating system and version (Pi os desktop 64bit):
- Web server and version (dk):
- Reverse proxy and version _(dk):
- PHP version (8.3.19):
- Is this the first time you’ve seen this error? (No):
- When did this problem seem to first start? (last week)
- Installation method (manually in portainer with yt vid)
- Are you using Cloudflare, mod_security, or similar? (No)
Summary of the issue you are facing:
So what happened is that I booted everything up onto the SD card on the Raspberry Pi 5 8 GB, used Docker Portainer, and then installed Nextcloud through the Portainer UI. I have a 1 TB USB SSD I want to use on it and plan to add more drives in the future, so I thought I’d use Nextcloud’s external storage support. So I’ve tried that after plugging in my SSD formating it to ext4, adding the SSD to the Pi’s internal files so it recognises it as its own with the UUID. But when I tried configuring the local storage on the nextcloud GUI it wouldn’t work and gave a red exclamation next the the external storage.
Steps to replicate it (hint: details matter!):
Log entries
[files_external] Error: Local storage path does not exist “/mnt/ssd/Nextcloud_data/”
PUT /apps/files_external/globalstorages/3
from 192.168.0.123 by (myusername) at 21 Apr 2025, 18:17:41
Nextcloud
Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log
located in your data directory). Feel free to use a pastebin/gist service if necessary.
{“reqId”:“ojF2AIJEuDkObgOcilxM”,“level”:3,“time”:“2025-04-21T17:17:41+00:00”,“remoteAddr”:“192.168.0.123”,“user”:“Admin_Farhan”,“app”:“files_external”,“method”:“PUT”,“url”:“/apps/files_external/globalstorages/3”,“message”:“Local storage path does not exist "/mnt/ssd/Nextcloud_data/"”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36”,“version”:“31.0.4.1”,“exception”:{“Exception”:“OCP\Files\StorageNotAvailableException”,“Message”:“Local storage path does not exist "/mnt/ssd/Nextcloud_data/"”,“Code”:1,“Trace”:[{“file”:“/config/www/nextcloud/apps/files_external/lib/MountConfig.php”,“line”:89,“function”:“__construct”,“class”:“OC\Files\Storage\Local”,“type”:“->”},{“file”:“/config/www/nextcloud/apps/files_external/lib/Controller/StoragesController.php”,“line”:225,“function”:“getBackendStatus”,“class”:“OCA\Files_External\MountConfig”,“type”:“::”,“args”:[“*** sensitive parameters replaced “]},{“file”:”/config/www/nextcloud/apps/files_external/lib/Controller/GlobalStoragesController.php",“line”:183,“function”:“updateStorageStatus”,“class”:“OCA\Files_External\Controller\StoragesController”,“type”:“->”,“args”:[" sensitive parameters replaced “]},{“file”:”/app/www/public/lib/private/AppFramework/Http/Dispatcher.php",“line”:200,“function”:“update”,“class”:“OCA\Files_External\Controller\GlobalStoragesController”,“type”:“->”,“args”:[" sensitive parameters replaced ***”]},{“file”:“/app/www/public/lib/private/AppFramework/Http/Dispatcher.php”,“line”:114,“function”:“executeController”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:“->”},{“file”:“/app/www/public/lib/private/AppFramework/App.php”,“line”:161,“function”:“dispatch”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:“->”},{“file”:“/app/www/public/lib/private/Route/Router.php”,“line”:307,“function”:“main”,“class”:“OC\AppFramework\App”,“type”:“::”},{“file”:“/app/www/public/lib/base.php”,“line”:1025,“function”:“match”,“class”:“OC\Route\Router”,“type”:“->”},{“file”:“/app/www/public/index.php”,“line”:24,“function”:“handleRequest”,“class”:“OC”,“type”:“::”}],“File”:“/app/www/public/lib/private/Files/Storage/Local.php”,“Line”:71,“Hint”:“Storage is temporarily not available”,“message”:“Local storage path does not exist "/mnt/ssd/Nextcloud_data/"”,“exception”:,“CustomMessage”:“Local storage path does not exist "/mnt/ssd/Nextcloud_data/"”},“id”:“68067db98bd8d”}
PASTE HERE
Web Browser
If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.
PASTE
Web server / Reverse Proxy
The output of your Apache/nginx/system log in /var/log/____
:
PASTE HERE
Configuration
Nextcloud
The output of occ config:list system
or similar is best, but, if not possible, the contents of your config.php
file from /path/to/nextcloud
is fine (make sure to remove any identifiable information!):
PASTE HERE
Apps
The output of occ app:list
(if possible).
Tips for increasing the likelihood of a response
- Use the
preformatted text
formatting option in the editor for all log entries and configuration output.
- If screenshots are useful, feel free to include them.
- If possible, also include key error output in text form so it can be searched for.
- Try to edit log output only minimally (if at all) so that it can be ran through analyzers / formatters by those trying to help you.
[/quote]