Database is locked!

88 views
Skip to first unread message

timonoj

unread,
Mar 13, 2016, 4:47:44 AM3/13/16
to 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

unread,
Sep 12, 2016, 2:32:04 AM9/12/16
to seafile
Hey,

I have the same Problem !

but no solution

LG Alex

文少华

unread,
Dec 9, 2016, 12:51:44 AM12/9/16
to 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

Reply all
Reply to author
Forward
0 new messages