I have an Ubuntu server running on a raspberry pi that I want to use as a NextCloud server. Iāve did a straight forward
sudo snap install nextcloud
and the package is installed without any warning and such. Then, from a browser on another computer I went to the IP address of the raspberry pi address. I was greeted with NextCloudās interface to create a username and password for the admin. I added those and then Iām stuck on a login screen. I type in the username and password that I set, and Iām being transferred to the same page without any error message or any further information.
I ran sudo snap remove --purge nextcloud and then I installed nextcloud again.
Once installed, I changed /var/snap/nextcloud/30263/nextcloud/config/config.php to include the line datadirectory => /media/big/nextcloud
I also changed the /media/big/nextcloud configuration as per this
during install of ubuntu there is an option to install additional apps by selecting them from a list. Nextcloud snap is one of these options, select the checkbox for it and continue - Nextcloud snap is ready once Ubuntu Server install is complete.
I have this system and what I did was all that you did for the config file but I linked the external (NFS - as it was on a network drive) folder to the data folder and all is good.