两个账号同步文件老是有冲突

这是seafile.log文件

[2025-06-25 18:08:25] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql DELETE FROM LastGCID WHERE repo_id = ? AND client_id = ?: Lost connection to server during query
[2025-06-25 18:08:25] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 18:08:30] [WARNING] ../common/seaf-db.c(928): Failed to prepare sql DELETE FROM LastGCID WHERE repo_id = ? AND client_id = ?: Lost connection to server during query
[2025-06-25 18:08:30] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 18:08:38] [WARNING] ../common/seaf-db.c(907): Failed to execute sql COMMIT: Lost connection to server during query
[2025-06-25 18:08:38] [WARNING] ../common/seaf-db.c(907): Failed to execute sql ROLLBACK: Server has gone away
[2025-06-25 18:08:52] [WARNING] ../common/seaf-db.c(907): Failed to execute sql COMMIT: Lost connection to server during query
[2025-06-25 18:08:52] [WARNING] ../common/seaf-db.c(907): Failed to execute sql ROLLBACK: Server has gone away
[2025-06-25 18:10:21] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql UPDATE RepoTokenPeerInfo SET peer_ip=?, sync_time=?, client_ver=? WHERE token=?: Lost connection to server during query
[2025-06-25 18:10:21] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 18:11:57] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql UPDATE RepoTokenPeerInfo SET peer_ip=?, sync_time=?, client_ver=? WHERE token=?: Lost connection to server during query
[2025-06-25 18:11:57] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 18:12:16] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql UPDATE RepoTokenPeerInfo SET peer_ip=?, sync_time=?, client_ver=? WHERE token=?: Lost connection to server during query
[2025-06-25 18:12:16] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 18:12:37] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql INSERT INTO LastGCID (repo_id, client_id, gc_id) VALUES (?, ?, ?): Lost connection to server during query
[2025-06-25 18:12:37] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 18:12:37] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql INSERT INTO LastGCID (repo_id, client_id, gc_id) VALUES (?, ?, ?): Duplicate entry '4f4e0169-cc1e-47a5-b7bd-9f3de26c0a28-c9773022b7e8a60025c93a37...' for key 'repo_id'
[2025-06-25 18:13:02] [WARNING] ../common/seaf-db.c(907): Failed to execute sql COMMIT: Lost connection to server during query
[2025-06-25 18:13:02] [WARNING] ../common/seaf-db.c(907): Failed to execute sql ROLLBACK: Server has gone away
[2025-06-25 18:13:02] [WARNING] size-sched.c(377): [scheduler] failed to store repo size and file count 4f4e0169-cc1e-47a5-b7bd-9f3de26c0a28.
[2025-06-25 18:13:14] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql UPDATE RepoTokenPeerInfo SET peer_ip=?, sync_time=?, client_ver=? WHERE token=?: Lost connection to server during query
[2025-06-25 18:13:14] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 18:13:38] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql UPDATE RepoTokenPeerInfo SET peer_ip=?, sync_time=?, client_ver=? WHERE token=?: Lost connection to server during query
[2025-06-25 18:13:38] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 18:16:52] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql UPDATE RepoTokenPeerInfo SET peer_ip=?, sync_time=?, client_ver=? WHERE token=?: Lost connection to server during query
[2025-06-25 18:16:52] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 18:18:49] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql UPDATE RepoTokenPeerInfo SET peer_ip=?, sync_time=?, client_ver=? WHERE token=?: Lost connection to server during query
[2025-06-25 18:18:49] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 18:21:32] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql UPDATE RepoTokenPeerInfo SET peer_ip=?, sync_time=?, client_ver=? WHERE token=?: Lost connection to server during query
[2025-06-25 18:21:32] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 18:34:33] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql INSERT INTO LastGCID (repo_id, client_id, gc_id) VALUES (?, ?, ?): Lost connection to server during query
[2025-06-25 18:34:33] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 18:34:33] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql INSERT INTO LastGCID (repo_id, client_id, gc_id) VALUES (?, ?, ?): Duplicate entry '4ecec4db-8a2a-4e2a-90a2-8020a4057e1a-79d7fff82838b486446f5125...' for key 'repo_id'
[2025-06-25 18:38:05] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql DELETE FROM LastGCID WHERE repo_id = ? AND client_id = ?: Lost connection to server during query
[2025-06-25 18:38:05] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 18:38:10] [WARNING] ../common/seaf-db.c(907): Failed to execute sql COMMIT: Lost connection to server during query
[2025-06-25 18:38:10] [WARNING] ../common/seaf-db.c(907): Failed to execute sql ROLLBACK: Server has gone away
[2025-06-25 18:38:15] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql UPDATE RepoTokenPeerInfo SET peer_ip=?, sync_time=?, client_ver=? WHERE token=?: Lost connection to server during query
[2025-06-25 18:38:15] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 18:38:46] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql UPDATE RepoTokenPeerInfo SET peer_ip=?, sync_time=?, client_ver=? WHERE token=?: Lost connection to server during query
[2025-06-25 18:38:46] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 18:39:52] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql UPDATE RepoTokenPeerInfo SET peer_ip=?, sync_time=?, client_ver=? WHERE token=?: Lost connection to server during query
[2025-06-25 18:39:52] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 18:40:27] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql UPDATE RepoTokenPeerInfo SET peer_ip=?, sync_time=?, client_ver=? WHERE token=?: Lost connection to server during query
[2025-06-25 18:40:28] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 18:40:43] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql INSERT INTO LastGCID (repo_id, client_id, gc_id) VALUES (?, ?, ?): Lost connection to server during query
[2025-06-25 18:40:43] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 18:40:48] [WARNING] ../common/seaf-db.c(928): Failed to prepare sql INSERT INTO LastGCID (repo_id, client_id, gc_id) VALUES (?, ?, ?): Lost connection to server during query
[2025-06-25 18:40:48] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 18:40:53] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql INSERT INTO LastGCID (repo_id, client_id, gc_id) VALUES (?, ?, ?): Duplicate entry '4f4e0169-cc1e-47a5-b7bd-9f3de26c0a28-c9773022b7e8a60025c93a37...' for key 'repo_id'
[2025-06-25 18:42:28] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql UPDATE RepoTokenPeerInfo SET peer_ip=?, sync_time=?, client_ver=? WHERE token=?: Lost connection to server during query
[2025-06-25 18:42:28] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 18:43:02] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql UPDATE RepoInfo SET name=?, update_time=?, version=?, is_encrypted=?, last_modifier=? WHERE repo_id=?: Lost connection to server during query
[2025-06-25 18:43:02] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 18:44:19] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql UPDATE RepoTokenPeerInfo SET peer_ip=?, sync_time=?, client_ver=? WHERE token=?: Lost connection to server during query
[2025-06-25 18:44:19] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 18:44:20] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql UPDATE RepoTokenPeerInfo SET peer_ip=?, sync_time=?, client_ver=? WHERE token=?: Lost connection to server during query
[2025-06-25 18:44:20] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 18:45:04] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql UPDATE RepoTokenPeerInfo SET peer_ip=?, sync_time=?, client_ver=? WHERE token=?: Lost connection to server during query
[2025-06-25 18:45:04] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 18:48:15] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql UPDATE RepoTokenPeerInfo SET peer_ip=?, sync_time=?, client_ver=? WHERE token=?: Lost connection to server during query
[2025-06-25 18:48:15] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 18:48:17] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql INSERT INTO LastGCID (repo_id, client_id, gc_id) VALUES (?, ?, ?): Lost connection to server during query
[2025-06-25 18:48:17] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 18:48:17] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql INSERT INTO LastGCID (repo_id, client_id, gc_id) VALUES (?, ?, ?): Duplicate entry '4f4e0169-cc1e-47a5-b7bd-9f3de26c0a28-c9773022b7e8a60025c93a37...' for key 'repo_id'
[2025-06-25 18:54:14] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql UPDATE RepoTokenPeerInfo SET peer_ip=?, sync_time=?, client_ver=? WHERE token=?: Lost connection to server during query
[2025-06-25 18:54:14] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 18:54:17] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql UPDATE RepoTokenPeerInfo SET peer_ip=?, sync_time=?, client_ver=? WHERE token=?: Lost connection to server during query
[2025-06-25 18:54:17] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 18:55:35] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql UPDATE RepoTokenPeerInfo SET peer_ip=?, sync_time=?, client_ver=? WHERE token=?: Lost connection to server during query
[2025-06-25 18:55:35] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 18:55:55] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql DELETE FROM LastGCID WHERE repo_id = ? AND client_id = ?: Lost connection to server during query
[2025-06-25 18:55:55] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 19:04:33] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql DELETE FROM LastGCID WHERE repo_id = ? AND client_id = ?: Lost connection to server during query
[2025-06-25 19:04:33] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 19:04:46] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql UPDATE RepoTokenPeerInfo SET peer_ip=?, sync_time=?, client_ver=? WHERE token=?: Lost connection to server during query
[2025-06-25 19:04:46] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 19:04:47] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql UPDATE RepoTokenPeerInfo SET peer_ip=?, sync_time=?, client_ver=? WHERE token=?: Lost connection to server during query
[2025-06-25 19:04:47] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 19:11:16] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql UPDATE RepoTokenPeerInfo SET peer_ip=?, sync_time=?, client_ver=? WHERE token=?: Lost connection to server during query
[2025-06-25 19:11:16] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 19:11:17] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql UPDATE RepoTokenPeerInfo SET peer_ip=?, sync_time=?, client_ver=? WHERE token=?: Lost connection to server during query
[2025-06-25 19:11:17] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 19:11:19] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql UPDATE RepoTokenPeerInfo SET peer_ip=?, sync_time=?, client_ver=? WHERE token=?: Lost connection to server during query
[2025-06-25 19:11:19] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 19:20:42] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql UPDATE RepoTokenPeerInfo SET peer_ip=?, sync_time=?, client_ver=? WHERE token=?: Lost connection to server during query
[2025-06-25 19:20:42] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 19:21:46] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql UPDATE RepoTokenPeerInfo SET peer_ip=?, sync_time=?, client_ver=? WHERE token=?: Lost connection to server during query
[2025-06-25 19:21:46] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 19:22:51] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql UPDATE RepoTokenPeerInfo SET peer_ip=?, sync_time=?, client_ver=? WHERE token=?: Lost connection to server during query
[2025-06-25 19:22:51] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 19:27:29] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql UPDATE RepoTokenPeerInfo SET peer_ip=?, sync_time=?, client_ver=? WHERE token=?: Lost connection to server during query
[2025-06-25 19:27:29] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 19:32:57] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql INSERT INTO LastGCID (repo_id, client_id, gc_id) VALUES (?, ?, ?): Lost connection to server during query
[2025-06-25 19:32:57] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 19:33:01] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql INSERT INTO LastGCID (repo_id, client_id, gc_id) VALUES (?, ?, ?): Duplicate entry '4f4e0169-cc1e-47a5-b7bd-9f3de26c0a28-8f63cec7a8cd4b9da7448179...' for key 'repo_id'
[2025-06-25 19:33:50] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql UPDATE RepoTokenPeerInfo SET peer_ip=?, sync_time=?, client_ver=? WHERE token=?: Lost connection to server during query
[2025-06-25 19:33:50] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 19:33:50] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql UPDATE RepoTokenPeerInfo SET peer_ip=?, sync_time=?, client_ver=? WHERE token=?: Lost connection to server during query
[2025-06-25 19:33:50] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 19:40:18] [WARNING] ../common/seaf-db.c(928): Failed to prepare sql UPDATE Branch SET commit_id = ? WHERE name = ? AND repo_id = ?: Lost connection to server during query
[2025-06-25 19:40:18] [WARNING] ../common/seaf-db.c(907): Failed to execute sql ROLLBACK: Server has gone away
[2025-06-25 19:40:30] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql UPDATE RepoInfo SET name=?, update_time=?, version=?, is_encrypted=?, last_modifier=? WHERE repo_id=?: Lost connection to server during query
[2025-06-25 19:40:30] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 19:40:35] [WARNING] ../common/seaf-db.c(907): Failed to execute sql COMMIT: Lost connection to server during query
[2025-06-25 19:40:35] [WARNING] ../common/seaf-db.c(907): Failed to execute sql ROLLBACK: Server has gone away
[2025-06-25 19:40:35] [WARNING] size-sched.c(377): [scheduler] failed to store repo size and file count 4f4e0169-cc1e-47a5-b7bd-9f3de26c0a28.
[2025-06-25 19:40:37] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql UPDATE RepoTokenPeerInfo SET peer_ip=?, sync_time=?, client_ver=? WHERE token=?: Lost connection to server during query
[2025-06-25 19:40:37] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 19:40:49] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql UPDATE RepoTokenPeerInfo SET peer_ip=?, sync_time=?, client_ver=? WHERE token=?: Lost connection to server during query
[2025-06-25 19:40:49] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 19:40:49] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql UPDATE RepoTokenPeerInfo SET peer_ip=?, sync_time=?, client_ver=? WHERE token=?: Lost connection to server during query
[2025-06-25 19:40:49] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 19:40:50] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql UPDATE RepoTokenPeerInfo SET peer_ip=?, sync_time=?, client_ver=? WHERE token=?: Lost connection to server during query
[2025-06-25 19:40:50] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 19:41:16] [WARNING] ../common/seaf-db.c(928): Failed to prepare sql UPDATE Branch SET commit_id = ? WHERE name = ? AND repo_id = ?: Lost connection to server during query
[2025-06-25 19:41:16] [WARNING] ../common/seaf-db.c(907): Failed to execute sql ROLLBACK: Server has gone away
[2025-06-25 19:41:25] [WARNING] ../common/seaf-db.c(907): Failed to execute sql COMMIT: Lost connection to server during query
[2025-06-25 19:41:25] [WARNING] ../common/seaf-db.c(907): Failed to execute sql ROLLBACK: Server has gone away
[2025-06-25 19:42:27] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql UPDATE RepoTokenPeerInfo SET peer_ip=?, sync_time=?, client_ver=? WHERE token=?: Lost connection to server during query
[2025-06-25 19:42:27] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 19:50:52] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql DELETE FROM LastGCID WHERE repo_id = ? AND client_id = ?: Lost connection to server during query
[2025-06-25 19:50:52] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 19:51:17] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql UPDATE RepoTokenPeerInfo SET peer_ip=?, sync_time=?, client_ver=? WHERE token=?: Lost connection to server during query
[2025-06-25 19:51:17] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 19:51:19] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql UPDATE RepoTokenPeerInfo SET peer_ip=?, sync_time=?, client_ver=? WHERE token=?: Lost connection to server during query
[2025-06-25 19:51:19] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 19:51:31] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql DELETE FROM LastGCID WHERE repo_id = ? AND client_id = ?: Lost connection to server during query
[2025-06-25 19:51:31] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 19:51:37] [WARNING] ../common/seaf-db.c(907): Failed to execute sql COMMIT: Lost connection to server during query
[2025-06-25 19:51:37] [WARNING] ../common/seaf-db.c(907): Failed to execute sql ROLLBACK: Server has gone away
[2025-06-25 19:52:07] [WARNING] ../common/seaf-db.c(928): Failed to prepare sql UPDATE Branch SET commit_id = ? WHERE name = ? AND repo_id = ?: Lost connection to server during query
[2025-06-25 19:52:07] [WARNING] ../common/seaf-db.c(907): Failed to execute sql ROLLBACK: Server has gone away
[2025-06-25 19:52:08] [WARNING] ../common/seaf-db.c(1084): Failed to execute sql SELECT repo_id, commit_id FROM Branch WHERE name='master' AND repo_id IN ('93baf403-e869-423a-8388-7bc9c3a837db','4f4e0169-cc1e-47a5-b7bd-9f3de26c0a28','fa7ec099-536f-48f6-b5b0-2a91477194f8') LOCK IN SHARE MODE: Lost connection to server during query
[2025-06-25 19:52:08] [WARNING] ../common/seaf-db.c(501): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 19:52:17] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql UPDATE RepoInfo SET name=?, update_time=?, version=?, is_encrypted=?, last_modifier=? WHERE repo_id=?: Lost connection to server during query
[2025-06-25 19:52:17] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-25 20:05:51] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql UPDATE RepoTokenPeerInfo SET peer_ip=?, sync_time=?, client_ver=? WHERE token=?: Lost connection to server during query
[2025-06-25 20:05:51] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-27 08:02:35] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql UPDATE RepoTokenPeerInfo SET peer_ip=?, sync_time=?, client_ver=? WHERE token=?: Lost connection to server during query
[2025-06-27 08:02:36] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql UPDATE RepoTokenPeerInfo SET peer_ip=?, sync_time=?, client_ver=? WHERE token=?: Lost connection to server during query
[2025-06-27 08:02:36] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql UPDATE RepoTokenPeerInfo SET peer_ip=?, sync_time=?, client_ver=? WHERE token=?: Lost connection to server during query
[2025-06-27 08:02:36] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-27 08:02:36] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-27 08:02:36] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
[2025-06-27 08:02:36] [WARNING] ../common/seaf-db.c(1012): Failed to execute sql UPDATE RepoTokenPeerInfo SET peer_ip=?, sync_time=?, client_ver=? WHERE token=?: Lost connection to server during query
[2025-06-27 08:02:36] [WARNING] ../common/seaf-db.c(433): The mysql connection has expired, creating a new connection to re-query.
ash-4.4#

