core-services cannot connect to mongo #2

Open
opened 2023-05-15 16:02:03 +00:00 by rishighan · 1 comment
rishighan commented 2023-05-15 16:02:03 +00:00 (Migrated from github.com)

Upon spinning up the stack in its current state, core-services fail to connect to db and tries reconnecting indefinitely. This prevents all library functions from functioning.

{"t":{"$date":"2023-05-16T16:52:58.606+00:00"},"s":"F",  "c":"CONTROL",  "id":20573,   "ctx":"initandlisten","msg":"Wrong mongod version","attr":{"error":"UPGRADE PROBLEM: Found an invalid featureCompatibilityVersion document (ERROR: BadValue: Invalid value for version, found 6.0, expected '4.4' or '4.2'. Contents of featureCompatibilityVersion document in admin.system.version: { _id: \"featureCompatibilityVersion\", version: \"6.0\" }. See https://docs.mongodb.com/master/release-notes/4.4-compatibility/#feature-compatibility.). If the current featureCompatibilityVersion is below 4.2, see the documentation on upgrading at https://docs.mongodb.com/master/release-notes/4.4/#upgrade-procedures."}}
Upon spinning up the stack in its current state, `core-services` fail to connect to `db` and tries reconnecting indefinitely. This prevents all library functions from functioning. ```console {"t":{"$date":"2023-05-16T16:52:58.606+00:00"},"s":"F", "c":"CONTROL", "id":20573, "ctx":"initandlisten","msg":"Wrong mongod version","attr":{"error":"UPGRADE PROBLEM: Found an invalid featureCompatibilityVersion document (ERROR: BadValue: Invalid value for version, found 6.0, expected '4.4' or '4.2'. Contents of featureCompatibilityVersion document in admin.system.version: { _id: \"featureCompatibilityVersion\", version: \"6.0\" }. See https://docs.mongodb.com/master/release-notes/4.4-compatibility/#feature-compatibility.). If the current featureCompatibilityVersion is below 4.2, see the documentation on upgrading at https://docs.mongodb.com/master/release-notes/4.4/#upgrade-procedures."}} ```
rishighan commented 2023-05-15 16:02:40 +00:00 (Migrated from github.com)
PR open to address this: https://github.com/rishighan/threetwo-docker-compose/pull/1
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: frishi/threetwo-docker-compose#2