Which is in dutch but i think most of you recognize the message. It means i am running PHP 7.2.24 and they advise me to upgrade. I have looked and came across this site:
You won’t break your Nextcloud. You can easily install PHP 7.4 beside 7.2. If anything does not work, you can switch back to 7.2. I have 4 instances of Nextcloud running on 7.4 now for some months, no problem.
You should have a reference to php7.2 in your vhost configuration. That’s how it works with Apache, I don’t know nginx, but should be similar. Just change that.
Is cloud.DOMAIN.nl.conf an actual file or a symlink? It should be a symlink to sites-available. Anyway please post the content of that file. Remove/replace domain information.
Header add Strict-Transport-Security: "max-age=15768000;includeSubdomains"
SSLEngine on
SSLCompression off
SSLProtocol all -TLSv1 -TLSv1.1 -SSLv2 -SSLv3
SSLCipherSuite ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHEv-ECDSA-DES-CBC3-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:DES-CBC3-SHA:!DSS
SSLHonorCipherOrder on
<FilesMatch "\.php$">
SetHandler "proxy:unix:/run/php/php7.2-fpm.nextcloud.sock|fcgi://localhost"
</FilesMatch>
DocumentRoot /var/www/nextcloud
<Directory /var/www/nextcloud>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
Satisfy Any
</Directory>
<IfModule mod_dav.c>
Dav off
</IfModule>
SetEnv HOME /var/www/nextcloud
SetEnv HTTP_HOME /var/www/nextcloud
# The following lines prevent .htaccess and .htpasswd files from being
# viewed by Web clients.
<Files ".ht*">
Require all denied
</Files>
# Disable HTTP TRACE method.
TraceEnable off
# Disable HTTP TRACK method.
This could mean a number of things, but in the end all point to PHP not working properly:
is php7.4-fpm running?
are all necessary php7.4 packages installed? The database module might be missing (e.g. php7.4-mysql)
Also, (it’s a bit annoying in Debian-based systems) you have to manually port the changes you made to the php7.2 configuration files (in /etc/php/7.2/fpm/... to the 7.4 directory. This e.g. concerns upload size and memory limits.