Hi, I have Nextcloud on my Raspberry Pi 3. It runs fine but I need to change the data directory because I need to use a folder inside an external HDD.
I tried different ways with no succes, what can I do?
Thank you.
Nextcloud, how to change data directory?
Re: Nextcloud, how to change data directory?
Hi,
We recommend changing DietPi user data locationt:
http://dietpi.com/phpbb/viewtopic.php?f=8&t=478#p2087
We recommend changing DietPi user data locationt:
http://dietpi.com/phpbb/viewtopic.php?f=8&t=478#p2087
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Re: Nextcloud, how to change data directory?
I don't want to change my DietPi user data folder, I prefer to let it as default. Is it possible to change the next cloud folder?
Re: Nextcloud, how to change data directory?
https://help.nextcloud.com/t/is-there-a ... oot/3642/2crik91 wrote:I don't want to change my DietPi user data folder, I prefer to let it as default. Is it possible to change the next cloud folder?
config should be in:
Code: Select all
/var/www/nextcloud/
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Re: Nextcloud, how to change data directory?
Hi, yes. Tried all that things!
I tried to change the path of the data directory. I moved all /mnt/dietpi_userdata/nextcloud_data files to /mnt/myexternaldrive/nextcloud, then done
and changed settings in config.php and in oc_storage in the database.
I still get Data directory (/mnt/myexternaldrive/nextcloud) is invalid. Please check that the data directory contains a file ".ocdata" in its root.
I can't find any nextcloud.conf. What may I do?
Thank you
I tried to change the path of the data directory. I moved all /mnt/dietpi_userdata/nextcloud_data files to /mnt/myexternaldrive/nextcloud, then done
Code: Select all
chown -R www-data:www-data /mnt/myexternaldrive/nextcloud
I still get Data directory (/mnt/myexternaldrive/nextcloud) is invalid. Please check that the data directory contains a file ".ocdata" in its root.
I can't find any nextcloud.conf. What may I do?
Thank you
Re: Nextcloud, how to change data directory?
Bump.
I'd also like to see clear instruction for how to change the data directory to be within Nextcloud.
How does one for example edit oc_storage and where it might even be located? Everything's well hidden for a linux newbie like me.
I'd also like to see clear instruction for how to change the data directory to be within Nextcloud.
How does one for example edit oc_storage and where it might even be located? Everything's well hidden for a linux newbie like me.
Re: Nextcloud, how to change data directory?
I used this method...mounted an external 1TB harddrive, moved all user data, it's now all on the external harddriveFourdee wrote:Hi,
We recommend changing DietPi user data locationt:
http://dietpi.com/phpbb/viewtopic.php?f=8&t=478#p2087
THANKS!!!!
Re: Nextcloud, how to change data directory?
Just ran the web updater too
Worked like a champ!
Worked like a champ!
Re: Nextcloud, how to change data directory?
Hi, I use that method to move my data but when I open nextcloud and users tab I see that my data is in `/mnt/dietpi_userdata/nextcloud_data/`. I have also my data in `/mnt/Toshiba/dietpi_userdata/nextcloud_data/`Fourdee wrote: ↑Sun May 07, 2017 11:28 am Hi,
We recommend changing DietPi user data locationt:
http://dietpi.com/phpbb/viewtopic.php?f=8&t=478#p2087
Re: Nextcloud, how to change data directory?
pls can you past output of
Code: Select all
ls -la /mnt/
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team