Hi, I really need your help.
First of all, I am the one to blame… Shame on me, but please help me get my data back.
My OC was running fine since Version 9.x. A few days ago I tried to complete some of the recommended “Optimizations” like switching to utf8. I clearly did something wrong which caused an app to fail (not sure which one it was). I kicked in the Upgrade to 18 (was on 17.0.x) as I was hoping it will fix itself. It did not and resulted in an error after upgrade:
[code] Doctrine\DBAL\Exception\DriverException: An exception occurred while executing ‘CREATE TABLE oc_migrations (app VARCHAR(255) NOT NULL, version VARCHAR(255) NOT NULL, PRIMARY KEY(app, version)) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_bin ENGINE = InnoDB ROW_FORMAT = compressed’: SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes
Detaillierte Protokollmeldungen
Update vorbereiten
Log-Level auf “debug” gesetzt
Wartungsmodus eingeschaltet
Reparaturschritt: Repair MySQL collation
Reparaturinformation: All tables already have the correct collation -> nothing to do
Reparaturschritt: Repair SQLite autoincrement
Reparaturschritt: Copy data from accounts table when migrating from ownCloud
Reparaturschritt: Drop account terms table when migrating from ownCloud
Das Datenbankschema wird aktualisiert
Doctrine\DBAL\Exception\DriverException: An exception occurred while executing ‘CREATE TABLE oc_migrations (app VARCHAR(255) NOT NULL, version VARCHAR(255) NOT NULL, PRIMARY KEY(app, version)) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_bin ENGINE = InnoDB ROW_FORMAT = compressed’: SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes[/code]
This error is shown when trying to do the app updates to 18
I thought it’s easier to setup a new Instance as there isn’t much data on it anyway. So New DB and new files (I kept all the old files and stuff)
After the install I tried to connect my phone to OC using DAVx5, this resulted in an 404 error so I liked it again which seem to work, but wiped my calendar and my Contacts
Is there any way to get my Data back ? As said I still got the old DB and Files.
Let me know what kind of other infos you need.
Any help is very much appreciated :sad: