[SOLVED]Just get a Red ERROR text in the library via web browser

running on Centos 7
installed ok and after a 2 weeks of use after server rebooted,
i can log in ok but nothing shows up in my library except a red Error

Can you post the output of seahub.log and seahub_djnago_request.log?

nothing in the seahub.log file here is the djnago file this series keeps repeating

2018-07-21 16:02:03,061 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api/v2.1/notifications/
Traceback (most recent call last):
File “/opt/seafile-server-6.2.5/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 “/opt/seafile-server-6.2.5/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 “/opt/seafile-server-6.2.5/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 “/opt/seafile-server-6.2.5/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py”, line 466, in dispatch
response = self.handle_exception(exc)
File “/opt/seafile-server-6.2.5/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py”, line 454, in dispatch
self.initial(request, *args, **kwargs)
File “/opt/seafile-server-6.2.5/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py”, line 378, in initial
self.check_throttles(request)
File “/opt/seafile-server-6.2.5/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/views.py”, line 340, in check_throttles
if not throttle.allow_request(request, self):
File “/opt/seafile-server-6.2.5/seahub/seahub/api2/throttling.py”, line 129, in allow_request
self.history = self.cache.get(self.key, [])
File “/opt/seafile-server-6.2.5/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/cache/backends/filebased.py”, line 41, in get
if not self._is_expired(f):
File “/opt/seafile-server-6.2.5/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/cache/backends/filebased.py”, line 138, in _is_expired
exp = pickle.load(f)
EOFError
[root@li449-162 logs]#

btw the time stamp in the log file matches when I started getting the issue

also note that I am running on a linode and the datacenter the linode was in had a power outage, not sure if the system was shutdown cleanly or not

just found the fix

n Centtos i resolved this issue with below steps:-

  1. Stop the services

  2. Run the following command:

rm -rf /tmp/seahub_cache

  1. Start the services

Typically Red Hat problem because of the full systemd integration. Thats’s why I’m using Debian.

1 Like