[SOLVED] Sunstone is loading to infinity

when I login sunstone, I see this as shown in the image below

I have installed opennebula and built it from source version 5.10.
I am using Ubuntu server18.04.3 LTS
sunstone.error

NOTE: Inheriting Faraday::Error::ClientError is deprecated; use Faraday::ClientError instead. It will be removed in or after version 1.0
Faraday::Error::ClientError.inherited called from /var/lib/gems/2.5.0/gems/zendesk_api-1.22.0/lib/zendesk_api/error.rb:4.
NOTE: Inheriting ZendeskAPI::Error::ClientError is deprecated; use Faraday::ClientError instead. It will be removed in or after version 1.0
ZendeskAPI::Error::ClientError.inherited called from /var/lib/gems/2.5.0/gems/zendesk_api-1.22.0/lib/zendesk_api/error.rb:16.
NOTE: Inheriting ZendeskAPI::Error::ClientError is deprecated; use Faraday::ClientError instead. It will be removed in or after version 1.0
ZendeskAPI::Error::ClientError.inherited called from /var/lib/gems/2.5.0/gems/zendesk_api-1.22.0/lib/zendesk_api/error.rb:34.
NOTE: Inheriting ZendeskAPI::Error::ClientError is deprecated; use Faraday::ClientError instead. It will be removed in or after version 1.0
ZendeskAPI::Error::ClientError.inherited called from /var/lib/gems/2.5.0/gems/zendesk_api-1.22.0/lib/zendesk_api/error.rb:35.
NOTE: Inheriting ZendeskAPI::Error::ClientError is deprecated; use Faraday::ClientError instead. It will be removed in or after version 1.0
ZendeskAPI::Error::ClientError.inherited called from /var/lib/gems/2.5.0/gems/zendesk_api-1.22.0/lib/zendesk_api/error.rb:36.
== Sinatra (v2.0.7) has taken the stage on 9869 for development with backup from Thin

sunstone.log


     Server configuration         

{:tmpdir=>“/var/tmp”,
:one_xmlrpc=>“http://localhost:2633/RPC2”,
:one_xmlrpc_timeout=>60,
:host=>“0.0.0.0”,
:port=>9869,
:sessions=>“memory”,
:memcache_host=>“localhost”,
:memcache_port=>11211,
:memcache_namespace=>“opennebula.sunstone”,
:env=>“prod”,
:debug_level=>3,
:auth=>“opennebula”,
:core_auth=>“cipher”,
:two_factor_auth_issuer=>“opennebula”,
:remote_version=>“http://downloads.opennebula.org/latest”,
:vnc_proxy_port=>29876,
:vnc_proxy_support_wss=>false,
:vnc_proxy_cert=>nil,
:vnc_proxy_key=>nil,
:vnc_proxy_ipv6=>false,
:vnc_request_password=>false,
:allow_vnc_federation=>false,
:keep_me_logged=>true,
:lang=>“en_US”,
:table_order=>“desc”,
:mode=>“mixed”,
:marketplace_url=>“http://marketplace.opennebula.systems/”,
:oneflow_server=>“http://localhost:2474/”,
:routes=>[“oneflow”, “vcenter”, “support”, “nsx”],
:session_expire_time=>3600}

