Failed to get libraries information (MAC OS client 6.0)

Log file shows

Everything seems to work fine. Files are synching, but MAC client shows error msg?
Thank you

A.

I just upgraded both the Linux server and Windows client software to the latest versions and the same thing happens when Windows first boots. However, the libraries sync fine after Retry is clicked.

Maybe that is just a first-time-after-upgrade issue, because yesterday I upgraded the Ubuntu server from 5.1.4 64bit to 6.0.4 64bit, Windows 7 Clients from 5.14 to 6.0.4, and Ubuntu 16.04.1 Clients from 5.1.4 to 6.0.4, tested all that and everything seemed fine. This morning I had the same issue Andrius reported when the Windows machines booted. However, subsequent to my post above about that I booted a Ubuntu machine and the Linux Client synced automatically without that problem. After learning that I rebooted a couple of Windows machines and they also synced automatically on startup.

Any help / ideas?

p.s. then i am using Seafile linux version seafile-pro-server-5.1.7 (MAC OS Seafile client works perfect). Then i am using Seafile linux version seafile-server-6.0.+ Failed to login: Internal server error

I suggest you check the server side log to see if there are related errors.

seafile.log

[10/16/2016 05:55:32 PM] …/common/mq-mgr.c(61): [mq client] mq cilent is started
[10/16/2016 05:55:32 PM] filelock-mgr.c(915): Cleaning expired file locks.


ccnet.log

[10/16/16 17:55:30] …/common/session.c(139): using config file /var/www/html/conf/ccnet.conf
[10/16/16 17:55:30] …/common/session.c(462): socket file exists, delete it anyway
[10/16/16 17:55:30] …/common/session.c(491): Listen on /var/www/html/ccnet/ccnet.sock for local clients
[10/16/16 17:55:30] …/common/session.c(297): Update pubinfo file
[10/16/16 17:55:31] …/common/session.c(405): Accepted a local client
[10/16/16 17:55:31] …/common/session.c(405): Accepted a local client
[10/16/16 17:55:32] …/common/session.c(405): Accepted a local client
[10/16/16 17:55:32] …/common/session.c(405): Accepted a local client
[10/16/16 17:55:34] …/common/session.c(405): Accepted a local client
[10/16/16 17:55:34] …/common/session.c(405): Accepted a local client
[10/16/16 17:55:41] …/common/session.c(405): Accepted a local client
[10/16/16 17:55:41] …/common/peer.c(950): Local peer down
[10/16/16 17:56:01] …/common/session.c(405): Accepted a local client
[10/16/16 17:56:16] …/common/session.c(405): Accepted a local client
[10/16/16 17:56:25] …/common/session.c(405): Accepted a local client


controller.log

[10/16/16 17:55:30] seafile-controller.c(1192): License file /var/www/html/seafile-license.txt does not exist, allow at most 3 trial users
[10/16/16 17:55:30] seafile-controller.c(1192): License file /var/www/html/seafile-license.txt does not exist, allow at most 3 trial users
[10/16/16 17:55:30] seafile-controller.c(168): starting ccnet-server …
[10/16/16 17:55:30] seafile-controller.c(87): spawn_process: ccnet-server -F /var/www/html/conf -c /var/www/html/ccnet -f /var/www/html/logs/ccnet.l
og -d -M 3 -P /var/www/html/pids/ccnet.pid
[10/16/16 17:55:30] seafile-controller.c(102): spawned ccnet-server, pid 8700
[10/16/16 17:55:31] seafile-controller.c(754): ccnet daemon connected.
[10/16/16 17:55:31] seafile-controller.c(205): starting seaf-server …
[10/16/16 17:55:31] seafile-controller.c(87): spawn_process: seaf-server -F /var/www/html/conf -c /var/www/html/ccnet -d /var/www/html/seafile-data
-l /var/www/html/logs/seafile.log -P /var/www/html/pids/seaf-server.pid
[10/16/16 17:55:31] seafile-controller.c(102): spawned seaf-server, pid 8702
[10/16/16 17:55:31] seafile-controller.c(575): pid file /var/www/html/pids/seafevents.pid does not exist
[10/16/16 17:55:31] seafile-controller.c(87): spawn_process: /usr/bin/python2.7 -m seafevents.main --config-file /var/www/html/conf/seafevents.conf
–loglevel debug --logfile /var/www/html/logs/seafevents.log -P /var/www/html/pids/seafevents.pid
[10/16/16 17:55:31] seafile-controller.c(102): spawned /usr/bin/python2.7, pid 8703
[10/16/16 17:55:31] seafile-controller.c(722): seafdav is not enabled
[10/16/16 17:55:31] seafile-controller.c(575): pid file /var/www/html/pids/elasticsearch.pid does not exist
[10/16/16 17:55:31] seafile-controller.c(87): spawn_process: /var/www/html/seafile-pro-server-6.0.1/pro/elasticsearch/bin/elasticsearch -Des.path.lo
gs=/var/www/html/logs -Des.path.data=/var/www/html/pro-data/search/data -Des.network.host=127.0.0.1 -p /var/www/html/pids/elasticsearch.pid
[10/16/16 17:55:31] seafile-controller.c(102): spawned /var/www/html/seafile-pro-server-6.0.1/pro/elasticsearch/bin/elasticsearch, pid 8704


