ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Xen Orchestra on Ubuntu 15.10 - Complete installation instructions

    IT Discussion
    how to xen orchestra ubuntu 15.10 debian xen open source ubuntu linux xenserver
    24
    609
    281.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      brandon @DustinB3403
      last edited by

      @DustinB3403 Here is my error:

      index generated src/common/intl/locales/index.js
      [16:01:46] Using gulpfile /opt/xo-web/gulpfile.js
      [16:01:46] Starting 'build'...
      [16:01:46] Starting 'buildPages'...
      [16:01:46] Starting 'buildScripts'...
      [16:01:46] Starting 'buildStyles'...
      [16:01:46] Starting 'copyAssets'...
      [16:01:51] 'buildStyles' errored after 5.51 s
      [16:01:51] Error: ENOENT: no such file or directory, scandir '/opt/xo-web/node_modules/node-sass/vendor'
      at Object.fs.readdirSync (fs.js:871:18)
      at Object.getInstalledBinaries (/opt/xo-web/node_modules/node-sass/lib/extensions.js:122:13)
      at foundBinariesList (/opt/xo-web/node_modules/node-sass/lib/errors.js:20:15)
      at foundBinaries (/opt/xo-web/node_modules/node-sass/lib/errors.js:15:5)
      at Object.module.exports.missingBinary (/opt/xo-web/node_modules/node-sass/lib/errors.js:45:5)
      at module.exports (/opt/xo-web/node_modules/node-sass/lib/binding.js:15:30)
      at Object.<anonymous> (/opt/xo-web/node_modules/node-sass/lib/index.js:14:35)
      at Module._compile (module.js:571:32)
      at Object.Module._extensions..js (module.js:580:10)
      at Module.load (module.js:488:32)
      [16:01:51] 'build' errored after 5.53 s
      [16:01:51] The following tasks did not complete: buildPages, buildScripts, copyAssets
      [16:01:51] Did you forget to signal async completion?

      npm ERR! Linux 4.2.0-16-generic
      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! xo-web@5.5.3 build: npm run build-indexes && NODE_ENV=production gulp build
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the xo-web@5.5.3 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.log

      1 Reply Last reply Reply Quote 0
      • D
        DustinB3403
        last edited by

        Did you run the installer as root?

        B 2 Replies Last reply Reply Quote 1
        • B
          brandon @DustinB3403
          last edited by

          @DustinB3403 Yes I did: sudo su, sudo ./script

          D 1 Reply Last reply Reply Quote 0
          • B
            brandon @DustinB3403
            last edited by

            @DustinB3403 Should I install 16 lts?

            1 Reply Last reply Reply Quote 0
            • D
              DustinB3403
              last edited by

              You said you're running Debian 8? Can you try the installer with Ubuntu 16.10? (never LTS)

              My original system is based on Debian 7 and I'm a bit to busy to build a debain 8 system.

              B 2 Replies Last reply Reply Quote 0
              • B
                brandon @DustinB3403
                last edited by

                @DustinB3403 I tried on Debian 8 but I failed, I have a 7.8? I am running ubuntu 15 and why not lts, I know they don't do the hole long time support thing but is there something wrong with the lts?

                D 1 Reply Last reply Reply Quote 0
                • D
                  DustinB3403 @brandon
                  last edited by

                  @brandon said in Xen Orchestra on Ubuntu 15.10 - Complete installation instructions:

                  @DustinB3403 I tried on Debian 8 but I failed, I have a 7.8? I am running ubuntu 15 and why not lts, I know they don't do the hole long time support thing but is there something wrong with the lts?

                  LTS is a marketing campaign (more or less). Just run the proper server and stay up to date with that.

                  1 Reply Last reply Reply Quote 1
                  • B
                    brandon @DustinB3403
                    last edited by

                    @DustinB3403 Downloading 16.10 doesnt matter that the OS is 64 bit?

                    D 1 Reply Last reply Reply Quote 0
                    • D
                      DustinB3403 @brandon
                      last edited by

                      @brandon said in Xen Orchestra on Ubuntu 15.10 - Complete installation instructions:

                      @DustinB3403 Downloading 16.10 doesnt matter that the OS is 64 bit?

                      It only depends if your hardware isn't 64-bit...

                      B 1 Reply Last reply Reply Quote 0
                      • B
                        brandon @DustinB3403
                        last edited by

                        @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?

                        D 1 Reply Last reply Reply Quote 0
                        • D
                          DustinB3403 @brandon
                          last edited by

                          @brandon Yes I installed maybe 2 weeks ago on 16.10 (server)

                          B 1 Reply Last reply Reply Quote 0
                          • B
                            brandon @DustinB3403
                            last edited by

                            @DustinB3403 Okay will be a clean server install so the script will install everything needed?

                            D 1 Reply Last reply Reply Quote 0
                            • D
                              DustinB3403 @brandon
                              last edited by

                              @brandon it should.

                              1 Reply Last reply Reply Quote 0
                              • D
                                Danp @brandon
                                last edited by

                                @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
                                
                                B 2 Replies Last reply Reply Quote 1
                                • B
                                  brandon @Danp
                                  last edited by

                                  @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.

                                  1 Reply Last reply Reply Quote 0
                                  • B
                                    brandon @Danp
                                    last edited by

                                    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 coffee-script@1.12.2 should be installed with -g
                                    npm WARN prefer global marked@0.3.6 should be installed with -g
                                    npm WARN prefer global node-gyp@3.5.0 should be installed with -g
                                    npm WARN prefer global node-ninja@1.0.2 should be installed with -g

                                    argon2@0.14.1 install /opt/xo-server/node_modules/argon2
                                    node-gyp rebuild

                                    Killed

                                    1 Reply Last reply Reply Quote 0
                                    • B
                                      brandon
                                      last edited by

                                      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 web

                                      xo-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

                                      xo-web@5.5.3 build /opt/xo-web
                                      npm run build-indexes && NODE_ENV=production gulp build

                                      xo-web@5.5.3 build-indexes /opt/xo-web
                                      index-modules --auto src

                                      index 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
                                      Killed

                                      npm 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! xo-web@5.5.3 build: npm run build-indexes && NODE_ENV=production gulp build
                                      npm ERR! Exit status 137
                                      npm ERR!
                                      npm ERR! Failed at the xo-web@5.5.3 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.log

                                      Does anyone know what to do?

                                      1 Reply Last reply Reply Quote 0
                                      • D
                                        DustinB3403
                                        last edited by DustinB3403

                                        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.

                                        B 1 Reply Last reply Reply Quote 0
                                        • B
                                          brandon @DustinB3403
                                          last edited by

                                          @DustinB3403 Hi DustinB3403, I am copy and pasting from the installation script?
                                          wget https://raw.githubusercontent.com/scottalanmiller/xenorchestra_installer/master/xo_install.sh

                                          D 1 Reply Last reply Reply Quote 0
                                          • D
                                            DustinB3403 @brandon
                                            last edited by DustinB3403

                                            @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.sh

                                            And are you running the script by chmod +x xo_install.sh and then running ./xo_install.sh ?

                                            B 2 Replies Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 8
                                            • 9
                                            • 10
                                            • 11
                                            • 12
                                            • 30
                                            • 31
                                            • 10 / 31
                                            • First post
                                              Last post