Jarli01 / xenorchestra_installer

A simple install script for Xen Orchestra
GNU General Public License v3.0
434 stars 86 forks source link

spinning wheel on login after a full installation from source #23

Closed petercelentanojr closed 6 years ago

petercelentanojr commented 6 years ago

Expected Behavior

I expect to be able to access xen orchestra.


Actual Behavior

When attempting to login, after performing a full install from source, I get a spinning circle in the center of the screen.


Confirm XOCE services are running


● xo-server.service - XO Server                                                                                                                                                              
   Loaded: loaded (/lib/systemd/system/xo-server.service; enabled; vendor preset: enabled)                                                                                                   
   Active: active (running) since Wed 2018-06-27 19:48:02 UTC; 55min ago                                                                                                                     
 Main PID: 17607 (node)                                                                                                                                                                      
    Tasks: 10                                                                                                                                                                                
   Memory: 89.2M                                                                                                                                                                             
      CPU: 4.162s                                                                                                                                                                            
   CGroup: /system.slice/xo-server.service                                                                                                                                                   
           └─17607 /usr/local/bin/node ./bin/xo-server                                                                                                                                       

Jun 27 20:42:59 demo xo-server[17607]:     at _combinedTickCallback (internal/process/next_tick.js:131:7)                                                                                    
Jun 27 20:42:59 demo xo-server[17607]:     at process._tickCallback (internal/process/next_tick.js:180:9)                                                                                    
Jun 27 20:42:59 demo xo-server[17607]: xo-server-cloud: next attempt in 1018 ms                                                                                                              
Jun 27 20:43:00 demo xo-server[17607]: xo-server-cloud: next attempt in 1018 ms                                                                                                              
Jun 27 20:43:01 demo xo-server[17607]: xo-server-cloud: next attempt in 1914 ms                                                                                                              
Jun 27 20:43:03 demo xo-server[17607]: xo-server-cloud: next attempt in 2917 ms                                                                                                              
Jun 27 20:43:06 demo xo-server[17607]: xo-server-cloud: next attempt in 4824 ms                                                                                                              
Jun 27 20:43:11 demo xo-server[17607]: xo-server-cloud: next attempt in 8024 ms                                                                                                              
Jun 27 20:43:19 demo xo-server[17607]: xo-server-cloud: next attempt in 12978 ms                                                                                                             
Jun 27 20:43:32 demo xo-server[17607]: xo-server-cloud: next attempt in 21724 ms```

#### Provide the output of journalctl logs

```Jun 27 20:42:59 demo xo-server[17607]:     at _combinedTickCallback (internal/process/next_tick.js:131:7)                                                                                    
Jun 27 20:42:59 demo xo-server[17607]:     at process._tickCallback (internal/process/next_tick.js:180:9)                                                                                    
Jun 27 20:42:59 demo xo-server[17607]: xo-server-cloud: next attempt in 1018 ms                                                                                                              
Jun 27 20:43:00 demo xo-server[17607]: xo-server-cloud: next attempt in 1018 ms                                                                                                              
Jun 27 20:43:01 demo xo-server[17607]: xo-server-cloud: next attempt in 1914 ms                                                                                                              
Jun 27 20:43:03 demo xo-server[17607]: xo-server-cloud: next attempt in 2917 ms                                                                                                              
Jun 27 20:43:06 demo xo-server[17607]: xo-server-cloud: next attempt in 4824 ms                                                                                                              
Jun 27 20:43:11 demo xo-server[17607]: xo-server-cloud: next attempt in 8024 ms                                                                                                              
Jun 27 20:43:19 demo xo-server[17607]: xo-server-cloud: next attempt in 12978 ms                                                                                                             
Jun 27 20:43:32 demo xo-server[17607]: xo-server-cloud: next attempt in 21724 ms                                                                                                             
root@demo:/opt/xen-orchestra# journalctl -u xo-server -f -n 50
-- Logs begin at Wed 2018-06-27 13:55:46 UTC. --                                                                                                                                             
Jun 27 20:38:14 demo xo-server[17607]: xo-server-cloud: fail to connect to updater ConnectionError: connect ECONNREFUSED 127.0.0.1:9001                                                      
Jun 27 20:38:14 demo xo-server[17607]:     at /opt/xen-orchestra/node_modules/jsonrpc-websocket-client/src/websocket-client.js:193:16                                                        
Jun 27 20:38:14 demo xo-server[17607]:     at run (/opt/xen-orchestra/node_modules/core-js/modules/es6.promise.js:75:22)                                                                     
Jun 27 20:38:14 demo xo-server[17607]:     at /opt/xen-orchestra/node_modules/core-js/modules/es6.promise.js:92:30
Jun 27 20:38:14 demo xo-server[17607]:     at flush (/opt/xen-orchestra/node_modules/core-js/modules/_microtask.js:18:9)
Jun 27 20:38:14 demo xo-server[17607]:     at _combinedTickCallback (internal/process/next_tick.js:131:7)
Jun 27 20:38:14 demo xo-server[17607]:     at process._tickCallback (internal/process/next_tick.js:180:9)
Jun 27 20:38:14 demo xo-server[17607]: xo-server-cloud: next attempt in 1049 ms
Jun 27 20:38:15 demo xo-server[17607]: xo-server-cloud: next attempt in 967 ms
Jun 27 20:38:16 demo xo-server[17607]: xo-server-cloud: next attempt in 1913 ms
Jun 27 20:38:18 demo xo-server[17607]: xo-server-cloud: next attempt in 3091 ms
Jun 27 20:38:21 demo xo-server[17607]: xo-server-cloud: next attempt in 4894 ms
Jun 27 20:38:25 demo xo-server[17607]: xo-server-cloud: next attempt in 8312 ms
Jun 27 20:38:34 demo xo-server[17607]: xo-server-cloud: next attempt in 12423 ms
Jun 27 20:38:46 demo xo-server[17607]: xo-server-cloud: next attempt in 21297 ms
Jun 27 20:39:08 demo xo-server[17607]: xo-server-cloud: next attempt in 34016 ms
Jun 27 20:39:42 demo xo-server[17607]: xo-server-cloud: next attempt in 53564 ms
Jun 27 20:40:35 demo xo-server[17607]: xo-server-cloud: fail to connect to updater ConnectionError: connect ECONNREFUSED 127.0.0.1:9001
Jun 27 20:40:35 demo xo-server[17607]:     at /opt/xen-orchestra/node_modules/jsonrpc-websocket-client/src/websocket-client.js:193:16
Jun 27 20:40:35 demo xo-server[17607]:     at run (/opt/xen-orchestra/node_modules/core-js/modules/es6.promise.js:75:22)
Jun 27 20:40:35 demo xo-server[17607]:     at /opt/xen-orchestra/node_modules/core-js/modules/es6.promise.js:92:30
Jun 27 20:40:35 demo xo-server[17607]:     at flush (/opt/xen-orchestra/node_modules/core-js/modules/_microtask.js:18:9)
Jun 27 20:40:35 demo xo-server[17607]:     at _combinedTickCallback (internal/process/next_tick.js:131:7)
Jun 27 20:40:35 demo xo-server[17607]:     at process._tickCallback (internal/process/next_tick.js:180:9)
Jun 27 20:40:35 demo xo-server[17607]: xo-server-cloud: next attempt in 996 ms
Jun 27 20:40:36 demo xo-server[17607]: xo-server-cloud: next attempt in 973 ms
Jun 27 20:40:37 demo xo-server[17607]: xo-server-cloud: next attempt in 2095 ms
Jun 27 20:40:39 demo xo-server[17607]: xo-server-cloud: next attempt in 3106 ms
Jun 27 20:40:42 demo xo-server[17607]: xo-server-cloud: next attempt in 5096 ms
Jun 27 20:40:47 demo xo-server[17607]: xo-server-cloud: next attempt in 7979 ms
Jun 27 20:40:55 demo xo-server[17607]: xo-server-cloud: next attempt in 12465 ms
Jun 27 20:41:08 demo xo-server[17607]: xo-server-cloud: next attempt in 20091 ms
Jun 27 20:41:28 demo xo-server[17607]: xo-server-cloud: next attempt in 33822 ms
Jun 27 20:42:02 demo xo-server[17607]: xo-server-cloud: next attempt in 57575 ms
Jun 27 20:42:59 demo xo-server[17607]: xo-server-cloud: fail to connect to updater ConnectionError: connect ECONNREFUSED 127.0.0.1:9001
Jun 27 20:42:59 demo xo-server[17607]:     at /opt/xen-orchestra/node_modules/jsonrpc-websocket-client/src/websocket-client.js:193:16
Jun 27 20:42:59 demo xo-server[17607]:     at run (/opt/xen-orchestra/node_modules/core-js/modules/es6.promise.js:75:22)
Jun 27 20:42:59 demo xo-server[17607]:     at /opt/xen-orchestra/node_modules/core-js/modules/es6.promise.js:92:30
Jun 27 20:42:59 demo xo-server[17607]:     at flush (/opt/xen-orchestra/node_modules/core-js/modules/_microtask.js:18:9)
Jun 27 20:42:59 demo xo-server[17607]:     at _combinedTickCallback (internal/process/next_tick.js:131:7)
Jun 27 20:42:59 demo xo-server[17607]:     at process._tickCallback (internal/process/next_tick.js:180:9)
Jun 27 20:42:59 demo xo-server[17607]: xo-server-cloud: next attempt in 1018 ms
Jun 27 20:43:00 demo xo-server[17607]: xo-server-cloud: next attempt in 1018 ms
Jun 27 20:43:01 demo xo-server[17607]: xo-server-cloud: next attempt in 1914 ms
Jun 27 20:43:03 demo xo-server[17607]: xo-server-cloud: next attempt in 2917 ms
Jun 27 20:43:06 demo xo-server[17607]: xo-server-cloud: next attempt in 4824 ms
Jun 27 20:43:11 demo xo-server[17607]: xo-server-cloud: next attempt in 8024 ms
Jun 27 20:43:19 demo xo-server[17607]: xo-server-cloud: next attempt in 12978 ms
Jun 27 20:43:32 demo xo-server[17607]: xo-server-cloud: next attempt in 21724 ms
Jun 27 20:43:54 demo xo-server[17607]: xo-server-cloud: next attempt in 33637 ms```

#### Provide answers to these questions:

- Is this a fresh install or an upgrade?
    -- This is a fresh install
- Version of XOCE server and web interface you're running
    --I am running the latest version 5.9.0
- What OS is XOCE running on?
    -- Ubuntu 1604
- What method you used to install XOCE (xo_install.sh, manual installation, etc)
    --xo_install.sh
- What specific XOCE page you're on, and what specific element you're interacting with to trigger the error
    --See above (spinning circle after entering login creds)
- If a stacktrace is provided in the error, include that too.
- Any errors that appear in your browser's error console.
    --``` (index):1 Refused to apply style from 'http://192.168.95.102/modules.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