Thu Dec 05 08:13:05 2019 [I]: 127.0.0.1 - - [05/Dec/2019:08:13:05 +0000] “POST /login HTTP/1.1” 204 - 0.4177
Thu Dec 05 08:13:05 2019 [I]: 127.0.0.1 - - [05/Dec/2019:08:13:05 +0000] “GET / HTTP/1.1” 200 - 0.0575
Thu Dec 05 08:13:29 2019 [I]: 127.0.0.1 - - [05/Dec/2019:08:13:29 +0000] “POST /login HTTP/1.1” 204 - 0.3087
Thu Dec 05 08:13:29 2019 [I]: 127.0.0.1 - - [05/Dec/2019:08:13:29 +0000] “GET / HTTP/1.1” 200 - 0.0222
Thu Dec 05 08:36:45 2019 [I]: 127.0.0.1 - - [05/Dec/2019:08:36:45 +0000] “POST /login HTTP/1.1” 204 - 0.5844
Thu Dec 05 08:36:45 2019 [I]: 127.0.0.1 - - [05/Dec/2019:08:36:45 +0000] “GET / HTTP/1.1” 200 - 0.0514
Thu Dec 05 08:58:32 2019 [I]: 192.168.122.1 - - [05/Dec/2019:08:58:32 +0000] “GET / HTTP/1.1” 200 - 0.0038
Thu Dec 05 08:58:32 2019 [I]: 192.168.122.1 - - [05/Dec/2019:08:58:32 +0000] “GET /css/app.min.css?v=5.10.0 HTTP/1.1” 200 - 0.0242
Thu Dec 05 08:58:32 2019 [I]: 192.168.122.1 - - [05/Dec/2019:08:58:32 +0000] “GET /dist/login.js HTTP/1.1” 200 - 0.0311
Thu Dec 05 08:58:32 2019 [I]: 192.168.122.1 - - [05/Dec/2019:08:58:32 +0000] “GET /images/ajax-loader.gif HTTP/1.1” 200 - 0.0196
Thu Dec 05 08:58:32 2019 [I]: 192.168.122.1 - - [05/Dec/2019:08:58:32 +0000] “GET /images/opennebula-5.0.png HTTP/1.1” 200 - 0.0034
Thu Dec 05 08:58:32 2019 [I]: 192.168.122.1 - - [05/Dec/2019:08:58:32 +0000] “GET /images/apple-touch-icon-precomposed.png HTTP/1.1” 200 - 0.0031
Thu Dec 05 08:58:32 2019 [I]: 192.168.122.1 - - [05/Dec/2019:08:58:32 +0000] “GET /images/favicon.png HTTP/1.1” 200 - 0.0020
Thu Dec 05 08:58:37 2019 [I]: 192.168.122.1 - - [05/Dec/2019:08:58:37 +0000] “POST /login HTTP/1.1” 204 - 0.5826
Thu Dec 05 08:58:37 2019 [I]: 192.168.122.1 - - [05/Dec/2019:08:58:37 +0000] “GET / HTTP/1.1” 200 - 0.0336
Thu Dec 05 08:58:37 2019 [I]: 192.168.122.1 - - [05/Dec/2019:08:58:37 +0000] “GET /dist/main.js?v=5.10.0 HTTP/1.1” 401 - 0.0015
Thu Dec 05 08:58:38 2019 [I]: 192.168.122.1 - - [05/Dec/2019:08:58:38 +0000] “GET /css/custom.css?v=5.10.0 HTTP/1.1” 200 - 0.1799
Thu Dec 05 08:58:38 2019 [I]: 192.168.122.1 - - [05/Dec/2019:08:58:38 +0000] “GET /locale/languages/en_US.js?v=5.10.0 HTTP/1.1” 200 - 0.5455
Thu Dec 05 08:58:38 2019 [I]: 192.168.122.1 - - [05/Dec/2019:08:58:38 +0000] “GET /dist/main.js?v=5.10.0 HTTP/1.1” 401 - 0.0010
Thu Dec 05 08:58:38 2019 [I]: 192.168.122.1 - - [05/Dec/2019:08:58:38 +0000] “GET /bower_components/wickedpicker/dist/wickedpicker.min.css HTTP/1.1” 200 - 0.5646
Thu Dec 05 08:58:38 2019 [I]: 192.168.122.1 - - [05/Dec/2019:08:58:38 +0000] “GET /bower_components/jquery-ui/themes/flick/jquery-ui.min.css HTTP/1.1” 200 - 0.6020
Thu Dec 05 08:58:38 2019 [I]: 192.168.122.1 - - [05/Dec/2019:08:58:38 +0000] “GET /bower_components/fontawesome/web-fonts-with-css/webfonts/fa-solid-900.woff2 HTTP/1.1” 200 40244 0.0658

there was an error while running ./share/man/build.sh script and this is the fall output

oneacct(1) -- OpenNebula Accounting Tool
     roff: ./oneacct.1                                
     html: ./oneacct.1.html                                  +man,toc
oneacl(1) -- manages OpenNebula ACLs
     roff: ./oneacl.1                                 
     html: ./oneacl.1.html                                   +man,toc
onedb(1) -- OpenNebula database migration tool
     roff: ./onedb.1                                  
