Server down need help ASAP please!

Server version 6.08 is down since we did a garbage collector clean up. WHen it was done I rebooted the server and started the services back up, and now I can’t get it to come back online.

At first I couldn’t ping “seafile” dns was returning a different IP, so I tried to change the IP on he server to match and then the server hangs up for some reason. So next I just changed the DNS entry to match the new IP on the server.

So now what i get is he page unavailable message internally, and if I try to access from outside nothing loads.

This is a critical server and I need help if someone can please!

I could attach logs, but I don’t see how? Heres the last half of django

  File "/mnt/seafile/seafile-server-6.0.8/seahub/seahub/api2/base.py", line 23, in dispatch
    response = super(APIView, self).dispatch(*a, **kw)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 466, in dispatch
    response = self.handle_exception(exc)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/seahub/api2/base.py", line 20, in handle_exception
    return super(APIView, self).handle_exception(exc)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 454, in dispatch
    self.initial(request, *args, **kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 376, in initial
    self.perform_authentication(request)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 310, in perform_authentication
    request.user
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/request.py", line 353, in __getattribute__
    return super(Request, self).__getattribute__(attr)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/request.py", line 193, in user
    self._authenticate()
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/request.py", line 316, in _authenticate
    user_auth_tuple = authenticator.authenticate(self)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/seahub/api2/authentication.py", line 63, in authenticate
    ret = self.authenticate_v2(request, key)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/seahub/api2/authentication.py", line 92, in authenticate_v2
    token = TokenV2.objects.get(key=key)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/manager.py", line 127, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 328, in get
    num = len(clone)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 144, in __len__
    self._fetch_all()
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 965, in _fetch_all
    self._result_cache = list(self.iterator())
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 238, in iterator
    results = compiler.execute_sql()
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/sql/compiler.py", line 840, in execute_sql
    cursor.execute(sql, params)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/utils.py", line 98, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/backends/mysql/base.py", line 124, in execute
    return self.cursor.execute(query, args)
  File "/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py", line 174, in execute
    self.errorhandler(self, exc, value)
  File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
    raise errorclass, errorvalue
OperationalError: (1054, "Unknown column 'api2_tokenv2.created_at' in 'field list'")
2017-04-26 15:31:25,222 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/account/info/
Traceback (most recent call last):
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/core/handlers/base.py", line 132, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/views/decorators/csrf.py", line 58, in wrapped_view
    return view_func(*args, **kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/views/generic/base.py", line 71, in view
    return self.dispatch(request, *args, **kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/seahub/api2/base.py", line 23, in dispatch
    response = super(APIView, self).dispatch(*a, **kw)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 466, in dispatch
    response = self.handle_exception(exc)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/seahub/api2/base.py", line 20, in handle_exception
    return super(APIView, self).handle_exception(exc)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 454, in dispatch
    self.initial(request, *args, **kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 376, in initial
    self.perform_authentication(request)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 310, in perform_authentication
    request.user
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/request.py", line 353, in __getattribute__
    return super(Request, self).__getattribute__(attr)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/request.py", line 193, in user
    self._authenticate()
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/request.py", line 316, in _authenticate
    user_auth_tuple = authenticator.authenticate(self)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/seahub/api2/authentication.py", line 63, in authenticate
    ret = self.authenticate_v2(request, key)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/seahub/api2/authentication.py", line 92, in authenticate_v2
    token = TokenV2.objects.get(key=key)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/manager.py", line 127, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 328, in get
    num = len(clone)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 144, in __len__
    self._fetch_all()
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 965, in _fetch_all
    self._result_cache = list(self.iterator())
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 238, in iterator
    results = compiler.execute_sql()
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/sql/compiler.py", line 840, in execute_sql
    cursor.execute(sql, params)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/utils.py", line 98, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/backends/mysql/base.py", line 124, in execute
    return self.cursor.execute(query, args)
  File "/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py", line 174, in execute
    self.errorhandler(self, exc, value)
  File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
    raise errorclass, errorvalue
OperationalError: (1054, "Unknown column 'api2_tokenv2.created_at' in 'field list'")
2017-04-26 15:31:30,739 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/account/info/
Traceback (most recent call last):
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/core/handlers/base.py", line 132, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/views/decorators/csrf.py", line 58, in wrapped_view
    return view_func(*args, **kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/views/generic/base.py", line 71, in view
    return self.dispatch(request, *args, **kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/seahub/api2/base.py", line 23, in dispatch
    response = super(APIView, self).dispatch(*a, **kw)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 466, in dispatch
    response = self.handle_exception(exc)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/seahub/api2/base.py", line 20, in handle_exception
    return super(APIView, self).handle_exception(exc)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 454, in dispatch
    self.initial(request, *args, **kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 376, in initial
    self.perform_authentication(request)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 310, in perform_authentication
    request.user
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/request.py", line 353, in __getattribute__
    return super(Request, self).__getattribute__(attr)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/request.py", line 193, in user
    self._authenticate()
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/request.py", line 316, in _authenticate
    user_auth_tuple = authenticator.authenticate(self)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/seahub/api2/authentication.py", line 63, in authenticate
    ret = self.authenticate_v2(request, key)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/seahub/api2/authentication.py", line 92, in authenticate_v2
    token = TokenV2.objects.get(key=key)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/manager.py", line 127, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 328, in get
    num = len(clone)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 144, in __len__
    self._fetch_all()
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 965, in _fetch_all
    self._result_cache = list(self.iterator())
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 238, in iterator
    results = compiler.execute_sql()
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/sql/compiler.py", line 840, in execute_sql
    cursor.execute(sql, params)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/utils.py", line 98, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/backends/mysql/base.py", line 124, in execute
    return self.cursor.execute(query, args)
  File "/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py", line 174, in execute
    self.errorhandler(self, exc, value)
  File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
    raise errorclass, errorvalue
OperationalError: (1054, "Unknown column 'api2_tokenv2.created_at' in 'field list'")
2017-04-26 15:31:34,228 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/repos/
Traceback (most recent call last):
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/core/handlers/base.py", line 132, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/views/decorators/csrf.py", line 58, in wrapped_view
    return view_func(*args, **kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/views/generic/base.py", line 71, in view
    return self.dispatch(request, *args, **kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/seahub/api2/base.py", line 23, in dispatch
    response = super(APIView, self).dispatch(*a, **kw)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 466, in dispatch
    response = self.handle_exception(exc)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/seahub/api2/base.py", line 20, in handle_exception
    return super(APIView, self).handle_exception(exc)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 454, in dispatch
    self.initial(request, *args, **kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 376, in initial
    self.perform_authentication(request)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 310, in perform_authentication
    request.user
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/request.py", line 353, in __getattribute__
    return super(Request, self).__getattribute__(attr)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/request.py", line 193, in user
    self._authenticate()
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/request.py", line 316, in _authenticate
    user_auth_tuple = authenticator.authenticate(self)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/seahub/api2/authentication.py", line 63, in authenticate
    ret = self.authenticate_v2(request, key)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/seahub/api2/authentication.py", line 92, in authenticate_v2
    token = TokenV2.objects.get(key=key)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/manager.py", line 127, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 328, in get
    num = len(clone)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 144, in __len__
    self._fetch_all()
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 965, in _fetch_all
    self._result_cache = list(self.iterator())
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 238, in iterator
    results = compiler.execute_sql()
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/sql/compiler.py", line 840, in execute_sql
    cursor.execute(sql, params)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/utils.py", line 98, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/backends/mysql/base.py", line 124, in execute
    return self.cursor.execute(query, args)
  File "/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py", line 174, in execute
    self.errorhandler(self, exc, value)
  File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
    raise errorclass, errorvalue
OperationalError: (1054, "Unknown column 'api2_tokenv2.created_at' in 'field list'")
2017-04-26 15:31:35,589 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/repos/
Traceback (most recent call last):
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/core/handlers/base.py", line 132, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/views/decorators/csrf.py", line 58, in wrapped_view
    return view_func(*args, **kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/views/generic/base.py", line 71, in view
    return self.dispatch(request, *args, **kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/seahub/api2/base.py", line 23, in dispatch
    response = super(APIView, self).dispatch(*a, **kw)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 466, in dispatch
    response = self.handle_exception(exc)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/seahub/api2/base.py", line 20, in handle_exception
    return super(APIView, self).handle_exception(exc)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 454, in dispatch
    self.initial(request, *args, **kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 376, in initial
    self.perform_authentication(request)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 310, in perform_authentication
    request.user
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/request.py", line 353, in __getattribute__
    return super(Request, self).__getattribute__(attr)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/request.py", line 193, in user
    self._authenticate()
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/request.py", line 316, in _authenticate
    user_auth_tuple = authenticator.authenticate(self)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/seahub/api2/authentication.py", line 63, in authenticate
    ret = self.authenticate_v2(request, key)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/seahub/api2/authentication.py", line 92, in authenticate_v2
    token = TokenV2.objects.get(key=key)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/manager.py", line 127, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 328, in get
    num = len(clone)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 144, in __len__
    self._fetch_all()
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 965, in _fetch_all
    self._result_cache = list(self.iterator())
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 238, in iterator
    results = compiler.execute_sql()
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/sql/compiler.py", line 840, in execute_sql
    cursor.execute(sql, params)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/utils.py", line 98, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/backends/mysql/base.py", line 124, in execute
    return self.cursor.execute(query, args)
  File "/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py", line 174, in execute
    self.errorhandler(self, exc, value)
  File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
    raise errorclass, errorvalue
OperationalError: (1054, "Unknown column 'api2_tokenv2.created_at' in 'field list'")
2017-04-26 15:31:50,500 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/repos/
Traceback (most recent call last):
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/core/handlers/base.py", line 132, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/views/decorators/csrf.py", line 58, in wrapped_view
    return view_func(*args, **kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/views/generic/base.py", line 71, in view
    return self.dispatch(request, *args, **kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/seahub/api2/base.py", line 23, in dispatch
    response = super(APIView, self).dispatch(*a, **kw)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 466, in dispatch
    response = self.handle_exception(exc)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/seahub/api2/base.py", line 20, in handle_exception
    return super(APIView, self).handle_exception(exc)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 454, in dispatch
    self.initial(request, *args, **kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 376, in initial
    self.perform_authentication(request)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 310, in perform_authentication
    request.user
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/request.py", line 353, in __getattribute__
    return super(Request, self).__getattribute__(attr)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/request.py", line 193, in user
    self._authenticate()
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/request.py", line 316, in _authenticate
    user_auth_tuple = authenticator.authenticate(self)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/seahub/api2/authentication.py", line 63, in authenticate
    ret = self.authenticate_v2(request, key)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/seahub/api2/authentication.py", line 92, in authenticate_v2
    token = TokenV2.objects.get(key=key)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/manager.py", line 127, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 328, in get
    num = len(clone)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 144, in __len__
    self._fetch_all()
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 965, in _fetch_all
    self._result_cache = list(self.iterator())
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 238, in iterator
    results = compiler.execute_sql()
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/sql/compiler.py", line 840, in execute_sql
    cursor.execute(sql, params)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/utils.py", line 98, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/backends/mysql/base.py", line 124, in execute
    return self.cursor.execute(query, args)
  File "/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py", line 174, in execute
    self.errorhandler(self, exc, value)
  File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
    raise errorclass, errorvalue
OperationalError: (1054, "Unknown column 'api2_tokenv2.created_at' in 'field list'")

Looks like there is something wrong with your database.

Did the server completely run out of space before? Has MySQL logged errors? Ok … if disk was full it possibly wasn’t able to persist those.

It was close but did not run out of space. That is why we have to do some cleanup it was at 97%, now its down to 80% full. But I need to get the server up asap, any ideas?

Is anyone else available to assist?

I cleared the file and restarted the server to get fresh logs:

py2.6.egg/constance/base.py", line 10, in __init__
    utils.import_module_attr(settings.BACKEND)())
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/django_constance-1.0.1-py2.6.egg/constance/backends/database/__init__.py", line 37, in __init__
    self.autofill()
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/django_constance-1.0.1-py2.6.egg/constance/backends/database/__init__.py", line 52, in autofill
    for key, value in self.mget(settings.CONFIG.keys()):
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/django_constance-1.0.1-py2.6.egg/constance/backends/database/__init__.py", line 61, in mget
    for const in stored:
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 162, in __iter__
    self._fetch_all()
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 965, in _fetch_all
    self._result_cache = list(self.iterator())
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 238, in iterator
    results = compiler.execute_sql()
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/sql/compiler.py", line 840, in execute_sql
    cursor.execute(sql, params)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/utils.py", line 98, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/backends/mysql/base.py", line 124, in execute
    return self.cursor.execute(query, args)
  File "/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py", line 174, in execute
    self.errorhandler(self, exc, value)
  File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
    raise errorclass, errorvalue
ProgrammingError: (1146, "Table 'seahub-db.constance_config' doesn't exist")
2017-04-26 18:05:47,417 [WARNING] django.request:170 get_response Not Found: /favicon.ico
2017-04-26 18:05:47,449 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /favicon.ico
Traceback (most recent call last):
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/core/handlers/base.py", line 87, in get_exception_response
    response = callback(request, **param_dict)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/utils/decorators.py", line 110, in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/views/defaults.py", line 22, in page_not_found
    body = template.render(context, request)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/template/backends/django.py", line 74, in render
    return self.template.render(context)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/template/base.py", line 209, in render
    with context.bind_template(self):
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/template/context.py", line 241, in bind_template
    updates.update(processor(self.request))
  File "/mnt/seafile/seafile-server-6.0.8/seahub/seahub/base/context_processors.py", line 55, in base
    file_server_root = config.FILE_SERVER_ROOT
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/utils/functional.py", line 225, in inner
    self._setup()
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/django_constance-1.0.1-py2.6.egg/constance/__init__.py", line 11, in _setup
    self._wrapped = Config()
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/django_constance-1.0.1-py2.6.egg/constance/base.py", line 10, in __init__
    utils.import_module_attr(settings.BACKEND)())
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/django_constance-1.0.1-py2.6.egg/constance/backends/database/__init__.py", line 37, in __init__
    self.autofill()
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/django_constance-1.0.1-py2.6.egg/constance/backends/database/__init__.py", line 52, in autofill
    for key, value in self.mget(settings.CONFIG.keys()):
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/django_constance-1.0.1-py2.6.egg/constance/backends/database/__init__.py", line 61, in mget
    for const in stored:
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 162, in __iter__
    self._fetch_all()
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 965, in _fetch_all
    self._result_cache = list(self.iterator())
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 238, in iterator
    results = compiler.execute_sql()
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/sql/compiler.py", line 840, in execute_sql
    cursor.execute(sql, params)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/utils.py", line 98, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/backends/mysql/base.py", line 124, in execute
    return self.cursor.execute(query, args)
  File "/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py", line 174, in execute
    self.errorhandler(self, exc, value)
  File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
    raise errorclass, errorvalue
ProgrammingError: (1146, "Table 'seahub-db.constance_config' doesn't exist")
2017-04-26 18:05:49,352 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/account/info/
Traceback (most recent call last):
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/core/handlers/base.py", line 132, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/views/decorators/csrf.py", line 58, in wrapped_view
    return view_func(*args, **kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/views/generic/base.py", line 71, in view
    return self.dispatch(request, *args, **kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/seahub/api2/base.py", line 23, in dispatch
    response = super(APIView, self).dispatch(*a, **kw)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 466, in dispatch
    response = self.handle_exception(exc)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/seahub/api2/base.py", line 20, in handle_exception
    return super(APIView, self).handle_exception(exc)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 454, in dispatch
    self.initial(request, *args, **kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 376, in initial
    self.perform_authentication(request)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 310, in perform_authentication
    request.user
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/request.py", line 353, in __getattribute__
    return super(Request, self).__getattribute__(attr)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/request.py", line 193, in user
    self._authenticate()
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/request.py", line 316, in _authenticate
    user_auth_tuple = authenticator.authenticate(self)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/seahub/api2/authentication.py", line 63, in authenticate
    ret = self.authenticate_v2(request, key)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/seahub/api2/authentication.py", line 92, in authenticate_v2
    token = TokenV2.objects.get(key=key)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/manager.py", line 127, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 328, in get
    num = len(clone)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 144, in __len__
    self._fetch_all()
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 965, in _fetch_all
    self._result_cache = list(self.iterator())
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 238, in iterator
    results = compiler.execute_sql()
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/sql/compiler.py", line 840, in execute_sql
    cursor.execute(sql, params)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/utils.py", line 98, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/backends/mysql/base.py", line 124, in execute
    return self.cursor.execute(query, args)
  File "/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py", line 174, in execute
    self.errorhandler(self, exc, value)
  File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
    raise errorclass, errorvalue
OperationalError: (1054, "Unknown column 'api2_tokenv2.created_at' in 'field list'")
2017-04-26 18:05:56,189 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/repos/
Traceback (most recent call last):
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/core/handlers/base.py", line 132, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/views/decorators/csrf.py", line 58, in wrapped_view
    return view_func(*args, **kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/views/generic/base.py", line 71, in view
    return self.dispatch(request, *args, **kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/seahub/api2/base.py", line 23, in dispatch
    response = super(APIView, self).dispatch(*a, **kw)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 466, in dispatch
    response = self.handle_exception(exc)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/seahub/api2/base.py", line 20, in handle_exception
    return super(APIView, self).handle_exception(exc)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 454, in dispatch
    self.initial(request, *args, **kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 376, in initial
    self.perform_authentication(request)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 310, in perform_authentication
    request.user
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/request.py", line 353, in __getattribute__
    return super(Request, self).__getattribute__(attr)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/request.py", line 193, in user
    self._authenticate()
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/request.py", line 316, in _authenticate
    user_auth_tuple = authenticator.authenticate(self)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/seahub/api2/authentication.py", line 63, in authenticate
    ret = self.authenticate_v2(request, key)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/seahub/api2/authentication.py", line 92, in authenticate_v2
    token = TokenV2.objects.get(key=key)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/manager.py", line 127, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 328, in get
    num = len(clone)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 144, in __len__
    self._fetch_all()
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 965, in _fetch_all
    self._result_cache = list(self.iterator())
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 238, in iterator
    results = compiler.execute_sql()
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/sql/compiler.py", line 840, in execute_sql
    cursor.execute(sql, params)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/utils.py", line 98, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/backends/mysql/base.py", line 124, in execute
    return self.cursor.execute(query, args)
  File "/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py", line 174, in execute
    self.errorhandler(self, exc, value)
  File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
    raise errorclass, errorvalue
OperationalError: (1054, "Unknown column 'api2_tokenv2.created_at' in 'field list'")
2017-04-26 18:05:57,954 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/account/info/
Traceback (most recent call last):
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/core/handlers/base.py", line 132, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/views/decorators/csrf.py", line 58, in wrapped_view
    return view_func(*args, **kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/views/generic/base.py", line 71, in view
    return self.dispatch(request, *args, **kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/seahub/api2/base.py", line 23, in dispatch
    response = super(APIView, self).dispatch(*a, **kw)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 466, in dispatch
    response = self.handle_exception(exc)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/seahub/api2/base.py", line 20, in handle_exception
    return super(APIView, self).handle_exception(exc)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 454, in dispatch
    self.initial(request, *args, **kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 376, in initial
    self.perform_authentication(request)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 310, in perform_authentication
    request.user
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/request.py", line 353, in __getattribute__
    return super(Request, self).__getattribute__(attr)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/request.py", line 193, in user
    self._authenticate()
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/request.py", line 316, in _authenticate
    user_auth_tuple = authenticator.authenticate(self)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/seahub/api2/authentication.py", line 63, in authenticate
    ret = self.authenticate_v2(request, key)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/seahub/api2/authentication.py", line 92, in authenticate_v2
    token = TokenV2.objects.get(key=key)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/manager.py", line 127, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 328, in get
    num = len(clone)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 144, in __len__
    self._fetch_all()
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 965, in _fetch_all
    self._result_cache = list(self.iterator())
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 238, in iterator
    results = compiler.execute_sql()
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/sql/compiler.py", line 840, in execute_sql
    cursor.execute(sql, params)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/utils.py", line 98, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/backends/mysql/base.py", line 124, in execute
    return self.cursor.execute(query, args)
  File "/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py", line 174, in execute
    self.errorhandler(self, exc, value)
  File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
    raise errorclass, errorvalue
OperationalError: (1054, "Unknown column 'api2_tokenv2.created_at' in 'field list'")
2017-04-26 18:05:58,160 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/account/info/
Traceback (most recent call last):
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/core/handlers/base.py", line 132, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/views/decorators/csrf.py", line 58, in wrapped_view
    return view_func(*args, **kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/views/generic/base.py", line 71, in view
    return self.dispatch(request, *args, **kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/seahub/api2/base.py", line 23, in dispatch
    response = super(APIView, self).dispatch(*a, **kw)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 466, in dispatch
    response = self.handle_exception(exc)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/seahub/api2/base.py", line 20, in handle_exception
    return super(APIView, self).handle_exception(exc)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 454, in dispatch
    self.initial(request, *args, **kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 376, in initial
    self.perform_authentication(request)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 310, in perform_authentication
    request.user
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/request.py", line 353, in __getattribute__
    return super(Request, self).__getattribute__(attr)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/request.py", line 193, in user
    self._authenticate()
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/request.py", line 316, in _authenticate
    user_auth_tuple = authenticator.authenticate(self)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/seahub/api2/authentication.py", line 63, in authenticate
    ret = self.authenticate_v2(request, key)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/seahub/api2/authentication.py", line 92, in authenticate_v2
    token = TokenV2.objects.get(key=key)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/manager.py", line 127, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 328, in get
    num = len(clone)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 144, in __len__
    self._fetch_all()
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 965, in _fetch_all
    self._result_cache = list(self.iterator())
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 238, in iterator
    results = compiler.execute_sql()
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/sql/compiler.py", line 840, in execute_sql
    cursor.execute(sql, params)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/utils.py", line 98, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/backends/mysql/base.py", line 124, in execute
    return self.cursor.execute(query, args)
  File "/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py", line 174, in execute
    self.errorhandler(self, exc, value)
  File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
    raise errorclass, errorvalue
OperationalError: (1054, "Unknown column 'api2_tokenv2.created_at' in 'field list'")
2017-04-26 18:05:59,162 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/account/info/
Traceback (most recent call last):
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/core/handlers/base.py", line 132, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/views/decorators/csrf.py", line 58, in wrapped_view
    return view_func(*args, **kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/views/generic/base.py", line 71, in view
    return self.dispatch(request, *args, **kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/seahub/api2/base.py", line 23, in dispatch
    response = super(APIView, self).dispatch(*a, **kw)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 466, in dispatch
    response = self.handle_exception(exc)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/seahub/api2/base.py", line 20, in handle_exception
    return super(APIView, self).handle_exception(exc)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 454, in dispatch
    self.initial(request, *args, **kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 376, in initial
    self.perform_authentication(request)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 310, in perform_authentication
    request.user
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/request.py", line 353, in __getattribute__
    return super(Request, self).__getattribute__(attr)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/request.py", line 193, in user
    self._authenticate()
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/request.py", line 316, in _authenticate
    user_auth_tuple = authenticator.authenticate(self)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/seahub/api2/authentication.py", line 63, in authenticate
    ret = self.authenticate_v2(request, key)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/seahub/api2/authentication.py", line 92, in authenticate_v2
    token = TokenV2.objects.get(key=key)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/manager.py", line 127, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 328, in get
    num = len(clone)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 144, in __len__
    self._fetch_all()
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 965, in _fetch_all
    self._result_cache = list(self.iterator())
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/query.py", line 238, in iterator
    results = compiler.execute_sql()
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/models/sql/compiler.py", line 840, in execute_sql
    cursor.execute(sql, params)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/utils.py", line 98, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "/mnt/seafile/seafile-server-6.0.8/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/db/backends/mysql/base.py", line 124, in execute
    return self.cursor.execute(query, args)
  File "/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py", line 174, in execute
    self.errorhandler(self, exc, value)
  File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
    raise errorclass, errorvalue
OperationalError: (1054, "Unknown column 'api2_tokenv2.created_at' in 'field list'")

This sounds suspect. Is this server not on a static IP?

ProgrammingError: (1146, “Table ‘seahub-db.constance_config’ doesn’t exist”)
OperationalError: (1054, “Unknown column ‘api2_tokenv2.created_at’ in ‘field list’”)

Looks like your database is hosed up. You don’t happen to have multiple Seafile installations do you? Perhaps the wrong one is trying to start up?

The IP was in DHCP as reserved. for 2.26 But after running GC and rebooting dhcp pulled a 2.103 which was strange

these guys seem to be correct, need to look at SQL /var/log/mysql/mysql.log i believe?

As far as different versions, I have these directories
seafile-server-3.1.7
seafile-server-6.0.8
seafile-server-latest

I tried starting from the 6.0.8 folder as well as the latest folder

mysql logs look like it says ready for connections. I dont see any errors or anything that jumps out at me

How do I look into this database issue?

Well, thats a better message, you might want to post your seafile configs, be sure to blank out passwords and secret keys. is your database connection setup to 127.0.0.1 or by ip?

seafdav

[WEBDAV]
enabled = false
port = 8080
fastcgi = false
share_name = /

ccnet

[General]
USER_NAME = seafile3
ID = hidden
NAME = seafile3
SERVICE_URL = https://seafile.hostname.com:7323

[Network]
PORT = 10001

[Client]
PORT = 13418

[Database]
ENGINE = mysql
HOST = 127.0.0.1
PORT = 3306
USER = root
PASSWD = hidden
DB = ccnet-db
CONNECTION_CHARSET = utf8

[LDAP]
HOST = ldap://winBASE = ou=AUsers,dc=ac,dc=com
FILTER = &(!(UserAccountControl:1.2.840.113556.1.4.803:=2))
USER_DN = binder@ac.com
PASSWORD = hidden
LOGIN_ATTR = mail

seafile

[network]
port = 12001

[fileserver]
port = 8082
max_download_dir_size=256

[database]
type = mysql
host = 127.0.0.1
port = 3306
user = root
password = hiddenb_name = seafile-db
connection_charset = utf8

seahub settings

SECRET_KEY = "hidden"
EMAIL_USE_TLS = False
EMAIL_HOST = 'smtp-relay.gmail.com' # smpt server
EMAIL_HOST_USER = False           # username and domain
EMAIL_HOST_PASSWORD = False       # password
EMAIL_PORT = '25'
DEFAULT_FROM_EMAIL = 'mailman@ac.com'
SERVER_EMAIL = EMAIL_HOST_USER
FILE_SERVER_ROOT = 'https://seafile.host.com:7323/seafhttp'

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',
        'NAME': 'seahub-db',
        'USER': 'root',
        'PASSWORD': 'hidden',
        'HOST': '127.0.0.1',
        'PORT': '3306',
        'OPTIONS': {
            'init_command': 'SET storage_engine=INNODB',
        }
    }
}

Looks pretty standard, your service URL seems incorrect but shouldent cause those errors. does seaf-fsck work? with no options it will run in read only mode which is what i would start with.

running it now, its going through the library names. This will likely take a while.