seafile web能正常登录,客户端登录提示:服务器内部错误


#1

各位大佬,有遇见过这个问题吗?
账号通过web能正常登录、使用、上传、下载等;但是通过seafile客户端登录就提示:登录失败:服务器内部错误


停止服务后,清除/tmp/seahub_cache/下的缓存文件;再启用服务也不行
重启服务也不行;重启服务器也不行

我从seahub_django_request.log日志中,摘取出报错日志如下:
2021-08-18 11:44:27,730 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/repos/
File “/home/SHOU/seafile-server-6.0.7/seahub/thirdpart/Django-1.8.16-py2.7.egg/django/db/backends/utils.py”, line2021-08-18 11:44:27,735 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/starredfiles/
OperationalError: (1054, “Unknown column ‘api2_tokenv2.created_at’ in ‘field list’”)
OperationalError: (1054, “Unknown column ‘api2_tokenv2.created_at’ in ‘field list’”)
2021-08-18 11:44:27,739 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/avatars/user/zyzzzhang@shou.edu.cn/resized/80/
OperationalError: (1054, “Unknown column ‘api2_tokenv2.created_at’ in ‘field list’”)
2021-08-18 11:44:28,562 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/repos/
OperationalError: (1054, “Unknown column ‘api2_tokenv2.created_at’ in ‘field list’”)
2021-08-18 11:44:28,590 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/avatars/user/zyzzzhang@shou.edu.cn/resized/80/
OperationalError: (1054, “Unknown column ‘api2_tokenv2.created_at’ in ‘field list’”)
2021-08-18 11:44:30,461 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/repos/
OperationalError: (1054, “Unknown column ‘api2_tokenv2.created_at’ in ‘field list’”)
2021-08-18 11:44:31,280 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/repos/
OperationalError: (1054, “Unknown column ‘api2_tokenv2.created_at’ in ‘field list’”)
2021-08-18 11:44:46,645 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/auth-token/
OperationalError: (1054, “Unknown column ‘api2_tokenv2.created_at’ in ‘field list’”)
2021-08-18 11:45:41,485 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/auth-token/
OperationalError: (1054, “Unknown column ‘api2_tokenv2.created_at’ in ‘field list’”)
2021-08-18 11:46:11,293 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/auth-token/
OperationalError: (1054, “Unknown column ‘api2_tokenv2.created_at’ in ‘field list’”)
2021-08-18 11:50:33,234 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/auth-token/
OperationalError: (1054, “Unknown column ‘api2_tokenv2.created_at’ in ‘field list’”)
2021-08-18 11:54:19,293 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/auth-token/
OperationalError: (1054, “Unknown column ‘api2_tokenv2.created_at’ in ‘field list’”)
2021-08-18 12:01:42,334 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/auth-token/
OperationalError: (1054, “Unknown column ‘api2_tokenv2.created_at’ in ‘field list’”)
2021-08-18 12:02:05,816 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/auth-token/
OperationalError: (1054, “Unknown column ‘api2_tokenv2.created_at’ in ‘field list’”)
2021-08-18 12:03:23,306 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/auth-token/
OperationalError: (1054, “Unknown column ‘api2_tokenv2.created_at’ in ‘field list’”)
2021-08-18 12:15:00,104 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/auth-token/
OperationalError: (1054, “Unknown column ‘api2_tokenv2.created_at’ in ‘field list’”)
2021-08-18 12:15:46,822 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/auth-token/
OperationalError: (1054, “Unknown column ‘api2_tokenv2.created_at’ in ‘field list’”)
2021-08-18 12:16:25,985 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/auth-token/
OperationalError: (1054, “Unknown column ‘api2_tokenv2.created_at’ in ‘field list’”)
2021-08-18 12:17:07,724 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/auth-token/
OperationalError: (1054, “Unknown column ‘api2_tokenv2.created_at’ in ‘field list’”)
2021-08-18 12:20:25,283 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/repos/
OperationalError: (1054, “Unknown column ‘api2_tokenv2.created_at’ in ‘field list’”)
2021-08-18 12:20:25,284 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/avatars/user/sjh@shou.edu.cn/resized/80/
OperationalError: (1054, “Unknown column ‘api2_tokenv2.created_at’ in ‘field list’”)
2021-08-18 12:20:25,323 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api2/starredfiles/


#2

请问你解决这个问题了吗?我也出现了这个


#3

我也没有解决


#4

seafile看不见repo报500错误的解决方法 (mamicode.com)


#5

看看这个,虽然我也还没试过