warn: unrecognized inline tag: "object"
warn: unrecognized inline tag: "object"
warn: unrecognized inline tag: "object"
     html: ./onedb.1.html                                    +man,toc
onegroup(1) -- manages OpenNebula groups
     roff: ./onegroup.1                               
     html: ./onegroup.1.html                                 +man,toc
onehost(1) -- manages OpenNebula hosts
     roff: ./onehost.1                                
     html: ./onehost.1.html                                  +man,toc
onehook(1) -- manages OpenNebula hooks
     roff: ./onehook.1                                
     html: ./onehook.1.html                                  +man,toc
oneimage(1) -- manages OpenNebula images
     roff: ./oneimage.1                               
     html: ./oneimage.1.html                                 +man,toc
onetemplate(1) -- manages OpenNebula templates
     roff: ./onetemplate.1                            
     html: ./onetemplate.1.html                              +man,toc
oneuser(1) -- manages OpenNebula users
     roff: ./oneuser.1                                
     html: ./oneuser.1.html                                  +man,toc
onevm(1) -- manages OpenNebula virtual machines
     roff: ./onevm.1                                  
     html: ./onevm.1.html                                    +man,toc
onevnet(1) -- manages OpenNebula networks
     roff: ./onevnet.1                                
     html: ./onevnet.1.html                                  +man,toc
onezone(1) -- manages OpenNebula zones
     roff: ./onezone.1                                
     html: ./onezone.1.html                                  +man,toc
onevdc(1) -- manages OpenNebula Virtual DataCenters
     roff: ./onevdc.1                                 
     html: ./onevdc.1.html                                   +man,toc
onecluster(1) -- manages OpenNebula clusters
     roff: ./onecluster.1                             
     html: ./onecluster.1.html                               +man,toc
onedatastore(1) -- manages OpenNebula datastores
     roff: ./onedatastore.1                           
     html: ./onedatastore.1.html                             +man,toc
onevcenter(1) -- vCenter import tool
     roff: ./onevcenter.1                             
     html: ./onevcenter.1.html                               +man,toc
oneshowback(1) -- OpenNebula Showback Tool
     roff: ./oneshowback.1                            
     html: ./oneshowback.1.html                              +man,toc
onesecgroup(1) -- manages OpenNebula security groups
     roff: ./onesecgroup.1                            
     html: ./onesecgroup.1.html                              +man,toc
onevrouter(1) -- manages OpenNebula Virtual Routers
     roff: ./onevrouter.1                             
     html: ./onevrouter.1.html                               +man,toc
onemarket(1) -- manages internal and external Marketplaces
     roff: ./onemarket.1                              
     html: ./onemarket.1.html                                +man,toc
onemarketapp(1) -- manages appliances from Marketplaces
     roff: ./onemarketapp.1                           
     html: ./onemarketapp.1.html                             +man,toc
onevmgroup(1) -- manages VM groups
     roff: ./onevmgroup.1                             
     html: ./onevmgroup.1.html                               +man,toc
onevntemplate(1) -- manages Virtual Network Templates
     roff: ./onevntemplate.1                          
     html: ./onevntemplate.1.html                            +man,toc
oneprovision(1) -- manages OpenNebula provisions
Traceback (most recent call last):
	2: from /tmp/tmp.LnfUutpg4o/bin/oneprovision:60:in `<main>'
	1: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
/usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require': cannot load such file -- oneprovision (LoadError)
     roff: ./oneprovision.1                           
     html: ./oneprovision.1.html                             +man,toc
oneflow(1) -- Manage oneFlow Services
     roff: ./oneflow.1                                
     html: ./oneflow.1.html                                  +man,toc
oneflow-template(1) -- Manage oneFlow Templates
     roff: ./oneflow-template.1                       
     html: ./oneflow-template.1.html                         +man,toc
econe-allocate-address(1) -- Allocates a new elastic IP address for the user
Traceback (most recent call last):
	2: from /tmp/tmp.LnfUutpg4o/bin/econe-allocate-address:41:in `<main>'
	1: from /tmp/tmp.LnfUutpg4o/bin/econe-allocate-address:41:in `new'
/tmp/tmp.LnfUutpg4o/lib/ruby/cli/command_parser.rb:76:in `initialize': uninitialized constant CommandParser::CmdParser::OpenNebulaHelper (NameError)
     roff: ./econe-allocate-address.1                 
     html: ./econe-allocate-address.1.html                   +man,toc
