# Upgrade Apache in OpenOnDemand

**URL:** <https://discourse.openondemand.org/t/upgrade-apache-in-openondemand/2546>\
**Category:** Get Help\
**Created:** [March 21, 2023, 7:52am UTC](https://discourse.openondemand.org/t/upgrade-apache-in-openondemand/2546 "2023-03-21T07:52:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jimmy888-333](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jimmy888-333/32/1540_2.png) [@Jimmy888-333](https://discourse.openondemand.org/u/Jimmy888-333)\
**Post date:** [March 21, 2023, 7:52am UTC](https://discourse.openondemand.org/t/upgrade-apache-in-openondemand/2546/1 "2023-03-21T07:52:08Z")

</div>

Dear Support,

I have installed the OpenOnDemand 2.0.31 with Apache v 2.4.41 on Ubuntu 20.04.5. Due to security issues, I would like to carry out in-place upgrade the Apache from version v 2.4.41 to v2.4.54. Is it feasible for the upgrade? If so, is there anything else that I should pay attention to? (e.g. Stop OnDemand service and backup apache/ondemand configuration, etc.)

Many thanks

Regards,  
Jimmy

---

<div class="post-metadata">

**Author:** ![travert](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/travert/32/3074_2.png) [@travert](https://discourse.openondemand.org/u/travert)\
**Post date:** [March 21, 2023, 1:19pm UTC](https://discourse.openondemand.org/t/upgrade-apache-in-openondemand/2546/2 "2023-03-21T13:19:40Z")

</div>

Hello and welcome!

There shouldn’t be a problem upgrading you Apache and restarting. The relevant parts of the Apache that go with OOD are from your `ood_portal.yml` and that file shouldn’t be touched by the Apache upgrade.

I’d still recommend to backup the `/etc/ood/config` directory before the upgrade to be safe, along with the Apache configs. Make sure to stop the Ondemand service and then proceed.

After upgrading you should be able to bring things back up fine. If not try to use the backup config, or you can also just reissue the `update_ood_portal` command to recreate you config if needed to see if that resolves things. But I’d definitely take backups of the directories first to be safe.

---

<div class="post-metadata">

**Author:** ![Jimmy888-333](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jimmy888-333/32/1540_2.png) [@Jimmy888-333](https://discourse.openondemand.org/u/Jimmy888-333)\
**Post date:** [March 28, 2023, 7:36am UTC](https://discourse.openondemand.org/t/upgrade-apache-in-openondemand/2546/3 "2023-03-28T07:36:36Z")

</div>

Hi Travert,

Thanks for your replies !!!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/osc/original/2X/b/bae70bd0ed39a3ae769c2108155f4cb3e9da8385.png) [@system](https://discourse.openondemand.org/u/system)\
**Post date:** [September 24, 2023, 7:37am UTC](https://discourse.openondemand.org/t/upgrade-apache-in-openondemand/2546/4 "2023-09-24T07:37:23Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
