# Install OOD Dashboard Failed

**URL:** <https://discourse.openondemand.org/t/install-ood-dashboard-failed/480>\
**Category:** Get Help\
**Created:** [September 6, 2019, 8:02pm UTC](https://discourse.openondemand.org/t/install-ood-dashboard-failed/480 "2019-09-06T20:02:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![superdavidxp](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/superdavidxp/32/194_2.png) [@superdavidxp](https://discourse.openondemand.org/u/superdavidxp)\
**Post date:** [September 6, 2019, 8:02pm UTC](https://discourse.openondemand.org/t/install-ood-dashboard-failed/480/1 "2019-09-06T20:02:31Z")

</div>

Dear All,

I am new to OOD, tried to install the dashboard but failed with the error message as followings, could someone help me? Thank you in advance,

```auto
[h9000@h9000 dashboard]$ RAILS_ENV=production scl enable rh-git29 rh-nodejs6 rh-ruby24 -- bin/setup
cd /home/hal9000/dashboard

== Building Dashboard App ==
RAILS_ENV = production
RAILS_RELATIVE_URL_ROOT = /pun/sys/dashboard

== Compiling assets ==
bin/rake assets:clobber
rake aborted!
Psych::SyntaxError: (<unknown>): did not find expected '-' indicator while parsing a block collection at line 18 column 5
/home/hal9000/dashboard/vendor/bundle/ruby/2.4.0/gems/ood_core-0.8.0/lib/ood_core/clusters.rb:31:in `block (2 levels) in load_file'
/home/hal9000/dashboard/vendor/bundle/ruby/2.4.0/gems/ood_core-0.8.0/lib/ood_core/clusters.rb:30:in `any?'
/home/hal9000/dashboard/vendor/bundle/ruby/2.4.0/gems/ood_core-0.8.0/lib/ood_core/clusters.rb:30:in `block in load_file'
/home/hal9000/dashboard/vendor/bundle/ruby/2.4.0/gems/ood_core-0.8.0/lib/ood_core/clusters.rb:29:in `each'
/home/hal9000/dashboard/vendor/bundle/ruby/2.4.0/gems/ood_core-0.8.0/lib/ood_core/clusters.rb:29:in `load_file'
/home/hal9000/dashboard/vendor/bundle/ruby/2.4.0/gems/ood_appkit-1.0.3/lib/ood_appkit/configuration.rb:128:in `parse_clusters'
/home/hal9000/dashboard/vendor/bundle/ruby/2.4.0/gems/ood_appkit-1.0.3/lib/ood_appkit/configuration.rb:18:in `clusters'
/home/hal9000/dashboard/lib/tasks/test.rake:7:in `block (2 levels) in <top (required)>'
/home/hal9000/dashboard/lib/tasks/test.rake:2:in `block in <top (required)>'
/home/hal9000/dashboard/lib/tasks/test.rake:1:in `<top (required)>'
/home/hal9000/dashboard/vendor/bundle/ruby/2.4.0/gems/railties-4.2.11/lib/rails/engine.rb:658:in `load'
/home/hal9000/dashboard/vendor/bundle/ruby/2.4.0/gems/railties-4.2.11/lib/rails/engine.rb:658:in `block in run_tasks_blocks'
/home/hal9000/dashboard/vendor/bundle/ruby/2.4.0/gems/railties-4.2.11/lib/rails/engine.rb:658:in `each'
/home/hal9000/dashboard/vendor/bundle/ruby/2.4.0/gems/railties-4.2.11/lib/rails/engine.rb:658:in `run_tasks_blocks'
/home/hal9000/dashboard/vendor/bundle/ruby/2.4.0/gems/railties-4.2.11/lib/rails/application.rb:452:in `run_tasks_blocks'
/home/hal9000/dashboard/vendor/bundle/ruby/2.4.0/gems/railties-4.2.11/lib/rails/engine.rb:453:in `load_tasks'
/home/hal9000/dashboard/Rakefile:6:in `<top (required)>'
(See full trace by running task with --trace)
/opt/rh/rh-ruby24/root/usr/share/gems/gems/rake-12.0.0/lib/rake/file_utils.rb:66:in `block in create_shell_runner': Command failed with status (1): [bin/rake assets:clobber...] (RuntimeError)
	from /opt/rh/rh-ruby24/root/usr/share/gems/gems/rake-12.0.0/lib/rake/file_utils.rb:56:in `sh'
	from bin/setup:52:in `block in <main>'
	from /opt/rh/rh-ruby24/root/usr/share/ruby/fileutils.rb:120:in `chdir'
	from /opt/rh/rh-ruby24/root/usr/share/ruby/fileutils.rb:120:in `cd'
	from /opt/rh/rh-ruby24/root/usr/share/gems/gems/rake-12.0.0/lib/rake/file_utils_ext.rb:37:in `chdir'
	from bin/setup:36:in `<main>'

```

---

<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:** [September 6, 2019, 8:31pm UTC](https://discourse.openondemand.org/t/install-ood-dashboard-failed/480/2 "2019-09-06T20:31:08Z")

</div>

What OS are you installing this on? Why installing from source instead of using the rpm?

Also you can do this now:

```
RAILS_ENV=production scl enable ondemand -- bin/setup

```

But that is equivalent to what you have above.

---

<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:** [September 6, 2019, 8:41pm UTC](https://discourse.openondemand.org/t/install-ood-dashboard-failed/480/3 "2019-09-06T20:41:01Z")

</div>

We can close the ticket on Github if you like, but in either case, it seems to be a problem with the yml of the cluster config you’re providing. You seem to have some problem with a file in your `/etc/ood/config/clusters.d/` directory, like it’s not valid yml, probably something to do with an array given it’s complainin about a dash, but the problem is on line 18, column 5.

Aside from that, that’s a strange install directory, your own home. If you’ve enabled development you should clone things to `~/ondemand/dev` and symlink `/var/www/ood/apps/dev/hal9000/gateway/` to it.

Like this:

```auto
jeff@d6ee3ed6b322 /]$ ls /var/www/ood/apps/dev/jeff/ -l
total 0
lrwxrwxrwx. 1 root root 23 Sep 6 19:30 gateway -> /home/jeff/ondemand/dev

```

---

<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:** [September 10, 2019, 5:35pm UTC](https://discourse.openondemand.org/t/install-ood-dashboard-failed/480/4 "2019-09-10T17:35:28Z")

</div>

@superdavidxp Did you find your issue in your cluster config? Did you make any headway on your installation? Let us know if we can be of further assistance.

---

<div class="post-metadata">

**Author:** ![superdavidxp](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/superdavidxp/32/194_2.png) [@superdavidxp](https://discourse.openondemand.org/u/superdavidxp)\
**Post date:** [September 10, 2019, 5:55pm UTC](https://discourse.openondemand.org/t/install-ood-dashboard-failed/480/5 "2019-09-10T17:55:50Z")

</div>

Hi,  
Thank you so much for your guidance, I have found the error format within my yml file.  
Best,  
Dawei

---

<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:21pm UTC](https://discourse.openondemand.org/t/install-ood-dashboard-failed/480/6 "2022-05-26T15:21:47Z")

</div>