econe-associate-address(1) -- Associates a publicIP of the user with a given instance
Traceback (most recent call last):
	2: from /tmp/tmp.LnfUutpg4o/bin/econe-associate-address:41:in `<main>'
	1: from /tmp/tmp.LnfUutpg4o/bin/econe-associate-address:41:in `new'
/tmp/tmp.LnfUutpg4o/lib/ruby/cli/command_parser.rb:76:in `initialize': uninitialized constant CommandParser::CmdParser::OpenNebulaHelper (NameError)
     roff: ./econe-associate-address.1                
     html: ./econe-associate-address.1.html                  +man,toc
econe-attach-volume(1) -- Attaches a DATABLOCK to an instance
Traceback (most recent call last):
	2: from /tmp/tmp.LnfUutpg4o/bin/econe-attach-volume:58:in `<main>'
	1: from /tmp/tmp.LnfUutpg4o/bin/econe-attach-volume:58:in `new'
/tmp/tmp.LnfUutpg4o/lib/ruby/cli/command_parser.rb:76:in `initialize': uninitialized constant CommandParser::CmdParser::OpenNebulaHelper (NameError)
     roff: ./econe-attach-volume.1                    
     html: ./econe-attach-volume.1.html                      +man,toc
econe-create-keypair(1) -- Creates the named keypair
Traceback (most recent call last):
	2: from /tmp/tmp.LnfUutpg4o/bin/econe-create-keypair:41:in `<main>'
	1: from /tmp/tmp.LnfUutpg4o/bin/econe-create-keypair:41:in `new'
/tmp/tmp.LnfUutpg4o/lib/ruby/cli/command_parser.rb:76:in `initialize': uninitialized constant CommandParser::CmdParser::OpenNebulaHelper (NameError)
     roff: ./econe-create-keypair.1                   
     html: ./econe-create-keypair.1.html                     +man,toc
econe-create-volume(1) -- Creates a new DATABLOCK in OpenNebula
Traceback (most recent call last):
	2: from /tmp/tmp.LnfUutpg4o/bin/econe-create-volume:49:in `<main>'
	1: from /tmp/tmp.LnfUutpg4o/bin/econe-create-volume:49:in `new'
/tmp/tmp.LnfUutpg4o/lib/ruby/cli/command_parser.rb:76:in `initialize': uninitialized constant CommandParser::CmdParser::OpenNebulaHelper (NameError)
     roff: ./econe-create-volume.1                    
     html: ./econe-create-volume.1.html                      +man,toc
econe-delete-keypair(1) -- Deletes the named keypair, removes the associated keys
Traceback (most recent call last):
	2: from /tmp/tmp.LnfUutpg4o/bin/econe-delete-keypair:41:in `<main>'
	1: from /tmp/tmp.LnfUutpg4o/bin/econe-delete-keypair:41:in `new'
/tmp/tmp.LnfUutpg4o/lib/ruby/cli/command_parser.rb:76:in `initialize': uninitialized constant CommandParser::CmdParser::OpenNebulaHelper (NameError)
     roff: ./econe-delete-keypair.1                   
     html: ./econe-delete-keypair.1.html                     +man,toc
econe-delete-volume(1) -- Deletes an existing DATABLOCK
Traceback (most recent call last):
	2: from /tmp/tmp.LnfUutpg4o/bin/econe-delete-volume:41:in `<main>'
	1: from /tmp/tmp.LnfUutpg4o/bin/econe-delete-volume:41:in `new'
/tmp/tmp.LnfUutpg4o/lib/ruby/cli/command_parser.rb:76:in `initialize': uninitialized constant CommandParser::CmdParser::OpenNebulaHelper (NameError)
     roff: ./econe-delete-volume.1                    
     html: ./econe-delete-volume.1.html                      +man,toc
econe-describe-addresses(1) -- Lists elastic IP addresses
Traceback (most recent call last):
	2: from /tmp/tmp.LnfUutpg4o/bin/econe-describe-addresses:54:in `<main>'
	1: from /tmp/tmp.LnfUutpg4o/bin/econe-describe-addresses:54:in `new'
