# Update dhis2 2.36 to 2.40

**URL:** <https://community.dhis2.org/t/update-dhis2-2-36-to-2-40/53292>\
**Category:** Support - Assistance technique\
**Created:** [1 June 2023 12:51 UTC](https://community.dhis2.org/t/update-dhis2-2-36-to-2-40/53292 "2023-06-01T12:51:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![crakotondramanitra](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/crakotondramanitra/32/32760_2.png) [@crakotondramanitra](https://community.dhis2.org/u/crakotondramanitra)\
**Post date:** [1 June 2023 12:51 UTC](https://community.dhis2.org/t/update-dhis2-2-36-to-2-40/53292/1 "2023-06-01T12:51:57Z")

</div>

Hi  
I hope you very well via this message.

Can you help me, i will to do upgrade our dhis2 2.36 to 2.40?

You can provide me with the necessary elements for the upgrade

Best

---

<div class="post-metadata">

**Author:** ![Ulanbek](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/ulanbek/32/30685_2.png) [@Ulanbek](https://community.dhis2.org/u/Ulanbek)\
**Post date:** [1 June 2023 14:52 UTC](https://community.dhis2.org/t/update-dhis2-2-36-to-2-40/53292/2 "2023-06-01T14:52:14Z")

</div>

Hi @crakotondramanitra

I would suggest you to install local version of DHIS2.40 and do all migrations first there. if everything is fine, then you can upgrade live servers.

Basically what you need:

- installed and running DHIS2.36
- download version 40 of DHIS
- stop your instance (tomcat)
- create database backup
- replace existing war file with new one
- run tomcat
- the rest will be done by DHIS2.40. It may take some time to upgrade and amend your existing DB

Open your local DHIS2 instance and login. Check if anything wrong on dashboards, open each report, charts, tables, custom reports. Run your programs and dataSets.  
If everything is fine and you have not faced any problems\bugs then you can start upgrade on your live server.

Good luck

---

<div class="post-metadata">

**Author:** ![crakotondramanitra](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/crakotondramanitra/32/32760_2.png) [@crakotondramanitra](https://community.dhis2.org/u/crakotondramanitra)\
**Post date:** [2 June 2023 06:07 UTC](https://community.dhis2.org/t/update-dhis2-2-36-to-2-40/53292/3 "2023-06-02T06:07:09Z")

</div>

Thank you @Ulanbek  
I’ll test it and come back to you in case of problem  
Best

---

<div class="post-metadata">

**Author:** ![Gassim](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/gassim/32/35347_2.png) [@Gassim](https://community.dhis2.org/u/Gassim)\
**Post date:** [19 June 2023 18:23 UTC](https://community.dhis2.org/t/update-dhis2-2-36-to-2-40/53292/4 "2023-06-19T18:23:34Z")

</div>

Split this topic on 19 June 2023 18:23 UTC

4 posts were split to a new topic: [Tomcat couldn’t locate resource (error - BindException)](https://community.dhis2.org/t/tomcat-couldnt-locate-resource-error-bindexception/53604)
