环境 CENTOS7.2 NGINX 社区版,web页面上传文件一直报此错误
[root@sea634 logs]# cat seahub.log
2019-09-27 13:11:20,759 [ERROR] django.pylibmc:132 get MemcachedError: error 26 from
memcached_get(:1:autofilled): Transport endpoint is not connected
Traceback (most recent call last):
File “/usr/lib/python2.7/site-packages/django_pylibmc/memcached.py”, line 130, in get
return super(PyLibMCCache, self).get(key, default, version)
File "/opt/cloudpan/seafile-server-
6.3.4/seahub/thirdpart/django/core/cache/backends/memcached.py", line 79, in get
val = self._cache.get(key)
Error: error 26 from memcached_get(:1:autofilled): Transport endpoint is not connected
2019-09-27 13:12:28,404 [ERROR] django.pylibmc:132 get MemcachedError: error 26 from
memcached_get(:1:autofilled): Transport endpoint is not connected
Traceback (most recent call last):
File “/usr/lib/python2.7/site-packages/django_pylibmc/memcached.py”, line 130, in get
return super(PyLibMCCache, self).get(key, default, version)
File "/opt/cloudpan/seafile-server-
6.3.4/seahub/thirdpart/django/core/cache/backends/memcached.py", line 79, in get
val = self._cache.get(key)
Error: error 26 from memcached_get(:1:autofilled): Transport endpoint is not connected
2019-09-27 13:12:28,420 [ERROR] django.pylibmc:132 get MemcachedError: error 26 from
memcached_get(:1:autofilled): Transport endpoint is not connected
Traceback (most recent call last):
File “/usr/lib/python2.7/site-packages/django_pylibmc/memcached.py”, line 130, in get
return super(PyLibMCCache, self).get(key, default, version)
File "/opt/cloudpan/seafile-server-
6.3.4/seahub/thirdpart/django/core/cache/backends/memcached.py", line 79, in get
val = self._cache.get(key)
Error: error 26 from memcached_get(:1:autofilled): Transport endpoint is not connected
2019-09-27 13:12:28,478 [ERROR] django.pylibmc:132 get MemcachedError: error 26 from
memcached_get(:1:autofilled): Transport endpoint is not connected
Traceback (most recent call last):
File “/usr/lib/python2.7/site-packages/django_pylibmc/memcached.py”, line 130, in get
return super(PyLibMCCache, self).get(key, default, version)
File "/opt/cloudpan/seafile-server-
6.3.4/seahub/thirdpart/django/core/cache/backends/memcached.py", line 79, in get
val = self._cache.get(key)
Error: error 26 from memcached_get(:1:autofilled): Transport endpoint is not connected
补充一个seahub_settings.py文件
[root@sea634 conf]# cat seahub_settings.py
- 列表条目
-- coding: utf-8 --
SECRET_KEY = “ot6t@$c0l=59@w)^rjvy2z@74q3y523ojppew*7r+w94=nx!@c”
DATABASES = {
‘default’: {
‘ENGINE’: ‘django.db.backends.mysql’,
‘NAME’: ‘seahub-db’,
‘USER’: ‘seafile’,
‘PASSWORD’: ‘123456’,
‘HOST’: ‘127.0.0.1’,
‘PORT’: ‘3306’
}
}
CACHES = {
‘default’: {
‘BACKEND’: ‘django_pylibmc.memcached.PyLibMCCache’,
‘LOCATION’: ‘127.0.0.1:11211’,
},
‘locmem’: {
‘BACKEND’: ‘django.core.cache.backends.locmem.LocMemCache’,
},
}
COMPRESS_CACHE_BACKEND = ‘locmem’
由于上面的文件内容复制粘贴的时候有问题,所以截图一张