Hi, I’m getting an Internal Server Error when trying to connect to a fairly recent installation of Nextcloud. My install was working two days ago, and I was able to play around with a bit, upload some files, and install and activate the TOTP plugin.
I followed this guide to get this up and running initially: https://h3artbl33d.nl/communication/2018/10/07/nextcloud-openbsd/
My software and version information:
Operating System: OpenBSD 6.5
Web server: OpenBSD httpd
Database: PostgreSQL 11.2
Today, I get this error at the main page of the site:
Internal Server Error The server encountered an internal error and was unable to complete your request. Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report. More details can be found in the server log.
The only clue that I can find in server logs is this error in /var/www/logs/error.log:
PHP message: PHP Warning: Unknown: failed to open stream: Undefined error: 0 in Unknown on line 0Unable to open primary script: /nextcloud (Permission denied)
I have verified that the ownership of /var/www/nextcloud is recursively set to www:www.
I have not encountered this error before today.
My Nextcloud config.php with unique info removed:
<?php $CONFIG = array ( 'instanceid' => 'xxx', 'passwordsalt' => 'xxx', 'secret' => 'xxx', 'trusted_domains' => array ( 0 => 'nc.my.domain', ), 'datadirectory' => '/nextcloud/data', 'dbtype' => 'pgsql', 'version' => '220.127.116.11', 'overwrite.cli.url' => 'https://nc.my.domain', 'dbname' => 'nextcloud', 'dbhost' => '127.0.0.1:5432', 'dbport' => '', 'dbtableprefix' => 'oc_', 'dbuser' => 'nextcloud', 'dbpassword' => 'xxx', 'installed' => true, 'memcache.local' => '\\OC\\Memcache\\Redis', 'memcache.locking' => '\\OC\\Memcache\\Redis', 'redis' => array ( 'host' => '127.0.0.1', 'port' => 6379, ), 'twofactor_enforced' => 'true', 'twofactor_enforced_groups' => array ( ), 'twofactor_enforced_excluded_groups' => array ( ), );
Thanks in advance for your help!