sometimes when I have Workflow executions windows open a workflow that runs in background on schedule generates an Error - SQLITE_BUSY: database is locked.
So far I have seen it happening only in Outlook nodes (Edit: also in HTTP request nodes) and the cause is following:
I have seen this issue happening a few times. This means that your database is under some heavy load and n8n is unable to write to it.
Just a quick overview of what happens is that n8n is trying to save the information to the database, but only one process can write at a time. If there are multiple executions or actions happening simultaneously, a few of them might fail to write the updates with this error message.
I would strongly suggest migrating your database from SQLite (which is n8n’s default and great for development puprposes) for MySQL or Postgres (preferably the latter).