You search moving your datadirectory
in Nextcloud.
-
Maintenance on
or stop webserver - copy all files from
datadirectory
(seeconfig/config.php
) to new directory
(directory and files owned fromwww-data:www-data
, set it correct on destination) - change entry
datadirectory
inconfig/config.php
-
Maintenance off
or start webserver
Original entry:
maintenance --on
cp -a /old /new
config.php 'datadirectory'
maintenance --off
HowTo: Change / Move data directory after installation - #3 by MichaIng