I have duplicate working on several systems but there is one that has never worked.
System Specifics: Mac OS 10.13.3 Duplicati: 2.0.2.1_beta_2017-08-01
Backend: SFTP
Error Message:
Failed: The database file is locked
database is locked
Details: Mono.Data.Sqlite.SqliteException (0x80004005): The database file is locked
database is locked
at Mono.Data.Sqlite.SQLite3.Step (Mono.Data.Sqlite.SqliteStatement stmt) [0x00089] in <54894e20c59b4c3b9ef1557952b1a6a6>:0
at Mono.Data.Sqlite.SqliteDataReader.NextResult () [0x00104] in <54894e20c59b4c3b9ef1557952b1a6a6>:0
at Mono.Data.Sqlite.SqliteDataReader..ctor (Mono.Data.Sqlite.SqliteCommand cmd, System.Data.CommandBehavior behave) [0x0004e] in <54894e20c59b4c3b9ef1557952b1a6a6>:0
at (wrapper remoting-invoke-with-check) Mono.Data.Sqlite.SqliteDataReader:.ctor (Mono.Data.Sqlite.SqliteCommand,System.Data.CommandBehavior)
at Mono.Data.Sqlite.SqliteCommand.ExecuteReader (System.Data.CommandBehavior behavior) [0x00006] in <54894e20c59b4c3b9ef1557952b1a6a6>:0
at Mono.Data.Sqlite.SqliteCommand.ExecuteNonQuery () [0x00000] in <54894e20c59b4c3b9ef1557952b1a6a6>:0
at Duplicati.Library.Main.Database.LocalDatabase.LogMessage (System.String type, System.String message, System.Exception exception, System.Data.IDbTransaction transaction) [0x00067] in <118ad25945a24a3991f7b65e7a45ea1e>:0
at Duplicati.Library.Main.BasicResults.LogDbMessage (System.String type, System.String message, System.Exception ex) [0x00027] in <118ad25945a24a3991f7b65e7a45ea1e>:0
at Duplicati.Library.Main.BasicResults.AddMessage (System.String message) [0x00083] in <118ad25945a24a3991f7b65e7a45ea1e>:0
at Duplicati.Library.Main.BasicResults.AddMessage (System.String message) [0x00008] in <118ad25945a24a3991f7b65e7a45ea1e>:0
at Duplicati.Library.Main.Database.LocalRepairDatabase.FixDuplicateMetahash () [0x00036] in <118ad25945a24a3991f7b65e7a45ea1e>:0
at Duplicati.Library.Main.Operation.RepairHandler.RunRepairCommon () [0x0008d] in <118ad25945a24a3991f7b65e7a45ea1e>:0
at Duplicati.Library.Main.Operation.RepairHandler.Run (Duplicati.Library.Utility.IFilter filter) [0x00147] in <118ad25945a24a3991f7b65e7a45ea1e>:0
at Duplicati.Library.Main.Operation.BackupHandler.PreBackupVerify (Duplicati.Library.Main.BackendManager backend, System.String protectedfile) [0x000c7] in <118ad25945a24a3991f7b65e7a45ea1e>:0
at Duplicati.Library.Main.Operation.BackupHandler.Run (System.String[] sources, Duplicati.Library.Utility.IFilter filter) [0x00860] in <118ad25945a24a3991f7b65e7a45ea1e>:0
at Duplicati.Library.Main.Controller+<>c__DisplayClass16_0.<Backup>b__0 (Duplicati.Library.Main.BackupResults result) [0x0030f] in <118ad25945a24a3991f7b65e7a45ea1e>:0
at Duplicati.Library.Main.Controller.RunAction[T] (T result, System.String[]& paths, Duplicati.Library.Utility.IFilter& filter, System.Action`1[T] method) [0x00072] in <118ad25945a24a3991f7b65e7a45ea1e>:0
My troubleshooting: I have attempted to repair the database and delete/repair the database several times. I the repair seems to work for an hour or so (i think) but I cannot tell if it completes successfully or just fails then spits out this error for every attempt of backing up the system.
I have attempted uninstalling mono and duplicate completely and reinstalling with same effect.
We use to use crashplan but that has long been removed from this system
I am open to suggestions/ideas.
Thanks