Here is the result : “sudo -u www-data php occ upgrade”
An unhandled exception has been thrown:
Doctrine\DBAL\DBALException: Failed to connect to the database: An exception occurred in driver: could not find driver in /var/www/nextcloud/lib/private/DB/Connection.php:68
you’re mixing-up two different things. In general two different PHP components are involved here, the web server and the command line component. You’ve only tested the command line (CLI) component. You need to update the web component now too to align both versions…
pls search the forum on how to adjust that correctly.
And I think there was someone with an issue recently that was linked to php 7.4. Perhaps some things could work but I don’t think that they’ll backport everything to make NC 18 compatible with it (they haven’t done such things in the past).