I followed all the steps to do the upgrade from 5.7a to 6 and I’m getting this error.
An unhandled exception has been thrown:
Doctrine\DBAL\Exception: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000]  unable to open database file in /usr/local/lib/owncloud/lib/private/DB/Connection.php:85
On my old server the MIAB was not installed in the default path.
The backup restore has the old path in the config file of owncloud.
I updated this config file after the restore with the default MIAB path: /home/user-data/owncloud
This could be something to add in the upgrade guide. If you have MIAB installed in a different path on the old server you must update the config file.
The upgrading process went further after making this change.
This would be a good issue to open on Github if you haven’t already.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.