[SOLVED] - Internal Server Error - immediately after first installation

I have followed the instructions on how to install and configure NextCloud-17.0.1 on my CentOS-8.0.1905 machine. I performed a yum update immediately before starting to install the various package depdendencies.

I had to use the following links together, because neither set simply worked on their own:

  1. https://linuxconfig.org/nextcloud-redhat-8-install-guide
  2. https://www.itzgeek.com/how-tos/linux/centos-how-tos/how-to-install-nextcloud-on-rhel-8.html#Set_Up_NextCloud

I installed all of the necessart PHP packages from what I can determine. This is my first time working with PHP.

I confirmed all of the services are started, and they are successfully.

The problem is once I attempted the first logon to my webpage for NextCloud, I immediately experience and Internal Server Error. It has not worked from the beginning.

This is the error in the browser:

## 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: 192.168.2.3**
*** Request ID: XcejV-AlhAROpEch3CNeRAAAAIc**

Reviewing the /var/log/messages, /var/log/httpd/access_log and /var/log/httpd/error_log I found nothing specific. The IP of 192.168.2.3 is my machine where I was trying to connect with a browser to the NextCloud instance.

I found the problem and have resolved this Internal Server Error.

It was permissions on the nextcloud/ subdirectory; for some reason my chown -R apache:apache nextcloud/ did not take.

2 Likes