Failed to upgrade from 6.0 to 6.1

Hi there,

the first time I launched upgrade_6.0_6.1.sh script I had this message:

Updating seafile/seahub database ...

[INFO] You are using MySQL
[INFO] updating seahub database...
[ERROR] Failed to execute sql: Failed to open the referenced table 'institutions_institution'

Failed to upgrade your database

Now when I try to launch upgrade_6.0_6.1 script I get this message:

Updating seafile/seahub database ...

[INFO] You are using MySQL
[INFO] updating seahub database...
[ERROR] Failed to execute sql: Duplicate column name 'permission'

Failed to upgrade your database

Basic System Information:

Centos 7 x86-64
MySQL Ver 8.0.26

Thank you,
Regards!