Sunstone broken after 4.12 to 4.14 upgrade

Hi I upgraded OpenNebula from 4.12 to 4.14
sunstone and kvm hosts run Ubuntu 14.04

I upgraded my database. “onedb fsck” says, it’s fine.

It seems like I can log in to sunstone with my oneadmin user but the “rotating dots animation” stays forever.

I am watching tails of /var/log/one/* for hours already.
I can’t find any hint what’s wrong.
I changed all configuration files back to the dpkg-dist version.

Wherelse but /var/log/one/* could I search for errors?

thanks fo any hints!
all the best
Jojo

Hi,

Sunstone may fail to load if the sunstone view files from 4.14 were used.
Please open your browser’s developer console, and hard-reload Sunstone (or use an incognito window) to flush the cache. We may have a useful error message there.

Hi,
my sunstone view files are the ones out of the deb package.
tried incognito window in chrome. same.

this is the messages in firefox developer console.

does that help?
thanks
Jojo

no element found login:1:1
Unknown property ‘-moz-osx-font-smoothing’. Declaration dropped. app.min.css:1:976
Expected ‘none’, URL, or filter function but found ‘progid’. Error in parsing value for ‘filter’. Declaration dropped. app.min.css:1:2118
Expected ‘none’, URL, or filter function but found ‘progid’. Error in parsing value for ‘filter’. Declaration dropped. app.min.css:1:2281
Expected ‘none’, URL, or filter function but found ‘progid’. Error in parsing value for ‘filter’. Declaration dropped. app.min.css:1:2447
Expected ‘none’, URL, or filter function but found ‘progid’. Error in parsing value for ‘filter’. Declaration dropped. app.min.css:1:2618
Expected ‘none’, URL, or filter function but found ‘progid’. Error in parsing value for ‘filter’. Declaration dropped. app.min.css:1:2787
Expected ‘none’, URL, or filter function but found ‘alpha(’. Error in parsing value for ‘filter’. Declaration dropped. app.min.css:1:24361
Unknown property ‘zoom’. Declaration dropped. app.min.css:1:24375
Expected ‘none’, URL, or filter function but found ‘alpha(’. Error in parsing value for ‘filter’. Declaration dropped. app.min.css:1:25010
Unknown property ‘zoom’. Declaration dropped.
Unknown property ‘-moz-osx-font-smoothing’. Declaration dropped. app.min.css:1:27318
Expected color but found ‘true’. Error in parsing value for ‘border-color’. Declaration dropped. app.min.css:1:83730
Unknown pseudo-class or pseudo-element ‘-webkit-input-placeholder’. Ruleset ignored due to bad selector. app.min.css:1:90856
Unknown pseudo-class or pseudo-element ‘-ms-input-placeholder’. Ruleset ignored due to bad selector. app.min.css:1:90953
Unknown pseudo-class or pseudo-element ‘-ms-expand’. Ruleset ignored due to bad selector. app.min.css:1:91696
Unknown property ‘touch-action’. Declaration dropped. app.min.css:1:112986
Unknown property ‘touch-action’. Declaration dropped. app.min.css:1:113171
Expected color but found ‘none’. Expected end of value but found ‘none’. Error in parsing value for ‘border’. Declaration dropped. app.min.css:1:114495
Unknown property ‘touch-action’. Declaration dropped. app.min.css:1:114648
Unknown property ‘user-select’. Declaration dropped. app.min.css:1:120436
Expected end of value but found ‘""’. Error in parsing value for ‘box-shadow’. Declaration dropped. app.min.css:1:128469
Expected media feature name but found ‘-webkit-min-device-pixel-ratio’. app.min.css:1:128775
Error in parsing value for ‘transition’. Declaration dropped. app.min.css:1:135887
Unknown property ‘orphans’. Declaration dropped. app.min.css:1:183398
Unknown property ‘widows’. Declaration dropped. app.min.css:1:183407
Expected declaration but found ‘*’. Skipped to next declaration. app.min.css:1:191250
Unknown property ‘-moz-border-radius’. Declaration dropped. app.min.css:1:193224
unreachable code after return statement main.js:70070:16
Expected media feature name but found ‘touch-enabled’. stortest1.linbit:9869:1:8
Expected media feature name but found ‘-webkit-touch-enabled’. stortest1.linbit:9869:1:24
Expected media feature name but found ‘-o-touch-enabled’. stortest1.linbit:9869:1:69
Expected media feature name but found ‘-ms-touch-enabled’. stortest1.linbit:9869:1:88
Expected media feature name but found ‘modernizr’. stortest1.linbit:9869:1:108
Unknown property ‘-moz-opacity’. Declaration dropped. stortest1.linbit:9869
Error in parsing value for ‘background-image’. Declaration dropped. stortest1.linbit:9869
Expected color but found ‘left’. Error in parsing value for ‘background-image’. Declaration dropped. stortest1.linbit:9869
Error in parsing value for ‘background-image’. Declaration dropped. stortest1.linbit:9869
Error in parsing value for ‘background-image’. Declaration dropped. stortest1.linbit:9869
Error in parsing value for ‘background-image’. Declaration dropped. stortest1.linbit:9869
Error: No tabs/true
main.js:184:19
window.controllers is deprecated. Do not use it for UA detection.

this is a more compact output. I deactivated CSS messages in the Firefox Dev Console:

GET
http://stortest1.linbit:9869/ [HTTP/1.1 200 OK 90ms]
GET
http://stortest1.linbit:9869/locale/languages/en_US.js [HTTP/1.1 200 OK 8ms]
GET
http://stortest1.linbit:9869/css/app.min.css [HTTP/1.1 200 OK 267ms]
GET
http://stortest1.linbit:9869/dist/main.js [HTTP/1.1 200 OK 464ms]
GET
http://stortest1.linbit:9869/css/opensans/opensans.woff [HTTP/1.1 200 OK 2ms]
GET
http://stortest1.linbit:9869/bower_components/fontawesome/fonts/fontawesome-webfont.woff2 [HTTP/1.1 200 OK 16ms]
unreachable code after return statement main.js:70070:16
GET
http://stortest1.linbit:9869/css/opensans/opensans.woff [HTTP/1.1 200 OK 517ms]
GET
http://stortest1.linbit:9869/css/opensans/opensans.woff [HTTP/1.1 200 OK 488ms]
GET
http://stortest1.linbit:9869/css/opensans/opensans.woff [HTTP/1.1 200 OK 429ms]
Error: No tabs/true

callDep()
main.js:184
req()
main.js:345
makeRequire/<()
main.js:159
_addMainTabs/<()
main.js:36787
.each()
main.js:815
_addMainTabs()
main.js:36785

main.js:111439
main()
main.js:314
callDep()
main.js:180
main()
main.js:305
req/<()
main.js:388

The Web Console logging API (console.log, console.info, console.warn, console.error) has been disabled by a script on this page.
window.controllers is deprecated. Do not use it for UA detection. nsHeaderInfo.js:412:8
GET
http://stortest1.linbit:9869/css/opensans/opensans.woff [HTTP/1.1 200 OK 0ms]

finally found the command to really replace all config files with the deb packages version:

dpkg -i --force-confnew /var/cache/apt/archives/opennebula-sunstone*

now it is working again :slight_smile:

all the best
Jojo