客户端突然无法同步数据

几天前同步数据都正常,这两天出现“下载过程中出错”,在同步文件夹中新加入文件无法同步,但从web页面和客户端的云端文件浏览器可以直接上传文件。试过更新到最新的客户端,重新设置新的同步文件夹等,均无法解决。重设同步文件夹后可以成功把服务器上的资料下载到本地,但只要在本地添加新文件,就会报上述错误。

刚查了一下服务器日志,有大量的错误信息(seafile.log):
[11/08/2016 01:24:43 PM] http-server.c(1138): Remote head commit 732fca64-2f85-4745-a378-92d570e678ed:d816f9210813fd785e2ec1dfe818dffd4e8dcf9d not found.
[11/08/2016 01:25:14 PM] …/common/seaf-db.c(483): Error prepare statement INSERT INTO RepoTokenPeerInfo VALUES (?, ?, ?, ?, ?): Column count doesn’t match value count at row 1.
[11/08/2016 01:25:14 PM] http-server.c(1138): Remote head commit 732fca64-2f85-4745-a378-92d570e678ed:d816f9210813fd785e2ec1dfe818dffd4e8dcf9d not found.
[11/08/2016 01:25:45 PM] …/common/seaf-db.c(483): Error prepare statement INSERT INTO RepoTokenPeerInfo VALUES (?, ?, ?, ?, ?): Column count doesn’t match value count at row 1.
[11/08/2016 01:25:45 PM] http-server.c(1138): Remote head commit 732fca64-2f85-4745-a378-92d570e678ed:d816f9210813fd785e2ec1dfe818dffd4e8dcf9d not found.
[11/08/2016 01:25:51 PM] …/common/seaf-db.c(483): Error prepare statement INSERT INTO RepoTokenPeerInfo VALUES (?, ?, ?, ?, ?): Column count doesn’t match value count at row 1.
[11/08/2016 01:25:51 PM] http-server.c(1138): Remote head commit 732fca64-2f85-4745-a378-92d570e678ed:d816f9210813fd785e2ec1dfe818dffd4e8dcf9d not found.
[11/08/2016 01:26:22 PM] …/common/seaf-db.c(483): Error prepare statement INSERT INTO RepoTokenPeerInfo VALUES (?, ?, ?, ?, ?): Column count doesn’t match value count at row 1.
[11/08/2016 01:26:22 PM] http-server.c(1138): Remote head commit 732fca64-2f85-4745-a378-92d570e678ed:d816f9210813fd785e2ec1dfe818dffd4e8dcf9d not found.
[11/08/2016 01:26:53 PM] …/common/seaf-db.c(483): Error prepare statement INSERT INTO RepoTokenPeerInfo VALUES (?, ?, ?, ?, ?): Column count doesn’t match value count at row 1.
[11/08/2016 01:26:53 PM] http-server.c(1138): Remote head commit 732fca64-2f85-4745-a378-92d570e678ed:d816f9210813fd785e2ec1dfe818dffd4e8dcf9d not found.
[11/08/2016 01:27:24 PM] …/common/seaf-db.c(483): Error prepare statement INSERT INTO RepoTokenPeerInfo VALUES (?, ?, ?, ?, ?): Column count doesn’t match value count at row 1.
[11/08/2016 01:27:24 PM] http-server.c(1138): Remote head commit 732fca64-2f85-4745-a378-92d570e678ed:d816f9210813fd785e2ec1dfe818dffd4e8dcf9d not found.
[11/08/2016 01:27:55 PM] …/common/seaf-db.c(483): Error prepare statement INSERT INTO RepoTokenPeerInfo VALUES (?, ?, ?, ?, ?): Column count doesn’t match value count at row 1.
[11/08/2016 01:27:55 PM] http-server.c(1138): Remote head commit 732fca64-2f85-4745-a378-92d570e678ed:d816f9210813fd785e2ec1dfe818dffd4e8dcf9d not found.
[11/08/2016 01:28:26 PM] …/common/seaf-db.c(483): Error prepare statement INSERT INTO RepoTokenPeerInfo VALUES (?, ?, ?, ?, ?): Column count doesn’t match value count at row 1.
[11/08/2016 01:28:26 PM] http-server.c(1138): Remote head commit 732fca64-2f85-4745-a378-92d570e678ed:d816f9210813fd785e2ec1dfe818dffd4e8dcf9d not found.
[11/08/2016 01:28:57 PM] …/common/seaf-db.c(483): Error prepare statement INSERT INTO RepoTokenPeerInfo VALUES (?, ?, ?, ?, ?): Column count doesn’t match value count at row 1.
[11/08/2016 01:28:57 PM] http-server.c(1138): Remote head commit 732fca64-2f85-4745-a378-92d570e678ed:d816f9210813fd785e2ec1dfe818dffd4e8dcf9d not found.
[11/08/2016 01:29:28 PM] …/common/seaf-db.c(483): Error prepare statement INSERT INTO RepoTokenPeerInfo VALUES (?, ?, ?, ?, ?): Column count doesn’t match value count at row 1.
[11/08/2016 01:29:28 PM] http-server.c(1138): Remote head commit 732fca64-2f85-4745-a378-92d570e678ed:d816f9210813fd785e2ec1dfe818dffd4e8dcf9d not found.
[11/08/2016 01:29:59 PM] …/common/seaf-db.c(483): Error prepare statement INSERT INTO RepoTokenPeerInfo VALUES (?, ?, ?, ?, ?): Column count doesn’t match value count at row 1.
[11/08/2016 01:29:59 PM] http-server.c(1138): Remote head commit 732fca64-2f85-4745-a378-92d570e678ed:d816f9210813fd785e2ec1dfe818dffd4e8dcf9d not found.
[11/08/2016 01:30:30 PM] …/common/seaf-db.c(483): Error prepare statement INSERT INTO RepoTokenPeerInfo VALUES (?, ?, ?, ?, ?): Column count doesn’t match value count at row 1.
[11/08/2016 01:30:30 PM] http-server.c(1138): Remote head commit 732fca64-2f85-4745-a378-92d570e678ed:d816f9210813fd785e2ec1dfe818dffd4e8dcf9d not found.
[11/08/2016 01:31:01 PM] …/common/seaf-db.c(483): Error prepare statement INSERT INTO RepoTokenPeerInfo VALUES (?, ?, ?, ?, ?): Column count doesn’t match value count at row 1.
[11/08/2016 01:31:01 PM] http-server.c(1138): Remote head commit 732fca64-2f85-4745-a378-92d570e678ed:d816f9210813fd785e2ec1dfe818dffd4e8dcf9d not found.
[11/08/2016 01:31:32 PM] …/common/seaf-db.c(483): Error prepare statement INSERT INTO RepoTokenPeerInfo VALUES (?, ?, ?, ?, ?): Column count doesn’t match value count at row 1.
[11/08/2016 01:31:32 PM] http-server.c(1138): Remote head commit 732fca64-2f85-4745-a378-92d570e678ed:d816f9210813fd785e2ec1dfe818dffd4e8dcf9d not found.

