Nextcloud version: 24.0.1-1
Operating system and version: Manjaro ARM (Linux 5.15.48-1)
nginx version: 1.22.0-2
PHP version: 8.1.7-1
PostgreSQL: 14.3-2
When accessing the main page of NC I get the famously known “Internal Server Error: The server could not process the request” page. Even after days of searching and trying I cannot figure it out. It seems like the file permissions are not set correctly but I could not get it right.
Permissions:
(I also had to create symlink for data in order to have a nextcloud.log file being created although nextcloud is configured to put the data dir somewhere else.)
drwxr-xr-x 14 root root 4,0K 9. Jul 08:56 .
drwxr-xr-x 3 root root 20K 26. Jun 09:42 ..
drwxr-xr-x 43 http http 4,0K 20. Jun 17:29 3rdparty
drwxr-xr-x 48 http http 4,0K 20. Jun 17:07 apps
-rw-rw---- 1 http http 19K 20. Jun 17:01 AUTHORS
drwxr-xr-x 2 nextcloud nextcloud 4,0K 9. Jul 09:00 config
-rw-rw---- 1 http http 4,0K 20. Jun 17:01 console.php
-rw-rw---- 1 http http 34K 20. Jun 17:01 COPYING
drwxr-xr-x 22 http http 4,0K 20. Jun 17:41 core
-rw-rw---- 1 http http 6,2K 20. Jun 17:01 cron.php
lrwxrwxrwx 1 root root 24 9. Jul 08:56 data -> /mnt/main/nextcloud/data
drwxr-xr-x 2 http http 12K 20. Jun 17:01 dist
-rw-r--r-- 1 nextcloud nextcloud 3,2K 14. Jun 02:13 .htaccess
-rw-rw---- 1 http http 156 20. Jun 17:01 index.html
-rw-rw---- 1 http http 3,4K 20. Jun 17:01 index.php
drwxr-xr-x 6 http http 4,0K 20. Jun 17:01 lib
-rw-rw---- 1 http http 1,9K 3. Jul 08:08 .nvimlog
-rw-rw---- 1 http http 283 20. Jun 17:01 occ
drwxr-xr-x 2 http http 4,0K 20. Jun 17:01 ocm-provider
drwxr-xr-x 2 http http 4,0K 20. Jun 17:01 ocs
drwxr-xr-x 2 http http 4,0K 20. Jun 17:01 ocs-provider
-rw-r--r-- 1 nextcloud nextcloud 71K 9. Jul 08:27 php.ini
-rw-rw---- 1 http http 3,1K 20. Jun 17:01 public.php
-rw-rw---- 1 http http 5,3K 20. Jun 17:01 remote.php
drwxr-xr-x 4 http http 4,0K 20. Jun 17:01 resources
-rw-rw---- 1 http http 26 20. Jun 17:01 robots.txt
-rw-rw-r-- 1 http http 2,4K 26. Jun 20:16 status.php
-rw-r--r-- 1 http http 20 3. Jul 08:08 test.php
drwxr-xr-x 3 http http 4,0K 20. Jun 17:01 themes
drwxr-xr-x 2 http http 4,0K 20. Jun 17:07 updater
-rw-rw---- 1 http http 101 20. Jun 17:01 .user.ini
-rw-rw---- 1 http http 382 20. Jun 17:28 version.php
config.php:
<?php
$CONFIG = array (
'instanceid' => 'octbf6n7icds',
'passwordsalt' => 'hidden',
'secret' => 'hidden',
'trusted_domains' =>
array (
0 => 'localhost',
1 => 'cloud.steinbrecher-bayern.de',
),
'datadirectory' => '/mnt/main/nextcloud/data',
'dbtype' => 'pgsql',
'version' => '',
'log_type' => 'file',
'logfile' => 'nextcloud.log',
'loglevel' => 2,
'overwrite.cli.url' => 'https://cloud.steinbrecher-bayern.de',
'htaccess.RewriteBase' => '/',
'dbname' => 'steinbrecherbayerncloud',
'dbhost' => 'localhost',
'dbport' => '5432',
'dbtableprefix' => 'oc_',
'dbuser' => 'nextcloud',
'dbpassword' => 'hidden',
'installed' => true,
'maintenance' => false,
'default_phone_region' => 'DE',
'twofactor_enforced' => 'false',
'twofactor_enforced_groups' =>
array (
),
'twofactor_enforced_excluded_groups' =>
array (
),
'memcache.local' => '\\OC\\Memcache\\APCu',
'mail_smtpmode' => 'smtp',
'mail_smtpsecure' => 'ssl',
'mail_sendmailmode' => 'smtp',
'mail_from_address' => 'noreply',
'mail_domain' => 'steinbrecher-bayern.de',
'mail_smtpauthtype' => 'PLAIN',
'mail_smtpauth' => 1,
'mail_smtphost' => 'smtp.strato.de',
'mail_smtpport' => '465',
'mail_smtpname' => 'noreply@steinbrecher-bayern.de',
'mail_smtppassword' => 'hidden',
);
nginx error log:
2022/07/09 12:19:13 [error] 131451#131451: *153 FastCGI sent in stderr: "PHP message: {"reqId":"s422iekpaMlaRj5rx1Mo","level":3,"time":"2022-07-09T10:19:13+00:00","remoteAddr":"172.70.250.217","user":"--","app":"PHP","method":"GET","url":"/status.php","message":"touch(): Utime failed: Permission denied at /etc/webapps/nextcloud/lib/private/Config.php#263","userAgent":"Mozilla/5.0 (Windows) mirall/3.4.1stable-Win64 (build 20211221) (Nextcloud, windows-10.0.22000 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"","exception":{"Exception":"Error","Message":"touch(): Utime failed: Permission denied at /etc/webapps/nextcloud/lib/private/Config.php#263","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"touch(): Utime failed: Permission denied","/etc/webapps/nextcloud/lib/private/Config.php",263]},{"file":"/etc/webapps/nextcloud/lib/private/Config.php","line":263,"function":"touch","args":["/etc/webapps/nextcloud/config/config.php"]},{"file":"/etc/webapps/nextcloud/lib/private/Config.php","line":143,"function":"writeD...PHP message: {"reqId":"s422iekpaMlaRj5rx1Mo","level":3,"time":"2022-07-09T10:19:13+00:00","remoteAddr":"172.70.250.217","user":"--","app":"PHP","method":"GET","url":"/status.php","message":"fopen(/etc/webapps/nextcloud/config/config.php): Failed to open stream: Permission denied at /etc/webapps/nextcloud/lib/private/Config.php#264","userAgent":"Mozilla/5.0 (Windows) mirall/3.4.1stable-Win64 (build 20211221) (Nextcloud, windows-10.0.22000 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"","exception":{"Exception":"Error","Message":"fopen(/etc/webapps/nextcloud/config/config.php): Failed to open stream: Permission denied at /etc/webapps/nextcloud/lib/private/Config.php#264","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"fopen(/etc/webapps/nextcloud/config/config.php): Failed to open stream: Permission denied","/etc/webapps/nextcloud/lib/private/Config.php",264]},{"file":"/etc/webapps/ne
2022/07/09 12:19:13 [error] 131451#131451: *153 FastCGI sent in stderr: "ekpaMlaRj5rx1Mo","level":3,"time":"2022-07-09T10:19:13+00:00","remoteAddr":"172.70.250.217","user":"--","app":"PHP","method":"GET","url":"/status.php","message":"fopen(/etc/webapps/nextcloud/data/nextcloud.log): Failed to open stream: Permission denied at /etc/webapps/nextcloud/lib/private/Log/File.php#84","userAgent":"Mozilla/5.0 (Windows) mirall/3.4.1stable-Win64 (build 20211221) (Nextcloud, windows-10.0.22000 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":""}" while reading response header from upstream, client: 172.70.250.217, server: cloud.steinbrecher-bayern.de, request: "GET /status.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm/php-fpm.sock:", host: "cloud.steinbrecher-bayern.de"
2022/07/09 12:19:16 [info] 131451#131451: *149 client 2.57.122.98 closed keepalive connection
2022/07/09 12:20:15 [error] 131451#131451: *153 FastCGI sent in stderr: "PHP message: {"reqId":"yTw4bTYhWsAGnR6AUnlw","level":3,"time":"2022-07-09T10:20:15+00:00","remoteAddr":"172.70.250.217","user":"--","app":"PHP","method":"GET","url":"/status.php","message":"touch(): Utime failed: Permission denied at /etc/webapps/nextcloud/lib/private/Config.php#263","userAgent":"Mozilla/5.0 (Windows) mirall/3.4.1stable-Win64 (build 20211221) (Nextcloud, windows-10.0.22000 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"","exception":{"Exception":"Error","Message":"touch(): Utime failed: Permission denied at /etc/webapps/nextcloud/lib/private/Config.php#263","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"touch(): Utime failed: Permission denied","/etc/webapps/nextcloud/lib/private/Config.php",263]},{"file":"/etc/webapps/nextcloud/lib/private/Config.php","line":263,"function":"touch","args":["/etc/webapps/nextcloud/config/config.php"]},{"file":"/etc/webapps/nextcloud/lib/private/Config.php","line":143,"function":"writeD...PHP message: {"reqId":"yTw4bTYhWsAGnR6AUnlw","level":3,"time":"2022-07-09T10:20:15+00:00","remoteAddr":"172.70.250.217","user":"--","app":"PHP","method":"GET","url":"/status.php","message":"fopen(/etc/webapps/nextcloud/config/config.php): Failed to open stream: Permission denied at /etc/webapps/nextcloud/lib/private/Config.php#264","userAgent":"Mozilla/5.0 (Windows) mirall/3.4.1stable-Win64 (build 20211221) (Nextcloud, windows-10.0.22000 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"","exception":{"Exception":"Error","Message":"fopen(/etc/webapps/nextcloud/config/config.php): Failed to open stream: Permission denied at /etc/webapps/nextcloud/lib/private/Config.php#264","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"fopen(/etc/webapps/nextcloud/config/config.php): Failed to open stream: Permission denied","/etc/webapps/nextcloud/lib/private/Config.php",264]},{"file":"/etc/webapps/ne
2022/07/09 12:20:15 [error] 131451#131451: *153 FastCGI sent in stderr: "TYhWsAGnR6AUnlw","level":3,"time":"2022-07-09T10:20:15+00:00","remoteAddr":"172.70.250.217","user":"--","app":"PHP","method":"GET","url":"/status.php","message":"fopen(/etc/webapps/nextcloud/data/nextcloud.log): Failed to open stream: Permission denied at /etc/webapps/nextcloud/lib/private/Log/File.php#84","userAgent":"Mozilla/5.0 (Windows) mirall/3.4.1stable-Win64 (build 20211221) (Nextcloud, windows-10.0.22000 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":""}" while reading response header from upstream, client: 172.70.250.217, server: cloud.steinbrecher-bayern.de, request: "GET /status.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm/php-fpm.sock:", host: "cloud.steinbrecher-bayern.de"
2022/07/09 12:20:56 [info] 131451#131451: *156 recv() failed (104: Connection reset by peer) while SSL handshaking, client: 167.248.133.62, server: 0.0.0.0:443
2022/07/09 12:20:57 [info] 131451#131451: *157 client 167.248.133.62 closed keepalive connection
2022/07/09 12:20:58 [info] 131451#131451: *158 client 167.248.133.62 closed keepalive connection
2022/07/09 12:21:17 [error] 131451#131451: *160 FastCGI sent in stderr: "PHP message: {"reqId":"STdL3NQ07Ju5GDbSfHpE","level":3,"time":"2022-07-09T10:21:17+00:00","remoteAddr":"172.70.242.153","user":"--","app":"PHP","method":"GET","url":"/status.php","message":"touch(): Utime failed: Permission denied at /etc/webapps/nextcloud/lib/private/Config.php#263","userAgent":"Mozilla/5.0 (Windows) mirall/3.4.1stable-Win64 (build 20211221) (Nextcloud, windows-10.0.22000 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"","exception":{"Exception":"Error","Message":"touch(): Utime failed: Permission denied at /etc/webapps/nextcloud/lib/private/Config.php#263","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"touch(): Utime failed: Permission denied","/etc/webapps/nextcloud/lib/private/Config.php",263]},{"file":"/etc/webapps/nextcloud/lib/private/Config.php","line":263,"function":"touch","args":["/etc/webapps/nextcloud/config/config.php"]},{"file":"/etc/webapps/nextcloud/lib/private/Config.php","line":143,"function":"writeD...PHP message: {"reqId":"STdL3NQ07Ju5GDbSfHpE","level":3,"time":"2022-07-09T10:21:17+00:00","remoteAddr":"172.70.242.153","user":"--","app":"PHP","method":"GET","url":"/status.php","message":"fopen(/etc/webapps/nextcloud/config/config.php): Failed to open stream: Permission denied at /etc/webapps/nextcloud/lib/private/Config.php#264","userAgent":"Mozilla/5.0 (Windows) mirall/3.4.1stable-Win64 (build 20211221) (Nextcloud, windows-10.0.22000 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"","exception":{"Exception":"Error","Message":"fopen(/etc/webapps/nextcloud/config/config.php): Failed to open stream: Permission denied at /etc/webapps/nextcloud/lib/private/Config.php#264","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"fopen(/etc/webapps/nextcloud/config/config.php): Failed to open stream: Permission denied","/etc/webapps/nextcloud/lib/private/Config.php",264]},{"file":"/etc/webapps/ne
2022/07/09 12:21:17 [error] 131451#131451: *160 FastCGI sent in stderr: "NQ07Ju5GDbSfHpE","level":3,"time":"2022-07-09T10:21:17+00:00","remoteAddr":"172.70.242.153","user":"--","app":"PHP","method":"GET","url":"/status.php","message":"fopen(/etc/webapps/nextcloud/data/nextcloud.log): Failed to open stream: Permission denied at /etc/webapps/nextcloud/lib/private/Log/File.php#84","userAgent":"Mozilla/5.0 (Windows) mirall/3.4.1stable-Win64 (build 20211221) (Nextcloud, windows-10.0.22000 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":""}" while reading response header from upstream, client: 172.70.242.153, server: cloud.steinbrecher-bayern.de, request: "GET /status.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm/php-fpm.sock:", host: "cloud.steinbrecher-bayern.de"
2022/07/09 12:22:19 [error] 131451#131451: *166 FastCGI sent in stderr: "PHP message: {"reqId":"NNKNL03FbLCW2BVU0Z1v","level":3,"time":"2022-07-09T10:22:19+00:00","remoteAddr":"172.70.246.129","user":"--","app":"PHP","method":"GET","url":"/status.php","message":"touch(): Utime failed: Permission denied at /etc/webapps/nextcloud/lib/private/Config.php#263","userAgent":"Mozilla/5.0 (Windows) mirall/3.4.1stable-Win64 (build 20211221) (Nextcloud, windows-10.0.22000 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"","exception":{"Exception":"Error","Message":"touch(): Utime failed: Permission denied at /etc/webapps/nextcloud/lib/private/Config.php#263","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"touch(): Utime failed: Permission denied","/etc/webapps/nextcloud/lib/private/Config.php",263]},{"file":"/etc/webapps/nextcloud/lib/private/Config.php","line":263,"function":"touch","args":["/etc/webapps/nextcloud/config/config.php"]},{"file":"/etc/webapps/nextcloud/lib/private/Config.php","line":143,"function":"writeD...PHP message: {"reqId":"NNKNL03FbLCW2BVU0Z1v","level":3,"time":"2022-07-09T10:22:19+00:00","remoteAddr":"172.70.246.129","user":"--","app":"PHP","method":"GET","url":"/status.php","message":"fopen(/etc/webapps/nextcloud/config/config.php): Failed to open stream: Permission denied at /etc/webapps/nextcloud/lib/private/Config.php#264","userAgent":"Mozilla/5.0 (Windows) mirall/3.4.1stable-Win64 (build 20211221) (Nextcloud, windows-10.0.22000 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"","exception":{"Exception":"Error","Message":"fopen(/etc/webapps/nextcloud/config/config.php): Failed to open stream: Permission denied at /etc/webapps/nextcloud/lib/private/Config.php#264","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"fopen(/etc/webapps/nextcloud/config/config.php): Failed to open stream: Permission denied","/etc/webapps/nextcloud/lib/private/Config.php",264]},{"file":"/etc/webapps/ne
2022/07/09 12:22:19 [error] 131451#131451: *166 FastCGI sent in stderr: "03FbLCW2BVU0Z1v","level":3,"time":"2022-07-09T10:22:19+00:00","remoteAddr":"172.70.246.129","user":"--","app":"PHP","method":"GET","url":"/status.php","message":"fopen(/etc/webapps/nextcloud/data/nextcloud.log): Failed to open stream: Permission denied at /etc/webapps/nextcloud/lib/private/Log/File.php#84","userAgent":"Mozilla/5.0 (Windows) mirall/3.4.1stable-Win64 (build 20211221) (Nextcloud, windows-10.0.22000 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":""}" while reading response header from upstream, client: 172.70.246.129, server: cloud.steinbrecher-bayern.de, request: "GET /status.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm/php-fpm.sock:", host: "cloud.steinbrecher-bayern.de"
2022/07/09 12:23:21 [error] 131451#131451: *168 FastCGI sent in stderr: "PHP message: {"reqId":"hFOv5tjyZvFyGwyLJvA2","level":3,"time":"2022-07-09T10:23:21+00:00","remoteAddr":"172.70.246.207","user":"--","app":"PHP","method":"GET","url":"/status.php","message":"touch(): Utime failed: Permission denied at /etc/webapps/nextcloud/lib/private/Config.php#263","userAgent":"Mozilla/5.0 (Windows) mirall/3.4.1stable-Win64 (build 20211221) (Nextcloud, windows-10.0.22000 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"","exception":{"Exception":"Error","Message":"touch(): Utime failed: Permission denied at /etc/webapps/nextcloud/lib/private/Config.php#263","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"touch(): Utime failed: Permission denied","/etc/webapps/nextcloud/lib/private/Config.php",263]},{"file":"/etc/webapps/nextcloud/lib/private/Config.php","line":263,"function":"touch","args":["/etc/webapps/nextcloud/config/config.php"]},{"file":"/etc/webapps/nextcloud/lib/private/Config.php","line":143,"function":"writeD...PHP message: {"reqId":"hFOv5tjyZvFyGwyLJvA2","level":3,"time":"2022-07-09T10:23:21+00:00","remoteAddr":"172.70.246.207","user":"--","app":"PHP","method":"GET","url":"/status.php","message":"fopen(/etc/webapps/nextcloud/config/config.php): Failed to open stream: Permission denied at /etc/webapps/nextcloud/lib/private/Config.php#264","userAgent":"Mozilla/5.0 (Windows) mirall/3.4.1stable-Win64 (build 20211221) (Nextcloud, windows-10.0.22000 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"","exception":{"Exception":"Error","Message":"fopen(/etc/webapps/nextcloud/config/config.php): Failed to open stream: Permission denied at /etc/webapps/nextcloud/lib/private/Config.php#264","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"fopen(/etc/webapps/nextcloud/config/config.php): Failed to open stream: Permission denied","/etc/webapps/nextcloud/lib/private/Config.php",264]},{"file":"/etc/webapps/ne
2022/07/09 12:23:21 [error] 131451#131451: *168 FastCGI sent in stderr: "tjyZvFyGwyLJvA2","level":3,"time":"2022-07-09T10:23:21+00:00","remoteAddr":"172.70.246.207","user":"--","app":"PHP","method":"GET","url":"/status.php","message":"fopen(/etc/webapps/nextcloud/data/nextcloud.log): Failed to open stream: Permission denied at /etc/webapps/nextcloud/lib/private/Log/File.php#84","userAgent":"Mozilla/5.0 (Windows) mirall/3.4.1stable-Win64 (build 20211221) (Nextcloud, windows-10.0.22000 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":""}" while reading response header from upstream, client: 172.70.246.207, server: cloud.steinbrecher-bayern.de, request: "GET /status.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm/php-fpm.sock:", host: "cloud.steinbrecher-bayern.de"
2022/07/09 12:24:23 [error] 131451#131451: *170 FastCGI sent in stderr: "PHP message: {"reqId":"gAa2r3K3YQZyf8mlEgog","level":3,"time":"2022-07-09T10:24:23+00:00","remoteAddr":"172.70.242.153","user":"--","app":"PHP","method":"GET","url":"/status.php","message":"touch(): Utime failed: Permission denied at /etc/webapps/nextcloud/lib/private/Config.php#263","userAgent":"Mozilla/5.0 (Windows) mirall/3.4.1stable-Win64 (build 20211221) (Nextcloud, windows-10.0.22000 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"","exception":{"Exception":"Error","Message":"touch(): Utime failed: Permission denied at /etc/webapps/nextcloud/lib/private/Config.php#263","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"touch(): Utime failed: Permission denied","/etc/webapps/nextcloud/lib/private/Config.php",263]},{"file":"/etc/webapps/nextcloud/lib/private/Config.php","line":263,"function":"touch","args":["/etc/webapps/nextcloud/config/config.php"]},{"file":"/etc/webapps/nextcloud/lib/private/Config.php","line":143,"function":"writeD...PHP message: {"reqId":"gAa2r3K3YQZyf8mlEgog","level":3,"time":"2022-07-09T10:24:23+00:00","remoteAddr":"172.70.242.153","user":"--","app":"PHP","method":"GET","url":"/status.php","message":"fopen(/etc/webapps/nextcloud/config/config.php): Failed to open stream: Permission denied at /etc/webapps/nextcloud/lib/private/Config.php#264","userAgent":"Mozilla/5.0 (Windows) mirall/3.4.1stable-Win64 (build 20211221) (Nextcloud, windows-10.0.22000 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"","exception":{"Exception":"Error","Message":"fopen(/etc/webapps/nextcloud/config/config.php): Failed to open stream: Permission denied at /etc/webapps/nextcloud/lib/private/Config.php#264","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"fopen(/etc/webapps/nextcloud/config/config.php): Failed to open stream: Permission denied","/etc/webapps/nextcloud/lib/private/Config.php",264]},{"file":"/etc/webapps/ne
2022/07/09 12:24:23 [error] 131451#131451: *170 FastCGI sent in stderr: "3K3YQZyf8mlEgog","level":3,"time":"2022-07-09T10:24:23+00:00","remoteAddr":"172.70.242.153","user":"--","app":"PHP","method":"GET","url":"/status.php","message":"fopen(/etc/webapps/nextcloud/data/nextcloud.log): Failed to open stream: Permission denied at /etc/webapps/nextcloud/lib/private/Log/File.php#84","userAgent":"Mozilla/5.0 (Windows) mirall/3.4.1stable-Win64 (build 20211221) (Nextcloud, windows-10.0.22000 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":""}" while reading response header from upstream, client: 172.70.242.153, server: cloud.steinbrecher-bayern.de, request: "GET /status.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm/php-fpm.sock:", host: "cloud.steinbrecher-bayern.de"
nextcloud.log:
{"reqId":"SfjlPIcQYcn7IJwekfXq","level":3,"time":"2022-07-09T06:56:38+00:00","remoteAddr":"172.70.242.197","user":"--","app":"PHP","method":"GET","url":"/status.php","message":"touch(): Utime failed: Permission denied at /etc/webapps/nextcloud/lib/private/Config.php#263","userAgent":"Mozilla/5.0 (Windows) mirall/3.4.1stable-Win64 (build 20211221) (Nextcloud, windows-10.0.22000 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"","exception":{"Exception":"Error","Message":"touch(): Utime failed: Permission denied at /etc/webapps/nextcloud/lib/private/Config.php#263","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"touch(): Utime failed: Permission denied","/etc/webapps/nextcloud/lib/private/Config.php",263]},{"file":"/etc/webapps/nextcloud/lib/private/Config.php","line":263,"function":"touch","args":["/etc/webapps/nextcloud/config/config.php"]},{"file":"/etc/webapps/nextcloud/lib/private/Config.php","line":143,"function":"writeData","class":"OC\\Config","type":"->","args":[]},{"file":"/etc/webapps/nextcloud/lib/private/SystemConfig.php","line":142,"function":"setValue","class":"OC\\Config","type":"->","args":["instanceid","oc1yglicmnp3"]},{"file":"/etc/webapps/nextcloud/lib/private/legacy/OC_Util.php","line":906,"function":"setValue","class":"OC\\SystemConfig","type":"->","args":["instanceid","oc1yglicmnp3"]},{"file":"/etc/webapps/nextcloud/lib/base.php","line":427,"function":"getInstanceId","class":"OC_Util","type":"::","args":[]},{"file":"/etc/webapps/nextcloud/lib/base.php","line":659,"function":"initSession","class":"OC","type":"::","args":[]},{"file":"/etc/webapps/nextcloud/lib/base.php","line":1104,"function":"init","class":"OC","type":"::","args":[]},{"file":"/etc/webapps/nextcloud/status.php","line":37,"args":["/etc/webapps/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/etc/webapps/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"SfjlPIcQYcn7IJwekfXq","level":3,"time":"2022-07-09T06:56:38+00:00","remoteAddr":"172.70.242.197","user":"--","app":"PHP","method":"GET","url":"/status.php","message":"fopen(/etc/webapps/nextcloud/config/config.php): Failed to open stream: Permission denied at /etc/webapps/nextcloud/lib/private/Config.php#264","userAgent":"Mozilla/5.0 (Windows) mirall/3.4.1stable-Win64 (build 20211221) (Nextcloud, windows-10.0.22000 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"","exception":{"Exception":"Error","Message":"fopen(/etc/webapps/nextcloud/config/config.php): Failed to open stream: Permission denied at /etc/webapps/nextcloud/lib/private/Config.php#264","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"fopen(/etc/webapps/nextcloud/config/config.php): Failed to open stream: Permission denied","/etc/webapps/nextcloud/lib/private/Config.php",264]},{"file":"/etc/webapps/nextcloud/lib/private/Config.php","line":264,"function":"fopen","args":["/etc/webapps/nextcloud/config/config.php","r+"]},{"file":"/etc/webapps/nextcloud/lib/private/Config.php","line":143,"function":"writeData","class":"OC\\Config","type":"->","args":[]},{"file":"/etc/webapps/nextcloud/lib/private/SystemConfig.php","line":142,"function":"setValue","class":"OC\\Config","type":"->","args":["instanceid","oc1yglicmnp3"]},{"file":"/etc/webapps/nextcloud/lib/private/legacy/OC_Util.php","line":906,"function":"setValue","class":"OC\\SystemConfig","type":"->","args":["instanceid","oc1yglicmnp3"]},{"file":"/etc/webapps/nextcloud/lib/base.php","line":427,"function":"getInstanceId","class":"OC_Util","type":"::","args":[]},{"file":"/etc/webapps/nextcloud/lib/base.php","line":659,"function":"initSession","class":"OC","type":"::","args":[]},{"file":"/etc/webapps/nextcloud/lib/base.php","line":1104,"function":"init","class":"OC","type":"::","args":[]},{"file":"/etc/webapps/nextcloud/status.php","line":37,"args":["/etc/webapps/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/etc/webapps/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"SfjlPIcQYcn7IJwekfXq","level":3,"time":"2022-07-09T06:56:38+00:00","remoteAddr":"172.70.242.197","user":"--","app":"PHP","method":"GET","url":"/status.php","message":"chmod(): Operation not permitted at /etc/webapps/nextcloud/lib/private/Config.php#267","userAgent":"Mozilla/5.0 (Windows) mirall/3.4.1stable-Win64 (build 20211221) (Nextcloud, windows-10.0.22000 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"","exception":{"Exception":"Error","Message":"chmod(): Operation not permitted at /etc/webapps/nextcloud/lib/private/Config.php#267","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"chmod(): Operation not permitted","/etc/webapps/nextcloud/lib/private/Config.php",267]},{"file":"/etc/webapps/nextcloud/lib/private/Config.php","line":267,"function":"chmod","args":["/etc/webapps/nextcloud/config/config.php",416]},{"file":"/etc/webapps/nextcloud/lib/private/Config.php","line":143,"function":"writeData","class":"OC\\Config","type":"->","args":[]},{"file":"/etc/webapps/nextcloud/lib/private/SystemConfig.php","line":142,"function":"setValue","class":"OC\\Config","type":"->","args":["instanceid","oc1yglicmnp3"]},{"file":"/etc/webapps/nextcloud/lib/private/legacy/OC_Util.php","line":906,"function":"setValue","class":"OC\\SystemConfig","type":"->","args":["instanceid","oc1yglicmnp3"]},{"file":"/etc/webapps/nextcloud/lib/base.php","line":427,"function":"getInstanceId","class":"OC_Util","type":"::","args":[]},{"file":"/etc/webapps/nextcloud/lib/base.php","line":659,"function":"initSession","class":"OC","type":"::","args":[]},{"file":"/etc/webapps/nextcloud/lib/base.php","line":1104,"function":"init","class":"OC","type":"::","args":[]},{"file":"/etc/webapps/nextcloud/status.php","line":37,"args":["/etc/webapps/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/etc/webapps/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"SfjlPIcQYcn7IJwekfXq","level":3,"time":"2022-07-09T06:56:38+00:00","remoteAddr":"172.70.242.197","user":"--","app":"remote","method":"GET","url":"/status.php","message":"Can't write into config directory!","userAgent":"Mozilla/5.0 (Windows) mirall/3.4.1stable-Win64 (build 20211221) (Nextcloud, windows-10.0.22000 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"","exception":{"Exception":"OCP\\HintException","Message":"Can't write into config directory!","Code":0,"Trace":[{"file":"/etc/webapps/nextcloud/lib/private/Config.php","line":143,"function":"writeData","class":"OC\\Config","type":"->","args":[]},{"file":"/etc/webapps/nextcloud/lib/private/SystemConfig.php","line":142,"function":"setValue","class":"OC\\Config","type":"->","args":["instanceid","oc1yglicmnp3"]},{"file":"/etc/webapps/nextcloud/lib/private/legacy/OC_Util.php","line":906,"function":"setValue","class":"OC\\SystemConfig","type":"->","args":["instanceid","oc1yglicmnp3"]},{"file":"/etc/webapps/nextcloud/lib/base.php","line":427,"function":"getInstanceId","class":"OC_Util","type":"::","args":[]},{"file":"/etc/webapps/nextcloud/lib/base.php","line":659,"function":"initSession","class":"OC","type":"::","args":[]},{"file":"/etc/webapps/nextcloud/lib/base.php","line":1104,"function":"init","class":"OC","type":"::","args":[]},{"file":"/etc/webapps/nextcloud/status.php","line":37,"args":["/etc/webapps/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/etc/webapps/nextcloud/lib/private/Config.php","Line":271,"Hint":"This can usually be fixed by giving the webserver write access to the config directory.","CustomMessage":"--"}}