Xen Orchestra on Ubuntu 15.10 - Complete installation instructions
-
@DustinB3403 Haha okay so it doesnt matter then, okay will install and give feedback. Did you use the install script or did you do go manual with 16.10?
-
@brandon Yes I installed maybe 2 weeks ago on 16.10 (server)
-
@DustinB3403 Okay will be a clean server install so the script will install everything needed?
-
@brandon it should.
-
@brandon said in Xen Orchestra on Ubuntu 15.10 - Complete installation instructions:
@DustinB3403 Yes I did: sudo su, sudo ./script
To ensure that you are using the most recent version of the installation script, it is recommended to install using --
sudo curl https://raw.githubusercontent.com/scottalanmiller/xenorchestra_installer/master/xo_install.sh | bash
-
@Danp Hi Danp I tried to use the script but the new Ubuntu server is just so unstable... Cant install anything then apt crashes and I have to run dpkg --configure -a , while running the script it will randomly stop and say Killed... Busy running the script manually I am currently busy with sudo npm install and npm run build in the ox-server dir. Will give an update if the install is successful or not.... Why is the new Ubuntu such a pain? I use Xubuntu 14.04 as my main driver at home and work and I haven't had any real problem besides the wallpaper reverting back after every reboot but that was minor.
-
Okay so I dont even get as far anymore keep getting "Killed" when I run "sudo npm install" in the xo-server dir...
root@xenorc:/opt# git clone -b stable https://github.com/vatesfr/xo-server
Cloning into 'xo-server'...
remote: Counting objects: 10478, done.
remote: Compressing objects: 100% (59/59), done.
remote: Total 10478 (delta 31), reused 0 (delta 0), pack-reused 10419
Receiving objects: 100% (10478/10478), 2.71 MiB | 959.00 KiB/s, done.
Resolving deltas: 100% (7503/7503), done.
Checking connectivity... done.
root@xenorc:/opt# git clone -b stable https://github.com/vatesfr/xo-web
Cloning into 'xo-web'...
remote: Counting objects: 26052, done.
remote: Compressing objects: 100% (81/81), done.
remote: Total 26052 (delta 33), reused 0 (delta 0), pack-reused 25968
Receiving objects: 100% (26052/26052), 9.20 MiB | 1.41 MiB/s, done.
Resolving deltas: 100% (17340/17340), done.
Checking connectivity... done.
root@xenorc:/opt# cd xo-server
root@xenorc:/opt/xo-server# sudo npm install
^[[B[ ..] - extract:lodash: verb gentlyRm don't care about contennpm WARN prefer global [email protected] should be installed with -g
npm WARN prefer global [email protected] should be installed with -g
npm WARN prefer global [email protected] should be installed with -g
npm WARN prefer global [email protected] should be installed with -g[email protected] install /opt/xo-server/node_modules/argon2
node-gyp rebuildKilled
-
Hi Everyone
Okay installed Debian 7.8, Installation gave me a lot less problems than Ubuntu 16.10, the installation wasn't successful....
Here is the complete installation output of xo-server and webxo-server : http://pastebin.com/yH0MRFpJ
xo-web: http://pastebin.com/XVxXs9gf
Here is my error:
root@xen-orcha:/opt/xo-web# sudo npm run build
[email protected] build /opt/xo-web
npm run build-indexes && NODE_ENV=production gulp build[email protected] build-indexes /opt/xo-web
index-modules --auto srcindex generated src/common/intl/locales/index.js
[13:27:41] Using gulpfile /opt/xo-web/gulpfile.js
[13:27:41] Starting 'build'...
[13:27:41] Starting 'buildPages'...
[13:27:41] Starting 'buildScripts'...
[13:27:41] Starting 'buildStyles'...
[13:27:41] Starting 'copyAssets'...
[13:27:47] Finished 'buildPages' after 6.7 s
[13:27:53] Finished 'buildStyles' after 12 s
[13:27:54] Finished 'copyAssets' after 14 s
Killednpm ERR! Linux 3.2.0-4-amd64
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build"
npm ERR! node v7.4.0
npm ERR! npm v4.0.5
npm ERR! code ELIFECYCLE
npm ERR! [email protected] build:npm run build-indexes && NODE_ENV=production gulp build
npm ERR! Exit status 137
npm ERR!
npm ERR! Failed at the [email protected] build script 'npm run build-indexes && NODE_ENV=production gulp build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the xo-web package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run build-indexes && NODE_ENV=production gulp build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs xo-web
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls xo-web
npm ERR! There is likely additional logging output above.npm ERR! Please include the following file with any support request:
npm ERR! /opt/xo-web/npm-debug.logDoes anyone know what to do?
-
Brandon it looks like you're trying to run the manual installation. Which I haven't updated those instructions in some time.
Use the installation script at the very top of the first post.
-
@DustinB3403 Hi DustinB3403, I am copy and pasting from the installation script?
wget https://raw.githubusercontent.com/scottalanmiller/xenorchestra_installer/master/xo_install.sh -
@brandon said in Xen Orchestra on Ubuntu 15.10 - Complete installation instructions:
@DustinB3403 Hi DustinB3403, I am copy and pasting from the installation script?
wget https://raw.githubusercontent.com/scottalanmiller/xenorchestra_installer/master/xo_install.shAnd are you running the script by
chmod +x xo_install.sh
and then running./xo_install.sh
? -
@DustinB3403 At first I did "sudo su" then chmod 777 xo_install.sh and then sudo ./xo_install.sh script ran and bugged out so I tried copied and paste everything into the terminal
-
@DustinB3403 Debian 7.8 has gotten the closes to installing, Debian 8, Ubuntu 15 and 16 didn't get this far before giving errors
-
@brandon Assuming you still have the Ubuntu 16.10 VM you were working on before.
Did you install curl and bash?
If so did you try this exact command?
sudo curl https://raw.githubusercontent.com/scottalanmiller/xenorchestra_installer/master/xo_install.sh | bash
-
@DustinB3403 Yes I did I can run it again if you like but it will fail
-
I'm troubleshooting some other things for work at the moment. Please create a new post, list what OS you're using and we can proceed from there.
if you connect to the vm with SSH can you log everything into a text file and post it so we can investigate from there.
-
@DustinB3403 Okay I have two VM's Debian 7.8 and Ubuntu 16.10 both are clean installs the only thing I did before running the scripts were apt-get update and upgrade... I removed Ubuntu 15 and Debian 8
The previous error was from Debian 7.8...
I just ran sudo curl https://raw.githubusercontent.com/scottalanmiller/xenorchestra_installer/master/xo_install.sh | bash as the root user on Ubuntu will copy and paste the output as soon as it is done, it looks like the script is at npm install & rebuild part in the xo-server dir
-
@brandon Using putty on windows you can have it output everything into a log file so you don't have to try and scroll for the info.
-
@DustinB3403 Haha sorry I don't use Windows... but will log the output
-
@brandon Well, any output tool works.
That was just the first tool to pop to mind.