Hi all. Is it possible to migrate from 0.11.5 to 0.13.3? I get the following error, so I assume it’s not possible?
Copy code
graphql_1 |
graphql_1 | Running Alembic migrations...
graphql_1 | INFO [alembic.runtime.migration] Context impl PostgresqlImpl.
graphql_1 | INFO [alembic.runtime.migration] Will assume transactional DDL.
graphql_1 |
graphql_1 | Could not upgrade the database!
graphql_1 | Error: Can't locate revision identified by '7e65dadba625'
n
nicholas
08/21/2020, 1:03 PM
Hi @Howard Cornwell - upgrading Server between those two versions isn’t possible but the rest of Core should work just fine. The reason is that 0.13.0 introduced a complete overhaul of Server with a host of new features and a shared code base with Prefect Cloud. My recommendation would be to create a new Server instance on 0.13.3 and re-register your flows there.
h
Howard Cornwell
08/21/2020, 2:22 PM
Thanks for the response, appreciated 🙂
😄 1
l
Luke
08/25/2020, 10:22 PM
Hi @Howard Cornwell I received the same error as nicholas. How do I create a new Server instance on 0.13.3?
n
nicholas
08/25/2020, 10:26 PM
Hi @Luke - you'll need to upgrade your version of Prefect (
pip install prefect --upgrade
) and re-run
prefect server start
l
Luke
08/25/2020, 10:37 PM
thanks, nicholas. hmm...I have 0.13.3 installed but am still getting that error after re-running
prefect server start
n
nicholas
08/25/2020, 10:38 PM
It seems you're trying to run the new Server instance on an existing Server database - since the old DB is incompatible with the new, you'll need to remove any persistent volumes to make that happen.
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.