Internal server error on EndeavourOS (new Nextcloud instance)

Hello
I have as an OS EndeavourOS and as a webserver Apache, I also have MariaDB as a database engine, I also configured the needed VirtualHosts to access Nextcloud by typing 127.0.0.1:9770 but after running the web install script, I just have an internal server error

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

[/details]

Nextcloud version (eg, 29.0.5): latest (how to see version number please?)
Operating system and version (eg, Ubuntu 24.04): EndeavourOS (rolling release so always latest)
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.62
PHP version (eg, 8.3): 8.3.11

The issue you are facing:
As stated before, I have a 500 error after a new install using the script

Is this the first time you’ve seen this error? (Y/N):Y

Steps to replicate it:

  1. Have EndeavourOS
  2. Install httpd & php-fpm
  3. Use the install script

The output of your Nextcloud log in Admin > Logging:

nada

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'instanceid' => 'ockkpcr66053',
);

The output of your Apache/nginx/system log in /var/log/____:

[Sun Sep 22 17:53:06.221056 2024] [php:notice] [pid 592595:tid 592595] [client 192.168.1.110:54920] {"reqId":"ZvBLcjCa39Gk_otAN9FJEAAAAAA","level":3,"time":"2024-09-22T16:53:06+00:00","remoteAddr":"192.168.1.110","user":"--","app":"base","method":"GET","url":"/index.php","message":"Failed to start session","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36","version":"","exception":{"Exception":"Exception","Message":"Failed to start session","Code":0,"Trace":[{"file":"/srv/http/nextcloud/lib/base.php","line":396,"function":"__construct","class":"OC\\\\Session\\\\Internal","type":"->"},{"file":"/srv/http/nextcloud/lib/base.php","line":662,"function":"initSession","class":"OC","type":"::"},{"file":"/srv/http/nextcloud/lib/base.php","line":1132,"function":"init","class":"OC","type":"::"},{"file":"/srv/http/nextcloud/index.php","line":22,"args":["/srv/http/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/srv/http/nextcloud/lib/private/Session/Internal.php","Line":46,"message":"Failed to start session","exception":{},"CustomMessage":"Failed to start session"}}
[Sun Sep 22 17:53:06.227689 2024] [php:notice] [pid 592595:tid 592595] [client 192.168.1.110:54920] {"reqId":"ZvBLcjCa39Gk_otAN9FJEAAAAAA","level":3,"time":"2024-09-22T16:53:06+00:00","remoteAddr":"192.168.1.110","user":"--","app":"PHP","method":"GET","url":"/index.php","message":"fopen(/srv/http/nextcloud/config/config.php): Failed to open stream: No such file or directory at /srv/http/nextcloud/lib/private/Config.php#190","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36","version":"","data":{"app":"PHP"}}
[Sun Sep 22 17:56:51.424100 2024] [php:notice] [pid 592671:tid 592671] [client 192.168.1.110:44382] {"reqId":"ZvBMU5ZdIJhOZqhQNduQmwAAAAg","level":3,"time":"2024-09-22T16:56:51+00:00","remoteAddr":"192.168.1.110","user":"--","app":"base","method":"GET","url":"/index.php","message":"Failed to start session","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36","version":"","exception":{"Exception":"Exception","Message":"Failed to start session","Code":0,"Trace":[{"file":"/srv/http/nextcloud/lib/base.php","line":396,"function":"__construct","class":"OC\\\\Session\\\\Internal","type":"->"},{"file":"/srv/http/nextcloud/lib/base.php","line":662,"function":"initSession","class":"OC","type":"::"},{"file":"/srv/http/nextcloud/lib/base.php","line":1132,"function":"init","class":"OC","type":"::"},{"file":"/srv/http/nextcloud/index.php","line":22,"args":["/srv/http/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/srv/http/nextcloud/lib/private/Session/Internal.php","Line":46,"message":"Failed to start session","exception":{},"CustomMessage":"Failed to start session"}}, referer: http://192.168.1.110:9770/
[Sun Sep 22 18:00:55.817777 2024] [php:notice] [pid 592673:tid 592673] [client 192.168.1.110:51562] {"reqId":"ZvBNR9P0N_MtVU0D5zsOWgAAAAo","level":3,"time":"2024-09-22T17:00:55+00:00","remoteAddr":"192.168.1.110","user":"--","app":"base","method":"GET","url":"/index.php","message":"Failed to start session","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36","version":"","exception":{"Exception":"Exception","Message":"Failed to start session","Code":0,"Trace":[{"file":"/srv/http/nextcloud/lib/base.php","line":396,"function":"__construct","class":"OC\\\\Session\\\\Internal","type":"->"},{"file":"/srv/http/nextcloud/lib/base.php","line":662,"function":"initSession","class":"OC","type":"::"},{"file":"/srv/http/nextcloud/lib/base.php","line":1132,"function":"init","class":"OC","type":"::"},{"file":"/srv/http/nextcloud/index.php","line":22,"args":["/srv/http/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/srv/http/nextcloud/lib/private/Session/Internal.php","Line":46,"message":"Failed to start session","exception":{},"CustomMessage":"Failed to start session"}}, referer: http://192.168.1.110:9770/
[Sun Sep 22 18:18:58.690266 2024] [php:error] [pid 592596:tid 592596] [client 192.168.1.110:42992] script '/srv/http/nextcloud/nextcloud.php' not found or unable to stat
[Sun Sep 22 18:39:36.239071 2024] [php:notice] [pid 592599:tid 592599] [client 192.168.1.110:38350] {"reqId":"ZvBWWP2uhLc8RDigSa3vigAAAAQ","level":3,"time":"2024-09-22T17:39:36+00:00","remoteAddr":"192.168.1.110","user":"--","app":"base","method":"GET","url":"/index.php","message":"Failed to start session","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36","version":"","exception":{"Exception":"Exception","Message":"Failed to start session","Code":0,"Trace":[{"file":"/srv/http/nextcloud/lib/base.php","line":396,"function":"__construct","class":"OC\\\\Session\\\\Internal","type":"->"},{"file":"/srv/http/nextcloud/lib/base.php","line":662,"function":"initSession","class":"OC","type":"::"},{"file":"/srv/http/nextcloud/lib/base.php","line":1132,"function":"init","class":"OC","type":"::"},{"file":"/srv/http/nextcloud/index.php","line":22,"args":["/srv/http/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/srv/http/nextcloud/lib/private/Session/Internal.php","Line":46,"message":"Failed to start session","exception":{},"CustomMessage":"Failed to start session"}}, referer: http://192.168.1.110:9770/
[Sun Sep 22 18:47:22.299491 2024] [php:notice] [pid 592668:tid 592668] [client 192.168.1.110:42812] {"reqId":"ZvBYKkqpZCiJpuWZHrDHUQAAAAU","level":3,"time":"2024-09-22T17:47:22+00:00","remoteAddr":"192.168.1.110","user":"--","app":"base","method":"GET","url":"/index.php","message":"Failed to start session","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36","version":"","exception":{"Exception":"Exception","Message":"Failed to start session","Code":0,"Trace":[{"file":"/srv/http/nextcloud/lib/base.php","line":396,"function":"__construct","class":"OC\\\\Session\\\\Internal","type":"->"},{"file":"/srv/http/nextcloud/lib/base.php","line":662,"function":"initSession","class":"OC","type":"::"},{"file":"/srv/http/nextcloud/lib/base.php","line":1132,"function":"init","class":"OC","type":"::"},{"file":"/srv/http/nextcloud/index.php","line":22,"args":["/srv/http/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/srv/http/nextcloud/lib/private/Session/Internal.php","Line":46,"message":"Failed to start session","exception":{},"CustomMessage":"Failed to start session"}}
[Sun Sep 22 18:54:36.988012 2024] [php:error] [pid 592598:tid 592598] [client 192.168.1.110:39768] PHP Fatal error:  Uncaught Error: Class "RedisCluster" not found in /srv/http/nextcloud/config/config.php:1591\nStack trace:\n#0 /srv/http/nextcloud/lib/private/Config.php(209): include()\n#1 /srv/http/nextcloud/lib/private/Config.php(40): OC\\Config->readData()\n#2 /srv/http/nextcloud/lib/base.php(89): OC\\Config->__construct()\n#3 /srv/http/nextcloud/lib/base.php(569): OC::initPaths()\n#4 /srv/http/nextcloud/lib/base.php(1132): OC::init()\n#5 /srv/http/nextcloud/index.php(22): require_once('...')\n#6 {main}\n  thrown in /srv/http/nextcloud/config/config.php on line 1591
[Sun Sep 22 18:57:46.900025 2024] [php:error] [pid 592597:tid 592597] [client 192.168.1.110:34362] PHP Fatal error:  Uncaught Error: Class "RedisCluster" not found in /srv/http/nextcloud/config/config.php:1591\nStack trace:\n#0 /srv/http/nextcloud/lib/private/Config.php(209): include()\n#1 /srv/http/nextcloud/lib/private/Config.php(40): OC\\Config->readData()\n#2 /srv/http/nextcloud/lib/base.php(89): OC\\Config->__construct()\n#3 /srv/http/nextcloud/lib/base.php(569): OC::initPaths()\n#4 /srv/http/nextcloud/lib/base.php(1132): OC::init()\n#5 /srv/http/nextcloud/index.php(22): require_once('...')\n#6 {main}\n  thrown in /srv/http/nextcloud/config/config.php on line 1591
[Sun Sep 22 19:00:03.725703 2024] [php:error] [pid 592595:tid 592595] [client 192.168.1.110:50306] PHP Fatal error:  Uncaught Error: Class "RedisCluster" not found in /srv/http/nextcloud/config/config.php:1591\nStack trace:\n#0 /srv/http/nextcloud/lib/private/Config.php(209): include()\n#1 /srv/http/nextcloud/lib/private/Config.php(40): OC\\Config->readData()\n#2 /srv/http/nextcloud/lib/base.php(89): OC\\Config->__construct()\n#3 /srv/http/nextcloud/lib/base.php(569): OC::initPaths()\n#4 /srv/http/nextcloud/lib/base.php(1132): OC::init()\n#5 /srv/http/nextcloud/index.php(22): require_once('...')\n#6 {main}\n  thrown in /srv/http/nextcloud/config/config.php on line 1591, referer: http://192.168.1.110:9770/
[Sun Sep 22 19:08:37.747069 2024] [php:error] [pid 595277:tid 595277] [client 192.168.1.110:49900] PHP Fatal error:  Uncaught Error: Class "RedisCluster" not found in /srv/http/nextcloud/config/config.php:1591\nStack trace:\n#0 /srv/http/nextcloud/lib/private/Config.php(209): include()\n#1 /srv/http/nextcloud/lib/private/Config.php(40): OC\\Config->readData()\n#2 /srv/http/nextcloud/lib/base.php(89): OC\\Config->__construct()\n#3 /srv/http/nextcloud/lib/base.php(569): OC::initPaths()\n#4 /srv/http/nextcloud/lib/base.php(1132): OC::init()\n#5 /srv/http/nextcloud/index.php(22): require_once('...')\n#6 {main}\n  thrown in /srv/http/nextcloud/config/config.php on line 1591
[Sun Sep 22 19:09:02.959772 2024] [php:error] [pid 595278:tid 595278] [client 192.168.1.110:49916] PHP Fatal error:  Uncaught Error: Class "RedisCluster" not found in /srv/http/nextcloud/config/config.php:1591\nStack trace:\n#0 /srv/http/nextcloud/lib/private/Config.php(209): include()\n#1 /srv/http/nextcloud/lib/private/Config.php(40): OC\\Config->readData()\n#2 /srv/http/nextcloud/lib/base.php(89): OC\\Config->__construct()\n#3 /srv/http/nextcloud/lib/base.php(569): OC::initPaths()\n#4 /srv/http/nextcloud/lib/base.php(1132): OC::init()\n#5 /srv/http/nextcloud/index.php(22): require_once('...')\n#6 {main}\n  thrown in /srv/http/nextcloud/config/config.php on line 1591, referer: http://192.168.1.110:9770/index.html
[Sun Sep 22 19:14:24.768983 2024] [php:error] [pid 595280:tid 595280] [client 192.168.1.110:53490] PHP Fatal error:  Uncaught Error: Class "RedisCluster" not found in /srv/http/nextcloud/config/config.php:1591\nStack trace:\n#0 /srv/http/nextcloud/lib/private/Config.php(209): include()\n#1 /srv/http/nextcloud/lib/private/Config.php(40): OC\\Config->readData()\n#2 /srv/http/nextcloud/lib/base.php(89): OC\\Config->__construct()\n#3 /srv/http/nextcloud/lib/base.php(569): OC::initPaths()\n#4 /srv/http/nextcloud/lib/base.php(1132): OC::init()\n#5 /srv/http/nextcloud/index.php(22): require_once('...')\n#6 {main}\n  thrown in /srv/http/nextcloud/config/config.php on line 1591
[Sun Sep 22 19:16:56.974096 2024] [php:notice] [pid 595277:tid 595277] [client 192.168.1.110:48784] {"reqId":"ZvBfGEvl0mWCdU6pJ8koGwAAAAA","level":3,"time":"2024-09-22T18:16:56+00:00","remoteAddr":"192.168.1.110","user":"--","app":"base","method":"GET","url":"/index.php","message":"Failed to start session","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36","version":"","exception":{"Exception":"Exception","Message":"Failed to start session","Code":0,"Trace":[{"file":"/srv/http/nextcloud/lib/base.php","line":396,"function":"__construct","class":"OC\\\\Session\\\\Internal","type":"->"},{"file":"/srv/http/nextcloud/lib/base.php","line":662,"function":"initSession","class":"OC","type":"::"},{"file":"/srv/http/nextcloud/lib/base.php","line":1132,"function":"init","class":"OC","type":"::"},{"file":"/srv/http/nextcloud/index.php","line":22,"args":["/srv/http/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/srv/http/nextcloud/lib/private/Session/Internal.php","Line":46,"message":"Failed to start session","exception":{},"CustomMessage":"Failed to start session"}}
[Sun Sep 22 19:26:50.585845 2024] [php:notice] [pid 595334:tid 595334] [client 192.168.1.110:41930] {"reqId":"ZvBhaoa0v1mJOCyuaJZYjwAAAAU","level":3,"time":"2024-09-22T18:26:50+00:00","remoteAddr":"192.168.1.110","user":"--","app":"base","method":"GET","url":"/index.php","message":"Failed to start session","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36","version":"","exception":{"Exception":"Exception","Message":"Failed to start session","Code":0,"Trace":[{"file":"/srv/http/nextcloud/lib/base.php","line":396,"function":"__construct","class":"OC\\\\Session\\\\Internal","type":"->"},{"file":"/srv/http/nextcloud/lib/base.php","line":662,"function":"initSession","class":"OC","type":"::"},{"file":"/srv/http/nextcloud/lib/base.php","line":1132,"function":"init","class":"OC","type":"::"},{"file":"/srv/http/nextcloud/index.php","line":22,"args":["/srv/http/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/srv/http/nextcloud/lib/private/Session/Internal.php","Line":46,"message":"Failed to start session","exception":{},"CustomMessage":"Failed to start session"}}
[Sun Sep 22 19:29:51.107273 2024] [php:notice] [pid 595280:tid 595280] [client 192.168.1.110:44532] {"reqId":"ZvBiH-2Wp9a-3XBQGQPQVQAAAAM","level":3,"time":"2024-09-22T18:29:51+00:00","remoteAddr":"192.168.1.110","user":"--","app":"base","method":"GET","url":"/index.php","message":"Failed to start session","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36","version":"","exception":{"Exception":"Exception","Message":"Failed to start session","Code":0,"Trace":[{"file":"/srv/http/nextcloud/lib/base.php","line":396,"function":"__construct","class":"OC\\\\Session\\\\Internal","type":"->"},{"file":"/srv/http/nextcloud/lib/base.php","line":662,"function":"initSession","class":"OC","type":"::"},{"file":"/srv/http/nextcloud/lib/base.php","line":1132,"function":"init","class":"OC","type":"::"},{"file":"/srv/http/nextcloud/index.php","line":22,"args":["/srv/http/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/srv/http/nextcloud/lib/private/Session/Internal.php","Line":46,"message":"Failed to start session","exception":{},"CustomMessage":"Failed to start session"}}
[Sun Sep 22 19:34:52.301383 2024] [php:notice] [pid 595277:tid 595277] [client 192.168.1.110:37404] {"reqId":"ZvBjTEvl0mWCdU6pJ8koHAAAAAA","level":3,"time":"2024-09-22T18:34:52+00:00","remoteAddr":"192.168.1.110","user":"--","app":"base","method":"GET","url":"/index.php","message":"Failed to start session","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36","version":"","exception":{"Exception":"Exception","Message":"Failed to start session","Code":0,"Trace":[{"file":"/srv/http/nextcloud/lib/base.php","line":396,"function":"__construct","class":"OC\\\\Session\\\\Internal","type":"->"},{"file":"/srv/http/nextcloud/lib/base.php","line":662,"function":"initSession","class":"OC","type":"::"},{"file":"/srv/http/nextcloud/lib/base.php","line":1132,"function":"init","class":"OC","type":"::"},{"file":"/srv/http/nextcloud/index.php","line":22,"args":["/srv/http/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/srv/http/nextcloud/lib/private/Session/Internal.php","Line":46,"message":"Failed to start session","exception":{},"CustomMessage":"Failed to start session"}}
[Sun Sep 22 20:03:06.212426 2024] [php:error] [pid 597393:tid 597393] [client 192.168.1.110:55880] PHP Fatal error:  Uncaught ValueError: Invalid or uninitialized Zip object in /srv/http/nextcloud/setup-nextcloud.php:156\nStack trace:\n#0 /srv/http/nextcloud/setup-nextcloud.php(156): ZipArchive->extractTo()\n#1 /srv/http/nextcloud/setup-nextcloud.php(711): Setup::install()\n#2 /srv/http/nextcloud/setup-nextcloud.php(754): Setup::showInstall()\n#3 {main}\n  thrown in /srv/http/nextcloud/setup-nextcloud.php on line 156
[Sun Sep 22 20:14:24.719257 2024] [php:notice] [pid 597390:tid 597390] [client 192.168.1.110:44696] {"reqId":"ZvBskHyNVptyPJAtYYv-TwAAAAE","level":3,"time":"2024-09-22T19:14:24+00:00","remoteAddr":"192.168.1.110","user":"--","app":"base","method":"GET","url":"/index.php","message":"Failed to start session","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36","version":"","exception":{"Exception":"Exception","Message":"Failed to start session","Code":0,"Trace":[{"file":"/srv/http/nextcloud/lib/base.php","line":396,"function":"__construct","class":"OC\\\\Session\\\\Internal","type":"->"},{"file":"/srv/http/nextcloud/lib/base.php","line":662,"function":"initSession","class":"OC","type":"::"},{"file":"/srv/http/nextcloud/lib/base.php","line":1132,"function":"init","class":"OC","type":"::"},{"file":"/srv/http/nextcloud/index.php","line":22,"args":["/srv/http/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/srv/http/nextcloud/lib/private/Session/Internal.php","Line":46,"message":"Failed to start session","exception":{},"CustomMessage":"Failed to start session"}}, referer: http://192.168.1.110:9770/
[Sun Sep 22 20:14:24.726049 2024] [php:notice] [pid 597390:tid 597390] [client 192.168.1.110:44696] {"reqId":"ZvBskHyNVptyPJAtYYv-TwAAAAE","level":3,"time":"2024-09-22T19:14:24+00:00","remoteAddr":"192.168.1.110","user":"--","app":"PHP","method":"GET","url":"/index.php","message":"fopen(/srv/http/nextcloud/config/config.php): Failed to open stream: No such file or directory at /srv/http/nextcloud/lib/private/Config.php#190","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36","version":"","data":{"app":"PHP"}}, referer: http://192.168.1.110:9770/
[Sun Sep 22 22:16:01.623947 2024] [core:error] [pid 597579:tid 597579] (13)Permission denied: [client 192.168.1.110:57056] AH00035: access to /index.php denied (filesystem path '/srv/http/nextcloud/index.php') because search permissions are missing on a component of the path
[Sun Sep 22 22:16:54.941638 2024] [core:error] [pid 597392:tid 597392] (13)Permission denied: [client 192.168.1.110:51362] AH00035: access to /index.php denied (filesystem path '/srv/http/nextcloud/index.php') because search permissions are missing on a component of the path
[Sun Sep 22 22:16:56.338324 2024] [core:error] [pid 597392:tid 597392] (13)Permission denied: [client 192.168.1.110:51362] AH00035: access to /index.php denied (filesystem path '/srv/http/nextcloud/index.php') because search permissions are missing on a component of the path
[Sun Sep 22 22:16:57.374407 2024] [core:error] [pid 597392:tid 597392] (13)Permission denied: [client 192.168.1.110:51362] AH00035: access to /index.php denied (filesystem path '/srv/http/nextcloud/index.php') because search permissions are missing on a component of the path
[Sun Sep 22 22:16:58.413590 2024] [core:error] [pid 597392:tid 597392] (13)Permission denied: [client 192.168.1.110:51362] AH00035: access to /index.php denied (filesystem path '/srv/http/nextcloud/index.php') because search permissions are missing on a component of the path
[Sun Sep 22 22:16:59.109708 2024] [core:error] [pid 597392:tid 597392] (13)Permission denied: [client 192.168.1.110:51362] AH00035: access to /index.php denied (filesystem path '/srv/http/nextcloud/index.php') because search permissions are missing on a component of the path
[Sun Sep 22 22:16:59.453251 2024] [core:error] [pid 597392:tid 597392] (13)Permission denied: [client 192.168.1.110:51362] AH00035: access to /index.php denied (filesystem path '/srv/http/nextcloud/index.php') because search permissions are missing on a component of the path
[Sun Sep 22 22:16:59.826225 2024] [core:error] [pid 597392:tid 597392] (13)Permission denied: [client 192.168.1.110:51362] AH00035: access to /index.php denied (filesystem path '/srv/http/nextcloud/index.php') because search permissions are missing on a component of the path
[Sun Sep 22 22:17:00.646116 2024] [core:error] [pid 597392:tid 597392] (13)Permission denied: [client 192.168.1.110:51362] AH00035: access to /index.php denied (filesystem path '/srv/http/nextcloud/index.php') because search permissions are missing on a component of the path
[Sun Sep 22 22:17:01.025598 2024] [core:error] [pid 597392:tid 597392] (13)Permission denied: [client 192.168.1.110:51362] AH00035: access to /index.php denied (filesystem path '/srv/http/nextcloud/index.php') because search permissions are missing on a component of the path
[Sun Sep 22 22:17:24.324685 2024] [core:error] [pid 597419:tid 597419] (13)Permission denied: [client 192.168.1.110:51376] AH00035: access to /index.php denied (filesystem path '/srv/http/nextcloud/index.php') because search permissions are missing on a component of the path, referer: http://192.168.1.110:9770/
[Sun Sep 22 22:17:26.120705 2024] [core:error] [pid 597419:tid 597419] (13)Permission denied: [client 192.168.1.110:51376] AH00035: access to /index.php denied (filesystem path '/srv/http/nextcloud/index.php') because search permissions are missing on a component of the path, referer: http://192.168.1.110:9770/
[Sun Sep 22 22:17:27.393383 2024] [core:error] [pid 597419:tid 597419] (13)Permission denied: [client 192.168.1.110:51376] AH00035: access to /index.php denied (filesystem path '/srv/http/nextcloud/index.php') because search permissions are missing on a component of the path, referer: http://192.168.1.110:9770/
[Sun Sep 22 22:20:21.161915 2024] [core:error] [pid 597390:tid 597390] (13)Permission denied: [client 192.168.1.110:57974] AH00035: access to /setup-nextcloud.php denied (filesystem path '/srv/http/nextcloud/setup-nextcloud.php') because search permissions are missing on a component of the path
[Sun Sep 22 22:20:54.855955 2024] [core:error] [pid 597391:tid 597391] (13)Permission denied: [client 192.168.1.110:57990] AH00035: access to /setup-nextcloud.php denied (filesystem path '/srv/http/nextcloud/setup-nextcloud.php') because search permissions are missing on a component of the path
[Sun Sep 22 22:27:17.735423 2024] [php:notice] [pid 597390:tid 597390] [client 192.168.1.110:58576] {"reqId":"ZvCLtXyNVptyPJAtYYv-UQAAAAE","level":3,"time":"2024-09-22T21:27:17+00:00","remoteAddr":"192.168.1.110","user":"--","app":"base","method":"GET","url":"/index.php","message":"Failed to start session","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36","version":"","exception":{"Exception":"Exception","Message":"Failed to start session","Code":0,"Trace":[{"file":"/srv/http/nextcloud/lib/base.php","line":396,"function":"__construct","class":"OC\\\\Session\\\\Internal","type":"->"},{"file":"/srv/http/nextcloud/lib/base.php","line":662,"function":"initSession","class":"OC","type":"::"},{"file":"/srv/http/nextcloud/lib/base.php","line":1132,"function":"init","class":"OC","type":"::"},{"file":"/srv/http/nextcloud/index.php","line":22,"args":["/srv/http/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/srv/http/nextcloud/lib/private/Session/Internal.php","Line":46,"message":"Failed to start session","exception":{},"CustomMessage":"Failed to start session"}}, referer: http://192.168.1.110:9770/
[Sun Sep 22 22:27:17.742353 2024] [php:notice] [pid 597390:tid 597390] [client 192.168.1.110:58576] {"reqId":"ZvCLtXyNVptyPJAtYYv-UQAAAAE","level":3,"time":"2024-09-22T21:27:17+00:00","remoteAddr":"192.168.1.110","user":"--","app":"PHP","method":"GET","url":"/index.php","message":"fopen(/srv/http/nextcloud/config/config.php): Failed to open stream: No such file or directory at /srv/http/nextcloud/lib/private/Config.php#190","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36","version":"","data":{"app":"PHP"}}, referer: http://192.168.1.110:9770/
[Mon Sep 23 20:05:10.187375 2024] [php:notice] [pid 4376:tid 4376] [client 127.0.0.1:45386] {"reqId":"ZvG75l3QVuXgQUZOaxk8-QAAAAE","level":3,"time":"2024-09-23T19:05:10+00:00","remoteAddr":"127.0.0.1","user":"--","app":"base","method":"GET","url":"/index.php","message":"Failed to start session","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36","version":"","exception":{"Exception":"Exception","Message":"Failed to start session","Code":0,"Trace":[{"file":"/srv/http/nextcloud/lib/base.php","line":396,"function":"__construct","class":"OC\\\\Session\\\\Internal","type":"->"},{"file":"/srv/http/nextcloud/lib/base.php","line":662,"function":"initSession","class":"OC","type":"::"},{"file":"/srv/http/nextcloud/lib/base.php","line":1132,"function":"init","class":"OC","type":"::"},{"file":"/srv/http/nextcloud/index.php","line":22,"args":["/srv/http/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/srv/http/nextcloud/lib/private/Session/Internal.php","Line":46,"message":"Failed to start session","exception":{},"CustomMessage":"Failed to start session"}}, referer: http://127.0.0.1:9770/
[Mon Sep 23 20:05:10.195017 2024] [php:notice] [pid 4376:tid 4376] [client 127.0.0.1:45386] {"reqId":"ZvG75l3QVuXgQUZOaxk8-QAAAAE","level":3,"time":"2024-09-23T19:05:10+00:00","remoteAddr":"127.0.0.1","user":"--","app":"PHP","method":"GET","url":"/index.php","message":"fopen(/srv/http/nextcloud/config/config.php): Failed to open stream: No such file or directory at /srv/http/nextcloud/lib/private/Config.php#190","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36","version":"","data":{"app":"PHP"}}, referer: http://127.0.0.1:9770/

Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

nada

I truly wonder, why no one wants to assist?

Probably because most people don’t use rolling release distributions for hosting server applications, myself included.

Regarding your actual issue, I see two main problems in your logs.

One is file permission errors, and the other seems to be that Redis is configured in Nextcloud’s config.php, but the Redis server is either not installed, not running, misconfigured, or the appropriate PHP module is not installed.

I cannot provide you with step-by-step instructions on how to fix these problems, but I can give you some general recommendations:

On a rolling release distro, I would generally recommend using containers to run Nextcloud. This way you can avoid problems due to dependencies like PHP, the database, Redis etc. constantly changing. The easiest to install would be the Snap Package or Nextcloud AIO. If you want more customization options, you could use the Community Docker Images.

If it has to be a manual installation, I would recommend installing Nextcloud in a Debian or Ubuntu VM, obviously because they are not rolling release distros, but also because it is much easier to find help with a Debian/Ubuntu base, and most tutorials on the internet are based on Debian/Ubuntu.

And finally, if you absolutely do not want to use containers or VMs, and insist on a bare-metal installation on EndevourOS, I highly recommend starting over and following the instructions in the ArchWiki: Nextcloud - ArchWiki

Good luck.

2 Likes

I see, thank you so much for the information, I will use the documentation or Docker/Podman, sorry for sounding so “silly”, BTW I used to run Nextcloud on the same machine, same distro, before having to delete it because of networking issues

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.