Hello since today, i can´t open Nextcloud anymore.
I got the Message No input file specified when i open the Browser. The Nginx log tells me no Permission to open index.php. But Nginx User is www-data and chown is correct.
No idea what happen. Yesterday it works fine. Other Websites on this Server works correct.
[/details]
groups www-data
www-data : www-data redis
Nextcloud version (eg, 20.0.5): 22.2.0
Operating system and version (eg, Ubuntu 20.04): Debian 11
Apache or nginx version (eg, Apache 2.4.25): Nginx 1.18.0
PHP version (eg, 7.4): 8.0
The issue you are facing:
Is this the first time you’ve seen this error? (Y/N): Y
The output of your Nextcloud log in Admin > Logging:
PASTE HERE
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'oc6n3y7swbbw',
'passwordsalt' => 'somePassword',
'secret' => 'somePassword',
'trusted_domains' =>
array (
0 => 'cloud.domain.tld',
),
'datadirectory' => '/home/ncdata/data',
'dbtype' => 'mysql',
'version' => '22.2.0.2',
'overwrite.cli.url' => 'https://cloud.domain.tld',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'cloud',
'dbpassword' => 'U2GX7iXZYtgGNBm8dhRkhE',
'installed' => true,
'theme' => '',
'loglevel' => 0,
'default_phone_region' => 'DE',
'maintenance' => false,
'filesystem_check_changes' => 1,
'has_rebuilt_cache' => true,
'memcache.local' => '\OC\Memcache\APCu',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '127.0.0.1',
'port' => '6379',
'password' => 'somePassword',
),
'app_install_overwrite' =>
array (
0 => 'previewgenerator',
),
);
The output of your Apache/nginx/system log in /var/log/____
:
2021/10/25 09:11:20 [error] 4082325#4082325: *5115693 FastCGI sent in stderr: "Unable to open primary script: /var/www/cloud/index.php (Operation not permitted)" while reading response header from upstream, client: 213.246.38.133, server: cloud.domain.tld, request: "GET /apps/social/@lars HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php8.0-fpm.sock:", host: "cloud.domain.tld"