this post was submitted on 26 Jan 2026
17 points (94.7% liked)
PieFed help
2134 readers
2 users here now
It's seems right that we should have a local community to help us all with PieFed
Rules
Be kind! We're all learning
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments

I've been able to pull the logs from the system, I think this is the error that occurs in the backend when trying to purge a post on my instance. I'm not sure what it means or why it's occurring, but it does seem to be logged every time I try to purge a deleted post.
Ah yes, I know this one. I wasn't sure how widespread it was but it seems worse than I hoped. I'll get a fix out shortly.
Basically, it is saying that it can't delete the post because that post's row in the database is still being referenced somewhere else in the database. In this case, it is being referenced by rows in the table where we store votes for the post.
This is the same issue that popped up recently for another user. For whatever reason, sometimes the database misses setting the deletes for post and comment votes to cascade properly. I tried and couldn't replicate the issue in my test environment. rimu is probably making a new database migration that will apply it again and that should fix it.