Stack: Heroku with Postgres DB
Hey! My Admins works perfectly. You can fetch/update/delete data, add new models, republish etc (in dev and prod).
But periodically, something happens that causes 2 issues in our production Admin:
- The
posts
table will get wiped from the database - The
pages
tab in theContent Manager
is inaccessible (page turns white, browser console showscan’t access properties of undefined
error)
The post
and page
model still show up in the Content-Type Builder
. All other data is good. After redeploying, the post table returns (with no data), and the page
tabs work as normal (all data in tact).
Don’t know with certainty, but **this wipe seems to happen around midnight EST **(will be fine before sleeping then wiped the next day). We’ve gotten the same wipe consistently for 3-4 days.
We’ve checked the logs but don’t see anything about dropping tables or deleting data (attached some logs just in case)
Other things to note:
- Data persists after redeploying.
- Data persists after restarting all dynos.
- We use an SQLite database locally, so the problem isn’t local data/schema changes reflected in prod.
- The prod db is 100% using Postgres, not SQLite (see first pic).
- I’ve been the only person working on this, so don’t think the issue stems from multiple people accessing/updating the prod admin.
—
Has anyone ran into something similar? Thanks!
This topic has been created from a Discord post (1258130358520778782) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord