BRRABill's Field Report With XenServer
-
@BRRABill try journalctl -u xo-server -f -n 50
-
@BRRABill said in BRRABill's Field Report With XenServer:
That I do not know.
Like I said, I've done nothing but install XO and use apt-get update and upgrade.
The latest version of the update script does perform an update to the latest stable version of Node. I haven't found this to be a problem thus far, and I updated within the last day or so.
-
It looks like your apt-get update and upgrade upgraded something to too new a version.
I cant remember what repos xo uses.
Can you roll back or reinstall then try using the upgrade button in xo web? -
@Danp said
The latest version of the update script does perform an update to the latest stable version of Node. I haven't found this to be a problem thus far, and I updated within the last day or so.
What update script?
-
@Romo said in BRRABill's Field Report With XenServer:
journalctl -u xo-server -f -n 50
journalctl -u xo-server -f -n 50 -- Logs begin at Thu 2016-08-18 16:57:07 EDT. -- Aug 18 17:05:26 ubuntu xo-server[4846]: at Object.<anonymous> (/opt/xo-server/bin/xo-server:31:25) Aug 18 17:05:26 ubuntu systemd[1]: xo-server.service: Main process exited, code=exited, status=1/FAILURE Aug 18 17:05:26 ubuntu systemd[1]: xo-server.service: Unit entered failed state. Aug 18 17:05:26 ubuntu systemd[1]: xo-server.service: Failed with result 'exit-code'. Aug 18 17:05:26 ubuntu systemd[1]: xo-server.service: Service hold-off time over, scheduling restart. Aug 18 17:05:26 ubuntu systemd[1]: Stopped XO Server. Aug 18 17:05:26 ubuntu systemd[1]: Started XO Server. Aug 18 17:05:26 ubuntu xo-server[4854]: module.js:442 Aug 18 17:05:26 ubuntu xo-server[4854]: throw err; Aug 18 17:05:26 ubuntu xo-server[4854]: ^ Aug 18 17:05:26 ubuntu xo-server[4854]: Error: Cannot find module './dist' Aug 18 17:05:26 ubuntu xo-server[4854]: at require (internal/module.js:20:19) Aug 18 17:05:26 ubuntu xo-server[4854]: at Object.<anonymous> (/opt/xo-server/index.js:11:18) Aug 18 17:05:26 ubuntu xo-server[4854]: at require (internal/module.js:20:19) Aug 18 17:05:26 ubuntu xo-server[4854]: at Object.<anonymous> (/opt/xo-server/bin/xo-server:31:25) Aug 18 17:05:26 ubuntu systemd[1]: xo-server.service: Main process exited, code=exited, status=1/FAILURE Aug 18 17:05:26 ubuntu systemd[1]: xo-server.service: Unit entered failed state. Aug 18 17:05:26 ubuntu systemd[1]: xo-server.service: Failed with result 'exit-code'. Aug 18 17:05:26 ubuntu systemd[1]: xo-server.service: Service hold-off time over, scheduling restart. Aug 18 17:05:26 ubuntu systemd[1]: Stopped XO Server. Aug 18 17:05:26 ubuntu systemd[1]: Started XO Server. Aug 18 17:05:27 ubuntu xo-server[4862]: module.js:442 Aug 18 17:05:27 ubuntu xo-server[4862]: throw err; Aug 18 17:05:27 ubuntu xo-server[4862]: ^ Aug 18 17:05:27 ubuntu xo-server[4862]: Error: Cannot find module './dist' Aug 18 17:05:27 ubuntu xo-server[4862]: at require (internal/module.js:20:19) Aug 18 17:05:27 ubuntu xo-server[4862]: at Object.<anonymous> (/opt/xo-server/index.js:11:18) Aug 18 17:05:27 ubuntu xo-server[4862]: at require (internal/module.js:20:19) Aug 18 17:05:27 ubuntu xo-server[4862]: at Object.<anonymous> (/opt/xo-server/bin/xo-server:31:25) Aug 18 17:05:27 ubuntu systemd[1]: xo-server.service: Main process exited, code=exited, status=1/FAILURE Aug 18 17:05:27 ubuntu systemd[1]: xo-server.service: Unit entered failed state. Aug 18 17:05:27 ubuntu systemd[1]: xo-server.service: Failed with result 'exit-code'. Aug 18 17:05:27 ubuntu systemd[1]: xo-server.service: Service hold-off time over, scheduling restart. Aug 18 17:05:27 ubuntu systemd[1]: Stopped XO Server. Aug 18 17:05:27 ubuntu systemd[1]: Started XO Server. Aug 18 17:05:28 ubuntu xo-server[4870]: module.js:442 Aug 18 17:05:28 ubuntu xo-server[4870]: throw err; Aug 18 17:05:28 ubuntu xo-server[4870]: ^ Aug 18 17:05:28 ubuntu xo-server[4870]: Error: Cannot find module './dist' Aug 18 17:05:28 ubuntu xo-server[4870]: at require (internal/module.js:20:19) Aug 18 17:05:28 ubuntu xo-server[4870]: at Object.<anonymous> (/opt/xo-server/index.js:11:18) Aug 18 17:05:28 ubuntu xo-server[4870]: at require (internal/module.js:20:19) Aug 18 17:05:28 ubuntu xo-server[4870]: at Object.<anonymous> (/opt/xo-server/bin/xo-server:31:25) Aug 18 17:05:28 ubuntu systemd[1]: xo-server.service: Main process exited, code=exited, status=1/FAILURE Aug 18 17:05:28 ubuntu systemd[1]: xo-server.service: Unit entered failed state. Aug 18 17:05:28 ubuntu systemd[1]: xo-server.service: Failed with result 'exit-code'. Aug 18 17:05:28 ubuntu systemd[1]: xo-server.service: Service hold-off time over, scheduling restart. Aug 18 17:05:28 ubuntu systemd[1]: Stopped XO Server. Aug 18 17:05:28 ubuntu systemd[1]: xo-server.service: Start request repeated too quickly. Aug 18 17:05:28 ubuntu systemd[1]: Failed to start XO Server.
-
@Danp said
The latest version of the update script does perform an update to the latest stable version of Node. I haven't found this to be a problem thus far, and I updated within the last day or so.
Because I tried using the update script everyone else uses last week, and it failed. I have my own, so I just went back to that.
-
-
@Danp said in BRRABill's Field Report With XenServer:
Yeah, I tried running that last week, and it failed on me.
I didn't think anything of it, but I haven't been back into XO since then. So apparently that could be what broke my stuff.
-
@BRRABill said in BRRABill's Field Report With XenServer:
Because I tried using the update script everyone else uses last week, and it failed. I have my own, so I just went back to that.
Failed how? Did you run it as root (
sudo bash
)? Details please. -
@Danp said in BRRABill's Field Report With XenServer:
@BRRABill said in BRRABill's Field Report With XenServer:
Because I tried using the update script everyone else uses last week, and it failed. I have my own, so I just went back to that.
Failed how? Did you run it as root (
sudo bash
)? Details please.I honestly do no remember.
It just didn't work.
Want me to try running it now?
-
@BRRABill Sure... here's the commands:
sudo bash <password> sudo curl https://raw.githubusercontent.com/Jarli01/xenorchestra_updater/master/xo-update.sh | bash
-
sudo bash xo-update.sh Stopping xo-server... Updating Node.js to latest stable version... install : node-v6.4.0 mkdir : /usr/local/n/versions/node/6.4.0 fetch : https://nodejs.org/dist/v6.4.0/node-v6.4.0-linux-x64.tar.gz ######################################################################## 100.0% installed : v6.4.0 Checking xo-server... xo-update.sh: line 38: updateFromSource: command not found Checking xo-web... xo-update.sh: line 42: updateFromSource: command not found Please manually restart xo-server
-
@Danp said in BRRABill's Field Report With XenServer:
@BRRABill Sure... here's the commands:
sudo bash <password> sudo curl https://raw.githubusercontent.com/Jarli01/xenorchestra_updater/master/xo-update.sh | bash
Oh, that's not what I did. I downloaded the file, and then ran it.
This command made it work.
Still not running xo-server though
-
@BRRABill Does it start with
sudo systemctl start xo-server
? -
@Danp said in BRRABill's Field Report With XenServer:
@BRRABill Does it start with
sudo systemctl start xo-server
?Does what? My script?
-
@BRRABill xo server
-
-
Same thing...
Aug 18 21:56:16 ubuntu systemd[1]: Started XO Server. Aug 18 21:56:19 ubuntu xo-server[17131]: (node:17131) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version. Aug 18 21:56:20 ubuntu xo-server[17131]: /opt/xo-server/node_modules/bindings/bindings.js:83 Aug 18 21:56:20 ubuntu xo-server[17131]: throw e Aug 18 21:56:20 ubuntu xo-server[17131]: ^ Aug 18 21:56:20 ubuntu xo-server[17131]: Error: Module version mismatch. Expected 48, got 47. Aug 18 21:56:20 ubuntu xo-server[17131]: at require (internal/module.js:20:19) Aug 18 21:56:20 ubuntu xo-server[17131]: at bindings (/opt/xo-server/node_modules/bindings/bindings.js:76:44) Aug 18 21:56:20 ubuntu xo-server[17131]: at Object.<anonymous> (/opt/xo-server/node_modules/leveldown/leveldown.js:4:46) Aug 18 21:56:20 ubuntu xo-server[17131]: at require (internal/module.js:20:19) Aug 18 21:56:20 ubuntu xo-server[17131]: at Object.<anonymous> (/opt/xo-server/node_modules/level/level.js:1:44) Aug 18 21:56:20 ubuntu xo-server[17131]: at require (internal/module.js:20:19) Aug 18 21:56:20 ubuntu xo-server[17131]: at Object.<anonymous> (/opt/xo-server/node_modules/level-party/index.js:1:13) Aug 18 21:56:20 ubuntu xo-server[17131]: at require (internal/module.js:20:19) Aug 18 21:56:20 ubuntu xo-server[17131]: at Object.<anonymous> (/source/xo-mixins/store.js:2) Aug 18 21:56:20 ubuntu xo-server[17131]: at require (internal/module.js:20:19) Aug 18 21:56:20 ubuntu xo-server[17131]: at Object.<anonymous> (/source/xo-mixins/index.js:46) Aug 18 21:56:20 ubuntu xo-server[17131]: at require (internal/module.js:20:19) Aug 18 21:56:20 ubuntu xo-server[17131]: at Object.<anonymous> (/source/xo.js:7) Aug 18 21:56:20 ubuntu xo-server[17131]: at require (internal/module.js:20:19) Aug 18 21:56:20 ubuntu xo-server[17131]: at Object.<anonymous> (/source/index.js:28) Aug 18 21:56:20 ubuntu xo-server[17131]: at require (internal/module.js:20:19) Aug 18 21:56:20 ubuntu xo-server[17131]: at Object.<anonymous> (/opt/xo-server/index.js:11:18) Aug 18 21:56:20 ubuntu xo-server[17131]: at require (internal/module.js:20:19) Aug 18 21:56:20 ubuntu xo-server[17131]: at Object.<anonymous> (/opt/xo-server/bin/xo-server:31:25) Aug 18 21:56:20 ubuntu systemd[1]: xo-server.service: Main process exited, code=exited, status=1/FAILURE Aug 18 21:56:20 ubuntu systemd[1]: xo-server.service: Unit entered failed state. Aug 18 21:56:20 ubuntu systemd[1]: xo-server.service: Failed with result 'exit-code'. Aug 18 21:56:20 ubuntu systemd[1]: xo-server.service: Service hold-off time over, scheduling restart. Aug 18 21:56:20 ubuntu systemd[1]: Stopped XO Server.
-
@BRRABill Trying on my install now (still on Ubuntu 15.10).
-
@BRRABill Mine built / loaded without issue. Did you try manually resolving the issue with
npm rebuild node-sass
? I'm guessing that you need to be in\opt\xo-web
before issuing.