i m successfully installed nextcloud at my centos machine but now i want to move or reinstall next cloud with different location like /home/user/web/public_html but its all installation is correct with no error but when i try to access 172.16.1.1/nextcloud its given INTERNAL SERVER ERROR pls contact to administrator etc…
Have you perhaps got SELinux enabled or in enforcing mode? If so, please follow the SELinux steps here to set the correct permissions.
If you followed the default install details, please check apache logs (usually /var/log/httpd/access_log and error_log) for details, and post them here?
Also, do you just want to move the data folder or the whole installation directory for nextcloud?
No, there should not be. Granted you make sure apache has r/w access to whatever your folder for Nextcloud is. And that you edit your Virtualhost accordingly.
You can try chown -R apache.apache /directory/to/your/new/install to make sure the permissions are correct. Then also ensure the root directory setting in your Virtualhost file in /etc/httpd/conf.d/nextcloud.conf is pointing to your new directory.
Hth.
That is the stock command for CentOS httpd server. If you use anything else, I am not sure what the commands would be. Unfortunately the community cannot provide answer for everything out there, so we could only guide you best effort if something is outside the norm of Nextcloud. I would suggest try it and see. First check who owns the folders first and with what permissions, then you can just change it back afterwards if you need.
@mohanrao83 I’m afraid I won’t be able to help unless you provide the info asked, or do the commands as instructed and report back the results. You last reply is a replica of your first reporting of the issue.
So until you have done the chown -R command and paste the ligs for nextcloud and apache, I am afraid there is not much I can do anymore. Sorry
Please, i’ve a similar problem than mohanra83, can you tell me where located the nextcloud logs. Is it there where i can check the “request ID” showed in the web browser when returning the error message? If not, where must i get more information about the problem with installation?
Hello, yes, i finally accomplished to install after several try & error attemps during at least 4 days!! :-o
By default the errors of PHP/Apache when running Nextcloud and any PHP script are dumped to here, and i can confirmed to you that it was very helpful for me:
/var/log/apache2/error.log /var/log/syslog
Furthermore, Nextcloud echo its error messages to the second file above, i think so. Well, i don’t remember very well which of both files above where, but it’s one of them. In any case, both are useful to be checked during installation.
You must know too that you can modify the config file of Nextcloud:
hi there,
I’ms setting up my nextcloud on raspberry pi 4.
It’s successfulled, but after install and conffig some app, suddently, i got this error
"
Internal Server Error
The server was unable to complete your request.
If this happens again, please send the technical details below to the server administrator.
More details can be found in the server log."