从日志看,是数据库连接超时,您可以检查下数据库超时设置。另外seafile版本是多少,两个账号同步文件冲突,具体操作步骤是什么样的?

+---------------------------------------+----------+
| Variable_name                         | Value    |
+---------------------------------------+----------+
| connect_timeout                       | 10       |
| deadlock_timeout_long                 | 50000000 |
| deadlock_timeout_short                | 10000    |
| delayed_insert_timeout                | 300      |
| idle_readonly_transaction_timeout     | 0        |
| idle_transaction_timeout              | 0        |
| idle_write_transaction_timeout        | 0        |
| innodb_flush_log_at_timeout           | 1        |
| innodb_lock_wait_timeout              | 50       |
| innodb_rollback_on_timeout            | OFF      |
| interactive_timeout                   | 28800    |
| lock_wait_timeout                     | 86400    |
| net_read_timeout                      | 30       |
| net_write_timeout                     | 60       |
| rpl_semi_sync_master_timeout          | 10000    |
| rpl_semi_sync_slave_kill_conn_timeout | 5        |
| slave_net_timeout                     | 60       |
| thread_pool_idle_timeout              | 60       |
| wait_timeout                          | 28800    |
+---------------------------------------+----------+

这是数据库设置,seafile版本是12.0.14,同步冲突表现是别人改完文件以后,会同步到我的电脑上,然后显示文件冲突,多一个有我的账号的文件。