Nextcloud stores the data directory location and all it’s files locations inside it’s database, that can be chosen during installation as well. Nextcloud looks up the location of the data directory inside its /path/to/nextcloud/config/config.php by the 'datadirectory' directive: Configuration Parameters - Nextcloud 13 Administration Manual 13 documentationĪs seen '/path/to/nextcloud/data' is default value/location, if it is not changed during Nextcloud installation process. Consider re-installing Nextcloud with new data directory, if you did not use it too much/added users/created shares/tags/comments etc. There is already a good thread that handles this topic: Is there a safe and reliable way to move data directory out of web root?įirst of all: Changing data directory after installation is not officially supported. Thanks for the hint Also NextCloudPi might provide own solutions: GitHub - nextcloud/nextcloudpi: □ Build code for NextcloudPi: Raspberry Pi, Odroid, Rock64, Docker, curl installer.Īs there still appear questions about that topic, I thought sum up all possibilities here in howto would be a good idea. The official Nextcloud VM has the data already located on a separate ZFS partition, which you can easily raise in size or even add a new drive to the ZFS pool.If you use the Nextcloud Docker container, the GitHub page might give some hints as well: GitHub - nextcloud/docker: ⛴ Docker image of Nextcloud. If you use Nextcloud Snap, follow their official simple instructions: Change data directory to use another disk partition.Note that this HowTo does not apply to Nextcloud containers/appliances or the official Nextcloud VM from Hansson IT.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |