求助,服务器内部错误

之前存放数据目录的硬盘坏了,然后我换了一个硬盘,把数据目录文件夹拷过来之后,重新安装了服务端,然后之前所有的文件目录都能看到,也都能单个的上传和下载。但是同步的时候就提示“服务器内部错误”。请问怎么解决?

日志如下:
[10/29/18 17:53:13] read from connfd error: No error.
[10/29/18 17:57:34] …/common/mq-mgr.c(54): [mq client] mq cilent is started
[10/29/18 17:57:34] listen-mgr.c(120): listen on port 12001 for block tranfer
[10/29/18 17:57:58] …/common/seaf-db.c(536): Error execute prep stmt: sqlite3_step failed: database disk image is malformed.
[10/29/18 17:57:58] repo-mgr.c(1261): failed to add repo token. repo = ae7c4c47-d266-4946-b5a1-78885889167f, email = webhxx@qq.com
[10/29/18 17:59:40] …/common/seaf-db.c(536): Error execute prep stmt: sqlite3_step failed: database disk image is malformed.
[10/29/18 17:59:40] repo-mgr.c(1261): failed to add repo token. repo = 0142241e-0993-49ca-85e7-474282b143ff, email = webhxx@qq.com