Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Phoenix failed to migrate the database to the latest version #3246

Open
ibtsamraza opened this issue May 20, 2024 · 3 comments
Open

Phoenix failed to migrate the database to the latest version #3246

ibtsamraza opened this issue May 20, 2024 · 3 comments
Labels
bug Something isn't working needs information Needs more info from the issuer user request

Comments

@ibtsamraza
Copy link

The database may be in a dirty state. To resolve this, the Alembic CLI can be used
from the src/phoenix/db directory inside the Phoenix project root. From here,
revert any partial migrations and run alembic stamp to reset the migration state,
then try starting Phoenix again.
i am unable to find src/phoenix/db on my local machine
i am running my app on a ubuntu server

@dosubot dosubot bot added the bug Something isn't working label May 20, 2024
@mikeldking mikeldking added the triage issues that need triage label May 20, 2024
@anticorrelator
Copy link
Contributor

hi @ibtsamraza! I'm sorry you've run into a migration error. To locate that directory, it's probably easiest to clone our repo and navigate to src/pehoenix/db from there

@axiomofjoy
Copy link
Contributor

@anticorrelator I think it's worth adding more explicit instructions to the message.

@mikeldking
Copy link
Contributor

hey @ibtsamraza are you still blocked by this? Happy to get you unblocked. Let me know. We can schedule some time.

In general we only have one migration right now so it's pretty surprising you hit this error. Any details would be appreciated.

@mikeldking mikeldking added needs information Needs more info from the issuer and removed triage issues that need triage labels May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs information Needs more info from the issuer user request
Projects
Status: 📘 Todo
Development

No branches or pull requests

4 participants