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
However, the Heroku Postgres add-on is properly installed as configured, I actually inspected the generated tables and everything seems fine. So I believe the message should just not appear.
Thanks for reporting this! It sounds like you’ve successfully connected Label Studio to a PostgreSQL add-on on Heroku, but you’re still seeing the “Data will be persisted on the node running this container...” message. That warning usually appears whenever Label Studio detects that you might be storing data locally on the ephemeral filesystem in addition to storing the database data in PostgreSQL.
Here’s what you can check:
Make sure you set the environment variable:
STORAGE_PERSISTENCE=1
This should remove the ephemeral storage warning in most cases.
Describe the bug
When deploying Label Studio to Heroku using the one-click badge from the README, I get a "Data will be persisted on the node running this container, but all data will be lost if this node goes away." in the app. This seems to come from this line:
https://github.com/HumanSignal/label-studio/blob/heroku-persistent-pg/Dockerfile.heroku#L4
However, the Heroku Postgres add-on is properly installed as configured, I actually inspected the generated tables and everything seems fine. So I believe the message should just not appear.
To Reproduce
Expected behavior
No message about data persistence should appear.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: