求助,Seafile出问题了,无法显示资料库,求大佬帮忙看看

一直在用Seafile的Windows客户端版本,一直用的好好的,前天重启了一下服务器,给服务器更新补丁,现在用不了了
能正常登陆,但登陆网页版后,只显示:Error
无法显示资料库

环境:Windows Server 2016 Datacenter x64
python-2.7.1_x64
seafile-server_6.0.7

未再安装其他东西,单纯架设的一台当文件服务器共享文件使用
架设的这台服务器也用了一年多了,每个月也都会重启打补丁更新,之前重启后也能正常使用

1.在seahub_settings.py中加一行:

TIME_ZONE = ‘UTC’

最开始部署的时候就已添加过

2.先关闭所有和seafile相关的程式服务,再清空seahub_cache下临时文件,再重启seafile服务,试了好几次也不行

3.排查log日志,在我重启完服务器后,有小伙伴上传文件,但服务器内未找到上传的加密文件信息。所以怀疑是上传文件时失败或者传一半关了浏览器,导致12001端口堵塞,最终导致资料库崩了

以上就是我的问题描述,求大佬帮忙看看是哪里有问题,怎么恢复资料库显示,谢谢了

后续我会贴出log日志信息

seafile.log内的信息

[07/29/24 14:09:07] http-server.c(2017): Could not bind socket: No error
[07/29/24 14:09:20] …/common/mq-mgr.c(54): [mq client] mq cilent is started
[07/29/24 14:09:20] listen-mgr.c(120): listen on port 12001 for block tranfer
[07/29/24 14:09:20] http-server.c(2017): Could not bind socket: No error
[07/29/24 14:09:57] …/common/mq-mgr.c(54): [mq client] mq cilent is started
[07/29/24 14:09:57] listen-mgr.c(120): listen on port 12001 for block tranfer
[07/29/24 14:09:57] http-server.c(2017): Could not bind socket: No error
[07/29/24 14:10:10] …/common/mq-mgr.c(54): [mq client] mq cilent is started
[07/29/24 14:10:10] listen-mgr.c(120): listen on port 12001 for block tranfer
[07/29/24 14:10:10] http-server.c(2017): Could not bind socket: No error

seahub.log内的信息

2024-07-29 13:58:17,684 [INFO] root:292 runwsgiserver starting server with options:
{‘adminserve’: ‘Deprecated’,
‘autoreload’: False,
‘daemonize’: False,
‘host’: ‘0.0.0.0’,
‘pidfile’: None,
‘port’: ‘8080’,
‘server_group’: ‘www-data’,
‘server_name’: ‘localhost’,
‘server_user’: ‘www-data’,
‘servestaticdirs’: True,
‘ssl_certificate’: None,
‘ssl_private_key’: None,
‘staticserve’: False,
‘threads’: 10,
‘workdir’: None}
2024-07-29 13:58:31,069 [INFO] root:292 runwsgiserver starting server with options:
{‘adminserve’: ‘Deprecated’,
‘autoreload’: False,
‘daemonize’: False,
‘host’: ‘0.0.0.0’,
‘pidfile’: None,
‘port’: ‘8080’,
‘server_group’: ‘www-data’,
‘server_name’: ‘localhost’,
‘server_user’: ‘www-data’,
‘servestaticdirs’: True,
‘ssl_certificate’: None,
‘ssl_private_key’: None,
‘staticserve’: False,
‘threads’: 10,
‘workdir’: None}

ccnet.log内的信息

[07/29/24 14:09:57] …/common/peer.c(943): Local peer down
[07/29/24 14:09:57] …/common/peer.c(941): libevent got an error! what=33, errno=0 (No error)
[07/29/24 14:09:57] …/common/peer.c(943): Local peer down
[07/29/24 14:10:10] …/common/session.c(398): Accepted a local client
[07/29/24 14:10:10] …/common/session.c(398): Accepted a local client
[07/29/24 14:10:10] …/common/peer.c(941): libevent got an error! what=33, errno=0 (No error)
[07/29/24 14:10:10] …/common/peer.c(943): Local peer down
[07/29/24 14:10:10] …/common/peer.c(941): libevent got an error! what=33, errno=0 (No error)
[07/29/24 14:10:10] …/common/peer.c(943): Local peer down

seafserv.log内信息

[07/29/24 14:09:20] seafserv/seafserv.c(516): seaf-server has exited with code 4294967295
[07/29/24 14:09:20] seafserv/seafserv.c(90): starting seaf-server …
[07/29/24 14:09:20] created “seaf-server.exe -c “E:/seafile-server\ccnet” -d “E:/seafile-server\seafile-data” -l “E:/seafile-server\logs\seafile.log” -F “E:/seafile-server\conf””, pid 1196
[07/29/24 14:09:57] seafserv/seafserv.c(516): seaf-server has exited with code 4294967295
[07/29/24 14:09:57] seafserv/seafserv.c(90): starting seaf-server …
[07/29/24 14:09:57] created “seaf-server.exe -c “E:/seafile-server\ccnet” -d “E:/seafile-server\seafile-data” -l “E:/seafile-server\logs\seafile.log” -F “E:/seafile-server\conf””, pid 1760
[07/29/24 14:10:10] seafserv/seafserv.c(516): seaf-server has exited with code 4294967295
[07/29/24 14:10:10] seafserv/seafserv.c(90): starting seaf-server …
[07/29/24 14:10:10] created “seaf-server.exe -c “E:/seafile-server\ccnet” -d “E:/seafile-server\seafile-data” -l “E:/seafile-server\logs\seafile.log” -F “E:/seafile-server\conf””, pid 976

您好,建议数据做好备份,换ubuntu标准化docker部署吧,seafile已经不再支持windows了

你好,问题就是没有做好备份,现在遇到问题了,无法显示资料库,我需要怎么修复它?

建议重启数据库或者清理缓存

大佬,该如何重启数据库呢?我这个装的是Windows客户端版本。
清理缓存试过了,清除seahub_cache下的缓存文件,不行

加我微信ys467234849,发我看看

這是我的修復指令,你自己改成你的對應資料夾名稱套用試試看

C:\SeafileProgram\Seafile-server\seafile\bin\seaf-fsck.exe -r -c C:\seafile-server\ccnet -d C:\seafile-server\seafile-data -F C:\seafile-server\conf

不然也可以參考看看這個

试了,还是不行,我倒是用-E指令,导出了一些文件但是不完整,少了一半