-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
PREFECT_HOME not used when serving flow #17068
Comments
hi @kknuut-aavamobile - thanks for the issue! I think I know what's going on here. If you set I am thinking we should change the profile source for the |
hi @kknuut-aavamobile - can you try installing from main and see if this is resolved for you? pip install git+https://github.com/prefecthq/prefect.git |
this is now released as |
Bug summary
When I try to serve flow from systemd procress, Prefect3 does not use PREFECT_HOME to setup profile location. Instead it forcibly uses /root/.prefect/profiles.toml
This used to work. Only change is prefect2 updated to prefect3 on server machine and this affected client machine.
Previously working version prefect=2.14.11
New current version prefect=3.2.0
both Python 3.10.15
Profile:
Flow code:
Command to start on systemd service
It can also be reproduced with sudo:
Output:
Debugging & info:
Version info
Additional context
No response
The text was updated successfully, but these errors were encountered: