# OnDemand New Installation - /var/lib/ondemand-nginx/config directory does not exist

**URL:** <https://discourse.openondemand.org/t/ondemand-new-installation-var-lib-ondemand-nginx-config-directory-does-not-exist/1059>\
**Category:** Get Help\
**Tags:** question\
**Created:** [August 18, 2020, 8:54pm UTC](https://discourse.openondemand.org/t/ondemand-new-installation-var-lib-ondemand-nginx-config-directory-does-not-exist/1059 "2020-08-18T20:54:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![laud337](https://avatars.discourse-cdn.com/v4/letter/l/3ec8ea/32.png) [@laud337](https://discourse.openondemand.org/u/laud337)\
**Post date:** [August 18, 2020, 8:54pm UTC](https://discourse.openondemand.org/t/ondemand-new-installation-var-lib-ondemand-nginx-config-directory-does-not-exist/1059/1 "2020-08-18T20:54:11Z")

</div>

Hello,

We are OnDemand newbies trying to install and configure OnDemand. We have installed dashboard and files core applications and we are on this step:  
[https://osc.github.io/ood-documentation/master/installation/from-source/finalizing.html](https://osc.github.io/ood-documentation/master/installation/from-source/finalizing.html)

## Add NGINX configs for the core web apps

**touch /var/lib/ondemand-nginx/config/apps/sys/activejobs.conf**  
**touch /var/lib/ondemand-nginx/config/apps/sys/dashboard.conf**  
**touch /var/lib/ondemand-nginx/config/apps/sys/file-editor.conf**  
**touch /var/lib/ondemand-nginx/config/apps/sys/files.conf**  
**touch /var/lib/ondemand-nginx/config/apps/sys/myjobs.conf**  
**touch /var/lib/ondemand-nginx/config/apps/sys/shell.conf**  
**/opt/ood/nginx\_stage/sbin/update\_nginx\_stage &\>/dev/null || :**

When we run the touch command for dashboard, it returns an error ‘No such file or directory’. We can see the config directory (/var/lib/ondemand-nginx/config) does not exist and am wondering if we are missing a step.

**[root@ohylood1-d laud]# touch /var/lib/ondemand-nginx/config/apps/sys/dashboard.conf**  
**touch: cannot touch ‘/var/lib/ondemand-nginx/config/apps/sys/dashboard.conf’: No such file or directory**  
**[root@ohylood1-d laud]#**

**[root@ohylood1-d ondemand-nginx]# pwd**  
**/var/lib/ondemand-nginx**  
**[root@ohylood1-d ondemand-nginx]# ls -ltra**  
**total 4**  
**drwx------. 2 ondemand-nginx ondemand-nginx 6 May 12 12:21 tmp**  
**drwxr-xr-x. 36 root root 4096 Aug 4 14:19 …**  
**drwx------. 3 ondemand-nginx ondemand-nginx 17 Aug 4 14:19 .**  
**[root@ohylood1-d ondemand-nginx]#**

Thanks in advance

---

<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:** [August 18, 2020, 9:14pm UTC](https://discourse.openondemand.org/t/ondemand-new-installation-var-lib-ondemand-nginx-config-directory-does-not-exist/1059/2 "2020-08-18T21:14:39Z")

</div>

Hi and welcome! I’m totally sorry for your pain of installing from source! (Are you on a Debian platform? If you run CentOS or RHEL you should just install the RPM.)

Looks like you need to create those directories. Mabye a `mkdir -p /var/lib/ondemand-nginx/config/apps/sys` is all you’d need.

As an aside, if you continue to run into issues, we wrote some [automation through ansible to install on Debian platforms here](https://github.com/osc/ood-ansible). That could prove to be less painful for you given that those instructions may not be up to date.

In fact I’m sure that it can because I don’t believe the instructions are complete pn how to get for example passenger enabled nginx or how to build the passsenger libraries, which you’ll need to get it running.

---

<div class="post-metadata">

**Author:** ![laud337](https://avatars.discourse-cdn.com/v4/letter/l/3ec8ea/32.png) [@laud337](https://discourse.openondemand.org/u/laud337)\
**Post date:** [August 19, 2020, 10:13pm UTC](https://discourse.openondemand.org/t/ondemand-new-installation-var-lib-ondemand-nginx-config-directory-does-not-exist/1059/3 "2020-08-19T22:13:35Z")

</div>

Thanks Jeff. We are using RHEL. We went back to [https://yum.osc.edu/ondemand/1.7/web/el7/x86\_64/](https://yum.osc.edu/ondemand/1.7/web/el7/x86_64/) and downloaded all the rpms that we did not have installed.

After we installed ondemand rpm, this created /etc/ood/… (that we didn’t have before) and all the config files for the core apps in /var/lib/ondemand-nginx/config/apps/sys

Now, we have the dashboard and file explorer working 🙂

We were originally following this step: [https://osc.github.io/ood-documentation/master/installation/from-source/system-dependencies.html](https://osc.github.io/ood-documentation/master/installation/from-source/system-dependencies.html) and the documentation is missing other rpms like ondemand, builder, python etc. (all the rpms found in the first link) I would recommend to add these to the install from source documentation.

---

<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:43pm UTC](https://discourse.openondemand.org/t/ondemand-new-installation-var-lib-ondemand-nginx-config-directory-does-not-exist/1059/4 "2022-05-26T15:43:09Z")

</div>

Closed on May 26, 2022, 3:43pm UTC


