I’m attempting a home NextCloud server on Ubuntu with the Snap package. I’m not a linux server guru, more of a windows desktop support guy and gamer. Some of the documentation might as well be in Latin for me.
The folder doesn’t exist, which makes me think I missed a step. I have no idea which though. And for some reason I can’t just make the folder, which makes me think I missed another something else.
Hey,
you must first create the folder that is missing there. then you paste the Nextcloud installation file there.
or you have not properly extracted the Nextcloud archive.
these are the default folders (var / www / …) that the browser can access externally. if you configure Nextcloud correctly, there will be no personal files in there at the end
In case of the Nextcloud snap package, really no manual setup step should be required? /var/lib/cloud/data sounds like it is the data dir, but it should have correct permissions already.
Just discovered something.
When I go to localhost I get an Apache PHP page instead of the NextCloud login page I see in the tutorial. So it looks like something went wrong there.
Still, when I go to localhost/nextcloud, I get the forbidden page.
I don’t have snap- install, but it is important to know the differences for understanding the documentation for non-snaps.
So the occ- command is named nextcloud.occ, and if you already have an Apache server running, nextcloud may be available at nextcloud.local, not localhost.
But it may be better to deactivate your Apache first and than start the snap.
Or you set up a non-snap- installation as described in the docs if your server is already running Apache and mysql. For good performance on small systems, this should be the better way.
Are you completely stuck to ubuntu? I do have OpeneSuse Basic Apache described and setting up Nextcloud on it should be easy…