Upgrade 7.0.5 to 7.1.3 with docker failes

Hi,

I just tried to upgrade my 7.0.5 seafile docker container to the newest 7.1.3 but it fails.

Attaching to seafile-memcached, seafile-mysql, seafile
seafile-mysql | 2020-05-03 22:05:19 140243033196544 [Note] mysqld (mysqld 10.1.40-MariaDB-1~bionic) starting as process 1 ...
seafile      | *** Running /etc/my_init.d/01_create_data_links.sh...
seafile-mysql | 2020-05-03 22:05:19 140243033196544 [Note] InnoDB: Using mutexes to ref count buffer pool pages
seafile-mysql | 2020-05-03 22:05:19 140243033196544 [Note] InnoDB: The InnoDB memory heap is disabled
seafile-mysql | 2020-05-03 22:05:19 140243033196544 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
seafile-mysql | 2020-05-03 22:05:19 140243033196544 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
seafile-mysql | 2020-05-03 22:05:19 140243033196544 [Note] InnoDB: Compressed tables use zlib 1.2.11
seafile-mysql | 2020-05-03 22:05:19 140243033196544 [Note] InnoDB: Using Linux native AIO
seafile      | *** Booting runit daemon...
seafile-mysql | 2020-05-03 22:05:19 140243033196544 [Note] InnoDB: Using SSE crc32 instructions
seafile-mysql | 2020-05-03 22:05:19 140243033196544 [Note] InnoDB: Initializing buffer pool, size = 256.0M
seafile      | *** Runit started as PID 24
seafile-mysql | 2020-05-03 22:05:19 140243033196544 [Note] InnoDB: Completed initialization of buffer pool
seafile-mysql | 2020-05-03 22:05:20 140243033196544 [Note] InnoDB: Highest supported file format is Barracuda.
seafile      | *** Running /scripts/start.py...
seafile-mysql | 2020-05-03 22:05:20 140243033196544 [Note] InnoDB: 128 rollback segment(s) are active.
seafile-mysql | 2020-05-03 22:05:20 140243033196544 [Note] InnoDB: Waiting for purge to start
seafile-mysql | 2020-05-03 22:05:20 140243033196544 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.43-84.3 started; log sequence number 81581292
seafile-mysql | 2020-05-03 22:05:20 140243033196544 [Note] Plugin 'FEEDBACK' is disabled.
seafile-mysql | 2020-05-03 22:05:20 140242069747456 [Note] InnoDB: Dumping buffer pool(s) not yet started
seafile-mysql | 2020-05-03 22:05:20 140243033196544 [Note] Server socket created on IP: '::'.
seafile-mysql | 2020-05-03 22:05:20 140243033196544 [Warning] 'proxies_priv' entry '@% root@64ed0923f0d1' ignored in --skip-name-resolve mode.
seafile-mysql | 2020-05-03 22:05:20 140243033196544 [Note] mysqld: ready for connections.
seafile-mysql | Version: '10.1.40-MariaDB-1~bionic'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution
seafile      | waiting for mysql server to be ready: %s (2003, "Can't connect to MySQL server on 'db' ([Errno 111] Connection refused)")
seafile      | [05/03/2020 22:05:22][upgrade]: Running script /opt/seafile/seafile-server-7.1.3/upgrade/upgrade_7.0_7.1.sh
seafile      |
seafile      | -------------------------------------------------------------
seafile      | This script would upgrade your seafile server from 7.0 to 7.1
seafile      | Press [ENTER] to contiune
seafile      | -------------------------------------------------------------
seafile      |
seafile      |
seafile      | renaming the gunicorn.conf to gunicorn.conf.py ...
seafile      |
seafile      | Done
seafile      |
seafile      | Updating seafile/seahub database ...
seafile      |
seafile      | [INFO] You are using MySQL
seafile      | [INFO] updating seahub database...
seafile      | [WARNING] Failed to execute sql: (1054, "Unknown column 'key' in 'constance_config'")
seafile      | [WARNING] Failed to execute sql: (1061, "Duplicate key name 'drafts_draft_origin_repo_id_8978ca2c'")
seafile      | [WARNING] Failed to execute sql: (1060, "Duplicate column name 'headers'")
seafile      | /opt/seafile/seafile-server-7.1.3/seahub/thirdpart/pymysql/cursors.py:170: Warning: (1050, "Table 'base_reposecretkey' already exists")
seafile      |   result = self._query(query)
seafile      | /opt/seafile/seafile-server-7.1.3/seahub/thirdpart/pymysql/cursors.py:170: Warning: (1050, "Table 'file_participants_fileparticipant' already exists")
seafile      |   result = self._query(query)
seafile      | /opt/seafile/seafile-server-7.1.3/seahub/thirdpart/pymysql/cursors.py:170: Warning: (1050, "Table 'repo_api_tokens' already exists")
seafile      |   result = self._query(query)
seafile      | /opt/seafile/seafile-server-7.1.3/seahub/thirdpart/pymysql/cursors.py:170: Warning: (1050, "Table 'abuse_reports_abusereport' already exists")
seafile      |   result = self._query(query)
seafile      | /opt/seafile/seafile-server-7.1.3/seahub/thirdpart/pymysql/cursors.py:170: Warning: (1050, "Table 'repo_share_invitation' already exists")
seafile      |   result = self._query(query)
seafile      | Done
seafile      |
seafile      | migrating avatars ...
seafile      |
seafile      | Done
seafile      |
seafile      | updating /opt/seafile/seafile-server-latest symbolic link to /opt/seafile/seafile-server-7.1.3 ...
seafile      |
seafile      |
seafile      |
seafile      | -----------------------------------------------------------------
seafile      | Upgraded your seafile server successfully.
seafile      | -----------------------------------------------------------------
seafile      |
seafile      |
seafile      | [05/03/20 22:05:23] ../common/session.c(148): using config file /opt/seafile/conf/ccnet.conf
seafile      | Starting seafile server, please wait ...
seafile      | ** Message: 22:05:23.475: seafile-controller.c(541): No seafevents.
seafile      |
seafile      | Seafile server started
seafile      |
seafile      | Done.
seafile      |
seafile      | Starting seahub at port 8000 ...
seafile      | Error:Seahub failed to start.
seafile      | Please try to run "./seahub.sh start" again
seafile      | [2020-05-03 22:05:22] Skip running setup-seafile-mysql.py because there is existing seafile-data folder.
seafile      | [2020-05-03 22:05:22] Running scripts /opt/seafile/seafile-server-7.1.3/upgrade/upgrade_7.0_7.1.sh
seafile      | Traceback (most recent call last):
seafile      |   File "/scripts/start.py", line 86, in <module>
seafile      |     main()
seafile      |   File "/scripts/start.py", line 72, in main
seafile      |     call('{} start'.format(get_script('seahub.sh')))
seafile      |   File "/scripts/utils/__init__.py", line 70, in call
seafile      |     return subprocess.check_call(*a, **kw)
seafile      |   File "/usr/lib/python3.6/subprocess.py", line 311, in check_call
seafile      |     raise CalledProcessError(retcode, cmd)
seafile      | subprocess.CalledProcessError: Command '/opt/seafile/seafile-server-7.1.3/seahub.sh start' returned non-zero exit status 1.
seafile      | *** /scripts/start.py exited with status 1.
seafile      | *** Shutting down runit daemon (PID 24)...
seafile      | *** Running /etc/my_init.post_shutdown.d/10_syslog-ng.shutdown...
seafile      | *** Killing all processes...
seafile exited with code 1

Can please somebody assist?

Thanks