Seafile Pro Server upgrade 6.3.13 -> 7.0.3. Libraries problem

Hi,
I just upgraded my Seafile Pro Server from version 6.3.13 to 7.0.3. I run minor-upgrade.sh script only. After launching the new version, a message appeared to my eyes: “You have not created any library”. Moreover, the attempt to create a new, test library fails - the list of libraries still remains empty. When I click on the user icon in the top right corner, the amount of space used is shown correctly.

seafile.log

...
[06/17/2019 10:36:22 AM] Disconnected from daemon
[06/17/19 10:44:49] http-server.c(220): fileserver: worker_threads = 10
[06/17/19 10:44:49] http-server.c(233): fileserver: backlog = 32
[06/17/19 10:44:49] http-server.c(248): fileserver: fixed_block_size = 8388608
[06/17/19 10:44:49] http-server.c(263): fileserver: web_token_expire_time = 3600
[06/17/19 10:44:49] http-server.c(278): fileserver: max_indexing_threads = 1
[06/17/19 10:44:49] http-server.c(293): fileserver: max_index_processing_threads= 3
[06/17/19 10:44:49] http-server.c(315): fileserver: cluster_shared_temp_file_mode = 600
[06/17/2019 10:44:49 AM] http-server.c(393): fileserver: enable_async_indexing = 1
[06/17/2019 10:44:49 AM] http-server.c(405): fileserver: async_indexing_threshold = 700
[06/17/2019 10:44:49 AM] http-server.c(418): fileserver: fs_id_list_request_timeout = -1
[06/17/2019 10:44:49 AM] ../common/mq-mgr.c(61): [mq client] mq cilent is started
[06/17/2019 10:44:49 AM] filelock-mgr.c(973): Cleaning expired file locks.
[06/17/2019 10:44:49 AM] ../common/seaf-db.c(460): Error prepare statement SELECT r.repo_id, s.size, b.commit_id, v.repo_id, v.origin_repo, v.path, v.base_commit, fc.file_count, i.status, st.storage_id FROM Repo r LEFT JOIN Branch b ON r.repo_id = b.repo_id LEFT JOIN RepoSize s ON r.repo_id = s.repo_id LEFT JOIN VirtualRepo v ON r.repo_id = v.repo_id LEFT JOIN RepoFileCount fc ON r.repo_id = fc.repo_id LEFT JOIN RepoInfo i on r.repo_id = i.repo_id LEFT JOIN RepoStorageId st ON r.repo_id = st.repo_id WHERE r.repo_id = ? AND b.name = 'master': mysql_stmt_prepare failed: Unknown column 'i.status' in 'field list'.
[06/17/2019 10:44:49 AM] seafile-session.c(535): Failed to get system default repo. Create a new one.
[06/17/2019 10:44:50 AM] ../common/seaf-db.c(460): Error prepare statement SELECT r.repo_id, s.size, b.commit_id, v.repo_id, v.origin_repo, v.path, v.base_commit, fc.file_count, i.status, st.storage_id FROM Repo r LEFT JOIN Branch b ON r.repo_id = b.repo_id LEFT JOIN RepoSize s ON r.repo_id = s.repo_id LEFT JOIN VirtualRepo v ON r.repo_id = v.repo_id LEFT JOIN RepoFileCount fc ON r.repo_id = fc.repo_id LEFT JOIN RepoInfo i on r.repo_id = i.repo_id LEFT JOIN RepoStorageId st ON r.repo_id = st.repo_id WHERE r.repo_id = ? AND b.name = 'master': mysql_stmt_prepare failed: Unknown column 'i.status' in 'field list'.
[06/17/2019 10:44:50 AM] repo-op.c(674): Repo 2e85becb-83e4-44e7-866e-42c04042b78f doesn't exist.
[06/17/2019 10:44:50 AM] seafile-session.c(498): Failed to add template file /opt/seafile/seafile-data/library-template/seafile-tutorial.doc.
[06/17/2019 10:45:24 AM] ../common/seaf-db.c(460): Error prepare statement SELECT r.repo_id, s.size, b.commit_id, v.repo_id, v.origin_repo, v.path, v.base_commit, fc.file_count, i.status, st.storage_id FROM Repo r LEFT JOIN Branch b ON r.repo_id = b.repo_id LEFT JOIN RepoSize s ON r.repo_id = s.repo_id LEFT JOIN VirtualRepo v ON r.repo_id = v.repo_id LEFT JOIN RepoFileCount fc ON r.repo_id = fc.repo_id LEFT JOIN RepoInfo i on r.repo_id = i.repo_id LEFT JOIN RepoStorageId st ON r.repo_id = st.repo_id WHERE r.repo_id = ? AND b.name = 'master': mysql_stmt_prepare failed: Unknown column 'i.status' in 'field list'.
[06/17/2019 10:45:25 AM] ../common/seaf-db.c(460): Error prepare statement SELECT o.repo_id, s.size, b.commit_id, i.name, i.update_time, i.version, i.is_encrypted, i.last_modifier, i.status, st.storage_id FROM RepoOwner o LEFT JOIN RepoSize s ON o.repo_id = s.repo_id LEFT JOIN Branch b ON o.repo_id = b.repo_id LEFT JOIN RepoInfo i ON o.repo_id = i.repo_id LEFT JOIN RepoStorageId st ON o.repo_id=st.repo_id WHERE owner_id=? AND o.repo_id NOT IN (SELECT v.repo_id FROM VirtualRepo v) ORDER BY i.update_time DESC, o.repo_id: mysql_stmt_prepare failed: Unknown column 'i.status' in 'field list'.
[06/17/2019 10:45:34 AM] ../common/seaf-db.c(460): Error prepare statement SELECT r.repo_id, s.size, b.commit_id, v.repo_id, v.origin_repo, v.path, v.base_commit, fc.file_count, i.status, st.storage_id FROM Repo r LEFT JOIN Branch b ON r.repo_id = b.repo_id LEFT JOIN RepoSize s ON r.repo_id = s.repo_id LEFT JOIN VirtualRepo v ON r.repo_id = v.repo_id LEFT JOIN RepoFileCount fc ON r.repo_id = fc.repo_id LEFT JOIN RepoInfo i on r.repo_id = i.repo_id LEFT JOIN RepoStorageId st ON r.repo_id = st.repo_id WHERE r.repo_id = ? AND b.name = 'master': mysql_stmt_prepare failed: Unknown column 'i.status' in 'field list'.
[06/17/2019 10:45:35 AM] ../common/seaf-db.c(460): Error prepare statement SELECT sh.repo_id, v.repo_id, from_email, permission, commit_id, s.size, v.origin_repo, v.path, i.name, i.update_time, i.version, i.is_encrypted, i.status, i.last_modifier, i.status, storage_id, (SELECT name from RepoInfo WHERE repo_id=v.origin_repo) FROM SharedRepo sh LEFT JOIN VirtualRepo v ON sh.repo_id=v.repo_id LEFT JOIN RepoSize s ON sh.repo_id = s.repo_id LEFT JOIN RepoInfo i ON sh.repo_id = i.repo_id LEFT JOIN RepoStorageId ON sh.repo_id=RepoStorageId.repo_id, Branch b WHERE to_email=? AND sh.repo_id = b.repo_id AND b.name = 'master' ORDER BY i.update_time DESC, sh.repo_id: mysql_stmt_prepare failed: Unknown column 'i.status' in 'field list'.
[06/17/2019 10:45:35 AM] share-mgr.c(526): [share mgr] DB error when get shared repo id and email for admin@jmdkozuszek.pl.
[06/17/2019 10:45:37 AM] ../common/seaf-db.c(460): Error prepare statement SELECT o.repo_id, s.size, b.commit_id, i.name, i.update_time, i.version, i.is_encrypted, i.last_modifier, i.status, st.storage_id FROM RepoOwner o LEFT JOIN RepoSize s ON o.repo_id = s.repo_id LEFT JOIN Branch b ON o.repo_id = b.repo_id LEFT JOIN RepoInfo i ON o.repo_id = i.repo_id LEFT JOIN RepoStorageId st ON o.repo_id=st.repo_id WHERE owner_id=? AND o.repo_id NOT IN (SELECT v.repo_id FROM VirtualRepo v) ORDER BY i.update_time DESC, o.repo_id: mysql_stmt_prepare failed: Unknown column 'i.status' in 'field list'.
[06/17/2019 10:45:37 AM] ../common/seaf-db.c(460): Error prepare statement SELECT r.repo_id, s.size, b.commit_id, v.repo_id, v.origin_repo, v.path, v.base_commit, fc.file_count, i.status, st.storage_id FROM Repo r LEFT JOIN Branch b ON r.repo_id = b.repo_id LEFT JOIN RepoSize s ON r.repo_id = s.repo_id LEFT JOIN VirtualRepo v ON r.repo_id = v.repo_id LEFT JOIN RepoFileCount fc ON r.repo_id = fc.repo_id LEFT JOIN RepoInfo i on r.repo_id = i.repo_id LEFT JOIN RepoStorageId st ON r.repo_id = st.repo_id WHERE r.repo_id = ? AND b.name = 'master': mysql_stmt_prepare failed: Unknown column 'i.status' in 'field list'.
[06/17/2019 10:45:42 AM] ../common/seaf-db.c(460): Error prepare statement SELECT o.repo_id, s.size, b.commit_id, i.name, i.update_time, i.version, i.is_encrypted, i.last_modifier, i.status, st.storage_id FROM RepoOwner o LEFT JOIN RepoSize s ON o.repo_id = s.repo_id LEFT JOIN Branch b ON o.repo_id = b.repo_id LEFT JOIN RepoInfo i ON o.repo_id = i.repo_id LEFT JOIN RepoStorageId st ON o.repo_id=st.repo_id WHERE owner_id=? AND o.repo_id NOT IN (SELECT v.repo_id FROM VirtualRepo v) ORDER BY i.update_time DESC, o.repo_id: mysql_stmt_prepare failed: Unknown column 'i.status' in 'field list'.
[06/17/2019 10:45:42 AM] ../common/seaf-db.c(460): Error prepare statement SELECT sh.repo_id, v.repo_id, from_email, permission, commit_id, s.size, v.origin_repo, v.path, i.name, i.update_time, i.version, i.is_encrypted, i.status, i.last_modifier, i.status, storage_id, (SELECT name from RepoInfo WHERE repo_id=v.origin_repo) FROM SharedRepo sh LEFT JOIN VirtualRepo v ON sh.repo_id=v.repo_id LEFT JOIN RepoSize s ON sh.repo_id = s.repo_id LEFT JOIN RepoInfo i ON sh.repo_id = i.repo_id LEFT JOIN RepoStorageId ON sh.repo_id=RepoStorageId.repo_id, Branch b WHERE to_email=? AND sh.repo_id = b.repo_id AND b.name = 'master' ORDER BY i.update_time DESC, sh.repo_id: mysql_stmt_prepare failed: Unknown column 'i.status' in 'field list'.
[06/17/2019 10:45:42 AM] share-mgr.c(526): [share mgr] DB error when get shared repo id and email for admin@jmdkozuszek.pl.
[06/17/2019 10:45:42 AM] ../common/seaf-db.c(460): Error prepare statement SELECT InnerPubRepo.repo_id, VirtualRepo.repo_id, owner_id, permission, commit_id, s.size, VirtualRepo.origin_repo, VirtualRepo.path ,i.name, i.update_time, i.version, i.is_encrypted, i.last_modifier, i.status FROM InnerPubRepo LEFT JOIN VirtualRepo ON InnerPubRepo.repo_id=VirtualRepo.repo_id LEFT JOIN RepoInfo i ON InnerPubRepo.repo_id = i.repo_id LEFT JOIN RepoSize s ON InnerPubRepo.repo_id = s.repo_id, RepoOwner, Branch WHERE InnerPubRepo.repo_id=RepoOwner.repo_id AND InnerPubRepo.repo_id = Branch.repo_id AND Branch.name = 'master': mysql_stmt_prepare failed: Unknown column 'i.status' in 'field list'.
[06/17/2019 10:45:42 AM] ../common/seaf-db.c(460): Error prepare statement SELECT r.repo_id, s.size, b.commit_id, v.repo_id, v.origin_repo, v.path, v.base_commit, fc.file_count, i.status, st.storage_id FROM Repo r LEFT JOIN Branch b ON r.repo_id = b.repo_id LEFT JOIN RepoSize s ON r.repo_id = s.repo_id LEFT JOIN VirtualRepo v ON r.repo_id = v.repo_id LEFT JOIN RepoFileCount fc ON r.repo_id = fc.repo_id LEFT JOIN RepoInfo i on r.repo_id = i.repo_id LEFT JOIN RepoStorageId st ON r.repo_id = st.repo_id WHERE r.repo_id = ? AND b.name = 'master': mysql_stmt_prepare failed: Unknown column 'i.status' in 'field list'.
...
[06/17/2019 10:46:25 AM] ../common/seaf-db.c(460): Error prepare statement SELECT r.repo_id, s.size, b.commit_id, v.repo_id, v.origin_repo, v.path, v.base_commit, fc.file_count, i.status, st.storage_id FROM Repo r LEFT JOIN Branch b ON r.repo_id = b.repo_id LEFT JOIN RepoSize s ON r.repo_id = s.repo_id LEFT JOIN VirtualRepo v ON r.repo_id = v.repo_id LEFT JOIN RepoFileCount fc ON r.repo_id = fc.repo_id LEFT JOIN RepoInfo i on r.repo_id = i.repo_id LEFT JOIN RepoStorageId st ON r.repo_id = st.repo_id WHERE r.repo_id = ? AND b.name = 'master': mysql_stmt_prepare failed: Unknown column 'i.status' in 'field list'.
[06/17/2019 10:46:25 AM] ../common/seaf-db.c(460): Error prepare statement SELECT o.repo_id, s.size, b.commit_id, i.name, i.update_time, i.version, i.is_encrypted, i.last_modifier, i.status, st.storage_id FROM RepoOwner o LEFT JOIN RepoSize s ON o.repo_id = s.repo_id LEFT JOIN Branch b ON o.repo_id = b.repo_id LEFT JOIN RepoInfo i ON o.repo_id = i.repo_id LEFT JOIN RepoStorageId st ON o.repo_id=st.repo_id WHERE owner_id=? AND o.repo_id NOT IN (SELECT v.repo_id FROM VirtualRepo v) ORDER BY i.update_time DESC, o.repo_id: mysql_stmt_prepare failed: Unknown column 'i.status' in 'field list'.
[06/17/2019 10:46:25 AM] ../common/seaf-db.c(460): Error prepare statement SELECT r.repo_id, s.size, b.commit_id, v.repo_id, v.origin_repo, v.path, v.base_commit, fc.file_count, i.status, st.storage_id FROM Repo r LEFT JOIN Branch b ON r.repo_id = b.repo_id LEFT JOIN RepoSize s ON r.repo_id = s.repo_id LEFT JOIN VirtualRepo v ON r.repo_id = v.repo_id LEFT JOIN RepoFileCount fc ON r.repo_id = fc.repo_id LEFT JOIN RepoInfo i on r.repo_id = i.repo_id LEFT JOIN RepoStorageId st ON r.repo_id = st.repo_id WHERE r.repo_id = ? AND b.name = 'master': mysql_stmt_prepare failed: Unknown column 'i.status' in 'field list'.
[06/17/2019 10:46:29 AM] ../common/seaf-db.c(460): Error prepare statement SELECT r.repo_id, s.size, b.commit_id, v.repo_id, v.origin_repo, v.path, v.base_commit, fc.file_count, i.status, st.storage_id FROM Repo r LEFT JOIN Branch b ON r.repo_id = b.repo_id LEFT JOIN RepoSize s ON r.repo_id = s.repo_id LEFT JOIN VirtualRepo v ON r.repo_id = v.repo_id LEFT JOIN RepoFileCount fc ON r.repo_id = fc.repo_id LEFT JOIN RepoInfo i on r.repo_id = i.repo_id LEFT JOIN RepoStorageId st ON r.repo_id = st.repo_id WHERE r.repo_id = ? AND b.name = 'master': mysql_stmt_prepare failed: Unknown column 'i.status' in 'field list'.
[06/17/2019 10:46:29 AM] ../common/seaf-db.c(460): Error prepare statement SELECT o.repo_id, s.size, b.commit_id, i.name, i.update_time, i.version, i.is_encrypted, i.last_modifier, i.status, st.storage_id FROM RepoOwner o LEFT JOIN RepoSize s ON o.repo_id = s.repo_id LEFT JOIN Branch b ON o.repo_id = b.repo_id LEFT JOIN RepoInfo i ON o.repo_id = i.repo_id LEFT JOIN RepoStorageId st ON o.repo_id=st.repo_id WHERE owner_id=? AND o.repo_id NOT IN (SELECT v.repo_id FROM VirtualRepo v) ORDER BY i.update_time DESC, o.repo_id: mysql_stmt_prepare failed: Unknown column 'i.status' in 'field list'.
[06/17/2019 10:46:44 AM] ../common/seaf-db.c(460): Error prepare statement SELECT sh.repo_id, v.repo_id, from_email, permission, commit_id, s.size, v.origin_repo, v.path, i.name, i.update_time, i.version, i.is_encrypted, i.status, i.last_modifier, i.status, storage_id, (SELECT name from RepoInfo WHERE repo_id=v.origin_repo) FROM SharedRepo sh LEFT JOIN VirtualRepo v ON sh.repo_id=v.repo_id LEFT JOIN RepoSize s ON sh.repo_id = s.repo_id LEFT JOIN RepoInfo i ON sh.repo_id = i.repo_id LEFT JOIN RepoStorageId ON sh.repo_id=RepoStorageId.repo_id, Branch b WHERE to_email=? AND sh.repo_id = b.repo_id AND b.name = 'master' ORDER BY i.update_time DESC, sh.repo_id: mysql_stmt_prepare failed: Unknown column 'i.status' in 'field list'.
...

