TouchServerTask - Failed to update server record in database

Umbraco v: 11.3.1.
Our website logs errors about every 10 minutes when Umbraco runs:
Umbraco.Cms.Core.Services.Implement.ServerRegistrationService.TouchServer

The error is:
"Failed to update server record in database.
Umbraco.Cms.Core.DistributedLocking.Exceptions.DistributedWriteLockTimeoutException: Failed to acquire write lock for id: -331.

The db is Sqlite.
Why is this and how can we fix it?


This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/114272-touchservertask-failed-to-update-server-record-in-database