Just updated CE version from 9 to 10 and got
[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 EXISTS `repo_id` (`repo_id`)' at line 1")
That’s obviously caused by this statement from seafile-server-10.0.1/upgrade/sql/10.0.0/mysql/seafile.sql
:
ALTER TABLE `WebUploadTempFiles` ADD INDEX IF NOT EXISTS `repo_id` (`repo_id`);
MySQL has not support for IF NOT EXISTS
for indexes. (only MariaDB has, afaik)