Join Slack
Powered by
Hi All, I have setup prefect 3.0.11 and configure...
# ask-community
p
Paul Janzen
10/25/2024, 5:59 AM
Hi All, I have setup prefect 3.0.11 and configured a postgres db to store the data in. PREFECT_API_DATABASE_CONNECTION_URL = "
postgresql+asyncpg://prefect1:myVerySecretPassw0rd@10.10.1.11:5432/prefect1
" However, this is completly ignored, the data is still written to /home/prefect/.prefect/prefect.db (sqllite) I have created a gist with my complete config. Is this a bug?
https://gist.github.com/pjanzen/cff1ff0b93d4fcd433f2565259b81ea0
r
Robert Torbiczuk
10/25/2024, 9:51 AM
did you try to export PREFECT_API_DATABASE_CONNECTION_URL variable? set on os lvl not profile one?
p
Paul Janzen
10/25/2024, 11:30 AM
Ok, that did the trick. Does this qualify as bug? I would think so.
r
Robert Torbiczuk
10/25/2024, 12:57 PM
if docs says that - probably yes
b
Bianca Hoch
10/25/2024, 9:51 PM
Hey Paul and Robert, we can take a look to see if we can replicate what you saw. Did you happen to
open an issue
for this?
p
Paul Janzen
10/26/2024, 3:50 AM
Hi Bianca, I raised an issue for this.
https://github.com/PrefectHQ/prefect/issues/15815
16
Views
Open in Slack
Previous
Next