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
- Try change for matrix-org/dendrite#1844 — committed to lantrix/dendrite by lantrix 3 years ago
- Try change for matrix-org/dendrite#1844 — committed to lantrix/dendrite by lantrix 3 years ago
- Try change for matrix-org/dendrite#1844 Fixed signed commits — committed to lantrix/dendrite by lantrix 3 years ago
- db migration: fix #1844 and add additional assertions - Migration scripts will now check to see if there are any unconverted snapshot IDs and fail the migration if there are any. This should prev... — committed to matrix-org/dendrite by kegsay 3 years ago
- Release/v0.4.1 (#4) * Update MSC2946 implementation for stable spaces (#1859) Now that MSC1772 passed FCP its identifiers have stabilised This outright drops support for experimental spaces but t... — committed to globekeeper/dendrite by PiotrKozimor 3 years ago
- Release/v0.5.0 (#6) * Update MSC2946 implementation for stable spaces (#1859) Now that MSC1772 passed FCP its identifiers have stabilised This outright drops support for experimental spaces but t... — committed to globekeeper/dendrite by PiotrKozimor 3 years ago
- Upstream merge (#9) * Update MSC2946 implementation for stable spaces (#1859) Now that MSC1772 passed FCP its identifiers have stabilised This outright drops support for experimental spaces but t... — committed to globekeeper/dendrite by PiotrKozimor 3 years ago
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.