Updating nextloud with ssh always (latest update from 15-0-4 to 16-0-3) with many errors of databases
E.g. Doctrine\DBAL\Exception\DriverException: An exception occurred while executing 'SELECT COLUMN_NAME AS Field, COLUMN_TYPE AS Type, IS_NULLABLE AS Null, COLUMN_KEY AS Key, COLUMN_DEFAULT AS Default, EXTRA AS Extra, COLUMN_COMMENT AS Comment, CHARACTER_SET_NAME AS CharacterSet, COLLATION_NAME AS Collation FROM information_schema.COLUMNS WHERE TABLE_SCHEMA
For each of this errors I have to go to phpmyadmin and repair the table and reenter the upgrade command.
Isnt there a better way? Very strange. Shouldnt the update take care of correct tables itself??!!
Unfortunately you haven’t written which database you are using and which repair tasks you have to initiate to get this problem fixed. I assume that you’re aware of the 4-byte collation requirement.
I’d suggest to have a closer look at the mysql.log on your host. Also, try to get the complete sql command, which triggers this issue and then run it from the cli mysql client - this should reveal the issue the DB is facing.