empty page after php issue
Sorry to hear you’re facing problems
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
Nextcloud version (eg, 20.0.5): 28.0.1.1
Operating system and version (eg, Ubuntu 20.04): Debian 12 bookworm
Apache or nginx version (eg, Apache 2.4.25): nginx 1.22.1
PHP version (eg, 7.4): 8.2
The issue you are facing:
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- update php
- remove php8.3 packages
- remove some php meta packages
The output of your Nextcloud log in Admin > Logging:
...
{"reqId":"9ssOeFHb1i90XRLgiznL","level":3,"time":"2024-01-16T07:09:44+00:00","remoteAddr":"192.168.41.2","user":"--","app":"PHP","method":"GET","url":"/nextcloud/login>
{"reqId":"YPnsoxezvg7HSd8KXAdD","level":3,"time":"2024-01-16T07:09:45+00:00","remoteAddr":"192.168.41.2","user":"--","app":"index","method":"GET","url":"/nextcloud/log>
{"reqId":"YPnsoxezvg7HSd8KXAdD","level":3,"time":"2024-01-16T07:09:45+00:00","remoteAddr":"192.168.41.2","user":"--","app":"PHP","method":"GET","url":"/nextcloud/login>
{"reqId":"xxrNZjn1Hvua8GbgqGhR","level":3,"time":"2024-01-16T15:15:30+00:00","remoteAddr":"192.168.41.2","user":"--","app":"remote","method":"PROPFIND","url":"/nextclo>
{"reqId":"xxrNZjn1Hvua8GbgqGhR","level":3,"time":"2024-01-16T15:15:30+00:00","remoteAddr":"192.168.41.2","user":"--","app":"PHP","method":"PROPFIND","url":"/nextcloud/>
{"reqId":"npqJOYRwmYiwn8Zz6K79","level":3,"time":"2024-01-16T15:15:30+00:00","remoteAddr":"192.168.41.2","user":"--","app":"remote","method":"REPORT","url":"/nextcloud>
{"reqId":"npqJOYRwmYiwn8Zz6K79","level":3,"time":"2024-01-16T15:15:30+00:00","remoteAddr":"192.168.41.2","user":"--","app":"PHP","method":"REPORT","url":"/nextcloud/re>
{"reqId":"4Q6CoMzqW1c1lnVrgbqu","level":3,"time":"2024-01-16T15:15:32+00:00","remoteAddr":"192.168.41.2","user":"--","app":"remote","method":"REPORT","url":"/nextcloud>
{"reqId":"4Q6CoMzqW1c1lnVrgbqu","level":3,"time":"2024-01-16T15:15:32+00:00","remoteAddr":"192.168.41.2","user":"--","app":"PHP","method":"REPORT","url":"/nextcloud/re>
{"reqId":"E7rbUdVTxK6yaCjyI1P2","level":3,"time":"2024-01-16T15:15:32+00:00","remoteAddr":"192.168.41.2","user":"--","app":"remote","method":"REPORT","url":"/nextcloud>
{"reqId":"E7rbUdVTxK6yaCjyI1P2","level":3,"time":"2024-01-16T15:15:32+00:00","remoteAddr":"192.168.41.2","user":"--","app":"PHP","method":"REPORT","url":"/nextcloud/re>
{"reqId":"S1BgBuKyKQMqCtYeQfCw","level":3,"time":"2024-01-16T15:15:32+00:00","remoteAddr":"192.168.41.2","user":"--","app":"remote","method":"REPORT","url":"/nextcloud>
{"reqId":"S1BgBuKyKQMqCtYeQfCw","level":3,"time":"2024-01-16T15:15:32+00:00","remoteAddr":"192.168.41.2","user":"--","app":"PHP","method":"REPORT","url":"/nextcloud/re>
{"reqId":"gJnBhkUpyBZYHPvXtcZo","level":3,"time":"2024-01-16T15:16:15+00:00","remoteAddr":"192.168.41.2","user":"--","app":"remote","method":"PROPFIND","url":"/nextclo>
{"reqId":"gJnBhkUpyBZYHPvXtcZo","level":3,"time":"2024-01-16T15:16:15+00:00","remoteAddr":"192.168.41.2","user":"--","app":"PHP","method":"PROPFIND","url":"/nextcloud/>
{"reqId":"8TnxMRihyqUjwSJsoWlv","level":3,"time":"2024-01-16T15:16:15+00:00","remoteAddr":"192.168.41.2","user":"--","app":"remote","method":"REPORT","url":"/nextcloud>
{"reqId":"8TnxMRihyqUjwSJsoWlv","level":3,"time":"2024-01-16T15:16:15+00:00","remoteAddr":"192.168.41.2","user":"--","app":"PHP","method":"REPORT","url":"/nextcloud/re>
{"reqId":"wAjxeUB1CJztztq0C7Nx","level":3,"time":"2024-01-16T15:16:18+00:00","remoteAddr":"192.168.41.2","user":"--","app":"remote","method":"REPORT","url":"/nextcloud>
{"reqId":"wAjxeUB1CJztztq0C7Nx","level":3,"time":"2024-01-16T15:16:18+00:00","remoteAddr":"192.168.41.2","user":"--","app":"PHP","method":"REPORT","url":"/nextcloud/re>
{"reqId":"JItsOh69JqppSXsktMOm","level":3,"time":"2024-01-16T15:16:18+00:00","remoteAddr":"192.168.41.2","user":"--","app":"remote","method":"REPORT","url":"/nextcloud>
{"reqId":"JItsOh69JqppSXsktMOm","level":3,"time":"2024-01-16T15:16:18+00:00","remoteAddr":"192.168.41.2","user":"--","app":"PHP","method":"REPORT","url":"/nextcloud/re>
{"reqId":"m9yFzAn1nXxws9yD8rvw","level":3,"time":"2024-01-16T15:16:25+00:00","remoteAddr":"192.168.41.2","user":"--","app":"remote","method":"REPORT","url":"/nextcloud>
{"reqId":"m9yFzAn1nXxws9yD8rvw","level":3,"time":"2024-01-16T15:16:25+00:00","remoteAddr":"192.168.41.2","user":"--","app":"PHP","method":"REPORT","url":"/nextcloud/re>
{"reqId":"e12cJ0pQMbD42XMLBboI","level":3,"time":"2024-01-16T16:54:36+00:00","remoteAddr":"192.168.42.187","user":"--","app":"index","method":"GET","url":"/nextcloud/l>
{"reqId":"e12cJ0pQMbD42XMLBboI","level":3,"time":"2024-01-16T16:54:36+00:00","remoteAddr":"192.168.42.187","user":"--","app":"PHP","method":"GET","url":"/nextcloud/log>
{"reqId":"Unu2pQM4qkoyO8I6QJTR","level":3,"time":"2024-01-16T16:55:24+00:00","remoteAddr":"192.168.42.187","user":"--","app":"index","method":"GET","url":"/nextcloud/">
{"reqId":"Unu2pQM4qkoyO8I6QJTR","level":3,"time":"2024-01-16T16:55:24+00:00","remoteAddr":"192.168.42.187","user":"--","app":"PHP","method":"GET","url":"/nextcloud/",">
(END)
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => xxx',
'passwordsalt' => 'xxx',
'secret' => 'xxx',
'trusted_domains' =>
array (
0 => 'ardbeg',
1 => 'whiskykult.ddnss.de',
),
'datadirectory' => '/home/nextcloud',
'dbtype' => 'mysql',
'version' => '28.0.1.1',
'overwrite.cli.url' => 'http://ardbeg/nextcloud',
'dbname' => 'nextclouddb',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'nextclouduser',
'dbpassword' => 'password',
'installed' => true,
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'mail_from_address' => 'nextcloud',
'mail_domain' => 'xxx',
'mail_smtphost' => 'xxx',
'mail_smtpport' => '587',
'app_install_overwrite' =>
array (
0 => 'dicomviewer',
1 => 'dashboardcharts',
2 => 'admin_notifications',
3 => 'breezedark',
4 => 'richdocumentscode',
5 => 'apporder',
),
'maintenance' => false,
'theme' => '',
'loglevel' => 2,
'memcache.local' => '\\OC\\Memcache\\APCu',
'default_phone_region' => 'DE',
'enforce_theme' => 'breezedark',
'mail_smtpsecure' => 'tls',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpauth' => 1,
'mail_smtpname' => 'xxx',
'mail_smtppassword' => 'xxx',
'filelocking.enabled' => true,
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/var/run/redis/redis-server.sock',
'port' => 0,
'timeout' => 0.0,
),
);
The output of your Apache/nginx/system log in /var/log/____
:
192.168.x.x - - [16/Jan/2024:17:54:36 +0100] "GET /nextcloud/login HTTP/1.1" 500 5 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
192.168.x.x - - [16/Jan/2024:17:54:37 +0100] "GET /favicon.ico HTTP/1.1" 404 118 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
192.168.x.x - - [16/Jan/2024:17:55:24 +0100] "GET /nextcloud/ HTTP/1.1" 500 5 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
php packages
php-common
php8.2
php8.2-apcu
php8.2-bcmath
php8.2-bz2
php8.2-cli
php8.2-common
php8.2-curl
php8.2-fpm
php8.2-gd
php8.2-gmp
php8.2-igbinary
php8.2-imagick
php8.2-intl
php8.2-mbstring
php8.2-mysql
php8.2-opcache
php8.2-phpdbg
php8.2-readline
php8.2-redis
php8.2-sqlite3
php8.2-zip
Additional Info:
There were some packages upgraded to php8.3. After this the problem started.
I removed this packages and also some meta packages without version (php …)
Now I don’t get error messages, just an empty page. Completely white.