WEB上传文件提示{“error”: "Internal error. "}的解决方法


#1

WEB上传文件提示{“error”: "Internal error. "}
日志logs/seafile.log提示
…/common/seaf-db.c(425): Error prepare statement SELECT tmp_file_path FROM WebUploadTempFiles WHERE repo_id = ? AND file_path = ?: sqlite3_prepare_v2 failed: no such table: WebUploadTempFiles.

如果是sqlite3安装,执行如下:

sqlite3 /<你的路径>/seafile-data/seafile.db

CREATE TABLE [WebUploadTempFiles]( [id] INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, [repo_id] CHAR(40) NOT NULL, [file_path] TEXT NOT NULL, [tmp_file_path] TEXT NOT NULL );

.quit

如果是mySQL安装,参考https://bbs.seafile.com/t/topic/9218


#2

Deal, Ths !