Corrupted 5.1.3 Libraries after power failure


#1

Last night I had a large power outage on my street. Unfortunately my UPS failed so my Seafile server (running on Home Server 2011) just crashed. Once power was restored, all Seafile libraries are unavailable. If I try to access via the desktop client, it tells me that “Failed to get libraries information. Please retry.’”

If I login to my web portal, I just have a single red “Error” on my library. If I check the admin section, all libraries are listed with their proper sizes, but completely inaccessible. I tried running the seaf-fsck.exe option and it ran for over an hour, didn’t report any issues or corruption. On a whim, I decided to try and launch my 5.0.3 version ( I just upgraded from this on July 27th). When the server version 5.0.3 is running, my library is accessible via the SeaFile Windows client, and my android client. It syncs all files, and my android does the auto picture upload. If I shutdown this version and try to launch 5.1.3, I get the same libraries error.

I tried re-running the upgrade back to 5.1.3 but it tells me there is a duplicate column name: client_ver

Obviously all the data isn’t corrupted in the libraries, as 5.0.3 can access it just fine. What do I need to try in order to recover my 5.1.3 version?


Server crashed, now "Error" displayed on libraries. What now?
#2

Hi,

Please try clean the cache directory seahub_cache


#3

You can also check seahub_django_request.log for the error message.


#4

Unfortunately, I renamed the seahub_cache to seahub_cache.old and although it generated a new folder, the desktop client and web portal still act the same.

Below is the recent transcript from the django_request.log. I don’t understand the timezone reference to Asia/Shanghai, as I am located in the US.