(seahub_django_request.log):
2016-11-08 10:27:04,141 [WARNING] django.request:144 get_response Not Found: /cache/global/img/gs.gif
2016-11-08 11:14:58,206 [ERROR] django.request:210 handle_uncaught_exception Internal Server Error: /
Traceback (most recent call last):
File “/opt/seafile/seafile-server-5.0.4/seahub/thirdpart/Django-1.5.12-py2.6.egg/django/core/handlers/base.py”, line 90, in get_response
response = middleware_method(request)
File “/opt/seafile/seafile-server-5.0.4/seahub/thirdpart/Django-1.5.12-py2.6.egg/django/middleware/common.py”, line 57, in process_request
host = request.get_host()
File “/opt/seafile/seafile-server-5.0.4/seahub/thirdpart/Django-1.5.12-py2.6.egg/django/http/request.py”, line 72, in get_host
“Invalid HTTP_HOST header (you may need to set ALLOWED_HOSTS): %s” % host)
SuspiciousOperation: Invalid HTTP_HOST header (you may need to set ALLOWED_HOSTS):
2016-11-08 12:10:37,221 [ERROR] django.request:210 handle_uncaught_exception Internal Server Error: /
Traceback (most recent call last):
File “/opt/seafile/seafile-server-5.0.4/seahub/thirdpart/Django-1.5.12-py2.6.egg/django/core/handlers/base.py”, line 90, in get_response
response = middleware_method(request)
File “/opt/seafile/seafile-server-5.0.4/seahub/thirdpart/Django-1.5.12-py2.6.egg/django/middleware/common.py”, line 57, in process_request
host = request.get_host()
File “/opt/seafile/seafile-server-5.0.4/seahub/thirdpart/Django-1.5.12-py2.6.egg/django/http/request.py”, line 72, in get_host
“Invalid HTTP_HOST header (you may need to set ALLOWED_HOSTS): %s” % host)
SuspiciousOperation: Invalid HTTP_HOST header (you may need to set ALLOWED_HOSTS):
2016-11-08 12:10:37,243 [ERROR] django.request:210 handle_uncaught_exception Internal Server Error: /
Traceback (most recent call last):
File “/opt/seafile/seafile-server-5.0.4/seahub/thirdpart/Django-1.5.12-py2.6.egg/django/core/handlers/base.py”, line 90, in get_response
response = middleware_method(request)
File “/opt/seafile/seafile-server-5.0.4/seahub/thirdpart/Django-1.5.12-py2.6.egg/django/middleware/common.py”, line 57, in process_request
host = request.get_host()
File “/opt/seafile/seafile-server-5.0.4/seahub/thirdpart/Django-1.5.12-py2.6.egg/django/http/request.py”, line 72, in get_host
“Invalid HTTP_HOST header (you may need to set ALLOWED_HOSTS): %s” % host)
SuspiciousOperation: Invalid HTTP_HOST header (you may need to set ALLOWED_HOSTS):
2016-11-08 13:25:10,860 [ERROR] django.request:210 handle_uncaught_exception Internal Server Error: /
Traceback (most recent call last):
File “/opt/seafile/seafile-server-5.0.4/seahub/thirdpart/Django-1.5.12-py2.6.egg/django/core/handlers/base.py”, line 90, in get_response
response = middleware_method(request)
File “/opt/seafile/seafile-server-5.0.4/seahub/thirdpart/Django-1.5.12-py2.6.egg/django/middleware/common.py”, line 57, in process_request
host = request.get_host()
File “/opt/seafile/seafile-server-5.0.4/seahub/thirdpart/Django-1.5.12-py2.6.egg/django/http/request.py”, line 72, in get_host
“Invalid HTTP_HOST header (you may need to set ALLOWED_HOSTS): %s” % host)
SuspiciousOperation: Invalid HTTP_HOST header (you may need to set ALLOWED_HOSTS):
2016-11-08 13:32:18,266 [WARNING] django.request:144 get_response Not Found: /admin

我也是同样的问题 电脑客户端跟网页版都可以 手机客户端无法上传下载查看,但只是在外网的情况下,内网一切正常。

我刚试着把设置里的2个IP地址都直接改为公网地址,好了~~

我没试手机端,pc客户端的问题,页面和云端浏览器没问题。

我也遇到同样问题 网页一切正常 客户端上载下载不行 但是同步又没问题 server 6.3.3 客户端6.2.5 6.1.8 都试了。

一样的问题,楼主的解决了没?