We are in the process of migrating this forum. A new space will be available soon. We are sorry for the inconvenience.

SQLITE database file is locked


jdesgats
05-02-2014, 09:35 AM
Code:
Mono.Data.Sqlite.SqliteException: The database file is locked
Are you sure that you don't have multiple concurrent hubiC processes ?

To check it run 'ps ax | grep hubic' and check whether you have multiple 'hubiC.exe main-loop' processes.

You can end up with such processes if you opened multiple dbus sessions with the same user.

[code]
Mono.Data.Sqlite.SqliteException: The database disk image is malformed
[/code

This means that the database has been corrupted, probably by the situation above. You can remove it and start a new session:
Code:
$ hubic stop
$ rm ~/.config/hubiC/hubiC.db
$ hubic login ...

flotho
05-01-2014, 09:01 AM
After a long synchonization I have his :

Code:
Mono.Data.Sqlite.SqliteException: The database disk image is malformed
database disk image is malformed

flotho
04-30-2014, 05:07 PM
Hy,

Launching hubic via main loop, itt recompute hashs of my files and after a few moment I have this :
Code:
.../...
Ovh.Hubic.Sync.Database.DBHandler.HandleError] Database error:
Mono.Data.Sqlite.SqliteException: The database file is locked
I've restarted all the mono and hubic's processes, nothing better.

Regards