rishighan / threetwo-docker-compose

docker-compose configuration for ThreeTwo
3 stars 0 forks source link

core-services cannot connect to mongo #2

Open rishighan opened 1 year ago

rishighan commented 1 year ago

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."}}
rishighan commented 1 year ago

PR open to address this: https://github.com/rishighan/threetwo-docker-compose/pull/1