I have several instances of Duplicati Failing to backup. Spanning Windows and Mac OS. I have less access to the Mac systems so I am focusing on the Windows systems at the moment. For clarification I have several instances working perfectly but some aren’t. They all backup over SFTP.
When attempting we get the message that the database is locked.
Sep 28, 2019 10:54 AM: Failed to read local db C:\Users\Charles\AppData\Local\Duplicati\RKUEFBLUFN.sqlite, error: Unable to determine database format: database is locked database is locked
{“ClassName”:“Duplicati.Library.Interface.UserInformationException”,“Message”:“Unable to determine database format: database is locked\r\ndatabase is locked”,“Data”:null,“InnerException”:{“errorCode”:“Busy”,“ClassName”:“System.Data.SQLite.SQLiteException”,“Message”:“database is locked\r\ndatabase is locked”,“Data”:null,“InnerException”:null,“HelpURL”:null,“StackTraceString”:" at System.Data.SQLite.SQLite3.Prepare(SQLiteConnection cnn, String strSql, SQLiteStatement previous, UInt32 timeoutMS, String& strRemain)\r\n at System.Data.SQLite.SQLiteCommand.BuildNextCommand()\r\n at System.Data.SQLite.SQLiteDataReader.NextResult()\r\n at System.Data.SQLite.SQLiteDataReader…ctor(SQLiteCommand cmd, CommandBehavior behave)\r\n at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)\r\n at System.Data.SQLite.SQLiteCommand.ExecuteScalar(CommandBehavior behavior)\r\n at Duplicati.Library.SQLiteHelper.DatabaseUpgrader.UpgradeDatabase(IDbConnection connection, String sourcefile, String schema, IList1 versions)","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nPrepare\nSystem.Data.SQLite, Version=1.0.105.2, Culture=neutral, PublicKeyToken=db937bc2d44ff139\nSystem.Data.SQLite.SQLite3\nSystem.Data.SQLite.SQLiteStatement Prepare(System.Data.SQLite.SQLiteConnection, System.String, System.Data.SQLite.SQLiteStatement, UInt32, System.String ByRef)","HResult":-2147467259,"Source":"System.Data.SQLite","WatsonBuckets":null},"HelpURL":null,"StackTraceString":" at Duplicati.Library.SQLiteHelper.DatabaseUpgrader.UpgradeDatabase(IDbConnection connection, String sourcefile, String schema, IList
1 versions)\r\n at Duplicati.Library.SQLiteHelper.DatabaseUpgrader.UpgradeDatabase(IDbConnection connection, String sourcefile, Type eltype)\r\n at Duplicati.Library.Main.Database.LocalDatabase.CreateConnection(String path)\r\n at Duplicati.Library.Main.Operation.RepairHandler.Run(IFilter filter)",“RemoteStackTraceString”:null,“RemoteStackIndex”:0,“ExceptionMethod”:“8\nUpgradeDatabase\nSQLiteHelper, Version=2.0.4.23, Culture=neutral, PublicKeyToken=null\nDuplicati.Library.SQLiteHelper.DatabaseUpgrader\nVoid UpgradeDatabase(System.Data.IDbConnection, System.String, System.String, System.Collections.Generic.IList`1[System.String])”,“HResult”:-2146233088,“Source”:“SQLiteHelper”,“WatsonBuckets”:null}
Please let me know what you want. I can turn up logging if told how. Thanks