2016-08-11 08:02:43,473 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/repos/
Traceback (most recent call last):
File “C:\SeaFile\seafile-server-5.1.3\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 “C:\SeaFile\seafile-server-5.1.3\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 “C:\SeaFile\seafile-server-5.1.3\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 “C:\SeaFile\seafile-server-5.1.3\seahub\thirdpart\djangorestframework-3.3.2-py2.7.egg\rest_framework\views.py”, line 466, in dispatch
response = self.handle_exception(exc)
File “C:\SeaFile\seafile-server-5.1.3\seahub\thirdpart\djangorestframework-3.3.2-py2.7.egg\rest_framework\views.py”, line 463, in dispatch
response = handler(request, *args, **kwargs)
File “C:\SeaFile\seafile-server-5.1.3\seahub\seahub\api2\views.py”, line 426, in get
“mtime_relative”: translate_seahub_time(r.last_modify),
File “C:\SeaFile\seafile-server-5.1.3\seahub\seahub\base\templatetags\seahub_tags.py”, line 307, in translate_seahub_time
titletime = DateFormat(val).format(‘r’)
File “C:\SeaFile\seafile-server-5.1.3\seahub\thirdpart\django-1.8.10-py2.7.egg\django\utils\dateformat.py”, line 54, in init
self.timezone = get_default_timezone()
File “C:\SeaFile\seafile-server-5.1.3\seahub\thirdpart\django-1.8.10-py2.7.egg\django\utils\lru_cache.py”, line 125, in wrapper
result = user_function(*args, **kwds)
File “C:\SeaFile\seafile-server-5.1.3\seahub\thirdpart\django-1.8.10-py2.7.egg\django\utils\timezone.py”, line 177, in get_default_timezone
return pytz.timezone(settings.TIME_ZONE)
File “C:\SeaFile\seafile-server-5.1.3\seahub\thirdpart\pytz-2016.1-py2.7.egg\pytz_init_.py”, line 180, in timezone
raise UnknownTimeZoneError(zone)
UnknownTimeZoneError: ‘Asia/Shanghai’
2016-08-11 08:02:44,954 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/repos/
Traceback (most recent call last):
File “C:\SeaFile\seafile-server-5.1.3\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 “C:\SeaFile\seafile-server-5.1.3\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 “C:\SeaFile\seafile-server-5.1.3\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 “C:\SeaFile\seafile-server-5.1.3\seahub\thirdpart\djangorestframework-3.3.2-py2.7.egg\rest_framework\views.py”, line 466, in dispatch
response = self.handle_exception(exc)
File “C:\SeaFile\seafile-server-5.1.3\seahub\thirdpart\djangorestframework-3.3.2-py2.7.egg\rest_framework\views.py”, line 463, in dispatch
response = handler(request, *args, **kwargs)
File “C:\SeaFile\seafile-server-5.1.3\seahub\seahub\api2\views.py”, line 426, in get
“mtime_relative”: translate_seahub_time(r.last_modify),
File “C:\SeaFile\seafile-server-5.1.3\seahub\seahub\base\templatetags\seahub_tags.py”, line 307, in translate_seahub_time
titletime = DateFormat(val).format(‘r’)
File “C:\SeaFile\seafile-server-5.1.3\seahub\thirdpart\django-1.8.10-py2.7.egg\django\utils\dateformat.py”, line 54, in init
self.timezone = get_default_timezone()
File “C:\SeaFile\seafile-server-5.1.3\seahub\thirdpart\django-1.8.10-py2.7.egg\django\utils\lru_cache.py”, line 125, in wrapper
result = user_function(*args, **kwds)
File “C:\SeaFile\seafile-server-5.1.3\seahub\thirdpart\django-1.8.10-py2.7.egg\django\utils\timezone.py”, line 177, in get_default_timezone
return pytz.timezone(settings.TIME_ZONE)
File “C:\SeaFile\seafile-server-5.1.3\seahub\thirdpart\pytz-2016.1-py2.7.egg\pytz_init_.py”, line 180, in timezone
raise UnknownTimeZoneError(zone)
UnknownTimeZoneError: ‘Asia/Shanghai’
2016-08-11 08:03:05,858 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/repos/
Traceback (most recent call last):
File “C:\SeaFile\seafile-server-5.1.3\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 “C:\SeaFile\seafile-server-5.1.3\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 “C:\SeaFile\seafile-server-5.1.3\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 “C:\SeaFile\seafile-server-5.1.3\seahub\thirdpart\djangorestframework-3.3.2-py2.7.egg\rest_framework\views.py”, line 466, in dispatch
response = self.handle_exception(exc)
File “C:\SeaFile\seafile-server-5.1.3\seahub\thirdpart\djangorestframework-3.3.2-py2.7.egg\rest_framework\views.py”, line 463, in dispatch
response = handler(request, *args, **kwargs)
File “C:\SeaFile\seafile-server-5.1.3\seahub\seahub\api2\views.py”, line 426, in get
“mtime_relative”: translate_seahub_time(r.last_modify),
File “C:\SeaFile\seafile-server-5.1.3\seahub\seahub\base\templatetags\seahub_tags.py”, line 307, in translate_seahub_time
titletime = DateFormat(val).format(‘r’)
File “C:\SeaFile\seafile-server-5.1.3\seahub\thirdpart\django-1.8.10-py2.7.egg\django\utils\dateformat.py”, line 54, in init
self.timezone = get_default_timezone()
File “C:\SeaFile\seafile-server-5.1.3\seahub\thirdpart\django-1.8.10-py2.7.egg\django\utils\lru_cache.py”, line 125, in wrapper
result = user_function(*args, **kwds)
File “C:\SeaFile\seafile-server-5.1.3\seahub\thirdpart\django-1.8.10-py2.7.egg\django\utils\timezone.py”, line 177, in get_default_timezone
return pytz.timezone(settings.TIME_ZONE)
File “C:\SeaFile\seafile-server-5.1.3\seahub\thirdpart\pytz-2016.1-py2.7.egg\pytz_init_.py”, line 180, in timezone
raise UnknownTimeZoneError(zone)
UnknownTimeZoneError: ‘Asia/Shanghai’
2016-08-11 08:03:11,349 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/repos/
Traceback (most recent call last):
File “C:\SeaFile\seafile-server-5.1.3\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 “C:\SeaFile\seafile-server-5.1.3\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 “C:\SeaFile\seafile-server-5.1.3\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 “C:\SeaFile\seafile-server-5.1.3\seahub\thirdpart\djangorestframework-3.3.2-py2.7.egg\rest_framework\views.py”, line 466, in dispatch
response = self.handle_exception(exc)
File “C:\SeaFile\seafile-server-5.1.3\seahub\thirdpart\djangorestframework-3.3.2-py2.7.egg\rest_framework\views.py”, line 463, in dispatch
response = handler(request, *args, **kwargs)
File “C:\SeaFile\seafile-server-5.1.3\seahub\seahub\api2\views.py”, line 426, in get
“mtime_relative”: translate_seahub_time(r.last_modify),
File “C:\SeaFile\seafile-server-5.1.3\seahub\seahub\base\templatetags\seahub_tags.py”, line 307, in translate_seahub_time
titletime = DateFormat(val).format(‘r’)
File “C:\SeaFile\seafile-server-5.1.3\seahub\thirdpart\django-1.8.10-py2.7.egg\django\utils\dateformat.py”, line 54, in init
self.timezone = get_default_timezone()
File “C:\SeaFile\seafile-server-5.1.3\seahub\thirdpart\django-1.8.10-py2.7.egg\django\utils\lru_cache.py”, line 125, in wrapper
result = user_function(*args, **kwds)
File “C:\SeaFile\seafile-server-5.1.3\seahub\thirdpart\django-1.8.10-py2.7.egg\django\utils\timezone.py”, line 177, in get_default_timezone
return pytz.timezone(settings.TIME_ZONE)
File “C:\SeaFile\seafile-server-5.1.3\seahub\thirdpart\pytz-2016.1-py2.7.egg\pytz_init_.py”, line 180, in timezone
raise UnknownTimeZoneError(zone)
UnknownTimeZoneError: ‘Asia/Shanghai’
2016-08-11 08:03:11,990 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/repos/
Traceback (most recent call last):
File “C:\SeaFile\seafile-server-5.1.3\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 “C:\SeaFile\seafile-server-5.1.3\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 “C:\SeaFile\seafile-server-5.1.3\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 “C:\SeaFile\seafile-server-5.1.3\seahub\thirdpart\djangorestframework-3.3.2-py2.7.egg\rest_framework\views.py”, line 466, in dispatch
response = self.handle_exception(exc)
File “C:\SeaFile\seafile-server-5.1.3\seahub\thirdpart\djangorestframework-3.3.2-py2.7.egg\rest_framework\views.py”, line 463, in dispatch
response = handler(request, *args, **kwargs)
File “C:\SeaFile\seafile-server-5.1.3\seahub\seahub\api2\views.py”, line 426, in get
“mtime_relative”: translate_seahub_time(r.last_modify),
File “C:\SeaFile\seafile-server-5.1.3\seahub\seahub\base\templatetags\seahub_tags.py”, line 307, in translate_seahub_time
titletime = DateFormat(val).format(‘r’)
File “C:\SeaFile\seafile-server-5.1.3\seahub\thirdpart\django-1.8.10-py2.7.egg\django\utils\dateformat.py”, line 54, in init
self.timezone = get_default_timezone()
File “C:\SeaFile\seafile-server-5.1.3\seahub\thirdpart\django-1.8.10-py2.7.egg\django\utils\lru_cache.py”, line 125, in wrapper
result = user_function(*args, **kwds)
File “C:\SeaFile\seafile-server-5.1.3\seahub\thirdpart\django-1.8.10-py2.7.egg\django\utils\timezone.py”, line 177, in get_default_timezone
return pytz.timezone(settings.TIME_ZONE)
File “C:\SeaFile\seafile-server-5.1.3\seahub\thirdpart\pytz-2016.1-py2.7.egg\pytz_init_.py”, line 180, in timezone
raise UnknownTimeZoneError(zone)
UnknownTimeZoneError: ‘Asia/Shanghai’
2016-08-11 08:03:12,910 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /media/avatars/5/8/cf25dd03036ee21e0d719017aadf38/resized/64/7fdc1a630c238af0815181f9faa190f5.png
Traceback (most recent call last):
File “C:\SeaFile\seafile-server-5.1.3\seahub\thirdpart\django-1.8.10-py2.7.egg\django\core\handlers\base.py”, line 108, in get_response
response = middleware_method(request)
File “C:\SeaFile\seafile-server-5.1.3\seahub\seahub\base\middleware.py”, line 64, in process_request
cur_note = cache.get(‘CUR_TOPINFO’) if cache.get(‘CUR_TOPINFO’) else
File “C:\SeaFile\seafile-server-5.1.3\seahub\thirdpart\django-1.8.10-py2.7.egg\django\core\cache\backends\filebased.py”, line 41, in get
if not self._is_expired(f):
File “C:\SeaFile\seafile-server-5.1.3\seahub\thirdpart\django-1.8.10-py2.7.egg\django\core\cache\backends\filebased.py”, line 141, in _is_expired
self._delete(f.name)
File “C:\SeaFile\seafile-server-5.1.3\seahub\thirdpart\django-1.8.10-py2.7.egg\django\core\cache\backends\filebased.py”, line 72, in delete
os.remove(fname)
WindowsError: [Error 5] Access is denied: ‘M:\seafile-server\seahub_cache\ceec40422771f78d283f254429d1d993.djcache’
2016-08-11 08:03:13,082 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/repos/
Traceback (most recent call last):
File “C:\SeaFile\seafile-server-5.1.3\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 “C:\SeaFile\seafile-server-5.1.3\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 “C:\SeaFile\seafile-server-5.1.3\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 “C:\SeaFile\seafile-server-5.1.3\seahub\thirdpart\djangorestframework-3.3.2-py2.7.egg\rest_framework\views.py”, line 466, in dispatch
response = self.handle_exception(exc)
File “C:\SeaFile\seafile-server-5.1.3\seahub\thirdpart\djangorestframework-3.3.2-py2.7.egg\rest_framework\views.py”, line 463, in dispatch
response = handler(request, *args, **kwargs)
File “C:\SeaFile\seafile-server-5.1.3\seahub\seahub\api2\views.py”, line 426, in get
“mtime_relative”: translate_seahub_time(r.last_modify),
File “C:\SeaFile\seafile-server-5.1.3\seahub\seahub\base\templatetags\seahub_tags.py”, line 307, in translate_seahub_time
titletime = DateFormat(val).format(‘r’)
File “C:\SeaFile\seafile-server-5.1.3\seahub\thirdpart\django-1.8.10-py2.7.egg\django\utils\dateformat.py”, line 54, in init
self.timezone = get_default_timezone()
File “C:\SeaFile\seafile-server-5.1.3\seahub\thirdpart\django-1.8.10-py2.7.egg\django\utils\lru_cache.py”, line 125, in wrapper
result = user_function(*args, **kwds)
File “C:\SeaFile\seafile-server-5.1.3\seahub\thirdpart\django-1.8.10-py2.7.egg\django\utils\timezone.py”, line 177, in get_default_timezone
return pytz.timezone(settings.TIME_ZONE)
File "C:\SeaFile\seafile-server-5.1.3\seahub\thirdpart\pytz-2016.1-py2.7.egg\pytz_init
.py", line 180, in timezone
raise UnknownTimeZoneError(zone)
UnknownTimeZoneError: ‘Asia/Shanghai’