index.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
(index):1 Refused to execute script from 'http://192.168.95.102/index.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
(index):1 Refused to apply style from 'http://192.168.95.102/modules.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.  ```
- Include what you've done so far in the installation, and if you got any error messages along the way.
    -- I've done nothing that the script hasnt done for me.
- Indicate whether or not you've manually edited any data directly.
    --I have not.
Jarli01 commented 6 years ago

You get a login window and try to login as admin@admin.net, correct?

petercelentanojr commented 6 years ago

Yes, that is correct.

Jarli01 commented 6 years ago

Please provide the journalctl logs

petercelentanojr commented 6 years ago
journalctl -u xo-server -f -n 200
-- Logs begin at Wed 2018-06-27 13:55:46 UTC. --
Jun 27 21:18:45 demo xo-server[17607]:     at flush (/opt/xen-orchestra/node_modules/core-js/modules/_microtask.js:18:9)
Jun 27 21:18:45 demo xo-server[17607]:     at _combinedTickCallback (internal/process/next_tick.js:131:7)
Jun 27 21:18:45 demo xo-server[17607]:     at process._tickCallback (internal/process/next_tick.js:180:9)
Jun 27 21:18:45 demo xo-server[17607]: xo-server-cloud: next attempt in 996 ms
Jun 27 21:18:46 demo xo-server[17607]: xo-server-cloud: next attempt in 954 ms
Jun 27 21:18:47 demo xo-server[17607]: xo-server-cloud: next attempt in 1984 ms
Jun 27 21:18:49 demo xo-server[17607]: xo-server-cloud: next attempt in 3004 ms
Jun 27 21:18:52 demo xo-server[17607]: xo-server-cloud: next attempt in 5242 ms
Jun 27 21:18:57 demo xo-server[17607]: xo-server-cloud: next attempt in 8107 ms
Jun 27 21:19:05 demo xo-server[17607]: xo-server-cloud: next attempt in 13012 ms
Jun 27 21:19:18 demo xo-server[17607]: xo-server-cloud: next attempt in 21915 ms
Jun 27 21:19:40 demo xo-server[17607]: xo-server-cloud: next attempt in 34884 ms
Jun 27 21:20:15 demo xo-server[17607]: xo-server-cloud: next attempt in 56371 ms
Jun 27 21:21:12 demo xo-server[17607]: xo-server-cloud: fail to connect to updater ConnectionError: connect ECONNREFUSED 127.0.0.1:9001
Jun 27 21:21:12 demo xo-server[17607]:     at /opt/xen-orchestra/node_modules/jsonrpc-websocket-client/src/websocket-client.js:193:16
Jun 27 21:21:12 demo xo-server[17607]:     at run (/opt/xen-orchestra/node_modules/core-js/modules/es6.promise.js:75:22)
Jun 27 21:21:12 demo xo-server[17607]:     at /opt/xen-orchestra/node_modules/core-js/modules/es6.promise.js:92:30
Jun 27 21:21:12 demo xo-server[17607]:     at flush (/opt/xen-orchestra/node_modules/core-js/modules/_microtask.js:18:9)
Jun 27 21:21:12 demo xo-server[17607]:     at _combinedTickCallback (internal/process/next_tick.js:131:7)
Jun 27 21:21:12 demo xo-server[17607]:     at process._tickCallback (internal/process/next_tick.js:180:9)
Jun 27 21:21:12 demo xo-server[17607]: xo-server-cloud: next attempt in 1001 ms
Jun 27 21:21:13 demo xo-server[17607]: xo-server-cloud: next attempt in 958 ms
Jun 27 21:21:14 demo xo-server[17607]: xo-server-cloud: next attempt in 1927 ms
Jun 27 21:21:15 demo xo-server[17607]: xo-server-cloud: next attempt in 3090 ms
Jun 27 21:21:19 demo xo-server[17607]: xo-server-cloud: next attempt in 5069 ms
Jun 27 21:21:24 demo xo-server[17607]: xo-server-cloud: next attempt in 8114 ms
Jun 27 21:21:32 demo xo-server[17607]: xo-server-cloud: next attempt in 12764 ms
Jun 27 21:21:45 demo xo-server[17607]: xo-server-cloud: next attempt in 20107 ms
Jun 27 21:22:05 demo xo-server[17607]: xo-server-cloud: next attempt in 32379 ms
Jun 27 21:22:37 demo xo-server[17607]: xo-server-cloud: next attempt in 53152 ms
Jun 27 21:23:30 demo xo-server[17607]: xo-server-cloud: fail to connect to updater ConnectionError: connect ECONNREFUSED 127.0.0.1:9001
Jun 27 21:23:30 demo xo-server[17607]:     at /opt/xen-orchestra/node_modules/jsonrpc-websocket-client/src/websocket-client.js:193:16
Jun 27 21:23:30 demo xo-server[17607]:     at run (/opt/xen-orchestra/node_modules/core-js/modules/es6.promise.js:75:22)
Jun 27 21:23:30 demo xo-server[17607]:     at /opt/xen-orchestra/node_modules/core-js/modules/es6.promise.js:92:30
Jun 27 21:23:30 demo xo-server[17607]:     at flush (/opt/xen-orchestra/node_modules/core-js/modules/_microtask.js:18:9)
Jun 27 21:23:30 demo xo-server[17607]:     at _combinedTickCallback (internal/process/next_tick.js:131:7)
Jun 27 21:23:30 demo xo-server[17607]:     at process._tickCallback (internal/process/next_tick.js:180:9)
Jun 27 21:23:30 demo xo-server[17607]: xo-server-cloud: next attempt in 1006 ms
Jun 27 21:23:31 demo xo-server[17607]: xo-server-cloud: next attempt in 968 ms
Jun 27 21:23:32 demo xo-server[17607]: xo-server-cloud: next attempt in 1926 ms
Jun 27 21:23:34 demo xo-server[17607]: xo-server-cloud: next attempt in 2926 ms
Jun 27 21:23:37 demo xo-server[17607]: xo-server-cloud: next attempt in 4958 ms
Jun 27 21:23:42 demo xo-server[17607]: xo-server-cloud: next attempt in 8140 ms
Jun 27 21:23:50 demo xo-server[17607]: xo-server-cloud: next attempt in 13098 ms
Jun 27 21:24:03 demo xo-server[17607]: xo-server-cloud: next attempt in 21749 ms
Jun 27 21:24:25 demo xo-server[17607]: xo-server-cloud: next attempt in 34736 ms
Jun 27 21:25:00 demo xo-server[17607]: xo-server-cloud: next attempt in 57607 ms
Jun 27 21:25:57 demo xo-server[17607]: xo-server-cloud: fail to connect to updater ConnectionError: connect ECONNREFUSED 127.0.0.1:9001
Jun 27 21:25:57 demo xo-server[17607]:     at /opt/xen-orchestra/node_modules/jsonrpc-websocket-client/src/websocket-client.js:193:16
Jun 27 21:25:57 demo xo-server[17607]:     at run (/opt/xen-orchestra/node_modules/core-js/modules/es6.promise.js:75:22)
Jun 27 21:25:57 demo xo-server[17607]:     at /opt/xen-orchestra/node_modules/core-js/modules/es6.promise.js:92:30
Jun 27 21:25:57 demo xo-server[17607]:     at flush (/opt/xen-orchestra/node_modules/core-js/modules/_microtask.js:18:9)
Jun 27 21:25:57 demo xo-server[17607]:     at _combinedTickCallback (internal/process/next_tick.js:131:7)
Jun 27 21:25:57 demo xo-server[17607]:     at process._tickCallback (internal/process/next_tick.js:180:9)
Jun 27 21:25:57 demo xo-server[17607]: xo-server-cloud: next attempt in 973 ms
Jun 27 21:25:58 demo xo-server[17607]: xo-server-cloud: next attempt in 984 ms
Jun 27 21:25:59 demo xo-server[17607]: xo-server-cloud: next attempt in 2019 ms
Jun 27 21:26:01 demo xo-server[17607]: xo-server-cloud: next attempt in 2866 ms
Jun 27 21:26:04 demo xo-server[17607]: xo-server-cloud: next attempt in 4806 ms
Jun 27 21:26:09 demo xo-server[17607]: xo-server-cloud: next attempt in 7641 ms
Jun 27 21:26:17 demo xo-server[17607]: xo-server-cloud: next attempt in 13288 ms
Jun 27 21:26:30 demo xo-server[17607]: xo-server-cloud: next attempt in 20892 ms
Jun 27 21:26:51 demo xo-server[17607]: xo-server-cloud: next attempt in 34933 ms
Jun 27 21:27:26 demo xo-server[17607]: xo-server-cloud: next attempt in 56030 ms
Jun 27 21:28:22 demo xo-server[17607]: xo-server-cloud: fail to connect to updater ConnectionError: connect ECONNREFUSED 127.0.0.1:9001
Jun 27 21:28:22 demo xo-server[17607]:     at /opt/xen-orchestra/node_modules/jsonrpc-websocket-client/src/websocket-client.js:193:16
Jun 27 21:28:22 demo xo-server[17607]:     at run (/opt/xen-orchestra/node_modules/core-js/modules/es6.promise.js:75:22)
Jun 27 21:28:22 demo xo-server[17607]:     at /opt/xen-orchestra/node_modules/core-js/modules/es6.promise.js:92:30
Jun 27 21:28:22 demo xo-server[17607]:     at flush (/opt/xen-orchestra/node_modules/core-js/modules/_microtask.js:18:9)
Jun 27 21:28:22 demo xo-server[17607]:     at _combinedTickCallback (internal/process/next_tick.js:131:7)
Jun 27 21:28:22 demo xo-server[17607]:     at process._tickCallback (internal/process/next_tick.js:180:9)
Jun 27 21:28:22 demo xo-server[17607]: xo-server-cloud: next attempt in 950 ms
Jun 27 21:28:23 demo xo-server[17607]: xo-server-cloud: next attempt in 980 ms
Jun 27 21:28:24 demo xo-server[17607]: xo-server-cloud: next attempt in 1960 ms
Jun 27 21:28:26 demo xo-server[17607]: xo-server-cloud: next attempt in 3082 ms
Jun 27 21:28:29 demo xo-server[17607]: xo-server-cloud: next attempt in 5101 ms
Jun 27 21:28:34 demo xo-server[17607]: xo-server-cloud: next attempt in 7776 ms
Jun 27 21:28:42 demo xo-server[17607]: xo-server-cloud: next attempt in 13616 ms
Jun 27 21:28:55 demo xo-server[17607]: xo-server-cloud: next attempt in 20147 ms
Jun 27 21:29:15 demo xo-server[17607]: xo-server-cloud: next attempt in 34380 ms
Jun 27 21:29:50 demo xo-server[17607]: xo-server-cloud: next attempt in 54289 ms
Jun 27 21:30:44 demo xo-server[17607]: xo-server-cloud: fail to connect to updater ConnectionError: connect ECONNREFUSED 127.0.0.1:9001
Jun 27 21:30:44 demo xo-server[17607]:     at /opt/xen-orchestra/node_modules/jsonrpc-websocket-client/src/websocket-client.js:193:16
Jun 27 21:30:44 demo xo-server[17607]:     at run (/opt/xen-orchestra/node_modules/core-js/modules/es6.promise.js:75:22)
Jun 27 21:30:44 demo xo-server[17607]:     at /opt/xen-orchestra/node_modules/core-js/modules/es6.promise.js:92:30
Jun 27 21:30:44 demo xo-server[17607]:     at flush (/opt/xen-orchestra/node_modules/core-js/modules/_microtask.js:18:9)
Jun 27 21:30:44 demo xo-server[17607]:     at _combinedTickCallback (internal/process/next_tick.js:131:7)
Jun 27 21:30:44 demo xo-server[17607]:     at process._tickCallback (internal/process/next_tick.js:180:9)
Jun 27 21:30:44 demo xo-server[17607]: xo-server-cloud: next attempt in 987 ms
Jun 27 21:30:45 demo xo-server[17607]: xo-server-cloud: next attempt in 1005 ms
Jun 27 21:30:46 demo xo-server[17607]: xo-server-cloud: next attempt in 1941 ms
Jun 27 21:30:48 demo xo-server[17607]: xo-server-cloud: next attempt in 2996 ms
Jun 27 21:30:51 demo xo-server[17607]: xo-server-cloud: next attempt in 4864 ms
Jun 27 21:30:56 demo xo-server[17607]: xo-server-cloud: next attempt in 7940 ms
Jun 27 21:31:04 demo xo-server[17607]: xo-server-cloud: next attempt in 13117 ms
Jun 27 21:31:17 demo xo-server[17607]: xo-server-cloud: next attempt in 20485 ms
Jun 27 21:31:37 demo xo-server[17607]: xo-server-cloud: next attempt in 32399 ms
Jun 27 21:32:10 demo xo-server[17607]: xo-server-cloud: next attempt in 54677 ms
Jun 27 21:33:04 demo xo-server[17607]: xo-server-cloud: fail to connect to updater ConnectionError: connect ECONNREFUSED 127.0.0.1:9001
Jun 27 21:33:04 demo xo-server[17607]:     at /opt/xen-orchestra/node_modules/jsonrpc-websocket-client/src/websocket-client.js:193:16
Jun 27 21:33:04 demo xo-server[17607]:     at run (/opt/xen-orchestra/node_modules/core-js/modules/es6.promise.js:75:22)
Jun 27 21:33:04 demo xo-server[17607]:     at /opt/xen-orchestra/node_modules/core-js/modules/es6.promise.js:92:30
Jun 27 21:33:04 demo xo-server[17607]:     at flush (/opt/xen-orchestra/node_modules/core-js/modules/_microtask.js:18:9)
Jun 27 21:33:04 demo xo-server[17607]:     at _combinedTickCallback (internal/process/next_tick.js:131:7)
Jun 27 21:33:04 demo xo-server[17607]:     at process._tickCallback (internal/process/next_tick.js:180:9)
Jun 27 21:33:04 demo xo-server[17607]: xo-server-cloud: next attempt in 1011 ms
Jun 27 21:33:05 demo xo-server[17607]: xo-server-cloud: next attempt in 997 ms
Jun 27 21:33:06 demo xo-server[17607]: xo-server-cloud: next attempt in 1957 ms
Jun 27 21:33:08 demo xo-server[17607]: xo-server-cloud: next attempt in 2863 ms
Jun 27 21:33:11 demo xo-server[17607]: xo-server-cloud: next attempt in 4767 ms
Jun 27 21:33:16 demo xo-server[17607]: xo-server-cloud: next attempt in 7760 ms
Jun 27 21:33:24 demo xo-server[17607]: xo-server-cloud: next attempt in 13203 ms
Jun 27 21:33:37 demo xo-server[17607]: xo-server-cloud: next attempt in 21097 ms
Jun 27 21:33:58 demo xo-server[17607]: xo-server-cloud: next attempt in 35631 ms
Jun 27 21:34:34 demo xo-server[17607]: xo-server-cloud: next attempt in 55770 ms
Jun 27 21:35:30 demo xo-server[17607]: xo-server-cloud: fail to connect to updater ConnectionError: connect ECONNREFUSED 127.0.0.1:9001
Jun 27 21:35:30 demo xo-server[17607]:     at /opt/xen-orchestra/node_modules/jsonrpc-websocket-client/src/websocket-client.js:193:16
Jun 27 21:35:30 demo xo-server[17607]:     at run (/opt/xen-orchestra/node_modules/core-js/modules/es6.promise.js:75:22)
Jun 27 21:35:30 demo xo-server[17607]:     at /opt/xen-orchestra/node_modules/core-js/modules/es6.promise.js:92:30
Jun 27 21:35:30 demo xo-server[17607]:     at flush (/opt/xen-orchestra/node_modules/core-js/modules/_microtask.js:18:9)
Jun 27 21:35:30 demo xo-server[17607]:     at _combinedTickCallback (internal/process/next_tick.js:131:7)
Jun 27 21:35:30 demo xo-server[17607]:     at process._tickCallback (internal/process/next_tick.js:180:9)
Jun 27 21:35:30 demo xo-server[17607]: xo-server-cloud: next attempt in 1027 ms
Jun 27 21:35:31 demo xo-server[17607]: xo-server-cloud: next attempt in 1015 ms
Jun 27 21:35:32 demo xo-server[17607]: xo-server-cloud: next attempt in 2013 ms
Jun 27 21:35:34 demo xo-server[17607]: xo-server-cloud: next attempt in 3119 ms
Jun 27 21:35:37 demo xo-server[17607]: xo-server-cloud: next attempt in 4859 ms
Jun 27 21:35:42 demo xo-server[17607]: xo-server-cloud: next attempt in 8338 ms
Jun 27 21:35:50 demo xo-server[17607]: xo-server-cloud: next attempt in 12656 ms
Jun 27 21:36:03 demo xo-server[17607]: xo-server-cloud: next attempt in 20122 ms
Jun 27 21:36:23 demo xo-server[17607]: xo-server-cloud: next attempt in 33645 ms
Jun 27 21:36:56 demo xo-server[17607]: xo-server-cloud: next attempt in 55317 ms
Jun 27 21:37:52 demo xo-server[17607]: xo-server-cloud: fail to connect to updater ConnectionError: connect ECONNREFUSED 127.0.0.1:9001
Jun 27 21:37:52 demo xo-server[17607]:     at /opt/xen-orchestra/node_modules/jsonrpc-websocket-client/src/websocket-client.js:193:16
Jun 27 21:37:52 demo xo-server[17607]:     at run (/opt/xen-orchestra/node_modules/core-js/modules/es6.promise.js:75:22)
Jun 27 21:37:52 demo xo-server[17607]:     at /opt/xen-orchestra/node_modules/core-js/modules/es6.promise.js:92:30
Jun 27 21:37:52 demo xo-server[17607]:     at flush (/opt/xen-orchestra/node_modules/core-js/modules/_microtask.js:18:9)
Jun 27 21:37:52 demo xo-server[17607]:     at _combinedTickCallback (internal/process/next_tick.js:131:7)
Jun 27 21:37:52 demo xo-server[17607]:     at process._tickCallback (internal/process/next_tick.js:180:9)
Jun 27 21:37:52 demo xo-server[17607]: xo-server-cloud: next attempt in 991 ms
Jun 27 21:37:53 demo xo-server[17607]: xo-server-cloud: next attempt in 1044 ms
Jun 27 21:37:54 demo xo-server[17607]: xo-server-cloud: next attempt in 2004 ms
Jun 27 21:37:56 demo xo-server[17607]: xo-server-cloud: next attempt in 3041 ms
Jun 27 21:37:59 demo xo-server[17607]: xo-server-cloud: next attempt in 4914 ms
Jun 27 21:38:04 demo xo-server[17607]: xo-server-cloud: next attempt in 7615 ms
Jun 27 21:38:11 demo xo-server[17607]: xo-server-cloud: next attempt in 13569 ms
Jun 27 21:38:25 demo xo-server[17607]: xo-server-cloud: next attempt in 20343 ms
Jun 27 21:38:45 demo xo-server[17607]: xo-server-cloud: next attempt in 32747 ms
Jun 27 21:39:18 demo xo-server[17607]: xo-server-cloud: next attempt in 56599 ms
Jun 27 21:40:15 demo xo-server[17607]: xo-server-cloud: fail to connect to updater ConnectionError: connect ECONNREFUSED 127.0.0.1:9001
Jun 27 21:40:15 demo xo-server[17607]:     at /opt/xen-orchestra/node_modules/jsonrpc-websocket-client/src/websocket-client.js:193:16
Jun 27 21:40:15 demo xo-server[17607]:     at run (/opt/xen-orchestra/node_modules/core-js/modules/es6.promise.js:75:22)
Jun 27 21:40:15 demo xo-server[17607]:     at /opt/xen-orchestra/node_modules/core-js/modules/es6.promise.js:92:30
Jun 27 21:40:15 demo xo-server[17607]:     at flush (/opt/xen-orchestra/node_modules/core-js/modules/_microtask.js:18:9)
Jun 27 21:40:15 demo xo-server[17607]:     at _combinedTickCallback (internal/process/next_tick.js:131:7)
Jun 27 21:40:15 demo xo-server[17607]:     at process._tickCallback (internal/process/next_tick.js:180:9)
Jun 27 21:40:15 demo xo-server[17607]: xo-server-cloud: next attempt in 958 ms
Jun 27 21:40:16 demo xo-server[17607]: xo-server-cloud: next attempt in 980 ms
Jun 27 21:40:17 demo xo-server[17607]: xo-server-cloud: next attempt in 1943 ms
Jun 27 21:40:18 demo xo-server[17607]: xo-server-cloud: next attempt in 3062 ms
Jun 27 21:40:22 demo xo-server[17607]: xo-server-cloud: next attempt in 4995 ms
Jun 27 21:40:27 demo xo-server[17607]: xo-server-cloud: next attempt in 7931 ms
Jun 27 21:40:34 demo xo-server[17607]: xo-server-cloud: next attempt in 13347 ms
Jun 27 21:40:48 demo xo-server[17607]: xo-server-cloud: next attempt in 20312 ms
Jun 27 21:41:08 demo xo-server[17607]: xo-server-cloud: next attempt in 34237 ms
Jun 27 21:41:42 demo xo-server[17607]: xo-server-cloud: next attempt in 52727 ms
Jun 27 21:42:35 demo xo-server[17607]: xo-server-cloud: fail to connect to updater ConnectionError: connect ECONNREFUSED 127.0.0.1:9001
Jun 27 21:42:35 demo xo-server[17607]:     at /opt/xen-orchestra/node_modules/jsonrpc-websocket-client/src/websocket-client.js:193:16
Jun 27 21:42:35 demo xo-server[17607]:     at run (/opt/xen-orchestra/node_modules/core-js/modules/es6.promise.js:75:22)
Jun 27 21:42:35 demo xo-server[17607]:     at /opt/xen-orchestra/node_modules/core-js/modules/es6.promise.js:92:30
Jun 27 21:42:35 demo xo-server[17607]:     at flush (/opt/xen-orchestra/node_modules/core-js/modules/_microtask.js:18:9)
Jun 27 21:42:35 demo xo-server[17607]:     at _combinedTickCallback (internal/process/next_tick.js:131:7)
Jun 27 21:42:35 demo xo-server[17607]:     at process._tickCallback (internal/process/next_tick.js:180:9)
Jun 27 21:42:35 demo xo-server[17607]: xo-server-cloud: next attempt in 989 ms
Jun 27 21:42:36 demo xo-server[17607]: xo-server-cloud: next attempt in 971 ms
Jun 27 21:42:37 demo xo-server[17607]: xo-server-cloud: next attempt in 1910 ms
Jun 27 21:42:39 demo xo-server[17607]: xo-server-cloud: next attempt in 2897 ms
Jun 27 21:42:42 demo xo-server[17607]: xo-server-cloud: next attempt in 5234 ms
Jun 27 21:42:47 demo xo-server[17607]: xo-server-cloud: next attempt in 7656 ms
Jun 27 21:42:55 demo xo-server[17607]: xo-server-cloud: next attempt in 12883 ms
Jun 27 21:43:08 demo xo-server[17607]: xo-server-cloud: next attempt in 21129 ms
Jun 27 21:43:29 demo xo-server[17607]: xo-server-cloud: next attempt in 34845 ms
Jun 27 21:44:04 demo xo-server[17607]: xo-server-cloud: next attempt in 52852 ms
Jun 27 21:44:56 demo xo-server[17607]: xo-server-cloud: fail to connect to updater ConnectionError: connect ECONNREFUSED 127.0.0.1:9001
Jun 27 21:44:56 demo xo-server[17607]:     at /opt/xen-orchestra/node_modules/jsonrpc-websocket-client/src/websocket-client.js:193:16
Jun 27 21:44:56 demo xo-server[17607]:     at run (/opt/xen-orchestra/node_modules/core-js/modules/es6.promise.js:75:22)
Jun 27 21:44:56 demo xo-server[17607]:     at /opt/xen-orchestra/node_modules/core-js/modules/es6.promise.js:92:30
Jun 27 21:44:56 demo xo-server[17607]:     at flush (/opt/xen-orchestra/node_modules/core-js/modules/_microtask.js:18:9)
Jun 27 21:44:56 demo xo-server[17607]:     at _combinedTickCallback (internal/process/next_tick.js:131:7)
Jun 27 21:44:56 demo xo-server[17607]:     at process._tickCallback (internal/process/next_tick.js:180:9)
Jun 27 21:44:56 demo xo-server[17607]: xo-server-cloud: next attempt in 1030 ms
Jun 27 21:44:57 demo xo-server[17607]: xo-server-cloud: next attempt in 1044 ms
Jun 27 21:44:59 demo xo-server[17607]: xo-server-cloud: next attempt in 1946 ms
Jun 27 21:45:00 demo xo-server[17607]: xo-server-cloud: next attempt in 3000 ms
Jun 27 21:45:03 demo xo-server[17607]: xo-server-cloud: next attempt in 5234 ms
Jun 27 21:45:09 demo xo-server[17607]: xo-server-cloud: next attempt in 7888 ms
Jun 27 21:45:17 demo xo-server[17607]: xo-server-cloud: next attempt in 12670 ms
Jun 27 21:45:29 demo xo-server[17607]: xo-server-cloud: next attempt in 21016 ms
Jun 27 21:45:50 demo xo-server[17607]: xo-server-cloud: next attempt in 35210 ms
Jun 27 21:46:26 demo xo-server[17607]: xo-server-cloud: next attempt in 53072 ms
petercelentanojr commented 6 years ago

