Database is locked!

瀏覽次數:89 次
跳到第一則未讀訊息

timonoj

未讀,
2016年3月13日 凌晨4:47:442016/3/13
收件者:seafile
Hi, can anyone help me figure out which one is giving me trouble?
My seafile holds most of its data on an NFS share, that's including the DB files. I read already that in the event of a crash with NFS, it could lead to the file being falsely locked, and just copying the file to a new one then renaming could just fix the issue...But I need to know which db file!

Here's the error I'm getting:
/seafile-server-latest$ ./seafile.sh start

[03/13/16 16:24:43] ../common/session.c(132): using config file /media/seafile/bananapi/conf/ccnet.conf
[03/13/16 16:24:44] SQL error: 5 - database is locked
:       CREATE TABLE IF NOT EXISTS Config (key TEXT PRIMARY KEY, value TEXT);
[03/13/16 16:24:45] Error exec query CREATE TABLE IF NOT EXISTS EmailUser (id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,email TEXT, passwd TEXT, is_staff bool NOT NULL, is_active bool NOT NULL, ctime INTEGER): database is locked.
failed to run "ccnet-server -t"

seafile-server-latest$


Help!

Alex Quenzer

未讀,
2016年9月12日 凌晨2:32:042016/9/12
收件者:seafile
Hey,

I have the same Problem !

but no solution

LG Alex

文少华

未讀,
2016年12月9日 凌晨12:51:442016/12/9
收件者:seafile
Have you tried find all the .db files in the Seafile-data directories?

I see this error in the log as well, but a restart of the server solved it.
Br
Holy

回覆所有人
回覆作者
轉寄
0 則新訊息