Nextcloud version (eg, 20.0.5): 23
Operating system and version (eg, Ubuntu 20.04): Debian 10
Apache or nginx version (eg, Apache 2.4.25): 2.4.38
PHP version (eg, 7.4): 7.3 and 7.4
The issue you are facing:
Hi ! To upgrade my nextcloud to version 24, I decided to update php version from 7.3 to 7.4.
I installed php7.4 and many modules as told in the documentation then do a2dismod php7.3 then a2enmod php7.4. I restart the services.
The only issue is whenever I try to access my server I get this message (in a white bg) :
Internal Server Error
The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.
I tried to go back in php 7.3 but I still have the error.
The main issue is I don’t have any logs showing up.
My config.php :
‘loglevel’ => 0,
‘log_type’ => ‘file’,
‘logfile’ => ‘/var/www/nextcloud/data/nextcloud.log’,
‘logdateformat’ => ‘F d, Y H:i:s’,
nothing in nextcloud.log,
nothing in syslog,
nothing in error.log (apache)
nothing in access.log
Even when configuring php to display logs, nothing. Idk what I’m doing wrong…
I tried reinstalling completly php. Same error.
Also, there is 2 module I can’t install, openssl and session, I get “E: Unable to locate package php7.4-XX”
And here is the list of modules installed :
php-common/buster,now 2:92+0~20220117.43+debian10~1.gbpe0d14e all [installed,automatic]
php7.4-cgi/buster,now 1:7.4.30-2+0~20220625.68+debian10~1.gbp5f2dab arm64 [installed]
php7.4-cli/buster,now 1:7.4.30-2+0~20220625.68+debian10~1.gbp5f2dab arm64 [installed]
php7.4-common/buster,now 1:7.4.30-2+0~20220625.68+debian10~1.gbp5f2dab arm64 [installed]
php7.4-curl/buster,now 1:7.4.30-2+0~20220625.68+debian10~1.gbp5f2dab arm64 [installed]
php7.4-fpm/buster,now 1:7.4.30-2+0~20220625.68+debian10~1.gbp5f2dab arm64 [installed]
php7.4-gd/buster,now 1:7.4.30-2+0~20220625.68+debian10~1.gbp5f2dab arm64 [installed]
php7.4-json/buster,now 1:7.4.30-2+0~20220625.68+debian10~1.gbp5f2dab arm64 [installed]
php7.4-mbstring/buster,now 1:7.4.30-2+0~20220625.68+debian10~1.gbp5f2dab arm64 [installed]
php7.4-mysql/buster,now 1:7.4.30-2+0~20220625.68+debian10~1.gbp5f2dab arm64 [installed]
php7.4-opcache/buster,now 1:7.4.30-2+0~20220625.68+debian10~1.gbp5f2dab arm64 [installed,automatic]
php7.4-readline/buster,now 1:7.4.30-2+0~20220625.68+debian10~1.gbp5f2dab arm64 [installed,automatic]
php7.4-smbclient/buster,now 1.0.6-6+0~20220117.22+debian10~1.gbp04c19d arm64 [installed]
php7.4-xml/buster,now 1:7.4.30-2+0~20220625.68+debian10~1.gbp5f2dab arm64 [installed]
php7.4-zip/buster,now 1:7.4.30-2+0~20220625.68+debian10~1.gbp5f2dab arm64 [installed]
php7.4/buster,now 1:7.4.30-3+0~20220627.69+debian10~1.gbpf2b381 all [installed]
Thanks for your help !
CraftMarine.