I looked through some of those. Some got zero replies so who knows if those people just walked away. Others found their solutions in missing php modules that aren’t specified in TFM. As noted in another post the detailed post in TFM never mentions setting up the database with a username and permission grants before trying to convert to it, which would be a great first step, to ensure the database being converted to exists and is accessible.
I really have no idea how to solve this
sudo -u www php ./occ An unhandled exception has been thrown: Doctrine\DBAL\Exception: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2002] No such file or directory in /usr/local/www/nextcloud/lib/private/DB/Connection.php:139
What driver? Would it be too much to ask what driver is being invoked here and/or which one is expected to connect to a mysql/mariadb instance that is currently accessible by another php web app (Wordpress)? I can access the database on the console using the same credentials and have verified the tables are all there.
I’ll assume my instance of Nextcloud is dead until further notice, I guess.