[SERVER-39886] WARNING: shell and server versions do not match Created: 28/Feb/19  Updated: 28/Feb/19  Resolved: 28/Feb/19

Status: Closed
Project: Core Server
Component/s: Shell
Affects Version/s: 4.0.6
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Jorge Campos Assignee: Danny Hatcher (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

I did the upgrade to mongodb to 3.6.10 to 4.0.6 manually and I got this messages

 

root@COMPASSCRI-DBS01:~# mongo --host 192.168.9.4:27017
MongoDB shell version v3.4.19
connecting to: mongodb://192.168.9.4:27017/
MongoDB server version: 4.0.6
WARNING: shell and server versions do not match
Server has startup warnings:

Can you help me please?

 



 Comments   
Comment by Danny Hatcher (Inactive) [ 28/Feb/19 ]

Hello Jorge,

As you discovered, that message is simply there to tell you that the mongo shell binary being used is an older version than the mongod binary.

Please note that SERVER project is for reporting bugs or feature suggestions for the MongoDB server. For MongoDB-related support discussion please post on the mongodb-user group or Stack Overflow with the mongodb tag. A question like this involving more discussion would be best posted on the mongodb-user group.

Thank you,

Danny

Comment by Jorge Campos [ 28/Feb/19 ]

root@COMPASSCRI-DBS01:~# mongo --host 192.168.9.4:27017
MongoDB shell version v4.0.6
connecting to: mongodb://192.168.9.4:27017/?gssapiServiceName=mongodb
Implicit session: session { "id" : UUID("77a5df31-7db8-4e3c-94ef-d1fcd3089fc4") }
MongoDB server version: 4.0.6
Server has startup warnings:

Comment by Jorge Campos [ 28/Feb/19 ]

I have already installed the shell 4.0.6 manually  and the warning was disappeared.

Generated at Thu Feb 08 04:53:24 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.