Are those the logs you're looking for?

Jarli01 commented 6 years ago

Yeah everything there looks fine, the only thing that might be an issue would be with your browser as far as I can tell.

Have you tried connecting with a different browser?

Also, using 16.04 isn't ideal since Ubuntu 18.04 is available, but it should still work.

petercelentanojr commented 6 years ago

I'm working in a vagrant image currently, so I can rebuild with 1804 and retest. I also tested with the latest version of linuxmint 18.2 with the same results as 1604. I also tried Firefox, and accessing from chrome, Firefox, and Safari on osx. Same results. Is there a xen orchestra tag known to work that I should use?

Jarli01 commented 6 years ago

I'll build an instance now, but usually any version works.

Jarli01 commented 6 years ago

I was able to install on 18.04 without issue, and I logged in as well. There might be something in your browser logs to further pinpoint this.

petercelentanojr commented 6 years ago

I just reran on ubuntu 18.04 in a vagrant environment (clean), and I have the same issue. I pulled this out of the browser console:

Refused to apply style from 'http://192.168.95.114/modules.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled. (index):2 GET http://192.168.95.114/index.js 404 (Not Found) (index):1 Refused to execute script from 'http://192.168.95.114/index.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.

could this have something to do with line 111 in packages/xo-server/.xo-server.yaml not being quite right?

Jarli01 commented 6 years ago

This would be something upstream and not with what the XOCE installer script does. Which I didn't encounter this issue.

petercelentanojr commented 6 years ago

I just figured out the issue... I was impatient and accidentally exited the yarn build process before it actually finished. I let it compile and walked away for a good 15 minutes, and the install script exited cleanly, and I was able to login properly and start using XO. Thanks for the help!

Jarli01 commented 6 years ago

Yeah the installation can take some time, especially with low spec vms (single vcpu 1gb ram)