INTERNAL SERVER ERROR Contact to Administrator

missing_information
#1

Hello,

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…

Pls anybody help me regarding this issue.

thanks
Mohan

#2

Hi @mohanrao83

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?

Cheers
Hans

#3

no sir still not working.

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.

Technical details

  • Remote Address: 172.16.121.7
  • Request ID: W4okz@5-FvS@22a1lucLWgAAAAE
#4

Have you tried disabling SELinux completely? Also, what errors do you get in apache and nextcloud logs? Without those we cannot be of much help.

#5

ok but i have a question pls
is there any issue if i change default location from /var/www/nextcloud to home/user/

Thanks

Mohan

#6

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.

#7

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.

#8

i m using Centos 7 with vestacp httpd server.
this command should work for httpd server. ?

But i really very thankful to u for response.

#9

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.

#10

when i install nextcloud in /var/www/html/nextcloud its working great but when i try to install /home/user/web/public_html its given message …

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.

Technical details

  • Remote Address: ip address
  • Request ID: W4okz@5-FvS@22a1lucLWgAAAAE
#11

@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 :wink:

#12

ok thanks for everything

#13

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?

Thanks in advance.