Upgrade from 17 to 18.0.0 rc2 failed

Doctrine\DBAL\Exception\DriverException: An exception occurred while executing ‘CREATE TEMPORARY TABLE __temp__oc_file_locks AS SELECT id, lock, “key”, ttl FROM oc_file_locks’: SQLSTATE[HY000]: General error: 11 database disk image is malformed

Seems like you are running Nextcloud on top of a SQLite database and that one seems to be corrupted (failing disk or something like that?).

The search engine of your choice will come up with plenty of advise to narrow down and potentially fix this issue.

I will change the disks and install everything again.
thank you & much best regards!

The failing disk was only a rough guess…there may be another reasons for a corrupted database file (power outage?).
So before changing anything, you might want to do further research what happened.

This topic was automatically closed 166 days after the last reply. New replies are no longer allowed.