Need help upgrade 20.0.4 => 20.0.6 issue DB

Hi everyone,

I need your help :frowning:

I was on 20.0.4 and I tried to upgrade to 20.0.6. I already tried with 20.0.7rc1 but same issue

I always received the same error.
Does someone know how to fix this?

########################

Mise Ă  jour vers 20.0.7 RC1

Doctrine\DBAL\Exception\TableExistsException: An exception occurred while executing ‘CREATE UNIQUE INDEX user_index ON oc_appointments_pref (user_id)’: SQLSTATE[HY000]: General error: 1 index user_index already exists

Journaux détaillés

Préparation de la mise à jour

RĂ©glage du niveau de journalisation Ă  “dĂ©boguage”

Mode de maintenance activé

Étape de rĂ©paration : Repair MySQL collation

Informations de réparation : Not a mysql database -> nothing to do

Étape de rĂ©paration : Repair SQLite autoincrement

Étape de rĂ©paration : Copy data from accounts table when migrating from ownCloud

Étape de rĂ©paration : Drop account terms table when migrating from ownCloud

Mise à jour du schéma de la base de données

Base de données mise à jour

Doctrine\DBAL\Exception\TableExistsException: An exception occurred while executing ‘CREATE UNIQUE INDEX user_index ON oc_appointments_pref (user_id)’: SQLSTATE[HY000]: General error: 1 index user_index already exists

La mise à jour a échoué. Veuillez reporter le problÚme à la communauté Nextcloud.
########################

Do you need some informations? Let me know.

Thank you a lot in advance !!!

Kind regards

Az.

After a few hours I found the solution.

It was an incompatibility with “Appointments” application. I removed the Appointments folder from /nextclouddir/apps/ and now it’s working fine.