#5

For Windows system, upgrade Python to 2.7.11 or add a line to seahub_settings.py should solve your problem:

TIME_ZONE = ‘UTC’


#6

That was immensely helpful, thank you! I tried to upgrade Python to 2.7.11 from 2.7.4, however either it didn’t upgrade properly or I did it wrong. Once that was updated both the 5.1 and 5.0 SeaFile produced the same errors on web and desktop client. I rolled back Python and then added the TIME_ZONE to the seahub_settings.py and that seems to have resolved it.

Although I am curious from a admin standpoint, why was 5.1.3 working properly before the power outage/hard shutdown? If the TIME_ZONE value was incorrect, shouldn’t it have caused an issue from the start?

At any rate, I’m happy it’s working again, thanks for the help!


#7

Why if I change my time zone from ‘UTC’ to ‘US’ which is my time zone do I then get the error?


#8

For that you need to upgrade python on your windows server to 2.7.11. Python 2.4 have some bugs that breaks the timezone settings.


#9

Using Ubuntu Server 16.04 & 14.04. Software clock set to America/Chicago, for the server.


#10

Hi,
Where is that folder located?

I have the same error after I did add memcached, my error message aren’t comming up all the time - just some time and started after I did add memcached, but I have rebooted the server now so let’s se if that helps.
My error is:

