Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
runegronkjaer opened this issue Nov 1, 2023 · 0 comments
Open

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

runegronkjaer opened this issue Nov 1, 2023 · 0 comments

Comments

@runegronkjaer
Copy link

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"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant