Got a question for the expert community.
Just recently bought a new powerfull and energy efficient server. I am transfering all my services, media and programs from the old to the new server. I had owncloud running. I thought let’s change it to nextcloud. Wanted to do that for some time already.
So I got my fresh installed Ubuntu 20 LTS. Installed nextcloud with snap. Started the install steps. Everything works.
I make an admin account. Log in and everything works…
But then, as many of you will have too: I wanted to change the data folder. So I did with the config file. Moved the old data folder to the new location. Restarted the service…
After that… Instant internal error. But I followed the official data change manual from nextcloud.
Can anyone point me in the right direction?
Some precise info:
- I have changed the datafolder location in nano /var/snap/nextcloud/current/nextcloud/config/config.php
- I have moved the data directory with: sudo mv /var/snap/nextcloud/common/nextcloud/data to the desired location.
- they are both owned by root:root (als the official manual said)
- I have followed this manual: https://github.com/nextcloud/nextcloud-snap/wiki/Change-data-directory-to-use-another-disk-partition