I installed nextcloud via snap.
I have a folder called “Backup” in /home/ubuntu/
As a test I took a “Test” folder and moved it to /var/snap/nextcloud/common/nextcloud/data/admin/files/
Where admin is my username.
I thought that if I did just that, it would be enough to appear on the web console.
I tried moving the folder to the /data root and without success.
I changed the datadirectory in /var/snap/nextcloud/30258/nextcloud/config/config.php to my Backup folder, but to no avail either.
It said the .ocdata file was missing.
So I copied the .ocdata from the default folder and it still didn’t work.
How do I add this folder to my profile?