Nextcloud version: 24.0.3.2
Operating system and version: Raspberry Pi OS 64bit
Apache or nginx version: 2.4.54
PHP version: 8.0.22
The issue you are facing:
Is this the first time you’ve seen this error?: No
Steps to replicate it:
- Installing Nextcloud
- Stop the nextcloud container (and afterwards the postgres-db container)
- Powering down system (and unplugging it)
- Power up system
- Start first the postgres-db container wait until ready and than start the nextcloud container
The output of your Nextcloud log in Admin > Logging:
{"reqId":"DAeMYrGIYXfKE6pOnpEp","level":3,"time":"2022-08-17T09:42:06+00:00","remoteAddr":"192.168.1.20","user":"--","app":"base","method":"GET","url":"/index.php/csrftoken","message":"Failed to start session","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15","version":"24.0.3.2","exception":{"Exception":"Exception","Message":"Failed to start session","Code":0,"Trace":[{"file":"/var/www/html/lib/base.php","line":431,"function":"__construct","class":"OC\\Session\\Internal","type":"->","args":["oc80i1i8obfr"]},{"file":"/var/www/html/lib/base.php","line":659,"function":"initSession","class":"OC","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1104,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/index.php","line":34,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Session/Internal.php","Line":62,"CustomMessage":"--"}}
{"reqId":"L8JasYYjhpkApNmtfmhZ","level":3,"time":"2022-08-17T09:44:37+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Cannot modify header information - headers already sent by (output started at /var/www/html/custom_apps/calendar/lib/AppInfo/Application.php:1) at /var/www/html/lib/private/legacy/OC_Response.php#93","userAgent":"--","version":"24.0.3.2","exception":{"Exception":"Error","Message":"Cannot modify header information - headers already sent by (output started at /var/www/html/custom_apps/calendar/lib/AppInfo/Application.php:1) at /var/www/html/lib/private/legacy/OC_Response.php#93","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"Cannot modify header information - headers already sent by (output started at /var/www/html/custom_apps/calendar/lib/AppInfo/Application.php:1)","/var/www/html/lib/private/legacy/OC_Response.php",93]},{"file":"/var/www/html/lib/private/legacy/OC_Response.php","line":93,"function":"header","args":["Content-Security-Policy:default-src 'self'; script-src 'self' 'nonce-YVhkZ05XQkJ1TEovd05hWGtTYVpjb0plWW5UT1dCcml4TzZOUVJycWgvZz06TENjRlR5TWs0ZDhVOUtiangwRFlXZlUxRlI2M2JsR0F2WW5kQTFEVDRhdz0='; style-src 'self' 'unsafe-inline'; frame-src *; img-src * data: blob:; font-src 'self' data:; media-src *; connect-src *; object-src 'none'; base-uri 'self'; "]},{"file":"/var/www/html/lib/base.php","line":665,"function":"addSecurityHeaders","class":"OC_Response","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1104,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/console.php","line":48,"args":["/var/www/html/lib/base.php"],"function":"require_once"},{"file":"/var/www/html/occ","line":11,"args":["/var/www/html/console.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'htaccess.RewriteBase' => '/',
'memcache.local' => '\\OC\\Memcache\\APCu',
'apps_paths' =>
array (
0 =>
array (
'path' => '/var/www/html/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/var/www/html/custom_apps',
'url' => '/custom_apps',
'writable' => true,
),
),
'trusted_proxies' =>
array (
0 => '192.168.1.6',
),
'passwordsalt' => 'Removed' ,
'secret' => 'Removed',
'trusted_domains' =>
array (
0 => 'localhost',
1 => 'removed',
2 => '192.168.1.7',
3 => '192.168.1.*',
),
'datadirectory' => '/var/www/html/data',
'dbtype' => 'pgsql',
'version' => '24.0.3.2',
'overwrite.cli.url' => 'http://localhost',
'dbname' => 'nextcloud',
'dbhost' => 'postgresql_db',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'oc_admin',
'dbpassword' => 'removed',
'installed' => true,
'instanceid' => 'oc80i1i8obfr',
);
The output of your Apache/nginx/system log in /var/log/____
:
192.168.1.20 - - [17/Aug/2022:10:49:47 +0200] "GET / HTTP/1.1" 200 1680 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:103.0) Gecko/20100101 Firefox/103.0"
192.168.1.20 - - [17/Aug/2022:10:49:51 +0200] "GET /core/css/guest.css?v=eaaf7ebe-0 HTTP/1.1" 200 6180 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:103.0) Gecko/20100101 Firefox/103.0"
192.168.1.20 - - [17/Aug/2022:10:49:51 +0200] "GET /dist/core-files_fileinfo.js?v=eaaf7ebe-0 HTTP/1.1" 200 1018 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:103.0) Gecko/20100101 Firefox/103.0"
192.168.1.20 - - [17/Aug/2022:10:49:51 +0200] "GET /dist/core-files_client.js?v=eaaf7ebe-0 HTTP/1.1" 200 4760 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:103.0) Gecko/20100101 Firefox/103.0"
192.168.1.20 - - [17/Aug/2022:10:49:51 +0200] "GET /dist/core-main.js?v=eaaf7ebe-0 HTTP/1.1" 200 48453 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:103.0) Gecko/20100101 Firefox/103.0"
192.168.1.20 - - [17/Aug/2022:10:49:51 +0200] "GET /js/core/merged-template-prepend.js?v=eaaf7ebe-0 HTTP/1.1" 200 1684 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:103.0) Gecko/20100101 Firefox/103.0"
192.168.1.20 - - [17/Aug/2022:10:49:51 +0200] "GET /dist/core-common.js?v=eaaf7ebe-0 HTTP/1.1" 200 2186863 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:103.0) Gecko/20100101 Firefox/103.0"
192.168.1.20 - - [17/Aug/2022:10:49:52 +0200] "GET /core/img/favicon.ico HTTP/1.1" 200 3792 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:103.0) Gecko/20100101 Firefox/103.0"
192.168.1.20 - - [17/Aug/2022:10:49:52 +0200] "GET /core/img/favicon-touch.png HTTP/1.1" 200 4712 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:103.0) Gecko/20100101 Firefox/103.0"
192.168.1.20 - - [17/Aug/2022:10:53:27 +0200] "GET / HTTP/1.1" 200 1682 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15"
192.168.1.20 - - [17/Aug/2022:10:53:27 +0200] "GET /core/img/manifest.json HTTP/1.1" 304 433 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15"
192.168.1.20 - - [17/Aug/2022:10:57:28 +0200] "GET / HTTP/1.1" 200 1682 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15"
192.168.1.20 - - [17/Aug/2022:11:00:03 +0200] "GET / HTTP/1.1" 200 1681 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15"
192.168.1.20 - - [17/Aug/2022:11:00:03 +0200] "GET /core/img/manifest.json HTTP/1.1" 200 728 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15"
192.168.1.20 - - [17/Aug/2022:11:00:34 +0200] "GET / HTTP/1.1" 200 1680 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15"
192.168.1.20 - - [17/Aug/2022:11:00:34 +0200] "GET /core/img/manifest.json HTTP/1.1" 200 728 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15"
192.168.1.20 - - [17/Aug/2022:11:07:50 +0200] "GET /index.php/csrftoken HTTP/1.1" 200 1682 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:103.0) Gecko/20100101 Firefox/103.0"
192.168.1.20 - - [17/Aug/2022:11:11:19 +0200] "GET / HTTP/1.1" 200 1683 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:103.0) Gecko/20100101 Firefox/103.0"
192.168.1.20 - - [17/Aug/2022:11:11:20 +0200] "GET /js/core/merged-template-prepend.js?v=eaaf7ebe-0 HTTP/1.1" 200 1681 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:103.0) Gecko/20100101 Firefox/103.0"
192.168.1.20 - - [17/Aug/2022:11:11:21 +0200] "GET /core/img/favicon-touch.png HTTP/1.1" 200 4712 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:103.0) Gecko/20100101 Firefox/103.0"
192.168.1.20 - - [17/Aug/2022:11:11:23 +0200] "GET / HTTP/1.1" 200 1679 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15"
192.168.1.20 - - [17/Aug/2022:11:11:23 +0200] "GET /core/img/manifest.json HTTP/1.1" 200 728 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15"
192.168.1.20 - - [17/Aug/2022:11:11:39 +0200] "GET /apps/contacts/ HTTP/1.1" 200 1679 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:103.0) Gecko/20100101 Firefox/103.0"
192.168.1.20 - - [17/Aug/2022:11:11:40 +0200] "GET /js/core/merged-template-prepend.js?v=eaaf7ebe-0 HTTP/1.1" 200 1680 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:103.0) Gecko/20100101 Firefox/103.0"
192.168.1.20 - - [17/Aug/2022:11:11:40 +0200] "GET /core/img/favicon-touch.png HTTP/1.1" 200 4712 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:103.0) Gecko/20100101 Firefox/103.0"
192.168.1.20 - - [17/Aug/2022:11:11:55 +0200] "GET / HTTP/1.1" 200 1681 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15"
192.168.1.20 - - [17/Aug/2022:11:11:56 +0200] "GET /core/img/manifest.json HTTP/1.1" 200 728 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15"
85.234.121.57 - - [17/Aug/2022:11:25:47 +0200] "GET / HTTP/1.1" 200 5381 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36"
192.168.1.20 - - [17/Aug/2022:11:27:05 +0200] "GET /index.php/csrftoken HTTP/1.1" 200 1681 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15"
192.168.1.20 - - [17/Aug/2022:11:42:05 +0200] "GET /index.php/csrftoken HTTP/1.1" 200 1681 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15"
192.168.1.20 - - [17/Aug/2022:11:57:10 +0200] "GET /index.php/csrftoken HTTP/1.1" 200 1682 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15"
185.196.220.70 - - [17/Aug/2022:11:59:31 +0200] "GET / HTTP/1.1" 200 1657 "-" "Linux Gnu (cow)"
183.136.225.35 - - [17/Aug/2022:12:03:04 +0200] "GET / HTTP/1.1" 200 5438 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:47.0) Gecko/20100101 Firefox/47.0"
192.241.213.85 - - [17/Aug/2022:12:05:20 +0200] "GET / HTTP/1.1" 200 1618 "-" "Mozilla/5.0 zgrab/0.x"
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.
{"reqId":"0aEBHiI8yh96quwPgl5T","level":3,"time":"2022-08-17T08:49:49+00:00","remoteAddr":"192.168.1.20","user":"--","app":"PHP","method":"GET","url":"/","message":"ini_set(): Session ini settings cannot be changed after headers have already been sent at /var/www/html/lib/base.php#420","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:103.0) Gecko/20100101 Firefox/103.0","version":"24.0.3.2","exception":{"Exception":"Error","Message":"ini_set(): Session ini settings cannot be changed after headers have already been sent at /var/www/html/lib/base.php#420","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"ini_set(): Session ini settings cannot be changed after headers have already been sent","/var/www/html/lib/base.php",420]},{"file":"/var/www/html/lib/base.php","line":420,"function":"ini_set","args":["session.cookie_httponly","true"]},{"file":"/var/www/html/lib/base.php","line":659,"function":"initSession","class":"OC","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1104,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/index.php","line":34,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"0aEBHiI8yh96quwPgl5T","level":3,"time":"2022-08-17T08:49:49+00:00","remoteAddr":"192.168.1.20","user":"--","app":"PHP","method":"GET","url":"/","message":"ini_set(): Session ini settings cannot be changed after headers have already been sent at /var/www/html/lib/base.php#424","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:103.0) Gecko/20100101 Firefox/103.0","version":"24.0.3.2","exception":{"Exception":"Error","Message":"ini_set(): Session ini settings cannot be changed after headers have already been sent at /var/www/html/lib/base.php#424","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"ini_set(): Session ini settings cannot be changed after headers have already been sent","/var/www/html/lib/base.php",424]},{"file":"/var/www/html/lib/base.php","line":424,"function":"ini_set","args":["session.cookie_path","/"]},{"file":"/var/www/html/lib/base.php","line":659,"function":"initSession","class":"OC","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1104,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/index.php","line":34,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"bRyC8oj5UBQ9r2jWcKmW","level":3,"time":"2022-08-17T09:11:20+00:00","remoteAddr":"192.168.1.20","user":"--","app":"PHP","method":"GET","url":"/js/core/merged-template-prepend.js?v=eaaf7ebe-0","message":"ini_set(): Session ini settings cannot be changed after headers have already been sent at /var/www/html/lib/base.php#420","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:103.0) Gecko/20100101 Firefox/103.0","version":"24.0.3.2","exception":{"Exception":"Error","Message":"ini_set(): Session ini settings cannot be changed after headers have already been sent at /var/www/html/lib/base.php#420","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"ini_set(): Session ini settings cannot be changed after headers have already been sent","/var/www/html/lib/base.php",420]},{"file":"/var/www/html/lib/base.php","line":420,"function":"ini_set","args":["session.cookie_httponly","true"]},{"file":"/var/www/html/lib/base.php","line":659,"function":"initSession","class":"OC","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1104,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/index.php","line":34,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"bRyC8oj5UBQ9r2jWcKmW","level":3,"time":"2022-08-17T09:11:20+00:00","remoteAddr":"192.168.1.20","user":"--","app":"PHP","method":"GET","url":"/js/core/merged-template-prepend.js?v=eaaf7ebe-0","message":"ini_set(): Session ini settings cannot be changed after headers have already been sent at /var/www/html/lib/base.php#424","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:103.0) Gecko/20100101 Firefox/103.0","version":"24.0.3.2","exception":{"Exception":"Error","Message":"ini_set(): Session ini settings cannot be changed after headers have already been sent at /var/www/html/lib/base.php#424","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"ini_set(): Session ini settings cannot be changed after headers have already been sent","/var/www/html/lib/base.php",424]},{"file":"/var/www/html/lib/base.php","line":424,"function":"ini_set","args":["session.cookie_path","/"]},{"file":"/var/www/html/lib/base.php","line":659,"function":"initSession","class":"OC","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1104,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/index.php","line":34,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"R1FpdWEKnVAQPuYG71G8","level":3,"time":"2022-08-17T09:11:23+00:00","remoteAddr":"192.168.1.20","user":"--","app":"PHP","method":"GET","url":"/","message":"ini_set(): Session ini settings cannot be changed after headers have already been sent at /var/www/html/lib/base.php#420","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15","version":"24.0.3.2","exception":{"Exception":"Error","Message":"ini_set(): Session ini settings cannot be changed after headers have already been sent at /var/www/html/lib/base.php#420","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"ini_set(): Session ini settings cannot be changed after headers have already been sent","/var/www/html/lib/base.php",420]},{"file":"/var/www/html/lib/base.php","line":420,"function":"ini_set","args":["session.cookie_httponly","true"]},{"file":"/var/www/html/lib/base.php","line":659,"function":"initSession","class":"OC","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1104,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/index.php","line":34,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"R1FpdWEKnVAQPuYG71G8","level":3,"time":"2022-08-17T09:11:23+00:00","remoteAddr":"192.168.1.20","user":"--","app":"PHP","method":"GET","url":"/","message":"ini_set(): Session ini settings cannot be changed after headers have already been sent at /var/www/html/lib/base.php#424","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15","version":"24.0.3.2","exception":{"Exception":"Error","Message":"ini_set(): Session ini settings cannot be changed after headers have already been sent at /var/www/html/lib/base.php#424","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"ini_set(): Session ini settings cannot be changed after headers have already been sent","/var/www/html/lib/base.php",424]},{"file":"/var/www/html/lib/base.php","line":424,"function":"ini_set","args":["session.cookie_path","/"]},{"file":"/var/www/html/lib/base.php","line":659,"function":"initSession","class":"OC","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1104,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/index.php","line":34,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"CUE9zzAXYVaGLQLSJgoq","level":3,"time":"2022-08-17T09:11:40+00:00","remoteAddr":"192.168.1.20","user":"--","app":"PHP","method":"GET","url":"/apps/contacts/","message":"ini_set(): Session ini settings cannot be changed after headers have already been sent at /var/www/html/lib/base.php#420","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:103.0) Gecko/20100101 Firefox/103.0","version":"24.0.3.2","exception":{"Exception":"Error","Message":"ini_set(): Session ini settings cannot be changed after headers have already been sent at /var/www/html/lib/base.php#420","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"ini_set(): Session ini settings cannot be changed after headers have already been sent","/var/www/html/lib/base.php",420]},{"file":"/var/www/html/lib/base.php","line":420,"function":"ini_set","args":["session.cookie_httponly","true"]},{"file":"/var/www/html/lib/base.php","line":659,"function":"initSession","class":"OC","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1104,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/index.php","line":34,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"CUE9zzAXYVaGLQLSJgoq","level":3,"time":"2022-08-17T09:11:40+00:00","remoteAddr":"192.168.1.20","user":"--","app":"PHP","method":"GET","url":"/apps/contacts/","message":"ini_set(): Session ini settings cannot be changed after headers have already been sent at /var/www/html/lib/base.php#424","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:103.0) Gecko/20100101 Firefox/103.0","version":"24.0.3.2","exception":{"Exception":"Error","Message":"ini_set(): Session ini settings cannot be changed after headers have already been sent at /var/www/html/lib/base.php#424","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"ini_set(): Session ini settings cannot be changed after headers have already been sent","/var/www/html/lib/base.php",424]},{"file":"/var/www/html/lib/base.php","line":424,"function":"ini_set","args":["session.cookie_path","/"]},{"file":"/var/www/html/lib/base.php","line":659,"function":"initSession","class":"OC","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1104,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/index.php","line":34,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"k6QnFFLyG3L8D78TDFXl","level":3,"time":"2022-08-17T09:27:06+00:00","remoteAddr":"192.168.1.20","user":"--","app":"PHP","method":"GET","url":"/index.php/csrftoken","message":"ini_set(): Session ini settings cannot be changed after headers have already been sent at /var/www/html/lib/base.php#420","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15","version":"24.0.3.2","exception":{"Exception":"Error","Message":"ini_set(): Session ini settings cannot be changed after headers have already been sent at /var/www/html/lib/base.php#420","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"ini_set(): Session ini settings cannot be changed after headers have already been sent","/var/www/html/lib/base.php",420]},{"file":"/var/www/html/lib/base.php","line":420,"function":"ini_set","args":["session.cookie_httponly","true"]},{"file":"/var/www/html/lib/base.php","line":659,"function":"initSession","class":"OC","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1104,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/index.php","line":34,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"k6QnFFLyG3L8D78TDFXl","level":3,"time":"2022-08-17T09:27:06+00:00","remoteAddr":"192.168.1.20","user":"--","app":"PHP","method":"GET","url":"/index.php/csrftoken","message":"ini_set(): Session ini settings cannot be changed after headers have already been sent at /var/www/html/lib/base.php#424","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15","version":"24.0.3.2","exception":{"Exception":"Error","Message":"ini_set(): Session ini settings cannot be changed after headers have already been sent at /var/www/html/lib/base.php#424","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"ini_set(): Session ini settings cannot be changed after headers have already been sent","/var/www/html/lib/base.php",424]},{"file":"/var/www/html/lib/base.php","line":424,"function":"ini_set","args":["session.cookie_path","/"]},{"file":"/var/www/html/lib/base.php","line":659,"function":"initSession","class":"OC","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1104,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/index.php","line":34,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"Qk4cxJn1M8iaCPXQP7cL","level":3,"time":"2022-08-17T09:39:32+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Cannot modify header information - headers already sent by (output started at /var/www/html/custom_apps/calendar/lib/AppInfo/Application.php:1) at /var/www/html/lib/private/legacy/OC_Response.php#93","userAgent":"--","version":"24.0.3.2","exception":{"Exception":"Error","Message":"Cannot modify header information - headers already sent by (output started at /var/www/html/custom_apps/calendar/lib/AppInfo/Application.php:1) at /var/www/html/lib/private/legacy/OC_Response.php#93","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"Cannot modify header information - headers already sent by (output started at /var/www/html/custom_apps/calendar/lib/AppInfo/Application.php:1)","/var/www/html/lib/private/legacy/OC_Response.php",93]},{"file":"/var/www/html/lib/private/legacy/OC_Response.php","line":93,"function":"header","args":["Content-Security-Policy:default-src 'self'; script-src 'self' 'nonce-WVg5U095c3gzL3hEZW9pdVlFaGI1a2NpaG5ZdkdqbHdJR015ZTZpME1qVT06RVJvcmRHcFVycEFORk9Ya01pSXN2ekJMdzBacmNYNDVHQVJSSCttRWFGdz0='; style-src 'self' 'unsafe-inline'; frame-src *; img-src * data: blob:; font-src 'self' data:; media-src *; connect-src *; object-src 'none'; base-uri 'self'; "]},{"file":"/var/www/html/lib/base.php","line":665,"function":"addSecurityHeaders","class":"OC_Response","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1104,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/console.php","line":48,"args":["/var/www/html/lib/base.php"],"function":"require_once"},{"file":"/var/www/html/occ","line":11,"args":["/var/www/html/console.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"Qk4cxJn1M8iaCPXQP7cL","level":3,"time":"2022-08-17T09:39:32+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Cannot modify header information - headers already sent by (output started at /var/www/html/custom_apps/calendar/lib/AppInfo/Application.php:1) at /var/www/html/lib/private/legacy/OC_Response.php#98","userAgent":"--","version":"24.0.3.2","exception":{"Exception":"Error","Message":"Cannot modify header information - headers already sent by (output started at /var/www/html/custom_apps/calendar/lib/AppInfo/Application.php:1) at /var/www/html/lib/private/legacy/OC_Response.php#98","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"Cannot modify header information - headers already sent by (output started at /var/www/html/custom_apps/calendar/lib/AppInfo/Application.php:1)","/var/www/html/lib/private/legacy/OC_Response.php",98]},{"file":"/var/www/html/lib/private/legacy/OC_Response.php","line":98,"function":"header","args":["Referrer-Policy: no-referrer"]},{"file":"/var/www/html/lib/base.php","line":665,"function":"addSecurityHeaders","class":"OC_Response","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1104,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/console.php","line":48,"args":["/var/www/html/lib/base.php"],"function":"require_once"},{"file":"/var/www/html/occ","line":11,"args":["/var/www/html/console.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"Qk4cxJn1M8iaCPXQP7cL","level":3,"time":"2022-08-17T09:39:32+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Cannot modify header information - headers already sent by (output started at /var/www/html/custom_apps/calendar/lib/AppInfo/Application.php:1) at /var/www/html/lib/base.php#499","userAgent":"--","version":"24.0.3.2","exception":{"Exception":"Error","Message":"Cannot modify header information - headers already sent by (output started at /var/www/html/custom_apps/calendar/lib/AppInfo/Application.php:1) at /var/www/html/lib/base.php#499","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"Cannot modify header information - headers already sent by (output started at /var/www/html/custom_apps/calendar/lib/AppInfo/Application.php:1)","/var/www/html/lib/base.php",499]},{"file":"/var/www/html/lib/base.php","line":499,"function":"header","args":["Set-Cookie: nc_sameSiteCookielax=true; path=/; httponly;expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax",false]},{"file":"/var/www/html/lib/base.php","line":557,"function":"sendSameSiteCookies","class":"OC","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":667,"function":"performSameSiteCookieProtection","class":"OC","type":"::","args":[{"__class__":"OC\\AllConfig"}]},{"file":"/var/www/html/lib/base.php","line":1104,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/console.php","line":48,"args":["/var/www/html/lib/base.php"],"function":"require_once"},{"file":"/var/www/html/occ","line":11,"args":["/var/www/html/console.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"Qk4cxJn1M8iaCPXQP7cL","level":3,"time":"2022-08-17T09:39:32+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Cannot modify header information - headers already sent by (output started at /var/www/html/custom_apps/calendar/lib/AppInfo/Application.php:1) at /var/www/html/lib/base.php#499","userAgent":"--","version":"24.0.3.2","exception":{"Exception":"Error","Message":"Cannot modify header information - headers already sent by (output started at /var/www/html/custom_apps/calendar/lib/AppInfo/Application.php:1) at /var/www/html/lib/base.php#499","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"Cannot modify header information - headers already sent by (output started at /var/www/html/custom_apps/calendar/lib/AppInfo/Application.php:1)","/var/www/html/lib/base.php",499]},{"file":"/var/www/html/lib/base.php","line":499,"function":"header","args":["Set-Cookie: nc_sameSiteCookiestrict=true; path=/; httponly;expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=strict",false]},{"file":"/var/www/html/lib/base.php","line":557,"function":"sendSameSiteCookies","class":"OC","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":667,"function":"performSameSiteCookieProtection","class":"OC","type":"::","args":[{"__class__":"OC\\AllConfig"}]},{"file":"/var/www/html/lib/base.php","line":1104,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/console.php","line":48,"args":["/var/www/html/lib/base.php"],"function":"require_once"},{"file":"/var/www/html/occ","line":11,"args":["/var/www/html/console.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"DAeMYrGIYXfKE6pOnpEp","level":3,"time":"2022-08-17T09:42:06+00:00","remoteAddr":"192.168.1.20","user":"--","app":"PHP","method":"GET","url":"/index.php/csrftoken","message":"ini_set(): Session ini settings cannot be changed after headers have already been sent at /var/www/html/lib/base.php#420","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15","version":"24.0.3.2","exception":{"Exception":"Error","Message":"ini_set(): Session ini settings cannot be changed after headers have already been sent at /var/www/html/lib/base.php#420","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"ini_set(): Session ini settings cannot be changed after headers have already been sent","/var/www/html/lib/base.php",420]},{"file":"/var/www/html/lib/base.php","line":420,"function":"ini_set","args":["session.cookie_httponly","true"]},{"file":"/var/www/html/lib/base.php","line":659,"function":"initSession","class":"OC","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1104,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/index.php","line":34,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"DAeMYrGIYXfKE6pOnpEp","level":3,"time":"2022-08-17T09:42:06+00:00","remoteAddr":"192.168.1.20","user":"--","app":"PHP","method":"GET","url":"/index.php/csrftoken","message":"ini_set(): Session ini settings cannot be changed after headers have already been sent at /var/www/html/lib/base.php#424","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15","version":"24.0.3.2","exception":{"Exception":"Error","Message":"ini_set(): Session ini settings cannot be changed after headers have already been sent at /var/www/html/lib/base.php#424","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"ini_set(): Session ini settings cannot be changed after headers have already been sent","/var/www/html/lib/base.php",424]},{"file":"/var/www/html/lib/base.php","line":424,"function":"ini_set","args":["session.cookie_path","/"]},{"file":"/var/www/html/lib/base.php","line":659,"function":"initSession","class":"OC","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1104,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/index.php","line":34,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"L8JasYYjhpkApNmtfmhZ","level":3,"time":"2022-08-17T09:44:37+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Cannot modify header information - headers already sent by (output started at /var/www/html/custom_apps/calendar/lib/AppInfo/Application.php:1) at /var/www/html/lib/private/legacy/OC_Response.php#93","userAgent":"--","version":"24.0.3.2","exception":{"Exception":"Error","Message":"Cannot modify header information - headers already sent by (output started at /var/www/html/custom_apps/calendar/lib/AppInfo/Application.php:1) at /var/www/html/lib/private/legacy/OC_Response.php#93","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"Cannot modify header information - headers already sent by (output started at /var/www/html/custom_apps/calendar/lib/AppInfo/Application.php:1)","/var/www/html/lib/private/legacy/OC_Response.php",93]},{"file":"/var/www/html/lib/private/legacy/OC_Response.php","line":93,"function":"header","args":["Content-Security-Policy:default-src 'self'; script-src 'self' 'nonce-YVhkZ05XQkJ1TEovd05hWGtTYVpjb0plWW5UT1dCcml4TzZOUVJycWgvZz06TENjRlR5TWs0ZDhVOUtiangwRFlXZlUxRlI2M2JsR0F2WW5kQTFEVDRhdz0='; style-src 'self' 'unsafe-inline'; frame-src *; img-src * data: blob:; font-src 'self' data:; media-src *; connect-src *; object-src 'none'; base-uri 'self'; "]},{"file":"/var/www/html/lib/base.php","line":665,"function":"addSecurityHeaders","class":"OC_Response","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1104,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/console.php","line":48,"args":["/var/www/html/lib/base.php"],"function":"require_once"},{"file":"/var/www/html/occ","line":11,"args":["/var/www/html/console.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"L8JasYYjhpkApNmtfmhZ","level":3,"time":"2022-08-17T09:44:37+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Cannot modify header information - headers already sent by (output started at /var/www/html/custom_apps/calendar/lib/AppInfo/Application.php:1) at /var/www/html/lib/private/legacy/OC_Response.php#103","userAgent":"--","version":"24.0.3.2","exception":{"Exception":"Error","Message":"Cannot modify header information - headers already sent by (output started at /var/www/html/custom_apps/calendar/lib/AppInfo/Application.php:1) at /var/www/html/lib/private/legacy/OC_Response.php#103","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"Cannot modify header information - headers already sent by (output started at /var/www/html/custom_apps/calendar/lib/AppInfo/Application.php:1)","/var/www/html/lib/private/legacy/OC_Response.php",103]},{"file":"/var/www/html/lib/private/legacy/OC_Response.php","line":103,"function":"header","args":["X-XSS-Protection: 1; mode=block"]},{"file":"/var/www/html/lib/base.php","line":665,"function":"addSecurityHeaders","class":"OC_Response","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1104,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/console.php","line":48,"args":["/var/www/html/lib/base.php"],"function":"require_once"},{"file":"/var/www/html/occ","line":11,"args":["/var/www/html/console.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"L8JasYYjhpkApNmtfmhZ","level":3,"time":"2022-08-17T09:44:37+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Cannot modify header information - headers already sent by (output started at /var/www/html/custom_apps/calendar/lib/AppInfo/Application.php:1) at /var/www/html/lib/base.php#499","userAgent":"--","version":"24.0.3.2","exception":{"Exception":"Error","Message":"Cannot modify header information - headers already sent by (output started at /var/www/html/custom_apps/calendar/lib/AppInfo/Application.php:1) at /var/www/html/lib/base.php#499","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"Cannot modify header information - headers already sent by (output started at /var/www/html/custom_apps/calendar/lib/AppInfo/Application.php:1)","/var/www/html/lib/base.php",499]},{"file":"/var/www/html/lib/base.php","line":499,"function":"header","args":["Set-Cookie: nc_sameSiteCookielax=true; path=/; httponly;expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax",false]},{"file":"/var/www/html/lib/base.php","line":557,"function":"sendSameSiteCookies","class":"OC","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":667,"function":"performSameSiteCookieProtection","class":"OC","type":"::","args":[{"__class__":"OC\\AllConfig"}]},{"file":"/var/www/html/lib/base.php","line":1104,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/console.php","line":48,"args":["/var/www/html/lib/base.php"],"function":"require_once"},{"file":"/var/www/html/occ","line":11,"args":["/var/www/html/console.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"puqqRKqqRJfBbFQEImXG","level":3,"time":"2022-08-17T09:57:10+00:00","remoteAddr":"192.168.1.20","user":"--","app":"PHP","method":"GET","url":"/index.php/csrftoken","message":"ini_set(): Session ini settings cannot be changed after headers have already been sent at /var/www/html/lib/base.php#420","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15","version":"24.0.3.2","exception":{"Exception":"Error","Message":"ini_set(): Session ini settings cannot be changed after headers have already been sent at /var/www/html/lib/base.php#420","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"ini_set(): Session ini settings cannot be changed after headers have already been sent","/var/www/html/lib/base.php",420]},{"file":"/var/www/html/lib/base.php","line":420,"function":"ini_set","args":["session.cookie_httponly","true"]},{"file":"/var/www/html/lib/base.php","line":659,"function":"initSession","class":"OC","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1104,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/index.php","line":34,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"puqqRKqqRJfBbFQEImXG","level":3,"time":"2022-08-17T09:57:10+00:00","remoteAddr":"192.168.1.20","user":"--","app":"PHP","method":"GET","url":"/index.php/csrftoken","message":"ini_set(): Session ini settings cannot be changed after headers have already been sent at /var/www/html/lib/base.php#424","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15","version":"24.0.3.2","exception":{"Exception":"Error","Message":"ini_set(): Session ini settings cannot be changed after headers have already been sent at /var/www/html/lib/base.php#424","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"ini_set(): Session ini settings cannot be changed after headers have already been sent","/var/www/html/lib/base.php",424]},{"file":"/var/www/html/lib/base.php","line":424,"function":"ini_set","args":["session.cookie_path","/"]},{"file":"/var/www/html/lib/base.php","line":659,"function":"initSession","class":"OC","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1104,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/index.php","line":34,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"SPEkwWWlZezEUOFRjs8T","level":3,"time":"2022-08-17T09:59:31+00:00","remoteAddr":"185.196.220.70","user":"--","app":"PHP","method":"GET","url":"/","message":"ini_set(): Session ini settings cannot be changed after headers have already been sent at /var/www/html/lib/base.php#420","userAgent":"Linux Gnu (cow)","version":"24.0.3.2","exception":{"Exception":"Error","Message":"ini_set(): Session ini settings cannot be changed after headers have already been sent at /var/www/html/lib/base.php#420","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"ini_set(): Session ini settings cannot be changed after headers have already been sent","/var/www/html/lib/base.php",420]},{"file":"/var/www/html/lib/base.php","line":420,"function":"ini_set","args":["session.cookie_httponly","true"]},{"file":"/var/www/html/lib/base.php","line":659,"function":"initSession","class":"OC","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1104,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/index.php","line":34,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"SPEkwWWlZezEUOFRjs8T","level":3,"time":"2022-08-17T09:59:31+00:00","remoteAddr":"185.196.220.70","user":"--","app":"PHP","method":"GET","url":"/","message":"ini_set(): Session ini settings cannot be changed after headers have already been sent at /var/www/html/lib/base.php#424","userAgent":"Linux Gnu (cow)","version":"24.0.3.2","exception":{"Exception":"Error","Message":"ini_set(): Session ini settings cannot be changed after headers have already been sent at /var/www/html/lib/base.php#424","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"ini_set(): Session ini settings cannot be changed after headers have already been sent","/var/www/html/lib/base.php",424]},{"file":"/var/www/html/lib/base.php","line":424,"function":"ini_set","args":["session.cookie_path","/"]},{"file":"/var/www/html/lib/base.php","line":659,"function":"initSession","class":"OC","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1104,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/index.php","line":34,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"rMa9aBRqXRTlPUFj260K","level":3,"time":"2022-08-17T10:03:04+00:00","remoteAddr":"183.136.225.35","user":"--","app":"PHP","method":"GET","url":"/","message":"ini_set(): Session ini settings cannot be changed after headers have already been sent at /var/www/html/lib/base.php#420","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:47.0) Gecko/20100101 Firefox/47.0","version":"24.0.3.2","exception":{"Exception":"Error","Message":"ini_set(): Session ini settings cannot be changed after headers have already been sent at /var/www/html/lib/base.php#420","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"ini_set(): Session ini settings cannot be changed after headers have already been sent","/var/www/html/lib/base.php",420]},{"file":"/var/www/html/lib/base.php","line":420,"function":"ini_set","args":["session.cookie_httponly","true"]},{"file":"/var/www/html/lib/base.php","line":659,"function":"initSession","class":"OC","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1104,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/index.php","line":34,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"F7OVUqwujKE9sIRYy8yp","level":3,"time":"2022-08-17T10:05:20+00:00","remoteAddr":"192.241.213.85","user":"--","app":"PHP","method":"GET","url":"/","message":"ini_set(): Session ini settings cannot be changed after headers have already been sent at /var/www/html/lib/base.php#420","userAgent":"Mozilla/5.0 zgrab/0.x","version":"24.0.3.2","exception":{"Exception":"Error","Message":"ini_set(): Session ini settings cannot be changed after headers have already been sent at /var/www/html/lib/base.php#420","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"ini_set(): Session ini settings cannot be changed after headers have already been sent","/var/www/html/lib/base.php",420]},{"file":"/var/www/html/lib/base.php","line":420,"function":"ini_set","args":["session.cookie_httponly","true"]},{"file":"/var/www/html/lib/base.php","line":659,"function":"initSession","class":"OC","type":"::","args":[]},{"file":"/var/www/html/lib/base.php","line":1104,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/index.php","line":34,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
Please note that I trimmed the nextcloud.log with what I presumed to be duplicates. The full nextcloud.log Errors hare found on here on pastbin.
The password for the paste is: djWw1Y8qQY
Paste expires after 1 months
More details.
Docker-Compose file:
version: "3.7"
services:
postgresql_db:
image: postgres
container_name: postgres_db
restart: unless-stopped
ports:
- 192.168.1.7:5432:5432/tcp
volumes:
- postgresql_db:/var/lib/postgresql/data/pgdata:rw
- /mnt/iscsi/postgresql-db-data:/var/lib/postgresql/data:rw
environment:
- TZ=Europe/Berlin
- POSTGRES_DB_FILE=/run/secrets/postgres_db
- POSTGRES_USER_FILE=/run/secrets/postgres_user_nextcloud
- POSTGRES_PASSWORD_FILE=/run/secrets/postgres_password
- PGDATA=/var/lib/postgresql/data/pgdata
labels:
- "diun.enable=true"
- "traefik.enable=false"
secrets:
- postgres_db
- postgres_password
- postgres_user_nextcloud
# =================================================================
nextcloud:
image: nextcloud
container_name: nextcloud
restart: unless-stopped
ports:
- 192.168.1.7:80:80
- 192.168.1.7:443:443
volumes:
- nc_settings:/var/www/html:rw
- /mnt/iscsi/nextcloud/apps:/var/www/html/custom_apps:rw
- nc_config:/var/www/html/config:rw
- /mnt/iscsi/nextcloud/data:/var/www/html/data:rw
environment:
- TZ=Europe/Berlin
- POSTGRES_HOST=postgresql_db
- POSTGRES_DB_FILE=/run/secrets/postgres_db
- POSTGRES_USER_FILE=/run/secrets/postgres_user_nextcloud
- POSTGRES_PASSWORD_FILE=/run/secrets/postgres_password
- NEXTCLOUD_ADMIN_PASSWORD_FILE=/run/secrets/nextcloud_admin_password
- NEXTCLOUD_ADMIN_USER_FILE=/run/secrets/nextcloud_admin_user
- TRUSTED_PROXIES=192.168.1.6
- NEXTCLOUD_TRUSTED_DOMAINS='cloud.thestein.de' '192.168.1.7' '192.168.1.*'
depends_on:
- postgresql_db
labels:
- "diun.enable=true"
- "traefik.enable=true"
- "traefik.http.routers.nextcloud_router.entrypoints=websecure"
- "traefik.http.routers.nextcloud_router.rule=Host(`cloud.thestein.de`)"
- "traefik.http.routers.nextcloud_router.service=nextcloud"
- "traefik.http.routers.nextcloud_router.tls=true"
- "traefik.http.services.nextcloud.loadbalancer.server.port=443"
secrets:
- nextcloud_admin_password
- nextcloud_admin_user
- postgres_db
- postgres_password
- postgres_user_nextcloud
# some more containers
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
volumes:
postgresql_db: {}
nc_settings: {}
nc_config: {}
secrets:
nextcloud_admin_password:
file: ./nextcloud_admin_password.txt # put admin password in this file
nextcloud_admin_user:
file: ./nextcloud_admin_user.txt # put admin username in this file
postgres_db:
file: ./postgres_db.txt # put postgresql db name in this file
postgres_password:
file: ./postgres_password.txt # put postgresql password in this file
postgres_user_nextcloud:
file: ./postgres_user_nextcloud.txt # put postgresql username in this file
df hostsystem
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 61101516 12713932 45872276 22% /
devtmpfs 1777052 0 1777052 0% /dev
tmpfs 1942780 0 1942780 0% /dev/shm
tmpfs 777112 68288 708824 9% /run
tmpfs 5120 4 5116 1% /run/lock
tmpfs 4096 0 4096 0% /sys/fs/cgroup
/dev/mmcblk0p1 258095 31927 226168 13% /boot
/dev/zram0 95040 92996 0 100% /var/log
192.168.1.2:/shares/server_backup_share 8706712832 4255799360 4450897088 49% /mnt/server_backup_share
/dev/sdb 479493968 261140 454802384 1% /mnt/iscsi
tmpfs 388556 0 388556 0% /run/user/1000
ISCSI Config I removed all the comments, because, the body of this Topic is over 64k Characters
# NIC/HBA and driver settings
# Startup settings
node.startup = automatic
node.leading_login = No
# Timeouts
node.session.timeo.replacement_timeout = 120
node.conn[0].timeo.login_timeout = 15
node.conn[0].timeo.logout_timeout = 15
node.conn[0].timeo.noop_out_interval = 5
node.conn[0].timeo.noop_out_timeout = 5
node.session.err_timeo.abort_timeout = 15
node.session.err_timeo.lu_reset_timeout = 30
node.session.err_timeo.tgt_reset_timeout = 30
# Retry
node.session.initial_login_retry_max = 8
# session and device queue depth
node.session.cmds_max = 128
node.session.queue_depth = 32
# MISC SYSTEM PERFORMANCE SETTINGS
node.session.xmit_thread_priority = -20
# iSCSI settings
node.session.iscsi.InitialR2T = No
node.session.iscsi.ImmediateData = Yes
node.session.iscsi.FirstBurstLength = 262144
node.session.iscsi.MaxBurstLength = 16776192
node.conn[0].iscsi.MaxRecvDataSegmentLength = 262144
node.conn[0].iscsi.MaxXmitDataSegmentLength = 0
discovery.sendtargets.iscsi.MaxRecvDataSegmentLength = 32768
node.conn[0].iscsi.HeaderDigest = None
node.session.reopen_max = 0
# Workarounds
node.session.iscsi.FastAbort = Yes
node.session.scan = auto
List of active nextcloud apps
Enabled:
- apporder: 0.15.0
- bookmarks: 11.0.1
- breezedark: 24.0.2
- calendar: 3.4.2
- circles: 24.0.0
- cloud_federation_api: 1.7.0
- comments: 1.14.0
- contacts: 4.2.0
- contactsinteraction: 1.5.0
- cookbook: 0.9.13
- dav: 1.22.0
- end_to_end_encryption: 1.10.0
- federatedfilesharing: 1.14.0
- federation: 1.14.0
- files: 1.19.0
- files_external: 1.16.1
- files_rightclick: 1.3.0
- files_trashbin: 1.14.0
- fileslibreofficeedit: 1.0.4
- firstrunwizard: 2.13.0
- ldap_contacts_backend: 1.4.0
- lookup_server_connector: 1.12.0
- notes: 4.5.0
- notifications: 2.12.0
- oauth2: 1.12.0
- password_policy: 1.14.0
- photos: 1.6.0
- previewgenerator: 5.0.0
- privacy: 1.8.0
- provisioning_api: 1.14.0
- settings: 1.6.0
- side_menu: 2.4.3
- systemtags: 1.14.0
- tasks: 0.14.4
- theming: 1.15.0
- twofactor_backupcodes: 1.13.0
- viewer: 1.8.0
- workflowengine: 2.6.0
Disabled:
- accessibility: 1.10.0
- activity: 2.16.0
- admin_audit: 1.14.0
- co2clock: 0.1.3
- dashboard: 7.4.0
- encryption
- files_pdfviewer: 2.5.0
- files_sharing: 1.16.2
- files_versions: 1.17.0
- files_videoplayer: 1.13.0
- logreader: 2.9.0
- nextcloud_announcements: 1.13.0
- officeonline: 1.1.3
- recommendations: 1.3.0
- serverinfo: 1.14.0
- sharebymail: 1.14.0
- support: 1.7.0
- survey_client: 1.12.0
- text: 3.5.1
- updatenotification: 1.14.0
- user_ldap: 1.14.1
- user_status: 1.4.0
- weather_status: 1.4.0
- workflow_ocr: 1.24.4
- workflow_script: 1.9.0
Background jobs are executed by cron
Postgres-DB Logs
PostgreSQL Database directory appears to contain a database; Skipping initialization
2022-08-17 10:49:09.720 CEST [1] LOG: starting PostgreSQL 14.5 (Debian 14.5-1.pgdg110+1) on aarch64-unknown-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
2022-08-17 10:49:09.722 CEST [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
2022-08-17 10:49:09.722 CEST [1] LOG: listening on IPv6 address "::", port 5432
2022-08-17 10:49:09.732 CEST [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2022-08-17 10:49:09.751 CEST [29] LOG: database system was shut down at 2022-08-16 15:19:54 CEST
2022-08-17 10:49:09.820 CEST [1] LOG: database system is ready to accept connections
Linux premissions on the data directoy
drwxrwx--- 9 www-data root 4096 Aug 16 14:32 .
drwxr-xr-x 4 root root 4096 Aug 16 10:24 ..
drwxr-xr-x 6 www-data www-data 4096 Aug 16 14:41 admin
drwxr-xr-x 9 www-data www-data 4096 Aug 16 13:36 appdata_oc80i1i8obfr
-rwxr-x--x 1 www-data www-data 0 Aug 16 13:22 audit.log
drwxr-xr-x 2 www-data www-data 4096 Aug 16 13:18 files_external
-rwxr-x--x 1 www-data www-data 542 Aug 16 13:17 .htaccess
-rwxr-x--x 1 www-data www-data 0 Aug 16 13:17 index.html
drwxr-xr-x 2 www-data www-data 4096 Aug 16 14:31 User1
drwxr-xr-x 2 www-data www-data 4096 Aug 16 14:31 User2
-rw-r----- 1 www-data www-data 352487 Aug 17 12:43 nextcloud.log
-rwxr-x--x 1 www-data www-data 0 Aug 16 13:17 .ocdata
drwxr-xr-x 6 www-data www-data 4096 Aug 16 14:43 User3
drwxr-xr-x 2 www-data www-data 4096 Aug 16 14:32 User4
and the apps directory
total 68
drwxr-xr-x 9 www-data www-data 4096 Aug 16 13:32 apporder
drwxr-xr-x 11 www-data www-data 4096 Aug 16 13:37 bookmarks
drwxr-xr-x 9 www-data www-data 4096 Aug 16 13:32 breezedark
drwxr-xr-x 10 www-data www-data 4096 Aug 16 14:20 calendar
drwxr-xr-x 5 www-data www-data 4096 Aug 16 13:32 co2clock
drwxr-xr-x 10 www-data www-data 4096 Aug 16 13:37 contacts
drwxr-xr-x 9 www-data www-data 4096 Aug 16 13:38 cookbook
drwxr-xr-x 6 www-data www-data 4096 Aug 16 13:34 end_to_end_encryption
drwxr-xr-x 7 www-data www-data 4096 Aug 16 13:33 fileslibreofficeedit
drwxr-xr-x 6 www-data www-data 4096 Aug 16 15:04 ldap_contacts_backend
drwxr-xr-x 10 www-data www-data 4096 Aug 16 13:38 notes
drwxr-xr-x 10 www-data www-data 4096 Aug 16 13:36 officeonline
drwxr-xr-x 5 www-data www-data 4096 Aug 16 13:36 previewgenerator
drwxr-xr-x 12 www-data www-data 4096 Aug 16 13:32 side_menu
drwxr-xr-x 9 www-data www-data 4096 Aug 16 13:37 tasks
drwxr-xr-x 10 www-data www-data 4096 Aug 16 13:38 workflow_ocr
drwxr-xr-x 6 www-data www-data 4096 Aug 16 13:38 workflow_script
Furthermore
While I had issues with bind-mounting the database and nextcloud on the iscsi mount before, this got resloved by changing the filesystem from xfs
to ext4
I highly doubt that the is issue has something to do with the iscsi mount, but it shoudn’t be ruled out.
As shown in the compose file, I seperated the /var/www/html
into 2 named volumes and 2 bind mounts.
The logs show that the error occurs in /var/www/html/lib/base.php
which is located inside one of the named volumes.
- nc_settings:/var/www/html:rw
- /mnt/iscsi/nextcloud/apps:/var/www/html/custom_apps:rw
- nc_config:/var/www/html/config:rw
- /mnt/iscsi/nextcloud/data:/var/www/html/data:rw
While writing this I found an issue in my iscsi.conf file but it didn’t fix the isse at hand, I just made the containers autostart instead of manual.
Some speculation
Because I have an issue that I can’t log-in on a fresh install using the Firefox Web-browser and the nextcloud contacts app does not working in safari, I will speculate, that the issue has something to do with the apache2 server, hence after consulting if infact this could be the case. I would switch to the fpm package.
Edit/Update:
Looking into the code itself based on the error message.
Following function is related to the error.
//line 417
public static function setRequiredIniValues() {
@ini_set('default_charset', 'UTF-8');
@ini_set('gd.jpeg_ignore_warning', '1');
}
// User and Groups
//line 659
if (!$systemConfig->getValue("installed", false)) {
self::$server->getSession()->set('user_id', '');
}
//line 425
private static function sendSameSiteCookies() {
$cookieParams = session_get_cookie_params();
$secureCookie = ($cookieParams['secure'] === true) ? 'secure; ' : '';
$policies = [
'lax',
'strict',
];
//line 996
// Someone is logged in
if (\OC::$server->getUserSession()->isLoggedIn()) {
OC_App::loadApps();
OC_User::setupBackends();
OC_Util::setupFS();
header('Location: ' . \OC::$server->getURLGenerator()->linkToDefaultPageUrl());
} else {
// Not handled and not logged in
header('Location: ' . \OC::$server->getURLGenerator()->linkToRouteAbsolute('core.login.showLoginForm'));
}
Sadly I have no understanding of php code because I never worked with it.