windows 客户端登录时显示 服务器内部错误

如题,windows客户端登录时显示“服务器内部错误”,安卓版什么都不提示 ,网页版可以正常登录

怎么没有人给我解释一下啊

你的服务器是什么系统?什么版本? 看看服务器的 seahub_django_request.log

我的是windows10 ,版本是官网下载的
017-05-26 10:40:20,313 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /accounts/login/
Traceback (most recent call last):
File “G:\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 “G:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\utils\decorators.py”, line 110, in _wrapped_view
response = view_func(request, *args, **kwargs)
File “G:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\views\decorators\cache.py”, line 57, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File “G:\SeafileProgram\seafile-server-6.0.7\seahub\seahub\auth\views.py”, line 168, in login
redirect_to, remember_me)
File “G:\SeafileProgram\seafile-server-6.0.7\seahub\seahub\auth\views.py”, line 132, in handle_login_form_valid
return log_user_in(request, user, redirect_to)
File “G:\SeafileProgram\seafile-server-6.0.7\seahub\seahub\auth\views.py”, line 57, in log_user_in
auth_login(request, user)
File "G:\SeafileProgram\seafile-server-6.0.7\seahub\seahub\auth_init
.py", line 84, in login
request.session.cycle_key()
File “G:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\contrib\sessions\backends\base.py”, line 285, in cycle_key
self.create()
File “G:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\contrib\sessions\backends\db.py”, line 41, in create
self.save(must_create=True)
File “G:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\contrib\sessions\backends\db.py”, line 65, in save
obj.save(force_insert=must_create, using=using)
File “G:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\db\models\base.py”, line 734, in save
force_update=force_update, update_fields=update_fields)
File “G:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\db\models\base.py”, line 762, in save_base
updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields)
File “G:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\db\models\base.py”, line 846, in _save_table
result = self._do_insert(cls._base_manager, using, fields, update_pk, raw)
File “G:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\db\models\base.py”, line 885, in _do_insert
using=using, raw=raw)
File “G:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\db\models\manager.py”, line 127, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File “G:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\db\models\query.py”, line 920, in _insert
return query.get_compiler(using=using).execute_sql(return_id)
File “G:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\db\models\sql\compiler.py”, line 974, in execute_sql
cursor.execute(sql, params)
File “G:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\db\backends\utils.py”, line 64, in execute
return self.cursor.execute(sql, params)
File “G:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\db\utils.py”, line 98, in exit
six.reraise(dj_exc_type, dj_exc_value, traceback)
File “G:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\db\backends\utils.py”, line 64, in execute
return self.cursor.execute(sql, params)
File “G:\SeafileProgram\seafile-server-6.0.7\seahub\thirdpart\django-1.8.10-py2.7.egg\django\db\backends\sqlite3\base.py”, line 318, in execute
return Database.Cursor.execute(self, query, params)
OperationalError: database is locked
2017-05-26 10:40:20,476 [WARNING] django.request:170 get_response Not Found: /favicon.ico
2017-05-26 10:40:36,568 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /media/CACHE/css/1acfeda02a9a.css
Traceback (most recent call last):
File “G:\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 “G:\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 “G:\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 “G:\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 “G:\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] : ‘G:\seafile-server\seahub_cache\ceec40422771f78d283f254429d1d993.djcache’
2017-05-26 10:42:02,206 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /media/css/sf_font2/seafile-font2.woff
Traceback (most recent call last):
File “G:\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 “G:\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 “G:\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 “G:\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 “G:\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] : ‘G:\seafile-server\seahub_cache\ceec40422771f78d283f254429d1d993.djcache’
2017-05-26 10:44:19,644 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /media/js/base.js
Traceback (most recent call last):
File “G:\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

从日志看应该是权限错误导致的。

你检查下你是用哪个用户运行 seafile 服务器? 它是不是有权限修改 seafile-data 目录下的文件,和 G:\seafile-server\seahub_cache 的文件。

或者是你首次运行的时候用了管理员权限运行,以后运行的时候用了普通用户权限运行,导致第一次运行生成的文件在以后运行的时候都无法修改。

我把服务器端卸载了 ,现在重新装上 ,服务器的软件 出不来了 ,电脑又下角没有显示 (windows系统)