Upgrading to 7.1

Hello,

I’m trying to upgrade Seafile from 7.0.x to 7.1.x on FreeBSD, using the packages from FreeBSD. After upgrading all the packages I’ve started the MySQL and executed the upgrade script:

$ ./upgrade_7.0_7.1.sh

-------------------------------------------------------------

This script would upgrade your seafile server from 7.0 to 7.1

Press [ENTER] to contiune

-------------------------------------------------------------

Created the symlink /usr/local/www/haiwen/seafile-data for /var/seafile/seafile-data.

renaming the gunicorn.conf to gunicorn.conf.py ...

Done

Updating seafile/seahub database ...

**[INFO]** You are using MySQL

**[INFO]** updating seahub database...

**[WARNING]** Failed to execute sql: (1091, "Can't DROP 'drafts_draft_origin_file_uuid_7c003c98_uniq'; check that column/key exists")

Done

migrating avatars ...

Done

updating /usr/local/www/haiwen/seafile-server-latest symbolic link to /usr/local/www/haiwen/seafile-server ...

-----------------------------------------------------------------

Upgraded your seafile server successfully.

-----------------------------------------------------------------

What does this error mean and how can I fix it?

This is no error to worry about, please see: https://manual.seafile.com/upgrade/upgrade_notes_for_7.1.x/#sql-error-during-upgrade

After running the upgrade script with the error above, the Seafile server starts normally, but not seahub.

# service seahub start

LANG is not set in ENV, set to en_US.UTF-8

LC_ALL is not set in ENV, set to en_US.UTF-8

Starting seahub at port 8000 ...

Error:Seahub failed to start.

Please try to run "./seahub.sh start" again

Something is still weird.

Is there something in the logs related to this issue?

Please also have a look at this page: https://manual.seafile.com/upgrade/upgrade_notes_for_7.1.x/