Postgresql error: failed to re-find parent key in index
Your database is likely corrupted, especially the indexes. You can rebuild all indexes and check all tables on a database by:

REINDEX SYSTEM; -- run once
REINDEX DATABASE &lt;your dbname&gt;; -- run for each database
VACUUM (FULL VERBOSE ANALYZE); -- also run for each database after reindexing