I am a total Nextcloud and Linux newbie so please be gentle with me. I had a Nextcloud instance running successfully with my own domain. Logged in as admin I was informed about the following:
The “Strict-Transport-Security” HTTP header is not configured to at least “15552000” seconds. For enhanced security, we recommend enabling HSTS as described in our security tips.
This I fixed following a guide, and my Nextcloud was working fine.
Then I thought I would try and enable memory caching to improve performance and this is where things fell apart.
I was following a guide that informed me to install:
apt-get install php-apcu php-apcu-bc
Then add the following to my config.php:
‘memcache.local’ => ‘\OC\Memcache\APCu’,
My config.php located in /var/www/html/nextcloud/config was blank. I then looked at a format for the config.php and created one and including the above line.
When I now go to my Nextcloud my.domain/nextcloud I get the following 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."
I restored the blank config.php file and still get the error.
Can someone please advise, in simple terms, how I can troubleshoot this problem please so I can get back up and running.
Thank you in advance!
Nextcloud version (eg, 18.0.2): 18.0.7
Operating system and version (eg, Ubuntu 20.04): Ubuntu 18.04 LTS Server
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.29
PHP version (eg, 7.1): PHP 7.2.24-0ubuntu0.18.04.6