seafevents.log

[2016-10-16 17:55:34,644] [INFO] [seafevents] database: sqlite3, path: /var/www/html/pro-data/seafevents.db
[2016-10-16 17:55:34,664] [DEBUG] seafes enabled: True
[2016-10-16 17:55:34,664] [DEBUG] seafes dir: /var/www/html/seafile-pro-server-6.0.1/pro/python/seafes
[2016-10-16 17:55:34,664] [DEBUG] seafes logfile: /var/www/html/logs/index.log
[2016-10-16 17:55:34,664] [DEBUG] seafes index interval: 600 sec
[2016-10-16 17:55:34,664] [DEBUG] seafes index office/pdf: false
[2016-10-16 17:55:34,665] [DEBUG] seahub email enabled: True
[2016-10-16 17:55:34,665] [DEBUG] seahub dir: /var/www/html/seafile-pro-server-6.0.1/seahub
[2016-10-16 17:55:34,665] [DEBUG] send seahub email interval: 1800 sec
[2016-10-16 17:55:34,665] [INFO] LDAP section is not set, disable ldap sync.
[2016-10-16 17:55:34,666] [INFO] [virus_scan] scan_command option is not found in /var/www/html/conf/seafile.conf, disable virus scan.
[2016-10-16 17:55:34,666] [DEBUG] office enabled: False
[2016-10-16 17:55:34,667] [INFO] [seafevents] database: sqlite3, path: /var/www/html/pro-data/seafevents.db
[2016-10-16 17:55:34,673] [DEBUG] using config file /var/www/html/conf/ccnet.conf
[2016-10-16 17:55:34,674] [INFO] try to connect to ccnet-server…
[2016-10-16 17:55:34,675] [INFO] connected to ccnet server
[2016-10-16 17:55:34,675] [DEBUG] using config file /var/www/html/conf/ccnet.conf
[2016-10-16 17:55:34,676] [INFO] listen to mq: set([‘seaf_server.event’, ‘seahub.stats’])
[2016-10-16 17:55:34,677] [INFO] staring background tasks
[2016-10-16 17:55:34,677] [INFO] search indexer is started, interval = 600 sec
[2016-10-16 17:55:34,677] [INFO] seahub email sender is started, interval = 1800 sec
[2016-10-16 17:55:34,677] [INFO] ldap sync is disabled
[2016-10-16 17:55:34,677] [INFO] virus scan is disabled


seahub_django_request.log