/tmp/tmp.LnfUutpg4o/lib/ruby/cli/command_parser.rb:76:in `initialize': uninitialized constant CommandParser::CmdParser::OpenNebulaHelper (NameError)
     roff: ./econe-describe-addresses.1               
     html: ./econe-describe-addresses.1.html                 +man,toc
econe-describe-images(1) -- Lists all registered images belonging to one particular user
Traceback (most recent call last):
	2: from /tmp/tmp.LnfUutpg4o/bin/econe-describe-images:66:in `<main>'
	1: from /tmp/tmp.LnfUutpg4o/bin/econe-describe-images:66:in `new'
/tmp/tmp.LnfUutpg4o/lib/ruby/cli/command_parser.rb:76:in `initialize': uninitialized constant CommandParser::CmdParser::OpenNebulaHelper (NameError)
     roff: ./econe-describe-images.1                  
     html: ./econe-describe-images.1.html                    +man,toc
econe-describe-instances(1) -- Outputs a list of launched images belonging to one particular user
Traceback (most recent call last):
	2: from /tmp/tmp.LnfUutpg4o/bin/econe-describe-instances:65:in `<main>'
	1: from /tmp/tmp.LnfUutpg4o/bin/econe-describe-instances:65:in `new'
/tmp/tmp.LnfUutpg4o/lib/ruby/cli/command_parser.rb:76:in `initialize': uninitialized constant CommandParser::CmdParser::OpenNebulaHelper (NameError)
     roff: ./econe-describe-instances.1               
     html: ./econe-describe-instances.1.html                 +man,toc
econe-describe-keypairs(1) -- List and describe the key pairs available to the user
Traceback (most recent call last):
	2: from /tmp/tmp.LnfUutpg4o/bin/econe-describe-keypairs:53:in `<main>'
	1: from /tmp/tmp.LnfUutpg4o/bin/econe-describe-keypairs:53:in `new'
/tmp/tmp.LnfUutpg4o/lib/ruby/cli/command_parser.rb:76:in `initialize': uninitialized constant CommandParser::CmdParser::OpenNebulaHelper (NameError)
     roff: ./econe-describe-keypairs.1                
     html: ./econe-describe-keypairs.1.html                  +man,toc
econe-describe-volumes(1) -- Describe all available DATABLOCKs for this user
Traceback (most recent call last):
	2: from /tmp/tmp.LnfUutpg4o/bin/econe-describe-volumes:73:in `<main>'
	1: from /tmp/tmp.LnfUutpg4o/bin/econe-describe-volumes:73:in `new'
/tmp/tmp.LnfUutpg4o/lib/ruby/cli/command_parser.rb:76:in `initialize': uninitialized constant CommandParser::CmdParser::OpenNebulaHelper (NameError)
     roff: ./econe-describe-volumes.1                 
     html: ./econe-describe-volumes.1.html                   +man,toc
econe-detach-volume(1) -- Detaches a DATABLOCK from an instance
Traceback (most recent call last):
	2: from /tmp/tmp.LnfUutpg4o/bin/econe-detach-volume:58:in `<main>'
	1: from /tmp/tmp.LnfUutpg4o/bin/econe-detach-volume:58:in `new'
/tmp/tmp.LnfUutpg4o/lib/ruby/cli/command_parser.rb:76:in `initialize': uninitialized constant CommandParser::CmdParser::OpenNebulaHelper (NameError)
     roff: ./econe-detach-volume.1                    
     html: ./econe-detach-volume.1.html                      +man,toc
econe-disassociate-address(1) -- Disasociate a publicIP of the user currently associated with an instance
Traceback (most recent call last):
	2: from /tmp/tmp.LnfUutpg4o/bin/econe-disassociate-address:41:in `<main>'
	1: from /tmp/tmp.LnfUutpg4o/bin/econe-disassociate-address:41:in `new'
/tmp/tmp.LnfUutpg4o/lib/ruby/cli/command_parser.rb:76:in `initialize': uninitialized constant CommandParser::CmdParser::OpenNebulaHelper (NameError)
     roff: ./econe-disassociate-address.1             
     html: ./econe-disassociate-address.1.html               +man,toc
econe-reboot-instances(1) -- Reboots a set of virtual machines
Traceback (most recent call last):
	2: from /tmp/tmp.LnfUutpg4o/bin/econe-reboot-instances:42:in `<main>'
	1: from /tmp/tmp.LnfUutpg4o/bin/econe-reboot-instances:42:in `new'
/tmp/tmp.LnfUutpg4o/lib/ruby/cli/command_parser.rb:76:in `initialize': uninitialized constant CommandParser::CmdParser::OpenNebulaHelper (NameError)
     roff: ./econe-reboot-instances.1                 
     html: ./econe-reboot-instances.1.html                   +man,toc
