Skip to content

Auto-update locked #528

Open
Open
@JornWildt

Description

@JornWildt

Every now and then, during development, the website fails to start - and the console only states:

info: Cofoundry.Web.AutoUpdateHostedService[0]
      Process failed, retrying in 5 seconds

No further info is given. It took me a while to guess that the singular entry in AutoUpdateLock table, column "IsLocked" should be changed manually from False to True. No exact idea why, but it fixes the problem.

Apparently it is one of the failure modes of auto update that doesn't get a useful error message attached. It would be nice if the error message stated something like "Seems like the previous auto update failed and got stuck in a unhealthy state. Try XXX to restart the process".

I don't know how it happens - but it is most likely a result of a quick rebuild from VS2022 while the auto update is running?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions