I'm returning to Prefect after spending a little l...
# prefect-getting-started
p
I'm returning to Prefect after spending a little less than a year away- work ebbs and flows- and I'm trying to get modern prefect running on our compute again.
prefect server start
throws an error at me:
Unknown setting 'PREFECT_ORION_API_HOST'. (type=value_error)
- Since it seems that Orion has been more or less scrubbed from the lexicon here, I'm inferring that there must be some lingering environment variable from when I was working with prefect previously- any tips for how to move forward?
Alternatively, if I just wanted to skip running the UI myself but still want to use the local compute my team has access to, is using Prefect Cloud a reasonable thing to set up for that purpose?
n
hi @Paige Gulley - yes we moved from
ORION
to
SERVER
in names of things a while back
> Alternatively, if I just wanted to skip running the UI myself but still want to use the local compute my team has access to, is using Prefect Cloud a reasonable thing to set up for that purpose? yes! prefect cloud will host your orchestration server (i.e. your workspace) but allow you to bring your own compute for flow runs so for example, you could run a docker worker on your local compute and point deployments at that so that flow runs execute as containers there, or if you're not into containerization you could simply `.serve` a flow there and let it run as a process either way, your flow runs (running in your infra) would use the
PREFECT_API_URL
to connect to Prefect Cloud and report state / do orchestration without you running
prefect server start
anywhere
p
Ok great! I'll pitch the prefect cloud sitch to my team tomorrow.
But in the meantime, even running
prefect config validate
is erroring out with the same message...
@Nate Just circling back- I'm finding that on my infrastructure I can't run any prefect commands at all without the aforementioned
Unknown setting REFECT_ORION_API_HOST
error being thrown, including
prefect cloud login
and
prefect config validate
How can I just start my profile on this cluster from scratch? uninstalling/reinstalling prefect has not helped.
n
hm it sounds like you have some
.env
file or env var on your machine that's using the old settings
can you check where env vars would be set?
p
Whoop! I found a lingering
.prefect/
folder. Deleting that solved my problem.
n
catjam