langflow
langflow copied to clipboard
Startup failed
Describe the bug
[04/18/24 12:32:31] INFO 2024-04-18 12:32:31 - INFO - service - Alembic already initialized service.py:142
INFO 2024-04-18 12:32:31 - INFO - service - Running DB migrations in service.py:150
venv/lib/python3.10/site-packages/langflow/alembic
.venv/lib/python3.10/site-packages/langflow/alembic/env.py:82: SAWarning: WARNING: SQL-parsed foreign key constraint '('user_id', 'user', 'id')' could not be located in PRAGMA foreign_keys for table flow
context.run_migrations()
.venv/lib/python3.10/site-packages/langflow/alembic/env.py:82: SAWarning: WARNING: SQL-parsed foreign key constraint '('user_id', 'user', 'id')' could not be located in PRAGMA foreign_keys for table flow
context.run_migrations()
[04/18/24 12:32:34] ERROR 2024-04-18 12:32:34 - ERROR - service - AutogenerateDiffsDetected: {exc} service.py:162
ERROR 2024-04-18 12:32:34 - ERROR - utils - Something went wrong running migrations. Please, run langflow migration --fix
utils.py:51
ERROR 2024-04-18 12:32:34 - ERROR - utils - Something went wrong running migrations. Please, run langflow migration --fix
utils.py:216
then stoped
Version
- 0.6.16
To Reproduce
exec langflow run
run langflow migration --fix , Throwing the same error
Hey @asynchat Have you ever installed Langflow before or is this a clean database?
I'll see if I can improve these error messages for us to better diagnose this.
Same error. I had installed Langflow before. I will try clean everything and reinstall.
Hey @asynchat Have you ever installed Langflow before or is this a clean database?
I'll see if I can improve these error messages for us to better diagnose this.
clean install,no history data,Not an upgrade operation
Using the built-in SQLite database
Im getting the same error, conda env
Same error. I had installed Langflow before. I will try clean everything and reinstall.
I just commented the migration routine in alembic env and it started. Dont know if i will have some side effect.
I hava the same question,how to solve it?
I have resolved this issue and found the langflow.db file. After deleting it, I will restart the project
Hey @asynchat Have you ever installed Langflow before or is this a clean database?
I'll see if I can improve these error messages for us to better diagnose this.
I hava the same question,how to solve it? I installed langflow before
Hello @AndyBai175, Sorry for the delay. Did you try using the new version? Does the error still persist?
Hi @AndyBai175
We hope you're doing well. Just a friendly reminder that if we do not hear back from you within the next 3 days, we will close this issue. If you need more time or further assistance, please let us know.
Thank you for your understanding!
Thank you for your contribution! This issue will be closed. If you have any questions or encounter another problem, please open a new issue and we will be ready to assist you.