Skip to content

PostgreSQL issue - PANIC : replication checkpoint has wrong magic #1622

Answered by jun3280net
jun3280net asked this question in Q&A
Discussion options

You must be logged in to vote

Hopefully, this helps other people out who run into this situation. I found the following link which provides some insight into how to address the problem :

https://www.postgresql-archive.org/PANIC-replication-checkpoint-has-wrong-magic-0-instead-of-td6146772.html

My steps are as follows :

  • docker-compose down or CTRL + C to shut down the Teslamate, Postgres, Grafana
  • With "elevated privileges / root" I navigated to the directory in Linux Mint : /var/lib/docker/volumes/teslamate_teslamate-db/_data/pg_logical/
  • Then I renamed the replorigin_checkpoint file to replorigin_checkpoint_corrupted, as starting up the docker-compose will generate a new replorigin_checkpoint file. In theory, you coul…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@an-suz
Comment options

@BlackWolfWoof
Comment options

@mohammadrz003
Comment options

@cotunjr
Comment options

Answer selected by jun3280net
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants