# Update\_ood\_portal in ondemand-1.6.19-1.el7.x86\_64 refuses to make new configuration

**URL:** <https://discourse.openondemand.org/t/update-ood-portal-in-ondemand-1-6-19-1-el7-x86-64-refuses-to-make-new-configuration/546>\
**Category:** Get Help\
**Created:** [October 14, 2019, 8:17pm UTC](https://discourse.openondemand.org/t/update-ood-portal-in-ondemand-1-6-19-1-el7-x86-64-refuses-to-make-new-configuration/546 "2019-10-14T20:17:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![azric](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/azric/32/63_2.png) [@azric](https://discourse.openondemand.org/u/azric)\
**Post date:** [October 14, 2019, 8:17pm UTC](https://discourse.openondemand.org/t/update-ood-portal-in-ondemand-1-6-19-1-el7-x86-64-refuses-to-make-new-configuration/546/1 "2019-10-14T20:17:50Z")

</div>

update\_ood\_portal refuses to install new configuration if the existing /opt/rh/httpd24/root/etc/httpd/conf.d/ood-portal.conf MATCHES /etc/ood/config/ood\_portal.sha256sum. I think this is a bug caused by a syntax error in update\_ood\_portal that is masked by a redirect of stderr to /dev/null. Suggested fix  
`59c59`  
`< if [sha256sum --quiet --status --check $SUM 1>/dev/null 2>&1] || [! -f "$APACHE"]; then`  
`---`  
`> if sha256sum --quiet --status --check $SUM 1>/dev/null 2>&1 || [! -f "$APACHE"]; then`  
(square brackets and commands with arguments don’t play nice)  
workaround is to use “update\_ood\_portal -f”

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [October 14, 2019, 8:55pm UTC](https://discourse.openondemand.org/t/update-ood-portal-in-ondemand-1-6-19-1-el7-x86-64-refuses-to-make-new-configuration/546/2 "2019-10-14T20:55:48Z")

</div>

Thanks Ric, you’re right. I get `[: too many arguments`. I’m submitting the patch now.

---

<div class="post-metadata">

**Author:** ![efranz](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/efranz/32/27_2.png) [@efranz](https://discourse.openondemand.org/u/efranz)\
**Post date:** [October 17, 2019, 6:48pm UTC](https://discourse.openondemand.org/t/update-ood-portal-in-ondemand-1-6-19-1-el7-x86-64-refuses-to-make-new-configuration/546/3 "2019-10-17T18:48:23Z")

</div>

@azric we just released a new patch 1.6.20. Would you try `yum update ondemand` to see if this addresses your problem?

---

<div class="post-metadata">

**Author:** ![azric](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/azric/32/63_2.png) [@azric](https://discourse.openondemand.org/u/azric)\
**Post date:** [October 17, 2019, 7:37pm UTC](https://discourse.openondemand.org/t/update-ood-portal-in-ondemand-1-6-19-1-el7-x86-64-refuses-to-make-new-configuration/546/4 "2019-10-17T19:37:36Z")

</div>

Installed and working as expected!

Thanks,  
Ric

![image001.png](https://us1.discourse-cdn.com/flex015/uploads/osc/original/1X/54c580f4e983c4f3324813299ea8bd276a059acb.png)

![image002.png](https://us1.discourse-cdn.com/flex015/uploads/osc/original/1X/c77c2ac9082691ea7b08cd12b20a0c072cbd1946.png)

---

<div class="post-metadata">

**Author:** ![westburg.2](https://avatars.discourse-cdn.com/v4/letter/w/0ea827/32.png) [@westburg.2](https://discourse.openondemand.org/u/westburg.2)\
**Post date:** [May 26, 2022, 3:24pm UTC](https://discourse.openondemand.org/t/update-ood-portal-in-ondemand-1-6-19-1-el7-x86-64-refuses-to-make-new-configuration/546/5 "2022-05-26T15:24:07Z")

</div>


