How can I change the path of datadir and dbdir (external drive) to use the USB Disc Label and not USB Drive Number?
I was moving datadir and dbdir to an external drive (formatted a.s.o. from NextCloudPi as described):
These paths are valid (also shown as valid in NextCloudPi)
But in System info, I always get
After as soon as I plug in a second drive USBdrive changes to USBdrive1 plugging in a second drive breaks NextCloud.
If I try to set the path to “/media/myCloudDrive/…” using the move database/datadir tools I get an error this folders are not empty - well, yes, they host the current datadir/database , just under the “label” path and not usb drive path.
So - how do I change this? How can I tell Nextcloud to plleeeeeaasssseeeee use the label and not the hard coded drive path…? So not MOVING the directory, just use the label name…?
|distribution|Raspbian GNU/Linux 10 \n \l|
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 (eg, 1.16.04):
Operating system and version (eg, Ubuntu 17.04):
Apache or nginx version (eg, Apache 2.4.25):
PHP version (eg, 7.1):
The issue you are facing:
Is this the first time you’ve seen this error? (Y/N):
Steps to replicate it:
The output of your Nextcloud log in Admin > Logging:
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