# \[SOLVED\] Sunstone broken after upgrade to 5.4.2 (and 5.4.3)

**URL:** <https://forum.opennebula.io/t/solved-sunstone-broken-after-upgrade-to-5-4-2-and-5-4-3/5238>\
**Category:** Product Support\
**Created:** [November 7, 2017, 2:22pm UTC](https://forum.opennebula.io/t/solved-sunstone-broken-after-upgrade-to-5-4-2-and-5-4-3/5238 "2017-11-07T14:22:29Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thomas\_Stein](https://avatars.discourse-cdn.com/v4/letter/t/3d9bf3/32.png) [@Thomas\_Stein](https://forum.opennebula.io/u/Thomas_Stein)\
**Post date:** [November 7, 2017, 2:22pm UTC](https://forum.opennebula.io/t/solved-sunstone-broken-after-upgrade-to-5-4-2-and-5-4-3/5238/1 "2017-11-07T14:22:29Z")

</div>

Hello.

After upgrading to 5.4.2 Sunstone is broken. I get: Sinatra doesn’t know this ditty. (see screenshot). Any ideas how to solve this?

 ![29](https://canada1.discourse-cdn.com/flex031/uploads/opennebula/original/2X/5/5a0ee28302bb37397853b8c3fddaadb220bab58b.png)

---

<div class="post-metadata">

**Author:** ![feldsam](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/feldsam/32/4441_2.png) [@feldsam](https://forum.opennebula.io/u/feldsam)\
**Post date:** [November 8, 2017, 10:19am UTC](https://forum.opennebula.io/t/solved-sunstone-broken-after-upgrade-to-5-4-2-and-5-4-3/5238/2 "2017-11-08T10:19:22Z")

</div>

How you upgrade to 5.4.2/5.4.3? Did you build own packages?

---

<div class="post-metadata">

**Author:** ![Thomas\_Stein](https://avatars.discourse-cdn.com/v4/letter/t/3d9bf3/32.png) [@Thomas\_Stein](https://forum.opennebula.io/u/Thomas_Stein)\
**Post date:** [November 8, 2017, 10:20am UTC](https://forum.opennebula.io/t/solved-sunstone-broken-after-upgrade-to-5-4-2-and-5-4-3/5238/3 "2017-11-08T10:20:53Z")

</div>

It’s a gentoo system. Compiled from source. You made packages for CentOS right? No such problems there?

thanks and cheers

---

<div class="post-metadata">

**Author:** ![feldsam](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/feldsam/32/4441_2.png) [@feldsam](https://forum.opennebula.io/u/feldsam)\
**Post date:** [November 8, 2017, 10:26am UTC](https://forum.opennebula.io/t/solved-sunstone-broken-after-upgrade-to-5-4-2-and-5-4-3/5238/4 "2017-11-08T10:26:02Z")

</div>

You right, I use CentOS without problems

---

<div class="post-metadata">

**Author:** ![Thomas\_Stein](https://avatars.discourse-cdn.com/v4/letter/t/3d9bf3/32.png) [@Thomas\_Stein](https://forum.opennebula.io/u/Thomas_Stein)\
**Post date:** [November 8, 2017, 10:50am UTC](https://forum.opennebula.io/t/solved-sunstone-broken-after-upgrade-to-5-4-2-and-5-4-3/5238/5 "2017-11-08T10:50:03Z")

</div>

Debugged a litte bit further. A lot was missing:

sunstone/public/bower\_components  
sunstone/public/dist  
sunstone/public/css/app.min.css  
sunstone/public/css/app.css

I can’t find those files in [https://github.com/OpenNebula/one/archive/release-5.4.3.tar.gz](https://github.com/OpenNebula/one/archive/release-5.4.3.tar.gz). Where do you get those files from?

thanks and cheers

---

<div class="post-metadata">

**Author:** ![dcorral3](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/dcorral3/32/5453_2.png) [@dcorral3](https://forum.opennebula.io/u/dcorral3)\
**Post date:** [November 8, 2017, 11:44am UTC](https://forum.opennebula.io/t/solved-sunstone-broken-after-upgrade-to-5-4-2-and-5-4-3/5238/6 "2017-11-08T11:44:14Z")

</div>

Please @Thomas_Stein make sure you follow these steps:  
[http://docs.opennebula.org/5.4/integration/references/sunstone\_dev.html#sunstone-development-dependencies](http://docs.opennebula.org/5.4/integration/references/sunstone_dev.html#sunstone-development-dependencies)

I managed to solved same problem following the guide. 😉

---

<div class="post-metadata">

**Author:** ![Thomas\_Stein](https://avatars.discourse-cdn.com/v4/letter/t/3d9bf3/32.png) [@Thomas\_Stein](https://forum.opennebula.io/u/Thomas_Stein)\
**Post date:** [November 8, 2017, 3:00pm UTC](https://forum.opennebula.io/t/solved-sunstone-broken-after-upgrade-to-5-4-2-and-5-4-3/5238/7 "2017-11-08T15:00:24Z")

</div>

Ah, i see. Official builds include those files already i guess.

thanks and cheers

---

<div class="post-metadata">

**Author:** ![dcorral3](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/dcorral3/32/5453_2.png) [@dcorral3](https://forum.opennebula.io/u/dcorral3)\
**Post date:** [November 8, 2017, 3:55pm UTC](https://forum.opennebula.io/t/solved-sunstone-broken-after-upgrade-to-5-4-2-and-5-4-3/5238/8 "2017-11-08T15:55:24Z")

</div>

Thank you!  
Please inform us if this fixed your problem to mark the issue as solved.

---

<div class="post-metadata">

**Author:** ![madko](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/madko/32/4195_2.png) [@madko](https://forum.opennebula.io/u/madko)\
**Post date:** [December 9, 2017, 12:36pm UTC](https://forum.opennebula.io/t/solved-sunstone-broken-after-upgrade-to-5-4-2-and-5-4-3/5238/9 "2017-12-09T12:36:30Z")

</div>

same problem using spec file provided by upstream. Does it mean the spec file for building RPM is incomplete ?

---

<div class="post-metadata">

**Author:** ![atodorov\_storpool](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/atodorov_storpool/32/5327_2.png) [@atodorov\_storpool](https://forum.opennebula.io/u/atodorov_storpool)\
**Post date:** [December 11, 2017, 8:21am UTC](https://forum.opennebula.io/t/solved-sunstone-broken-after-upgrade-to-5-4-2-and-5-4-3/5238/10 "2017-12-11T08:21:03Z")

</div>

Hi Edouard,

There is an extra step to [create](https://github.com/OpenNebula/packages#create-archive) the source archive that is used in the spec file that you probably miss in the building process?

Best Regards,  
Anton Todorov

---

<div class="post-metadata">

**Author:** ![feldsam](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/feldsam/32/4441_2.png) [@feldsam](https://forum.opennebula.io/u/feldsam)\
**Post date:** [December 11, 2017, 11:12pm UTC](https://forum.opennebula.io/t/solved-sunstone-broken-after-upgrade-to-5-4-2-and-5-4-3/5238/11 "2017-12-11T23:12:59Z")

</div>

Hi @Thomas_Stein, @atodorov_storpool is right. You have to install nodejs, gulp and bower to build assets. I do that and sunstone is working without problems.

You can download my [prepared sources](http://opennebula.feldhost.cz/)

---

<div class="post-metadata">

**Author:** ![madko](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/madko/32/4195_2.png) [@madko](https://forum.opennebula.io/u/madko)\
**Post date:** [December 12, 2017, 6:59am UTC](https://forum.opennebula.io/t/solved-sunstone-broken-after-upgrade-to-5-4-2-and-5-4-3/5238/12 "2017-12-12T06:59:58Z")

</div>

why the extra step is not in the spec ?

---

<div class="post-metadata">

**Author:** ![feldsam](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/feldsam/32/4441_2.png) [@feldsam](https://forum.opennebula.io/u/feldsam)\
**Post date:** [December 15, 2017, 10:57am UTC](https://forum.opennebula.io/t/solved-sunstone-broken-after-upgrade-to-5-4-2-and-5-4-3/5238/13 "2017-12-15T10:57:58Z")

</div>

It is in [package repo](https://github.com/OpenNebula/packages#create-archive)

---

<div class="post-metadata">

**Author:** ![madko](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/madko/32/4195_2.png) [@madko](https://forum.opennebula.io/u/madko)\
**Post date:** [December 15, 2017, 5:04pm UTC](https://forum.opennebula.io/t/solved-sunstone-broken-after-upgrade-to-5-4-2-and-5-4-3/5238/14 "2017-12-15T17:04:02Z")

</div>

I know. If it was in the spec it should be easier to make package. Here if you grab the source from git, and use the spec, you end up with RPM that install a broken sunstone. That’s all.

EDIT: I forgot to say that the idea is to build Opennebula RPM with mock so it’s not necessary to “pollute” my build machine with npm/bower/etc to modify the sources