2016-10-16 22:56:01,280 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/unseen_messages/
Traceback (most recent call last):
File “/var/www/html/seafile-pro-server-6.0.1/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/core/handlers/base.py”, line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “/var/www/html/seafile-pro-server-6.0.1/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/views/decorators/csrf.py”, line 58, in wrapped_view
return view_func(*args, **kwargs)
File “/var/www/html/seafile-pro-server-6.0.1/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/views/generic/base.py”, line 71, in view
return self.dispatch(request, *args, **kwargs)
File “/var/www/html/seafile-pro-server-6.0.1/seahub/seahub/api2/base.py”, line 23, in dispatch
response = super(APIView, self).dispatch(*a, **kw)
File “/var/www/html/seafile-pro-server-6.0.1/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py”, line 466, in dispatch
response = self.handle_exception(exc)
File “/var/www/html/seafile-pro-server-6.0.1/seahub/seahub/api2/base.py”, line 20, in handle_exception
return super(APIView, self).handle_exception(exc)
File “/var/www/html/seafile-pro-server-6.0.1/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py”, line 454, in dispatch
self.initial(request, *args, **kwargs)
File “/var/www/html/seafile-pro-server-6.0.1/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py”, line 376, in initial
self.perform_authentication(request)
File “/var/www/html/seafile-pro-server-6.0.1/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py”, line 310, in perform_a
request.user
File “/var/www/html/seafile-pro-server-6.0.1/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/request.py”, line 353, in __getat
return super(Request, self).getattribute(attr)
File “/var/www/html/seafile-pro-server-6.0.1/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/request.py”, line 193, in user
self._authenticate()
File “/var/www/html/seafile-pro-server-6.0.1/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/request.py”, line 316, in _authen
user_auth_tuple = authenticator.authenticate(self)
File “/var/www/html/seafile-pro-server-6.0.1/seahub/seahub/api2/authentication.py”, line 63, in authenticate
ret = self.authenticate_v2(request, key)
File “/var/www/html/seafile-pro-server-6.0.1/seahub/seahub/api2/authentication.py”, line 92, in authenticate_v2
token = TokenV2.objects.get(key=key)
File “/var/www/html/seafile-pro-server-6.0.1/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/db/models/manager.py”, line 127, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File “/var/www/html/seafile-pro-server-6.0.1/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/db/models/query.py”, line 328, in get
num = len(clone)
File “/var/www/html/seafile-pro-server-6.0.1/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/db/models/query.py”, line 144, in len
self._fetch_all()
File “/var/www/html/seafile-pro-server-6.0.1/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/db/models/query.py”, line 965, in _fetch_all
self._result_cache = list(self.iterator())
File “/var/www/html/seafile-pro-server-6.0.1/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/db/models/query.py”, line 238, in iterator
results = compiler.execute_sql()
File “/var/www/html/seafile-pro-server-6.0.1/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/db/models/sql/compiler.py”, line 840, in execute_sql
cursor.execute(sql, params)
File “/var/www/html/seafile-pro-server-6.0.1/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/db/backends/utils.py”, line 64, in execute
return self.cursor.execute(sql, params)
File “/var/www/html/seafile-pro-server-6.0.1/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/db/utils.py”, line 98, in exit
six.reraise(dj_exc_type, dj_exc_value, traceback)
File “/var/www/html/seafile-pro-server-6.0.1/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/db/backends/utils.py”, line 64, in execute
return self.cursor.execute(sql, params)
File “/var/www/html/seafile-pro-server-6.0.1/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/db/backends/sqlite3/base.py”, line 318, in execute
return Database.Cursor.execute(self, query, params)
OperationalError: no such column: api2_tokenv2.created_at
2016-10-16 22:56:01,240 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/account/info/
Traceback (most recent call last):
File “/var/www/html/seafile-pro-server-6.0.1/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/core/handlers/base.py”, line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “/var/www/html/seafile-pro-server-6.0.1/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/views/decorators/csrf.py”, line 58, in wrapped_view
return view_func(*args, **kwargs)
File “/var/www/html/seafile-pro-server-6.0.1/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/views/generic/base.py”, line 71, in view
return self.dispatch(request, *args, **kwargs)
File “/var/www/html/seafile-pro-server-6.0.1/seahub/seahub/api2/base.py”, line 23, in dispatch
response = super(APIView, self).dispatch(*a, **kw)
File “/var/www/html/seafile-pro-server-6.0.1/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py”, line 466, in dispatch
response = self.handle_exception(exc)
File “/var/www/html/seafile-pro-server-6.0.1/seahub/seahub/api2/base.py”, line 20, in handle_exception
return super(APIView, self).handle_exception(exc)
File “/var/www/html/seafile-pro-server-6.0.1/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py”, line 454, in dispatch
self.initial(request, *args, **kwargs)
File “/var/www/html/seafile-pro-server-6.0.1/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py”, line 376, in initial
self.perform_authentication(request)
File “/var/www/html/seafile-pro-server-6.0.1/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py”, line 310, in perform_a
request.user
File “/var/www/html/seafile-pro-server-6.0.1/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/request.py”, line 353, in __getat
return super(Request, self).getattribute(attr)
File “/var/www/html/seafile-pro-server-6.0.1/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/request.py”, line 193, in user
self._authenticate()
File “/var/www/html/seafile-pro-server-6.0.1/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/request.py”, line 316, in _authen
user_auth_tuple = authenticator.authenticate(self)
File “/var/www/html/seafile-pro-server-6.0.1/seahub/seahub/api2/authentication.py”, line 63, in authenticate
ret = self.authenticate_v2(request, key)
File “/var/www/html/seafile-pro-server-6.0.1/seahub/seahub/api2/authentication.py”, line 92, in authenticate_v2
token = TokenV2.objects.get(key=key)
File “/var/www/html/seafile-pro-server-6.0.1/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/db/models/manager.py”, line 127, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File “/var/www/html/seafile-pro-server-6.0.1/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/db/models/query.py”, line 328, in get
num = len(clone)
File “/var/www/html/seafile-pro-server-6.0.1/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/db/models/query.py”, line 144, in len
self._fetch_all()
File “/var/www/html/seafile-pro-server-6.0.1/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/db/models/query.py”, line 965, in _fetch_all
self._result_cache = list(self.iterator())
File “/var/www/html/seafile-pro-server-6.0.1/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/db/models/query.py”, line 238, in iterator
results = compiler.execute_sql()
File “/var/www/html/seafile-pro-server-6.0.1/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/db/models/sql/compiler.py”, line 840, in execute_sql
cursor.execute(sql, params)
File “/var/www/html/seafile-pro-server-6.0.1/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/db/backends/utils.py”, line 64, in execute
return self.cursor.execute(sql, params)
File “/var/www/html/seafile-pro-server-6.0.1/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/db/utils.py”, line 98, in exit
six.reraise(dj_exc_type, dj_exc_value, traceback)
File “/var/www/html/seafile-pro-server-6.0.1/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/db/backends/utils.py”, line 64, in execute
return self.cursor.execute(sql, params)
File “/var/www/html/seafile-pro-server-6.0.1/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/db/backends/sqlite3/base.py”, line 318, in execute
return Database.Cursor.execute(self, query, params)
OperationalError: no such column: api2_tokenv2.created_at

smth like that

Have you run the upgrade script when upgrade to version 6.0?

1 Like

daniel.pan
Upgraded now everything works.
Thank you

p.s. found misspelling “contiune”