Wrong MongoDB Version

nicolas's Avatar


19 Aug, 2021 03:26 PM

Hi Team,

I am trying to run integration tests as part of my pipeline.
I need MongoDB Version 4.0+, according to preinstalled software page Ubuntu, Ubuntu1604 and Ubuntu2004 should include mongodb MongoDB 4.2.2(https://www.appveyor.com/docs/linux-images-software/).
However, I tried all of the ubuntu images and all of them include MongoDB 3.6.4 (log attached).
Could you please let me know what am I doing wrong so I can correct my mistake and continue?


  1. Support Staff 1 Posted by Feodor Fitsner on 21 Aug, 2021 04:34 AM

    Feodor Fitsner's Avatar

    At the moment Mongo is installed on the image with the following script: https://github.com/appveyor/build-images/blob/master/scripts/Ubuntu...

    Not sure if there is an error...

  2. 2 Posted by nicolas on 23 Aug, 2021 07:59 AM

    nicolas's Avatar

    Thanks Feodor for the feedback,
    Does it means that I can update images (Ubuntu, Ubuntu1604 or Ubuntu2004) during runtime using that script?
    or I have to create a custom image?
    If I have to create a custom image, could you point me to the documentation for that proccess?


  3. Support Staff 3 Posted by Feodor Fitsner on 23 Aug, 2021 03:04 PM

    Feodor Fitsner's Avatar

    Hi Nico,

    Looks like we need to update our image baking scripts to install the latest MongoDB 5.0. I've created a new issue to do that during the next image update: https://github.com/appveyor/ci/issues/3700

    In the meantime you can install it during the build by following this official guide: https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/

    Let me know if you have any questions.

  4. Feodor Fitsner closed this discussion on 23 Oct, 2021 09:03 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac