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.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Already uploaded files

  • log_test_appVeyor_wrong_mongoDB_version.txt 12.1 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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

Recent Discussions

18 Oct, 2021 12:38 PM
16 Oct, 2021 04:34 PM
15 Oct, 2021 08:29 PM
15 Oct, 2021 06:34 PM
13 Oct, 2021 03:47 PM


13 Oct, 2021 06:27 AM
13 Oct, 2021 05:54 AM
12 Oct, 2021 06:48 PM
12 Oct, 2021 06:47 PM
12 Oct, 2021 12:36 PM
11 Oct, 2021 10:05 AM