You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my stage.yaml file I copied the local setup and have modified the values to be relevant for my staging environment.
I initially had it parameterized like postgres://nativish:{{ get_env(name="DB_PASSWORD") }}@{{ get_env(name="DB_HOST") }}:{{ get_env(name="DB_PORT", default="5432") }}/{{ get_env(name="DB_NAME", default="nativishstage") but I kept getting the following error: Fail to parse database URL: RelativeUrlWithoutBase.
I don't quite understand because even when I deployed with a string literal of the whole DB connection string it still gave me Fail to parse database URL: RelativeUrlWithoutBase. It seems like a SeaORM error but I can't reproduce it locally so I am having trouble debugging.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In my
stage.yaml
file I copied the local setup and have modified the values to be relevant for my staging environment.I initially had it parameterized like
postgres://nativish:{{ get_env(name="DB_PASSWORD") }}@{{ get_env(name="DB_HOST") }}:{{ get_env(name="DB_PORT", default="5432") }}/{{ get_env(name="DB_NAME", default="nativishstage")
but I kept getting the following error:Fail to parse database URL: RelativeUrlWithoutBase
.I don't quite understand because even when I deployed with a string literal of the whole DB connection string it still gave me
Fail to parse database URL: RelativeUrlWithoutBase
. It seems like a SeaORM error but I can't reproduce it locally so I am having trouble debugging.Has anyone run into this?
Beta Was this translation helpful? Give feedback.
All reactions