Seafile Server CE 10.0.1 upgrade to Seafile CE 11.0.5:
Updating seafile/seahub database …
[INFO] You are using MySQL
[INFO] updating seahub database…
[WARNING] Failed to execute sql: (1064, “You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘IF NOT EXISTSshare_uploadlinkshare_expire_date
(expire_date
)’ at line 1”)
[WARNING] Failed to execute sql: (1054, “Unknown column ‘domain’ in ‘org_saml_config’”)
[WARNING] Failed to execute sql: (1064, “You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘IF NOT EXISTSdns_txt
varchar(64) NULL’ at line 1”)
[WARNING] Failed to execute sql: (1064, “You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘IF NOT EXISTSdomain_verified
TINYINT(1) NOT NULL DEFAULT 0’ at line 1”)
[WARNING] Failed to execute sql: (1064, “You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘IF NOT EXISTSorg_saml_config_domain_verified_398065b9
(domain_verified
)’ at line 1”)
[WARNING] Failed to execute sql: (1064, “You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘IF NOT EXISTSidp_certificate
longtext DEFAULT NULL’ at line 1”)
[WARNING] Failed to execute sql: (1054, “Unknown column ‘domain_verified’ in ‘where clause’”)
Donemigrating avatars …
Done
Ubuntu 22.04.3 LTS
mysql Ver 8.0.36-0ubuntu0.22.04.1 for Linux on x86_64 ((Ubuntu))
The script reported that the upgrade was successful. The server is operational but I suspect a few things referenced in the warnings above are broken (still checking).
Can anyone advise on how to verify or fix the issues related to the MySQL errors? My guess is that these errors will be encountered by others.
-Thank you