The Basics
- Nextcloud Server version (e.g., 29.x.x):
- Nextcloud Hub 10 (31.0.2)**
- Operating system and version (e.g., Ubuntu 24.04):
- Debian bookworm Linux 6.12.19-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.19-1 (2025-03-16) x86_64 GNU/Linux
- Web server and version (e.g, Apache 2.4.25):
- nginx /1.22.1
- Reverse proxy and version _(e.g. nginx 1.27.2)
- nginx /1.22.1
- PHP version (e.g, 8.3):
- PHP 8.2.28
- Is this the first time you’ve seen this error? (Yes / No):
- Yes
- When did this problem seem to first start?
- fresh install
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
- Bare Metal/Archive
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
- no
Summary of the issue you are facing:
I followed this doc. I tried both methods, none works. I have not enough space in / partition and I have a lot left on /home .
I would like to ln -s /pathToNextcloud/data /home/NCData (no user attached to this directory)
If I make the link to a folder with the same root as nextcloud, it works
It is a KVM virtual machine with this structure
udev 7,8G 0 7,8G 0% /dev
tmpfs 1,6G 724K 1,6G 1% /run
/dev/vda2 28G 19G 7,7G 71% /
tmpfs 7,9G 0 7,9G 0% /dev/shm
tmpfs 5,0M 0 5,0M 0% /run/lock
/dev/vda4 2,4T 144G 2,2T 7% /home
tmpfs 1,6G 4,0K 1,6G 1% /run/user/1000
Steps to replicate it (hint: details matter!):
ncdir='/opt/Nextcloud/nextcloud'
olddata='/opt/Nextcloud/nextcloud/data'
newdata='/home/NCData/data'
sudo -u www-data php "$ncdir/occ" maintenance:mode --on
sudo cp -a "$olddata/." "$newdata"
sudo op "$olddata" /path/to/backup/data
sudo rm -R "$olddata"
sudo ln -s "$newdata" "$olddata"
sudo -u www-data php "$ncdir/occ" maintenance:mode --off
php.ini open_basedir
open_basedir = /opt/Nextcloud/nextcloud:/tmp:/etc:/home/cool/collabora:/home/DataNextcloud/
Log entries
{
"reqId": "lNRBFzqMR9A3LgD0PNIC",
"level": 3,
"time": "2025-04-09T11:47:05+00:00",
"remoteAddr": "78.194.2.7",
"user": "admin",
"app": "files_external",
"method": "POST",
"url": "/apps/files_external/globalstorages",
"message": "Local storage path does not exist \"/home/DataNextcloud/\"",
"userAgent": "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0",
"version": "31.0.2.1",
"exception":
{
"Exception": "OCP\\Files\\StorageNotAvailableException",
"Message": "Local storage path does not exist \"/home/DataNextcloud/\"",
"Code": 1,
"Trace":
.../...
"File": "/opt/Nextcloud/nextcloud/lib/private/Files/Storage/Local.php",
"Line": 71,
"Hint": "Storage is temporarily not available",
"message": "Local storage path does not exist \"/home/DataNextcloud/\"",
"exception":
{},
"CustomMessage": "Local storage path does not exist \"/home/DataNextcloud/\""
}
}
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
Enabled:
- activity: 4.0.0
- app_api: 5.0.2
- bruteforcesettings: 4.0.0
- calendar: 5.2.1
- circles: 31.0.0
- cloud_federation_api: 1.14.0
- comments: 1.21.0
- contacts: 7.0.5
- contactsinteraction: 1.12.0
- dashboard: 7.11.0
- dav: 1.33.0
- deck: 1.15.0
- drawio: 3.0.9
- federatedfilesharing: 1.21.0
- federation: 1.21.0
- files: 2.3.1
- files_downloadlimit: 4.0.0
- files_external: 1.23.0
- files_markdown: 2.4.1
- files_mindmap: 0.0.33
- files_pdfviewer: 4.0.0
- files_reminders: 1.4.0
- files_sharing: 1.23.1
- files_trashbin: 1.21.0
- files_versions: 1.24.0
- firstrunwizard: 4.0.0
- forms: 5.1.0
- gpxpod: 7.0.4
- groupfolders: 19.0.4
- integration_openstreetmap: 2.0.1
- jitsi: 0.19.0
- logreader: 4.0.0
- lookup_server_connector: 1.19.0
- maps: 1.5.0
- memories: 7.5.2
- metadata: 0.22.0
- nextcloud_announcements: 3.0.0
- notifications: 4.0.0
- oauth2: 1.19.1
- password_policy: 3.0.0
- phonetrack: 0.8.2
- photos: 4.0.0-dev.1
- privacy: 3.0.0
- profile: 1.0.0
- provisioning_api: 1.21.0
- recommendations: 4.0.0
- related_resources: 2.0.0
- richdocuments: 8.6.4
- serverinfo: 3.0.0
- settings: 1.14.0
- sharebymail: 1.21.0
- spreed: 21.0.1
- support: 3.0.0
- survey_client: 3.0.0
- systemtags: 1.21.1
- tasks: 0.16.1
- text: 5.0.0
- theming: 2.6.1
- twofactor_backupcodes: 1.20.0
- updatenotification: 1.21.0
- user_status: 1.11.0
- viewer: 4.0.0
- weather_status: 1.11.0
- webhook_listeners: 1.2.0
- whiteboard: 1.0.5
- workflow_media_converter: 1.13.5
- workflowengine: 2.13.0
Disabled:
- admin_audit: 1.21.0
- encryption: 2.19.0
- suspicious_login: 9.0.1
- twofactor_nextcloud_notification: 5.0.0
- twofactor_totp: 13.0