Database initialization failed, can anyone advise how to fix? #6173
Unanswered
lifengstone
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
$ autogenstudio ui --port 8080 --appdir ./Agents
INFO: Loading environment from '/home/azureuser/.autogenstudio/temp_env_vars.env'
2025-04-02 03:06:25.084 | INFO | autogenstudio.web.initialization:init:40 - Initializing application data folder: Agents
2025-04-02 03:06:25.084 | INFO | autogenstudio.web.auth.manager:init:26 - Initialized auth manager with provider: none
INFO: Started server process [29359]
INFO: Waiting for application startup.
2025-04-02 03:06:25.167 | INFO | autogenstudio.database.db_manager:initialize_database:74 - Creating database tables...
2025-04-02 03:06:30.240 | ERROR | autogenstudio.database.db_manager:initialize_database:92 - Database initialization failed: (sqlite3.OperationalError) database is locked
[SQL:
CREATE TABLE team (
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
created_at DATETIME DEFAULT (CURRENT_TIMESTAMP),
updated_at DATETIME,
user_id VARCHAR,
version VARCHAR,
component JSON
)
]
(Background on this error at: https://sqlalche.me/e/20/e3q8)
2025-04-02 03:06:30.255 | INFO | autogenstudio.web.app:lifespan:39 - Application startup complete. Navigate to http://127.0.0.1:8080
INFO: Application startup complete.
INFO: Uvicorn running on http://127.0.0.1:8080 (Press CTRL+C to quit)
Beta Was this translation helpful? Give feedback.
All reactions