econe-register(1) -- Registers an image
Traceback (most recent call last):
	2: from /tmp/tmp.LnfUutpg4o/bin/econe-register:41:in `<main>'
	1: from /tmp/tmp.LnfUutpg4o/bin/econe-register:41:in `new'
/tmp/tmp.LnfUutpg4o/lib/ruby/cli/command_parser.rb:76:in `initialize': uninitialized constant CommandParser::CmdParser::OpenNebulaHelper (NameError)
     roff: ./econe-register.1                         
     html: ./econe-register.1.html                           +man,toc
econe-release-address(1) -- Releases a publicIP of the user
Traceback (most recent call last):
	2: from /tmp/tmp.LnfUutpg4o/bin/econe-release-address:41:in `<main>'
	1: from /tmp/tmp.LnfUutpg4o/bin/econe-release-address:41:in `new'
/tmp/tmp.LnfUutpg4o/lib/ruby/cli/command_parser.rb:76:in `initialize': uninitialized constant CommandParser::CmdParser::OpenNebulaHelper (NameError)
     roff: ./econe-release-address.1                  
     html: ./econe-release-address.1.html                    +man,toc
econe-run-instances(1) -- Runs an instance of a particular image (that needs to be referenced)
Traceback (most recent call last):
	2: from /tmp/tmp.LnfUutpg4o/bin/econe-run-instances:109:in `<main>'
	1: from /tmp/tmp.LnfUutpg4o/bin/econe-run-instances:109:in `new'
/tmp/tmp.LnfUutpg4o/lib/ruby/cli/command_parser.rb:76:in `initialize': uninitialized constant CommandParser::CmdParser::OpenNebulaHelper (NameError)
     roff: ./econe-run-instances.1                    
     html: ./econe-run-instances.1.html                      +man,toc
econe-start-instances(1) -- Starts a set of virtual machines
Traceback (most recent call last):
	2: from /tmp/tmp.LnfUutpg4o/bin/econe-start-instances:42:in `<main>'
	1: from /tmp/tmp.LnfUutpg4o/bin/econe-start-instances:42:in `new'
/tmp/tmp.LnfUutpg4o/lib/ruby/cli/command_parser.rb:76:in `initialize': uninitialized constant CommandParser::CmdParser::OpenNebulaHelper (NameError)
     roff: ./econe-start-instances.1                  
     html: ./econe-start-instances.1.html                    +man,toc
econe-stop-instances(1) -- Stops a set of virtual machines
Traceback (most recent call last):
	2: from /tmp/tmp.LnfUutpg4o/bin/econe-stop-instances:42:in `<main>'
	1: from /tmp/tmp.LnfUutpg4o/bin/econe-stop-instances:42:in `new'
/tmp/tmp.LnfUutpg4o/lib/ruby/cli/command_parser.rb:76:in `initialize': uninitialized constant CommandParser::CmdParser::OpenNebulaHelper (NameError)
     roff: ./econe-stop-instances.1                   
     html: ./econe-stop-instances.1.html                     +man,toc
econe-terminate-instances(1) -- Shutdowns a set of virtual machines (or cancel, depending on its state)
Traceback (most recent call last):
	2: from /tmp/tmp.LnfUutpg4o/bin/econe-terminate-instances:42:in `<main>'
	1: from /tmp/tmp.LnfUutpg4o/bin/econe-terminate-instances:42:in `new'
/tmp/tmp.LnfUutpg4o/lib/ruby/cli/command_parser.rb:76:in `initialize': uninitialized constant CommandParser::CmdParser::OpenNebulaHelper (NameError)
     roff: ./econe-terminate-instances.1              
     html: ./econe-terminate-instances.1.html                +man,toc
