Hello prefect community! :wave: We are running for...
# ask-community
s
Hello prefect community! 👋 We are running for a long time an old version of Prefect 2.9.0 in
production
on premise with tons (>10k) of flows/tasks history. We would like to upgrade to a more recent version (let’s say 2.18.0) because we have severals issues with 2.9.0 (flows are not retrying in some situations) and we would like to benefit of all the news bugs fixes and added features. • I would like to know if we could straight migrate from
2.9.0
to
2.18.0
or we have to do all the intermediary versions
2.10
,
2.11
,
2,12
.. 🙏 • We are very concern of all breaking changes in the API that could happen between versions and in our own code base (libs, tasks and flows) and we want to limit the risks • We had trouble during a past migration from
2.7.0
to
2.9.0
with alembic and DB changes and we would avoid to have that again What would be your recommended way for the migration path from the old version `2.9.0` to a latest stable supported ? Thanks! 🤔
👀 1
m
@skrabez Are you using agents or workers? Because the most major thing is that the agents will be not available after September or so. We had to migrate our agents to a K8S worker and it was not so obvious because of our infra.
s
Hi @Mike Logaciuk, we are still using
agent
launched as systemd service with this command
Copy code
prefect agent start -q <queue_name> --api <api_url>
Our infra and premise are very specific to our needs (everything is self-hosted) Thanks for the heads up!