安装部署完毕后,网页端可以打开登录页,登录过后就显示500错误。
客户端可以正常连接并上传、同步文件。
请问下是哪里没有设置好?请大神看一下把
在“seahub_django_request” log 文件里有报错,如下:
2017-05-16 16:14:54,923 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /media/js/jquery-1.12.1.min.js
Traceback (most recent call last):
File “C:\SeafileProgram\seafile-server-6.0.7\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:\SeafileProgram\seafile-server-6.0.7\seahub\seahub\base\middleware.py”, line 66, in process_request
cur_note = cache.get(‘CUR_TOPINFO’) if cache.get(‘CUR_TOPINFO’) else
File “C:\SeafileProgram\seafile-server-6.0.7\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:\SeafileProgram\seafile-server-6.0.7\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:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\core\cache\backends\filebased.py”, line 72, in _delete
os.remove(fname)
WindowsError: [Error 32] : ‘D:\seafile-server\seahub_cache\ceec40422771f78d283f254429d1d993.djcache’
2017-05-16 16:14:54,923 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /media/assets/scripts/lib/jquery.simplemodal.7601eeb55353.js
Traceback (most recent call last):
File “C:\SeafileProgram\seafile-server-6.0.7\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:\SeafileProgram\seafile-server-6.0.7\seahub\seahub\base\middleware.py”, line 66, in process_request
cur_note = cache.get(‘CUR_TOPINFO’) if cache.get(‘CUR_TOPINFO’) else
File “C:\SeafileProgram\seafile-server-6.0.7\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:\SeafileProgram\seafile-server-6.0.7\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:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\core\cache\backends\filebased.py”, line 72, in _delete
os.remove(fname)
WindowsError: [Error 32] : ‘D:\seafile-server\seahub_cache\ceec40422771f78d283f254429d1d993.djcache’
2017-05-16 16:14:54,923 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /media/assets/scripts/lib/jquery.ui.tabs.f5792d522482.js
Traceback (most recent call last):
File “C:\SeafileProgram\seafile-server-6.0.7\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:\SeafileProgram\seafile-server-6.0.7\seahub\seahub\base\middleware.py”, line 66, in process_request
cur_note = cache.get(‘CUR_TOPINFO’) if cache.get(‘CUR_TOPINFO’) else
File “C:\SeafileProgram\seafile-server-6.0.7\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:\SeafileProgram\seafile-server-6.0.7\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:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\core\cache\backends\filebased.py”, line 72, in _delete
os.remove(fname)
WindowsError: [Error 32] : ‘D:\seafile-server\seahub_cache\ceec40422771f78d283f254429d1d993.djcache’
2017-05-16 16:14:54,923 [WARNING] django.request:170 get_response Not Found: /media/assets/css/bootstrap.min.086df7e445c4.css
2017-05-16 16:15:22,785 [WARNING] django.request:170 get_response Not Found: /media/assets/css/bootstrap.min.086df7e445c4.css
2017-05-16 16:15:22,801 [WARNING] django.request:170 get_response Not Found: /media/assets/scripts/lib/jquery.simplemodal.7601eeb55353.js
2017-05-16 16:15:22,801 [WARNING] django.request:170 get_response Not Found: /media/assets/scripts/lib/jquery.ui.tabs.f5792d522482.js
2017-05-16 16:15:35,661 [WARNING] django.request:170 get_response Not Found: /media/assets/css/bootstrap.min.086df7e445c4.css
2017-05-16 16:15:35,677 [WARNING] django.request:170 get_response Not Found: /media/assets/scripts/lib/jquery.ui.tabs.f5792d522482.js
2017-05-16 16:15:35,677 [WARNING] django.request:170 get_response Not Found: /media/assets/scripts/lib/jquery.simplemodal.7601eeb55353.js
2017-05-16 16:15:35,693 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /media/js/jq.min.js
Traceback (most recent call last):
File “C:\SeafileProgram\seafile-server-6.0.7\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:\SeafileProgram\seafile-server-6.0.7\seahub\seahub\base\middleware.py”, line 66, in process_request
cur_note = cache.get(‘CUR_TOPINFO’) if cache.get(‘CUR_TOPINFO’) else
File “C:\SeafileProgram\seafile-server-6.0.7\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:\SeafileProgram\seafile-server-6.0.7\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:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\core\cache\backends\filebased.py”, line 72, in _delete
os.remove(fname)
WindowsError: [Error 32] : ‘D:\seafile-server\seahub_cache\ceec40422771f78d283f254429d1d993.djcache’
2017-05-16 16:15:56,506 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /
Traceback (most recent call last):
File “C:\SeafileProgram\seafile-server-6.0.7\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:\SeafileProgram\seafile-server-6.0.7\seahub\seahub\auth\decorators.py”, line 27, in _wrapped_view
return view_func(request, *args, **kwargs)
File “C:\SeafileProgram\seafile-server-6.0.7\seahub\seahub\base\decorators.py”, line 40, in decorated
return func(request, *args, **kwargs)
File "C:\SeafileProgram\seafile-server-6.0.7\seahub\seahub\views_init.py", line 823, in libraries
}, context_instance=RequestContext(request))
File “C:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\shortcuts.py”, line 45, in render_to_response
using=using)
File “C:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\template\loader.py”, line 115, in render_to_string
template_name, context, context_instance, dirs, dictionary)
File “C:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\template\engine.py”, line 221, in render_to_string
return t.render(context_instance)
File “C:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\template\base.py”, line 210, in render
return self._render(context)
File “C:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\template\base.py”, line 202, in _render
return self.nodelist.render(context)
File “C:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\template\base.py”, line 905, in render
bit = self.render_node(node, context)
File “C:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\template\base.py”, line 919, in render_node
return node.render(context)
File “C:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\template\loader_tags.py”, line 135, in render
return compiled_parent._render(context)
File “C:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\template\base.py”, line 202, in _render
return self.nodelist.render(context)
File “C:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\template\base.py”, line 905, in render
bit = self.render_node(node, context)
File “C:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\template\base.py”, line 919, in render_node
return node.render(context)
File “C:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django_compressor-1.4-py2.7.egg\compressor\templatetags\compress.py”, line 149, in render
return self.render_compressed(context, self.kind, self.mode, forced=forced)
File “C:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django_compressor-1.4-py2.7.egg\compressor\templatetags\compress.py”, line 102, in render_compressed
cache_key, cache_content = self.render_cached(compressor, kind, mode, forced=forced)
File “C:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django_compressor-1.4-py2.7.egg\compressor\templatetags\compress.py”, line 81, in render_cached
cache_key = get_templatetag_cachekey(compressor, mode, kind)
File “C:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django_compressor-1.4-py2.7.egg\compressor\cache.py”, line 94, in get_templatetag_cachekey
“templatetag.%s.%s.%s” % (compressor.cachekey, mode, kind))
File “C:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django_compressor-1.4-py2.7.egg\compressor\utils\decorators.py”, line 39, in get
value = obj.dict[self.name] = self.__get(obj)
File “C:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django_compressor-1.4-py2.7.egg\compressor\base.py”, line 172, in cachekey
[self.content] + self.mtimes).encode(self.charset), 12)
File “C:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django_compressor-1.4-py2.7.egg\compressor\utils\decorators.py”, line 39, in get
value = obj.dict[self.name] = self.__get(obj)
File “C:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django_compressor-1.4-py2.7.egg\compressor\base.py”, line 166, in mtimes
for kind, value, basename, elem in self.split_contents()
File “C:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django_compressor-1.4-py2.7.egg\compressor\css.py”, line 23, in split_contents
filename = self.get_filename(basename)
File “C:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django_compressor-1.4-py2.7.egg\compressor\base.py”, line 137, in get_filename
self.finders and " or with staticfiles." or “.”))
UncompressableFileError: ‘assets/css/bootstrap.min.086df7e445c4.css’ could not be found in the COMPRESS_ROOT ‘c:\seafileprogram\seafile-server-6.0.7\seahub\media’ or with staticfiles.
2017-05-16 16:32:39,792 [WARNING] django.request:170 get_response Not Found: /media/assets/css/bootstrap.min.086df7e445c4.css
2017-05-16 16:32:39,822 [WARNING] django.request:170 get_response Not Found: /media/assets/scripts/lib/jquery.simplemodal.7601eeb55353.js
2017-05-16 16:32:39,854 [WARNING] django.request:170 get_response Not Found: /media/assets/scripts/lib/jquery.ui.tabs.f5792d522482.js
2017-05-16 16:32:43,385 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /
Traceback (most recent call last):
File “C:\SeafileProgram\seafile-server-6.0.7\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:\SeafileProgram\seafile-server-6.0.7\seahub\seahub\auth\decorators.py”, line 27, in _wrapped_view
return view_func(request, *args, **kwargs)
File “C:\SeafileProgram\seafile-server-6.0.7\seahub\seahub\base\decorators.py”, line 40, in decorated
return func(request, *args, **kwargs)
File "C:\SeafileProgram\seafile-server-6.0.7\seahub\seahub\views_init.py", line 823, in libraries
}, context_instance=RequestContext(request))
File “C:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\shortcuts.py”, line 45, in render_to_response
using=using)
File “C:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\template\loader.py”, line 115, in render_to_string
template_name, context, context_instance, dirs, dictionary)
File “C:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\template\engine.py”, line 221, in render_to_string
return t.render(context_instance)
File “C:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\template\base.py”, line 210, in render
return self._render(context)
File “C:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\template\base.py”, line 202, in _render
return self.nodelist.render(context)
File “C:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\template\base.py”, line 905, in render
bit = self.render_node(node, context)
File “C:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\template\base.py”, line 919, in render_node
return node.render(context)
File “C:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\template\loader_tags.py”, line 135, in render
return compiled_parent._render(context)
File “C:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\template\base.py”, line 202, in _render
return self.nodelist.render(context)
File “C:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\template\base.py”, line 905, in render
bit = self.render_node(node, context)
File “C:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\template\base.py”, line 919, in render_node
return node.render(context)
File “C:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django_compressor-1.4-py2.7.egg\compressor\templatetags\compress.py”, line 149, in render
return self.render_compressed(context, self.kind, self.mode, forced=forced)
File “C:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django_compressor-1.4-py2.7.egg\compressor\templatetags\compress.py”, line 102, in render_compressed
cache_key, cache_content = self.render_cached(compressor, kind, mode, forced=forced)
File “C:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django_compressor-1.4-py2.7.egg\compressor\templatetags\compress.py”, line 81, in render_cached
cache_key = get_templatetag_cachekey(compressor, mode, kind)
File “C:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django_compressor-1.4-py2.7.egg\compressor\cache.py”, line 94, in get_templatetag_cachekey
“templatetag.%s.%s.%s” % (compressor.cachekey, mode, kind))
File “C:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django_compressor-1.4-py2.7.egg\compressor\utils\decorators.py”, line 39, in get
value = obj.dict[self.name] = self.__get(obj)
File “C:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django_compressor-1.4-py2.7.egg\compressor\base.py”, line 172, in cachekey
[self.content] + self.mtimes).encode(self.charset), 12)
File “C:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django_compressor-1.4-py2.7.egg\compressor\utils\decorators.py”, line 39, in get
value = obj.dict[self.name] = self.__get(obj)
File “C:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django_compressor-1.4-py2.7.egg\compressor\base.py”, line 166, in mtimes
for kind, value, basename, elem in self.split_contents()
File “C:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django_compressor-1.4-py2.7.egg\compressor\css.py”, line 23, in split_contents
filename = self.get_filename(basename)
File “C:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django_compressor-1.4-py2.7.egg\compressor\base.py”, line 137, in get_filename
self.finders and " or with staticfiles." or “.”))
UncompressableFileError: ‘assets/css/bootstrap.min.086df7e445c4.css’ could not be found in the COMPRESS_ROOT ‘c:\seafileprogram\seafile-server-6.0.7\seahub\media’ or with staticfiles.
2017-05-16 16:32:43,494 [WARNING] django.request:170 get_response Not Found: /favicon.ico