seahub.log

...
2019-06-17 10:45:00,094 [INFO] seafevents.db:74 create_engine_from_conf [seafevents] database: mysql, name: seahub_db
2019-06-17 10:45:00,107 [INFO] seafevents.db:74 create_engine_from_conf [seafevents] database: mysql, name: seafile_db
2019-06-17 10:45:00,273 [INFO] root:118 load_file_history_config The file with the following suffix will be recorded into the file history: md,txt,doc,docx,xls,xlsx,ppt,pptx
2019-06-17 10:45:00,289 [INFO] seafevents.db:74 create_engine_from_conf [seafevents] database: mysql, name: seahub_db
2019-06-17 10:45:00,291 [INFO] seafevents:114 is_audit_enabled audit is enabled
2019-06-17 10:45:24,030 [INFO] seafes:162 load_seafevents_conf [seafes] use highlighter plain
2019-06-17 10:45:25,434 [INFO] seafes:162 load_seafevents_conf [seafes] use highlighter plain
2019-06-17 10:45:25,434 [INFO] seafes:162 load_seafevents_conf [seafes] use highlighter plain
2019-06-17 10:45:34,897 [INFO] seafes:162 load_seafevents_conf [seafes] use highlighter plain
2019-06-17 10:45:42,728 [WARNING] django.request:152 get_response Not Found: /api2/repos/842f7cfe-a7dd-4b21-b246-d6e5fa56ffa2/
2019-06-17 10:45:43,051 [INFO] seafes:162 load_seafevents_conf [seafes] use highlighter plain
2019-06-17 10:45:43,178 [WARNING] django.request:152 get_response Not Found: /api2/repos/2bb083a4-cd14-4f62-b3a1-042eb343172f/
2019-06-17 10:45:43,193 [WARNING] django.request:152 get_response Not Found: /api2/repos/f9e68d51-9c69-414d-a4a5-ba4ef1ffcbaa/
2019-06-17 10:45:43,206 [WARNING] django.request:152 get_response Not Found: /api2/repos/12a958ee-2bc0-4777-b3f9-8fcf5dcb2d7e/
2019-06-17 10:45:43,220 [WARNING] django.request:152 get_response Not Found: /api2/repos/006ac0ba-b876-4121-836c-ab945ee2c4bc/
2019-06-17 10:45:43,234 [WARNING] django.request:152 get_response Not Found: /api2/repos/04152315-0047-490b-a13a-4a5515ab2564/
2019-06-17 10:45:43,247 [WARNING] django.request:152 get_response Not Found: /api2/repos/dd23ddaf-4788-4d95-a96a-2434c7167ea9/
2019-06-17 10:45:43,260 [WARNING] django.request:152 get_response Not Found: /api2/repos/54a0676c-2785-477b-b079-03830d80ebc0/
2019-06-17 10:45:43,273 [WARNING] django.request:152 get_response Not Found: /api2/repos/2f01b0e2-c507-4fc8-9020-bd02db907afd/
2019-06-17 10:45:43,287 [WARNING] django.request:152 get_response Not Found: /api2/repos/1a7b0b69-e25e-479a-9a17-69c7edf79ade/
2019-06-17 10:45:43,301 [WARNING] django.request:152 get_response Not Found: /api2/repos/6428fa72-0c6f-417f-a6f7-4bb208527275/
2019-06-17 10:45:43,315 [WARNING] django.request:152 get_response Not Found: /api2/repos/f7170321-a357-42f2-8a26-0f12bcbdc2d9/
2019-06-17 10:45:43,328 [WARNING] django.request:152 get_response Not Found: /api2/repos/0eac6e12-ff7b-4d8a-ae36-ab2c83e1741c/
2019-06-17 10:45:43,344 [WARNING] django.request:152 get_response Not Found: /api2/repos/d8ac0255-1eb8-4000-98a6-c2d7a1b0a098/
2019-06-17 10:46:25,347 [ERROR] seahub.work_weixin.utils:63 work_weixin_base_check work weixin base relevant settings invalid.
2019-06-17 10:46:25,347 [ERROR] seahub.work_weixin.utils:64 work_weixin_base_check WORK_WEIXIN_CORP_ID:
2019-06-17 10:46:25,347 [ERROR] seahub.work_weixin.utils:65 work_weixin_base_check WORK_WEIXIN_AGENT_SECRET:
2019-06-17 10:46:25,348 [ERROR] seahub.work_weixin.utils:66 work_weixin_base_check WORK_WEIXIN_ACCESS_TOKEN_URL: https://qyapi.weixin.qq.com/cgi-bin/gettoken
2019-06-17 10:50:41,199 [WARNING] django.request:152 get_response Not Found: /api2/repos/842f7cfe-a7dd-4b21-b246-d6e5fa56ffa2/
2019-06-17 10:50:41,217 [WARNING] django.request:152 get_response Not Found: /api2/repos/2bb083a4-cd14-4f62-b3a1-042eb343172f/
2019-06-17 10:50:41,233 [WARNING] django.request:152 get_response Not Found: /api2/repos/f9e68d51-9c69-414d-a4a5-ba4ef1ffcbaa/
2019-06-17 10:50:41,249 [WARNING] django.request:152 get_response Not Found: /api2/repos/12a958ee-2bc0-4777-b3f9-8fcf5dcb2d7e/
2019-06-17 10:50:41,264 [WARNING] django.request:152 get_response Not Found: /api2/repos/006ac0ba-b876-4121-836c-ab945ee2c4bc/
2019-06-17 10:50:41,277 [WARNING] django.request:152 get_response Not Found: /api2/repos/04152315-0047-490b-a13a-4a5515ab2564/
2019-06-17 10:50:41,290 [WARNING] django.request:152 get_response Not Found: /api2/repos/dd23ddaf-4788-4d95-a96a-2434c7167ea9/
2019-06-17 10:50:41,303 [WARNING] django.request:152 get_response Not Found: /api2/repos/54a0676c-2785-477b-b079-03830d80ebc0/
2019-06-17 10:50:41,317 [WARNING] django.request:152 get_response Not Found: /api2/repos/2f01b0e2-c507-4fc8-9020-bd02db907afd/
2019-06-17 10:50:41,331 [WARNING] django.request:152 get_response Not Found: /api2/repos/1a7b0b69-e25e-479a-9a17-69c7edf79ade/
2019-06-17 10:50:41,344 [WARNING] django.request:152 get_response Not Found: /api2/repos/6428fa72-0c6f-417f-a6f7-4bb208527275/
2019-06-17 10:50:41,357 [WARNING] django.request:152 get_response Not Found: /api2/repos/f7170321-a357-42f2-8a26-0f12bcbdc2d9/
2019-06-17 10:50:41,370 [WARNING] django.request:152 get_response Not Found: /api2/repos/0eac6e12-ff7b-4d8a-ae36-ab2c83e1741c/
2019-06-17 10:50:41,384 [WARNING] django.request:152 get_response Not Found: /api2/repos/d8ac0255-1eb8-4000-98a6-c2d7a1b0a098/
2019-06-17 10:52:55,682 [WARNING] django.request:152 get_response Not Found: /api2/repos/
2019-06-17 10:53:04,591 [WARNING] django.request:152 get_response Not Found: /api2/repos/
2019-06-17 10:54:23,705 [WARNING] django.request:152 get_response Not Found: /api2/repos/
2019-06-17 10:55:41,187 [WARNING] django.request:152 get_response Not Found: /api2/repos/842f7cfe-a7dd-4b21-b246-d6e5fa56ffa2/
2019-06-17 10:55:41,202 [WARNING] django.request:152 get_response Not Found: /api2/repos/2bb083a4-cd14-4f62-b3a1-042eb343172f/
2019-06-17 10:55:41,216 [WARNING] django.request:152 get_response Not Found: /api2/repos/f9e68d51-9c69-414d-a4a5-ba4ef1ffcbaa/
2019-06-17 10:55:41,231 [WARNING] django.request:152 get_response Not Found: /api2/repos/12a958ee-2bc0-4777-b3f9-8fcf5dcb2d7e/
2019-06-17 10:55:41,245 [WARNING] django.request:152 get_response Not Found: /api2/repos/006ac0ba-b876-4121-836c-ab945ee2c4bc/
2019-06-17 10:55:41,259 [WARNING] django.request:152 get_response Not Found: /api2/repos/04152315-0047-490b-a13a-4a5515ab2564/
2019-06-17 10:55:41,273 [WARNING] django.request:152 get_response Not Found: /api2/repos/dd23ddaf-4788-4d95-a96a-2434c7167ea9/
2019-06-17 10:55:41,288 [WARNING] django.request:152 get_response Not Found: /api2/repos/54a0676c-2785-477b-b079-03830d80ebc0/
2019-06-17 10:55:41,303 [WARNING] django.request:152 get_response Not Found: /api2/repos/2f01b0e2-c507-4fc8-9020-bd02db907afd/
2019-06-17 10:55:41,317 [WARNING] django.request:152 get_response Not Found: /api2/repos/1a7b0b69-e25e-479a-9a17-69c7edf79ade/
2019-06-17 10:55:41,332 [WARNING] django.request:152 get_response Not Found: /api2/repos/6428fa72-0c6f-417f-a6f7-4bb208527275/
2019-06-17 10:55:41,346 [WARNING] django.request:152 get_response Not Found: /api2/repos/f7170321-a357-42f2-8a26-0f12bcbdc2d9/
2019-06-17 10:55:41,361 [WARNING] django.request:152 get_response Not Found: /api2/repos/0eac6e12-ff7b-4d8a-ae36-ab2c83e1741c/
2019-06-17 10:55:41,374 [WARNING] django.request:152 get_response Not Found: /api2/repos/d8ac0255-1eb8-4000-98a6-c2d7a1b0a098/
2019-06-17 11:00:30,581 [WARNING] seahub.utils.licenseparse:38 parse_license [Errno 2] No such file or directory: '/opt/seafile/seafile-pro-server-7.0.3/seahub/seahub/../../../seafile-license.txt'
2019-06-17 11:00:41,286 [WARNING] django.request:152 get_response Not Found: /api2/repos/842f7cfe-a7dd-4b21-b246-d6e5fa56ffa2/
2019-06-17 11:00:41,304 [WARNING] django.request:152 get_response Not Found: /api2/repos/2bb083a4-cd14-4f62-b3a1-042eb343172f/
2019-06-17 11:00:41,322 [WARNING] django.request:152 get_response Not Found: /api2/repos/f9e68d51-9c69-414d-a4a5-ba4ef1ffcbaa/
2019-06-17 11:00:41,338 [WARNING] django.request:152 get_response Not Found: /api2/repos/12a958ee-2bc0-4777-b3f9-8fcf5dcb2d7e/
2019-06-17 11:00:41,354 [WARNING] django.request:152 get_response Not Found: /api2/repos/006ac0ba-b876-4121-836c-ab945ee2c4bc/
2019-06-17 11:00:41,368 [WARNING] django.request:152 get_response Not Found: /api2/repos/04152315-0047-490b-a13a-4a5515ab2564/
2019-06-17 11:00:41,383 [WARNING] django.request:152 get_response Not Found: /api2/repos/dd23ddaf-4788-4d95-a96a-2434c7167ea9/
2019-06-17 11:00:41,396 [WARNING] django.request:152 get_response Not Found: /api2/repos/54a0676c-2785-477b-b079-03830d80ebc0/
2019-06-17 11:00:41,411 [WARNING] django.request:152 get_response Not Found: /api2/repos/2f01b0e2-c507-4fc8-9020-bd02db907afd/
2019-06-17 11:00:41,424 [WARNING] django.request:152 get_response Not Found: /api2/repos/1a7b0b69-e25e-479a-9a17-69c7edf79ade/
2019-06-17 11:00:41,437 [WARNING] django.request:152 get_response Not Found: /api2/repos/6428fa72-0c6f-417f-a6f7-4bb208527275/
2019-06-17 11:00:41,452 [WARNING] django.request:152 get_response Not Found: /api2/repos/f7170321-a357-42f2-8a26-0f12bcbdc2d9/
2019-06-17 11:00:41,465 [WARNING] django.request:152 get_response Not Found: /api2/repos/0eac6e12-ff7b-4d8a-ae36-ab2c83e1741c/
2019-06-17 11:00:41,479 [WARNING] django.request:152 get_response Not Found: /api2/repos/d8ac0255-1eb8-4000-98a6-c2d7a1b0a098/
2019-06-17 11:00:51,836 [WARNING] django.request:152 get_response Not Found: /api2/repos/
2019-06-17 11:04:31,745 [INFO] seafevents.db:74 create_engine_from_conf [seafevents] database: mysql, name: seahub_db
2019-06-17 11:04:31,795 [INFO] seafevents.db:74 create_engine_from_conf [seafevents] database: mysql, name: seafile_db
2019-06-17 11:04:32,018 [INFO] root:118 load_file_history_config The file with the following suffix will be recorded into the file history: md,txt,doc,docx,xls,xlsx,ppt,pptx
2019-06-17 11:04:32,028 [INFO] seafevents.db:74 create_engine_from_conf [seafevents] database: mysql, name: seahub_db
2019-06-17 11:04:32,031 [INFO] seafevents:114 is_audit_enabled audit is enabled
2019-06-17 11:05:03,096 [INFO] seafes:162 load_seafevents_conf [seafes] use highlighter plain
2019-06-17 11:05:03,096 [INFO] seafes:162 load_seafevents_conf [seafes] use highlighter plain
2019-06-17 11:05:03,099 [INFO] seafes:162 load_seafevents_conf [seafes] use highlighter plain
2019-06-17 11:05:04,217 [WARNING] django.request:152 get_response Not Found: /api2/repos/e5047db3-2e05-435f-8aa0-910788d571a2/dir/
2019-06-17 11:05:04,224 [WARNING] django.request:152 get_response Not Found: /api2/repos/e5047db3-2e05-435f-8aa0-910788d571a2/dir/
2019-06-17 11:05:41,203 [WARNING] django.request:152 get_response Not Found: /api2/repos/842f7cfe-a7dd-4b21-b246-d6e5fa56ffa2/
2019-06-17 11:05:41,221 [WARNING] django.request:152 get_response Not Found: /api2/repos/2bb083a4-cd14-4f62-b3a1-042eb343172f/
2019-06-17 11:05:41,237 [WARNING] django.request:152 get_response Not Found: /api2/repos/f9e68d51-9c69-414d-a4a5-ba4ef1ffcbaa/
2019-06-17 11:05:41,252 [WARNING] django.request:152 get_response Not Found: /api2/repos/12a958ee-2bc0-4777-b3f9-8fcf5dcb2d7e/
2019-06-17 11:05:41,266 [WARNING] django.request:152 get_response Not Found: /api2/repos/006ac0ba-b876-4121-836c-ab945ee2c4bc/
2019-06-17 11:05:41,279 [WARNING] django.request:152 get_response Not Found: /api2/repos/04152315-0047-490b-a13a-4a5515ab2564/
2019-06-17 11:05:41,297 [WARNING] django.request:152 get_response Not Found: /api2/repos/dd23ddaf-4788-4d95-a96a-2434c7167ea9/
...

How can I fix it?
Damian

I solved my problem. Instead of using the upgrade_6.3_7.0 command I used minor-upgrade and that was my mistake. To fix it, it was enough to use the correct command after switching off the seahub and seafile.

Please mark as solved.