Hello. I am only a beginner, so don`t judge me strict.
I installed casa os and then nextcloud with mariadb on this os. All seems to be cool, but ssd, that nexcloud is on, is only 238Gb and I also have 4Tb hdd hooked up to device, running casa os. The question is: How do I make Nextcloud recognise and use this hdd as storage alongside ssd?
Nextcloud only allows one datadirectory.
config/config.php:
'datadirectory' => '/path/to/nextcloud/data',
documentation
I think your /path/to/nextcloud/data is on your ssd. It is ok to host /path/to/nextcloud on ssd and host /path/to/nextcloud/data e.g. on hdd.
You can:
- create a directory /data on hdd
- set the correct user e.g.
www-dataand groupwww-data - copy all files including dot files from
/path/to/nextcloud/datato/data - set the new
datadirectoryinconfig/config.php
If all works you can delete the old datadirectory /path/to/nextcloud/data