econe-upload(1) -- Uploads an image to OpenNebula
Traceback (most recent call last):
	2: from /tmp/tmp.LnfUutpg4o/bin/econe-upload:49:in `<main>'
	1: from /tmp/tmp.LnfUutpg4o/bin/econe-upload:49:in `new'
/tmp/tmp.LnfUutpg4o/lib/ruby/cli/command_parser.rb:76:in `initialize': uninitialized constant CommandParser::CmdParser::OpenNebulaHelper (NameError)
     roff: ./econe-upload.1                           
 html: ./econe-upload.1.html                             +man,toc

Could any one help me please !

Hello @abdullah

Do you see any error in the browser console?

Thanks for your reply @ahuertas

The resource from “http://192.168.122.165:9869/dist/main.js?v=5.10.0” was blocked due to MIME type (“application/json”) mismatch (X-Content-Type-Options: nosniff).
192.168.122.165:9869
Loading failed for the <script> with source “http://192.168.122.165:9869/dist/main.js?v=5.10.0”. 192.168.122.165:9869:103:1


$ node -v
v12.13.1 
$ npm -v
v12.13.1

I am using firefox browser.

Hello @abdullah

Check that you have the correct permissions for all files, you can check them here.

Sorry to be late in the reply, as I was ill. @ahuertas

$ ls -l installation/etc/sunstone-server.conf 
-rw-rw-r-- 1 oneadmin oneadmin 7346 Dec 15 08:04 installation/etc/sunstone-server.conf
$ ls -l installation/etc/*.yaml
-rw-rw-r-- 1 oneadmin oneadmin 1224 Dec  9 12:36 installation/etc/sunstone-logos.yaml
-rw-rw-r-- 1 oneadmin oneadmin  301 Dec  9 12:36 installation/etc/sunstone-views.yaml
$ ls -l .one/one_auth
-rw-rw-r-- 1 oneadmin oneadmin 15 Dec  4 07:59 .one/one_auth

$ ls -l installation/var/.one
-rw------- 1 oneadmin oneadmin 77 Dec 8 11:36 ec2_auth
-rw------- 1 oneadmin oneadmin 77 Dec 8 11:36 occi_auth
-rw------- 1 oneadmin oneadmin 77 Dec 8 11:36 oneflow_auth
-rw------- 1 oneadmin oneadmin 77 Dec 8 11:36 onegate_auth
-rw------- 1 oneadmin oneadmin 65 Dec 8 11:35 one_key
-rw------- 1 oneadmin oneadmin 77 Dec 8 11:36 sunstone_auth

$ ls -l installation/var/sunstone*
-rw-rw-r-- 1 oneadmin oneadmin 86 Dec 15 08:04 installation/var/sunstone.error
-rw-rw-r-- 1 oneadmin oneadmin 3876 Dec 15 08:16 installation/var/sunstone.log
-rw-rw-r-- 1 oneadmin oneadmin 6 Dec 15 08:04 installation/var/sunstone.pid

installation/var/sunstone:
total 7148
-rw-rw-r-- 1 oneadmin oneadmin 7316290 Dec 15 08:04 main.js

installation/var/sunstone_vnc_tokens:
total 0


Hello @abdullah

Permissions seem to be correct, try to read the file http://192.168.122.165:9869/dist/main.js with oneadmin user.

@ahuertas
I tried http://192.168.122.165:9869/dist/main.js but it me this


and does not open the main.js file

Hello @abdullah

Did you install it from packages or from source code?

I also need the output of ls -l /usr/lib/one/sunstone/public.

Hello @ahuertas
I built it from source in a local directory ./install.sh -d ~/installation

$ ls -l installation/lib/sunstone/public/
total 188
drwxrwxr-x   9 oneadmin oneadmin   4096 Dec  8 11:31 app
drwxrwxr-x  21 oneadmin oneadmin   4096 Dec  8 11:31 bower_components
-rw-rw-r--   1 oneadmin oneadmin   1076 Dec 16 09:36 bower.json
-rwxrwxr-x   1 oneadmin oneadmin   1956 Dec 16 09:36 build.sh
-rw-rw-r--   1 oneadmin oneadmin    882 Dec 16 09:36 config.rb
drwxrwxr-x   3 oneadmin oneadmin   4096 Dec  8 11:31 css
drwxrwxr-x   5 oneadmin oneadmin   4096 Dec 16 09:36 dist
-rw-rw-r--   1 oneadmin oneadmin   7614 Dec 16 09:36 Gruntfile.js
drwxrwxr-x   4 oneadmin oneadmin   4096 Dec  8 11:31 images
drwxrwxr-x   3 oneadmin oneadmin   4096 Dec  8 11:31 locale
drwxrwxr-x 313 oneadmin oneadmin  12288 Dec  8 11:32 node_modules
-rw-rw-r--   1 oneadmin oneadmin    316 Dec 16 09:36 package.json
-rw-rw-r--   1 oneadmin oneadmin 115693 Dec 16 09:36 package-lock.json
-rw-rw-r--   1 oneadmin oneadmin   2423 Dec 16 09:36 README.md
-rw-rw-r--   1 oneadmin oneadmin   1462 Dec 16 09:36 SConstruct
drwxrwxr-x   2 oneadmin oneadmin   4096 Dec  8 11:31 scss

Hello @abdullah

So send me the output of ls -l installation/lib/sunstone/public/dist.

Thank you for helping me @ahuertas

This is the output for

$ ls -l installation/lib/sunstone/public/dist/
total 15912
-rw-rw-r--  1 oneadmin oneadmin   45325 Dec 16 09:36 build.txt
drwxrwxr-x  2 oneadmin oneadmin    4096 Dec  8 11:31 console
-rw-rw-r--  1 oneadmin oneadmin  115201 Dec 16 09:36 login.js
-rw-rw-r--  1 oneadmin oneadmin  123126 Dec 16 09:36 login.js.map
-rw-rw-r--  1 oneadmin oneadmin 7316290 Dec 16 09:36 main-dist.js
lrwxrwxrwx  1 oneadmin oneadmin      36 Dec 16 09:36 main.js -> ../installation/var/sunstone/main.js
-rw-rw-r--  1 oneadmin oneadmin 8667113 Dec 16 09:36 main.js.map
drwxrwxr-x 11 oneadmin oneadmin    4096 Dec  8 11:31 tabs
drwxrwxr-x  3 oneadmin oneadmin    4096 Dec  8 11:31 templates

Hi @ahuertas I noticed I wearied something

when I do $ vim installation/lib/sunstone/public/dist/main.js it opens a new file not main.js
but when I do $ vim ~/installation/var/sunstone/main.js it opens the file normally.
I think that the symbolic link is broken.

Yes, it seems that the symbolic link is broken, try to do it again and restart Sunstone.

Thank you so much for helping me @ahuertas
Sunstone is working .
I just removed the old symplic link and created a new one

$ mv installation/lib/sunstone/public/dist/main.js installation/lib/sunstone/public/dist/main.js.swp
$ ln -s ~/installation/var/sunstone/main.js  ~/installation/lib/sunstone/public/dist/main.js 
$ ls -l installation/lib/sunstone/public/dist/
total 15912
-rw-rw-r--  1 oneadmin oneadmin   45325 Dec 16 09:36 build.txt
drwxrwxr-x  2 oneadmin oneadmin    4096 Dec  8 11:31 console
-rw-rw-r--  1 oneadmin oneadmin  115201 Dec 16 09:36 login.js
-rw-rw-r--  1 oneadmin oneadmin  123126 Dec 16 09:36 login.js.map
-rw-rw-r--  1 oneadmin oneadmin 7316290 Dec 16 09:36 main-dist.js
lrwxrwxrwx  1 oneadmin oneadmin      48 Dec 18 08:14 main.js -> /home/oneadmin/installation/var/sunstone/main.js
-rw-rw-r--  1 oneadmin oneadmin 8667113 Dec 16 09:36 main.js.map
lrwxrwxrwx  1 oneadmin oneadmin      36 Dec 16 09:36 main.js.swp -> ../installation/var/sunstone/main.js
drwxrwxr-x 11 oneadmin oneadmin    4096 Dec  8 11:31 tabs
drwxrwxr-x  3 oneadmin oneadmin    4096 Dec  8 11:31 templates

I think there is a bug in the instillation process. as I tried to install opennebula multiple times on diffrent virtual machine to solve this issue.
Thank you so much for helping me @ahuertas

Yeah :smiley: so it’s time to enjoy Sunstone!!

You are welcome @abdullah!

1 Like