umbraco / Umbraco.Commerce.Deploy

MIT License
0 stars 2 forks source link

SQLite Error 5: 'database is locked'. #6

Open runegronkjaer opened 10 months ago

runegronkjaer commented 10 months ago

I have an issue with my local SQLite throwing a lock error when Umbraco Commerce runs its Settings deploy.

I have installed the newest versions of Umbraco v10.7.0 Umbraco.Commerce v10.0.3 Umbraco.Commerce.Deploy v10.0.1

If I delete my Umbraco Commerce revision files and runs Update Umbraco Schema, I can update my default Umbraco Settings. Adding the files again I will get this error:

{
  "Date": "2023-11-01T09:08:45.0319187+01:00",
  "Message": "SQLite Error 5: 'database is locked'.",
  "Ex": {
    "SqliteErrorCode": 5,
    "SqliteExtendedErrorCode": 5,
    "IsTransient": false,
    "SqlState": null,
    "BatchCommand": null,
    "ErrorCode": -2147467259,
    "Message": "SQLite Error 5: 'database is locked'.",
    "Data": {},
    "InnerException": null,
    "HelpLink": null,
    "Source": "Umbraco.Commerce.Infrastructure",
    "HResult": -2147467259,
    "StackTrace": "   at Umbraco.Commerce.Infrastructure.Resiliency.PollyExecutionStrategyBase.Execute[TResult](Func`1 operation, Func`1 verifySucceeded)\r\n   at Umbraco.Commerce.Core.UmbracoCommerceUnitOfWorkProvider.Execute(IUnitOfWorkOptions options, Action`1 action)\r\n   at Umbraco.Deploy.Infrastructure.Environments.CurrentEnvironment.ProcessArtifacts(IEnumerable`1 arts, IDeployContext context, CancellationToken token)"
  },
  "Sender": "Umbraco.Deploy.Infrastructure.Work.WorkItems.DiskReadWorkItem"
}