I’ve installed nextcloud 12 by a snap on my ubuntu server.
But the max storage is on different sda (sda3) than the snap (sda2). I’m limited by the partition sda2 and want move data-directory on sda3 (exactly in /Home directory)
I try to do that with modify /var/snap/nextcloud/current/nextcloud/config/config.php
And i’ve change default data directory
and i use : sudo snap disable nextcloud
copy old directory to new directory
and change permission of /home/nextcloud/data by root and 750
and use : sudo snap enable nextcloud
But when i try to log in, nothing load, i stay on login page… When i try to use client, i’ve this error : server replied: Forbidden (Could not create directory //3685435209)|403|0|0|||INST_NONE| in log files
Can you help me to move directory correctly and attribute correct permission ?
Thx a lot !