I have Nextcloud successfully installed (manual installation of LAMP components and original Nextcloud install was 10.0.1), updated (first to 10.0.2 then using the Beta Channel method to 11.0.0) and accessible and routable from the Internet in Ubuntu Server 16.04.
However, I’d like the same results and would prefer to use CentOS7 for production instead.
I’ve attempted about 25 different installations, with most failing with an HTTP 500 Error. Then today tried a fresh install of 10.0.2, I added [setenforce 0] at the very end and it worked! But now it’s less secure…ugh. Then I wondered, does Ubuntu Server lack this type of security? Nextcloud suggested I move the …/data/… folder out of the web folder, so I move it out and update the necessary file. Good to go. Still have access.
Logged in, switched to Beta channel and the update to 11.0.0 was available. Clicked update and when Checking for write permissions, error. Dang, thought I was so close.
Error:
Check for write permissions
The following places can not be written to:
- /var/www/html/updater/…/.
- /var/www/html/updater/…/3rdparty/.
…and the list goes on and on and on. It’s all in the …/updater/… folder.
So, two things, first, when I enable [setenforce 1], I get the HTTP 500 error. Only when I lower the security, can I connect. But i’m sure this can’t be the preferred method. So I must be missing a setting?
Second, I’m going to try another fresh installation; but preinstall with 11.0.0… However, I don’t think the original “write permissions” error is resolved? It’s still sitting there until the next update?
I want to start opening up my nextCloud for field testing; but need to get these issues resolved before production and implementing for my company. So, any help would be grateful.