xingren23 / ComfyFlowApp

From comfyui workflow to web app, in seconds
https://comfyflow.app
GNU General Public License v3.0
492 stars 59 forks source link

OperationalError: (sqlite3.OperationalError) database is locked #70

Closed huanyingtianhe closed 4 months ago

huanyingtianhe commented 5 months ago

OperationalError: (sqlite3.OperationalError) database is locked [SQL: CREATE TABLE IF NOT EXISTS comfyflow_apps (id INTEGER PRIMARY KEY AUTOINCREMENT, name TEXT, description TEXT, image TEXT, app_conf TEXT, api_conf TEXT, template TEXT, url TEXT, status TEXT, created_at TEXT, updated_at TEXT);] (Background on this error at: https://sqlalche.me/e/14/e3q8)

xingren23 commented 5 months ago

This issue often occurs because the database is locked by another process. Try restarting your application or waiting for a bit before attempting to access the database again.