dendrite: storage: state NIDs missing from the database (0 != 1)"

Background information

  • Dendrite version or git SHA: Dendrite version 0.3.11+464b908b
  • Monolith or Polylith?: mono
  • SQLite3 or Postgres?: psql
  • Running in Docker?: no f way
  • go version: go version go1.14 linux/amd64

Description

After git pull nothing works anymore, POSTs get 500 internal server errors

ERRO[2021-04-26T21:14:14.000494976Z] [github.com/matrix-org/dendrite/clientapi/routing/membership.go:385] checkMemberInRoom
         QueryCurrentState: could not query membership for user  error="storage: state NIDs missing from the database (0 != 1)" req.id=dlCjrEVVp0pJ req.method=POST req.path="/_matrix/client/r0/rooms/!yomrOFwgFXzmeMAbzX:matrix.org/read_markers" user_id="@grin:dendrite.grin.hu"

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 4
  • Comments: 21 (7 by maintainers)

Commits related to this issue

Most upvoted comments

Please can people confirm which database engine they are running when hitting this issue. I’ve identified a problem in the postgres migration only. Specifically, I’d like to hear from @danpe @johanhenselmans @Zauberstuhl

Maybe related to #1839.