# Where to check the Pritunl and Mongo DB version compatibility before upgrade

**URL:** <https://forum.pritunl.com/t/where-to-check-the-pritunl-and-mongo-db-version-compatibility-before-upgrade/3635>\
**Category:** Pritunl\
**Created:** [November 20, 2025, 9:01am UTC](https://forum.pritunl.com/t/where-to-check-the-pritunl-and-mongo-db-version-compatibility-before-upgrade/3635 "2025-11-20T09:01:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mandeep](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/m/6a8cbe/32.png) [@Mandeep](https://forum.pritunl.com/u/Mandeep)\
**Post date:** [November 20, 2025, 9:01am UTC](https://forum.pritunl.com/t/where-to-check-the-pritunl-and-mongo-db-version-compatibility-before-upgrade/3635/1 "2025-11-20T09:01:20Z")

</div>

Hi,

I am having the pritunl version now 1.30.3043.48-0ubuntu1~focal amd64 and upgrading to 1.32.4400.99-0ubuntu1~focal. I have mongoDB in different instance, so just want to know which mongoDB version should be there to support the new pritunl version.

Also confused with the command # sudo apt upgrade pritunl (do we need to mention the version name in the last of the command)

---

<div class="post-metadata">

**Author:** ![zach](https://forum.pritunl.com/user_avatar/forum.pritunl.com/zach/32/1105_2.png) [@zach](https://forum.pritunl.com/u/zach)\
**Post date:** [November 21, 2025, 1:19am UTC](https://forum.pritunl.com/t/where-to-check-the-pritunl-and-mongo-db-version-compatibility-before-upgrade/3635/2 "2025-11-21T01:19:42Z")

</div>

All versions of Pritunl will support MongoDB 4.0 up to the current 8.0, this will change in future releases as the current MongoDB drivers only support MongoDB 4.2 and later.

---

<div class="post-metadata">

**Author:** ![Mandeep](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/m/6a8cbe/32.png) [@Mandeep](https://forum.pritunl.com/u/Mandeep)\
**Post date:** [November 21, 2025, 5:20am UTC](https://forum.pritunl.com/t/where-to-check-the-pritunl-and-mongo-db-version-compatibility-before-upgrade/3635/3 "2025-11-21T05:20:49Z")

</div>

The current version is running v3.6.8 of mongodb which is on different instance. Does it will support with the version 1.32.4400.99-0ubuntu1~focal ?

If not supported with this pritunl version than what latest version will support with mongo v3.6.8. Here we are going to upgrade the pritunl server only.

---

<div class="post-metadata">

**Author:** ![zach](https://forum.pritunl.com/user_avatar/forum.pritunl.com/zach/32/1105_2.png) [@zach](https://forum.pritunl.com/u/zach)\
**Post date:** [November 21, 2025, 7:36am UTC](https://forum.pritunl.com/t/where-to-check-the-pritunl-and-mongo-db-version-compatibility-before-upgrade/3635/4 "2025-11-21T07:36:20Z")

</div>

I wouldn’t attempt upgrading it unless the MongoDB server is at least 4.0. My understanding is it may still work MongoDB just isn’t validating full driver compatibility with those older releases. The only real option to upgrade a MongoDB server that old is to export the database then install the latest MongoDB and import the data as documented in the [**backup documentation**](https://docs.pritunl.com/kb/vpn/system/backup#mongodb).
