seafile(企业云盘)报错

简介:

哎,当了这么几年的运维,心情急躁了,犯了个小小错误,强制重启了一台运行的服务器,重启后访问seafile云盘的时候,解决报错如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Traceback (most recent call last):
File  "/home/haiwen/seafile-server-5.1.2/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/core/handlers/base.py" , line 108,  in  get_response
response = middleware_method(request)
File  "/home/haiwen/seafile-server-5.1.2/seahub/seahub/base/middleware.py" , line 64,  in  process_request
cur_note = cache.get( 'CUR_TOPINFO' if  cache.get( 'CUR_TOPINFO' else  \
File  "/home/haiwen/seafile-server-5.1.2/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/core/cache/backends/filebased.py" , line 41,  in  get
if  not self.isexpired(f):
File  "/home/haiwen/seafile-server-5.1.2/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/core/cache/backends/filebased.py" , line 138,  in  isexpired
exp = pickle.load(f)
EOFError
2016-06-08 08:47:20,003 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error:  /cgi-bin/common/attr
Traceback (most recent call last):
File  "/home/haiwen/seafile-server-5.1.2/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/core/handlers/base.py" , line 108,  in  get_response
response = middleware_method(request)
File  "/home/haiwen/seafile-server-5.1.2/seahub/seahub/base/middleware.py" , line 64,  in  process_request
cur_note = cache.get( 'CUR_TOPINFO' if  cache.get( 'CUR_TOPINFO' else  \
File  "/home/haiwen/seafile-server-5.1.2/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/core/cache/backends/filebased.py" , line 41,  in  get
if  not self.isexpired(f):
File  "/home/haiwen/seafile-server-5.1.2/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/core/cache/backends/filebased.py" , line 138,  in  isexpired
exp = pickle.load(f)

解决方法:

清理缓存即可:

rm -rf /tmp/seahub_cache/*



本文转自 baishuchao 51CTO博客,原文链接:http://blog.51cto.com/baishuchao/1932997

相关文章
|
消息中间件 存储 监控
RabbitMQ 面试题及答案整理,最新面试题
RabbitMQ 面试题及答案整理,最新面试题
366 1
|
Unix Docker 容器
Is the docker daemon running?
Is the docker daemon running?
4123 0
|
1月前
|
存储 并行计算 算法
路径规划|多目标海洋捕食者算法(MOMPA)求解最短路径问题(Matlab代码实现)
路径规划|多目标海洋捕食者算法(MOMPA)求解最短路径问题(Matlab代码实现)
|
JavaScript
vue导出pdf(接口)
vue导出pdf(接口)
143 3
|
存储 Java Linux
Android系统获取event事件回调等几种实现和原理分析
Android系统获取event事件回调等几种实现和原理分析
1140 0
|
网络安全
出现“Host key verification failed”错误--解决
遇到“Host key verification failed”错误,通常是因为远程主机密钥发生变化,与本地保存的信息不符。这种情况可能是远程主机系统更改或重装等原因导致的。解决方法是根据提示使用`ssh-keygen -f "/root/.ssh/known_hosts" -R "[10.61.0.152]:29022"`命令移除旧的密钥信息,然后重新尝试连接。
2311 5
|
设计模式 前端开发 JavaScript
vee-cli脚手架实践(下)
vee-cli脚手架实践
116 0
|
应用服务中间件 Docker 容器
如何基于 Docker 在服务器上部署 Seafile Community 版本
如何基于 Docker 在服务器上部署 Seafile Community 版本 软硬件环境 BCC Ubuntu 16.04 Seafile Community v6.3.4 Docker v18.09.1 什么是 Seafile 安全、可靠、快速的企业云盘Seafile 是一款开源的企业云盘,注重可靠性和性能。
5415 0