2017-11-02 20:49:09,069 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/account/info/
Traceback (most recent call last):
  File "/home/seafile/nohatech/seafile-server-6.2.2/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/handlers/base.py", line 132, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/home/seafile/nohatech/seafile-server-6.2.2/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/views/decorators/csrf.py", line 58, in wrapped_view
    return view_func(*args, **kwargs)
  File "/home/seafile/nohatech/seafile-server-6.2.2/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/views/generic/base.py", line 71, in view
    return self.dispatch(request, *args, **kwargs)
  File "/home/seafile/nohatech/seafile-server-6.2.2/seahub/seahub/api2/base.py", line 23, in dispatch
    response = super(APIView, self).dispatch(*a, **kw)
  File "/home/seafile/nohatech/seafile-server-6.2.2/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 466, in dispatch
    response = self.handle_exception(exc)
  File "/home/seafile/nohatech/seafile-server-6.2.2/seahub/seahub/api2/base.py", line 20, in handle_exception
    return super(APIView, self).handle_exception(exc)
  File "/home/seafile/nohatech/seafile-server-6.2.2/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 454, in dispatch
    self.initial(request, *args, **kwargs)
  File "/home/seafile/nohatech/seafile-server-6.2.2/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 376, in initial
    self.perform_authentication(request)
  File "/home/seafile/nohatech/seafile-server-6.2.2/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 310, in perform_authentication
    request.user
  File "/home/seafile/nohatech/seafile-server-6.2.2/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/request.py", line 353, in __getattribute__
    return super(Request, self).__getattribute__(attr)
  File "/home/seafile/nohatech/seafile-server-6.2.2/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/request.py", line 193, in user
    self._authenticate()
  File "/home/seafile/nohatech/seafile-server-6.2.2/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/handlers/base.py", line 132, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/home/seafile/nohatech/seafile-server-6.2.2/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/views/decorators/csrf.py", line 58, in wrapped_view
    return view_func(*args, **kwargs)
  File "/home/seafile/nohatech/seafile-server-6.2.2/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/views/generic/base.py", line 71, in view
    return self.dispatch(request, *args, **kwargs)
  File "/home/seafile/nohatech/seafile-server-6.2.2/seahub/seahub/api2/base.py", line 23, in dispatch
    response = super(APIView, self).dispatch(*a, **kw)
  File "/home/seafile/nohatech/seafile-server-6.2.2/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 466, in dispatch
    response = self.handle_exception(exc)
  File "/home/seafile/nohatech/seafile-server-6.2.2/seahub/seahub/api2/base.py", line 20, in handle_exception
    return super(APIView, self).handle_exception(exc)
  File "/home/seafile/nohatech/seafile-server-6.2.2/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 454, in dispatch
    self.initial(request, *args, **kwargs)
  File "/home/seafile/nohatech/seafile-server-6.2.2/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 376, in initial
    self.perform_authentication(request)
  File "/home/seafile/nohatech/seafile-server-6.2.2/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py", line 310, in perform_authentication
    request.user
  File "/home/seafile/nohatech/seafile-server-6.2.2/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/request.py", line 353, in __getattribute__
    return super(Request, self).__getattribute__(attr)
  File "/home/seafile/nohatech/seafile-server-6.2.2/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/request.py", line 193, in user
    self._authenticate()
  File "/home/seafile/nohatech/seafile-server-6.2.2/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/request.py", line 316, in _authenticate
    user_auth_tuple = authenticator.authenticate(self)
  File "/home/seafile/nohatech/seafile-server-6.2.2/seahub/seahub/api2/authentication.py", line 63, in authenticate
    ret = self.authenticate_v2(request, key)
  File "/home/seafile/nohatech/seafile-server-6.2.2/seahub/seahub/api2/authentication.py", line 101, in authenticate_v2
    user = User.objects.get(email=token.user)
  File "/home/seafile/nohatech/seafile-server-6.2.2/seahub/seahub/base/accounts.py", line 93, in get
    emailuser = ccnet_threaded_rpc.get_emailuser(email)
  File "/home/seafile/nohatech/seafile-server-6.2.2/seafile/lib64/python2.6/site-packages/pysearpc/client.py", line 110, in newfunc
    ret_str = self.call_remote_func_sync(fcall_str)
  File "/home/seafile/nohatech/seafile-server-6.2.2/seafile/lib64/python2.6/site-packages/ccnet/rpc.py", line 78, in call_remote_func_sync
    ret = self._real_call(client, req_id, fcall_str)
  File "/home/seafile/nohatech/seafile-server-6.2.2/seafile/lib64/python2.6/site-packages/ccnet/rpc.py", line 40, in _real_call
    client.send_update(req_id, SC_CLIENT_CALL, SS_CLIENT_CALL, fcall_str)
  File "/home/seafile/nohatech/seafile-server-6.2.2/seafile/lib64/python2.6/site-packages/ccnet/client.py", line 144, in send_update
    write_packet(self._connfd, pkt)
  File "/home/seafile/nohatech/seafile-server-6.2.2/seafile/lib64/python2.6/site-packages/ccnet/packet.py", line 128, in write_packet
    sendall(fd, hdr)
  File "/home/seafile/nohatech/seafile-server-6.2.2/seafile/lib64/python2.6/site-packages/ccnet/utils.py", line 31, in sendall
    raise NetworkError('Failed to write to socket: %s' % e)
NetworkError: Failed to write to socket: [Errno 32] Broken pipe

Webinterface errors
#11

Did you ever find that folder? Is it gone in the later versions of Seafile? I’m running 6.1.2 myself.


#12

Nevermind. I found it. At least in my case it was at /tmp/seahub_cache. I renamed it and the problem was fixed! Yay!