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

    BRRABill's Field Report With XenServer

    IT Discussion
    20
    750
    382.9k
    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.
    • BRRABillB
      BRRABill
      last edited by

      So, went to log into XO today, it's not accessible. I reboot the server, still not.

      I figure, eh, I'll update the version.

      xoserver updates fine, but xo-web fails with the below messages...

      This is on Ubuntu 16.04

      Is it possible some OS update broke something in my system?

      
      [16:15:17] 'buildStyles' errored after 1.56 s
      [16:15:17] Error: The `libsass` binding was not found in /opt/xo-web/node_modules/node-sass/vendor/linux-x64-48/binding.node
      This usually happens because your node version has changed.
      Run `npm rebuild node-sass` to build the binding for your current node version.
          at Object.sass.getBinaryPath (/opt/xo-web/node_modules/node-sass/lib/extensions.js:158:11)
          at Object.<anonymous> (/opt/xo-web/node_modules/node-sass/lib/index.js:16:36)
          at Module._compile (module.js:541:32)
          at Object.Module._extensions..js (module.js:550:10)
          at Module.load (module.js:458:32)
          at tryModuleLoad (module.js:417:12)
          at Function.Module._load (module.js:409:3)
          at Module.require (module.js:468:17)
          at require (internal/module.js:20:19)
          at Object.<anonymous> (/opt/xo-web/node_modules/gulp-sass/index.js:186:21)
      [16:15:17] 'build' errored after 1.57 s
      [16:15:17] The following tasks did not complete: buildPages, buildScripts, copyAssets
      [16:15:17] Did you forget to signal async completion?
      
      npm ERR! Linux 4.4.0-34-generic
      npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build"
      npm ERR! node v6.2.2
      npm ERR! npm  v3.10.7
      npm ERR! code ELIFECYCLE
      npm ERR! [email protected] build: `npm run build-indexes && NODE_ENV=production gulp build`
      npm ERR! Exit status 1
      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.log
      
      
      1 Reply Last reply Reply Quote 0
      • T
        tiagom
        last edited by

        Has your node version changed?

        BRRABillB 1 Reply Last reply Reply Quote 0
        • BRRABillB
          BRRABill @tiagom
          last edited by

          @tiagom said in BRRABill's Field Report With XenServer:

          Has your node version changed?

          I didn't purposely change anything.

          1 Reply Last reply Reply Quote 0
          • T
            tiagom
            last edited by

            What version of node is installed?

            BRRABillB 1 Reply Last reply Reply Quote 0
            • BRRABillB
              BRRABill @tiagom
              last edited by

              @tiagom said in BRRABill's Field Report With XenServer:

              What version of node is installed?

              v6.2.2

              1 Reply Last reply Reply Quote 0
              • olivierO
                olivier
                last edited by

                This usually happens because your node version has changed.
                Run `npm rebuild node-sass` to build the binding for your current node version.
                

                Did you tried that?

                BRRABillB 1 Reply Last reply Reply Quote 1
                • BRRABillB
                  BRRABill @olivier
                  last edited by

                  @olivier said in BRRABill's Field Report With XenServer:

                  This usually happens because your node version has changed.
                  Run `npm rebuild node-sass` to build the binding for your current node version.
                  

                  Did you tried that?

                  Yes. THat gives me an endless loop of:

                  suring nodedir is created /opt/xo-web/node_modules/node-sass/.node-gyp/6.2.2
                  gyp WARN EACCES user "root" does not have permission to access the dev dir "/opt/xo-web/node_modules/node-sass/.node-gyp/6.2.2"
                  gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/xo-web/node_modules/node-sass/.node-gyp"
                  gyp verb tmpdir == cwd automatically will remove dev files after to save disk space
                  gyp verb command install [ '6.2.2' ]
                  gyp verb install input version string "6.2.2"
                  gyp verb install installing version: 6.2.2
                  gyp verb install --ensure was passed, so won't reinstall if already installed
                  gyp verb install version not already installed, continuing with install 6.2.2
                  gyp verb ensuring nodedir is created /opt/xo-web/node_modules/node-sass/.node-gyp/6.2.2
                  gyp WARN EACCES user "root" does not have permission to access the dev dir "/opt/xo-web/node_modules/node-sass/.node-gyp/6.2.2"
                  gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/xo-web/node_modules/node-sass/.node-gyp"
                  gyp verb tmpdir == cwd automatically will remove dev files after to save disk space
                  gyp verb command install [ '6.2.2' ]
                  gyp verb install input version string "6.2.2"
                  gyp verb install installing version: 6.2.2
                  gyp verb install --ensure was passed, so won't reinstall if already installed
                  gyp verb install version not already installed, continuing with install 6.2.2
                  gyp verb ensuring nodedir is created /opt/xo-web/node_modules/node-sass/.node-gyp/6.2.2
                  gyp WARN EACCES user "root" does not have permission to access the dev dir "/opt/xo-web/node_modules/node-sass/.node-gyp/6.2.2"
                  gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/xo-web/node_modules/node-sass/.node-gyp"
                  gyp verb tmpdir == cwd automatically will remove dev files after to save disk space
                  gyp verb command install [ '6.2.2' ]
                  gyp verb install input version string "6.2.2"
                  gyp verb install installing version: 6.2.2
                  gyp verb install --ensure was passed, so won't reinstall if already installed
                  gyp verb install version not already installed, continuing with install 6.2.2
                  gyp verb ensuring nodedir is created /opt/xo-web/node_modules/node-sass/.node-gyp/6.2.2
                  gyp WARN EACCES user "root" does not have permission to access the dev dir "/opt/xo-web/node_modules/node-sass/.node-gyp/6.2.2"
                  gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/xo-web/node_modules/node-sass/.node-gyp"
                  gyp verb tmpdir == cwd automatically will remove dev files after to save disk space
                  gyp verb command install [ '6.2.2' ]
                  gyp verb install input version string "6.2.2"
                  gyp verb install installing version: 6.2.2
                  gyp verb install --ensure was passed, so won't reinstall if already installed
                  gyp verb install version not already installed, continuing with install 6.2.2
                  gyp verb ensuring nodedir is created /opt/xo-web/node_modules/node-sass/.node-gyp/6.2.2
                  gyp WARN EACCES user "root" does not have permission to access the dev dir "/opt/xo-web/node_modules/node-sass/.node-gyp/6.2.2"
                  gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/xo-web/node_modules/node-sass/.node-gyp"
                  gyp verb tmpdir == cwd automatically will remove dev files after to save disk space
                  gyp verb command install [ '6.2.2' ]
                  gyp verb install input version string "6.2.2"
                  gyp verb install installing version: 6.2.2
                  gyp verb install --ensure was passed, so won't reinstall if already installed
                  gyp verb install version not already installed, continuing with install 6.2.2
                  gyp verb ensuring nodedir is created /opt/xo-web/node_modules/node-sass/.node-gyp/6.2.2
                  gyp WARN EACCES user "root" does not have permission to access the dev dir "/opt/xo-web/node_modules/node-sass/.node-gyp/6.2.2"
                  gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/xo-web/node_modules/node-sass/.node-gyp"
                  gyp verb tmpdir == cwd automatically will remove dev files after to save disk space
                  gyp verb command install [ '6.2.2' ]
                  gyp verb install input version string "6.2.2"
                  gyp verb install installing version: 6.2.2
                  gyp verb install --ensure was passed, so won't reinstall if already installed
                  gyp verb install version not already installed, continuing with install 6.2.2
                  gyp verb ensuring nodedir is created /opt/xo-web/node_modules/node-sass/.node-gyp/6.2.2
                  gyp WARN EACCES user "root" does not have permission to access the dev dir "/opt/xo-web/node_modules/node-sass/.node-gyp/6.2.2"
                  gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/xo-web/node_modules/node-sass/.node-gyp"
                  gyp verb tmpdir == cwd automatically will remove dev files after to save disk space
                  gyp verb command install [ '6.2.2' ]
                  gyp verb install input version string "6.2.2"
                  gyp verb install installing version: 6.2.2
                  gyp verb install --ensure was passed, so won't reinstall if already installed
                  gyp verb install version not already installed, continuing with install 6.2.2
                  gyp verb ensuring nodedir is created /opt/xo-web/node_modules/node-sass/.node-gyp/6.2.2
                  gyp WARN EACCES user "root" does not have permission to access the dev dir "/opt/xo-web/node_modules/node-sass/.node-gyp/6.2.2"
                  gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/xo-web/node_modules/node-sass/.node-gyp"
                  gyp verb tmpdir == cwd automatically will remove dev files after to save disk space
                  gyp verb command install [ '6.2.2' ]
                  gyp verb install input version string "6.2.2"
                  gyp verb install installing version: 6.2.2
                  gyp verb install --ensure was passed, so won't reinstall if already installed
                  gyp verb install version not already installed, continuing with install 6.2.2
                  gyp verb ensuring nodedir is created /opt/xo-web/node_modules/node-sass/.node-gyp/6.2.2
                  gyp WARN EACCES user "root" does not have permission to access the dev dir "/opt/xo-web/node_modules/node-sass/.node-gyp/6.2.2"
                  gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/xo-web/node_modules/node-sass/.node-gyp"
                  gyp verb tmpdir == cwd automatically will remove dev files after to save disk space
                  gyp verb command install [ '6.2.2' ]
                  gyp verb install input version string "6.2.2"
                  gyp verb install installing version: 6.2.2
                  gyp verb install --ensure was passed, so won't reinstall if already installed
                  gyp verb install version not already installed, continuing with install 6.2.2
                  gyp verb ensuring nodedir is created /opt/xo-web/node_modules/node-sass/.node-gyp/6.2.2
                  gyp WARN EACCES user "root" does not have permission to access the dev dir "/opt/xo-web/node_modules/node-sass/.node-gyp/6.2.2"
                  gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/xo-web/node_modules/node-sass/.node-gyp"
                  gyp verb tmpdir == cwd automatically will remove dev files after to save disk space
                  gyp verb command install [ '6.2.2' ]
                  gyp verb install input version string "6.2.2"
                  gyp verb install installing version: 6.2.2
                  gyp verb install --ensure was passed, so won't reinstall if already installed
                  gyp verb install version not already installed, continuing with install 6.2.2
                  gyp verb ensuring nodedir is created /opt/xo-web/node_modules/node-sass/.node-gyp/6.2.2
                  gyp WARN EACCES user "root" does not have permission to access the dev dir "/opt/xo-web/node_modules/node-sass/.node-gyp/6.2.2"
                  gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/xo-web/node_modules/node-sass/.node-gyp"
                  gyp verb tmpdir == cwd automatically will remove dev files after to save disk space
                  gyp verb command install [ '6.2.2' ]
                  gyp verb install input version string "6.2.2"
                  gyp verb install installing version: 6.2.2
                  gyp verb install --ensure was passed, so won't reinstall if already installed
                  gyp verb install version not already installed, continuing with install 6.2.2
                  gyp verb ensuring nodedir is created /opt/xo-web/node_modules/node-sass/.node-gyp/6.2.2
                  gyp WARN EACCES user "root" does not have permission to access the dev dir "/opt/xo-web/node_modules/node-sass/.node-gyp/6.2.2"
                  gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/xo-web/node_modules/node-sass/.node-gyp"
                  gyp verb tmpdir == cwd automatically will remove dev files after to save disk space
                  gyp verb command install [ '6.2.2' ]
                  gyp verb install input version string "6.2.2"
                  gyp verb install installing version: 6.2.2
                  gyp verb install --ensure was passed, so won't reinstall if already installed
                  gyp verb install version not already installed, continuing with install 6.2.2
                  gyp verb ensuring nodedir is created /opt/xo-web/node_modules/node-sass/.node-gyp/6.2.2
                  gyp WARN EACCES user "root" does not have permission to access the dev dir "/opt/xo-web/node_modules/node-sass/.node-gyp/6.2.2"
                  gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/xo-web/node_modules/node-sass/.node-gyp"
                  gyp verb tmpdir == cwd automatically will remove dev files after to save disk space
                  gyp verb command install [ '6.2.2' ]
                  gyp verb install input version string "6.2.2"
                  gyp verb install installing version: 6.2.2
                  gyp
                  1 Reply Last reply Reply Quote 0
                  • olivierO
                    olivier
                    last edited by

                    Beside that Node 6 is not officially supported (only Node LTS, as you can read here: https://xen-orchestra.com/docs/from_the_sources.html) you should remove your node_modules folder and npm i.

                    BRRABillB 2 Replies Last reply Reply Quote 0
                    • BRRABillB
                      BRRABill @olivier
                      last edited by

                      @olivier said in BRRABill's Field Report With XenServer:

                      Beside that Node 6 is not officially supported (only Node LTS, as you can read here: https://xen-orchestra.com/docs/from_the_sources.html) you should remove your node_modules folder and npm i.

                      Other than running Scott's script and running OS updates, I have done nothing else.

                      Could installing an update have installed that?

                      1 Reply Last reply Reply Quote 0
                      • BRRABillB
                        BRRABill
                        last edited by

                        P.S. If I forget to preface commands with sudo one more time......

                        travisdh1T 1 Reply Last reply Reply Quote 0
                        • travisdh1T
                          travisdh1 @BRRABill
                          last edited by

                          @BRRABill said in BRRABill's Field Report With XenServer:

                          P.S. If I forget to preface commands with sudo one more time......

                          sudo -i or sudo su - are you're friends, good job using sudo, now make life easier on yourself and keep the "who ran that command as root" trace at the same time.

                          BRRABillB scottalanmillerS 2 Replies Last reply Reply Quote 1
                          • BRRABillB
                            BRRABill @travisdh1
                            last edited by

                            @travisdh1 said in BRRABill's Field Report With XenServer:

                            sudo -i or sudo su - are you're friends, good job using sudo, now make life easier on yourself and keep the "who ran that command as root" trace at the same time.

                            You going over that in your MC session? 🙂

                            travisdh1T 1 Reply Last reply Reply Quote 0
                            • travisdh1T
                              travisdh1 @BRRABill
                              last edited by travisdh1

                              @BRRABill said in BRRABill's Field Report With XenServer:

                              @travisdh1 said in BRRABill's Field Report With XenServer:

                              sudo -i or sudo su - are you're friends, good job using sudo, now make life easier on yourself and keep the "who ran that command as root" trace at the same time.

                              You going over that in your MC session? 🙂

                              I will now 😉 Slide added to my deck, now I just have to fill it out.

                              1 Reply Last reply Reply Quote 0
                              • BRRABillB
                                BRRABill @olivier
                                last edited by

                                @olivier said in BRRABill's Field Report With XenServer:

                                Beside that Node 6 is not officially supported (only Node LTS, as you can read here: https://xen-orchestra.com/docs/from_the_sources.html) you should remove your node_modules folder and npm i.

                                That allowed both packages to be installed/updated.

                                But XO still will not load. Comes up with "10.0.4.41 refused to connect."

                                Do you think some sort of something in an update hosed it? I can just reinstall from scratch if it's too much work to fix.

                                1 Reply Last reply Reply Quote 0
                                • olivierO
                                  olivier
                                  last edited by

                                  Nope but I'm not surprised npm can trigger this from time to time. That's why we are carefully testing our own packages before any release on XOAs.

                                  BRRABillB 1 Reply Last reply Reply Quote 1
                                  • BRRABillB
                                    BRRABill @olivier
                                    last edited by

                                    @olivier said in BRRABill's Field Report With XenServer:

                                    Nope but I'm not surprised npm can trigger this from time to time. That's why we are carefully testing our own packages before any release on XOAs.

                                    So, at this point, maybe just start over, do you think?

                                    (For me.)

                                    1 Reply Last reply Reply Quote 1
                                    • DashrenderD
                                      Dashrender
                                      last edited by

                                      How did you get node 6? from apt-get or whatever the application update command is for the version you're using?

                                      BRRABillB scottalanmillerS 2 Replies Last reply Reply Quote 0
                                      • BRRABillB
                                        BRRABill @Dashrender
                                        last edited by

                                        @Dashrender said in BRRABill's Field Report With XenServer:

                                        How did you get node 6? from apt-get or whatever the application update command is for the version you're using?

                                        That I do not know.

                                        Like I said, I've done nothing but install XO and use apt-get update and upgrade.

                                        DashrenderD DanpD 2 Replies Last reply Reply Quote 0
                                        • DashrenderD
                                          Dashrender @BRRABill
                                          last edited by

                                          @BRRABill said in BRRABill's Field Report With XenServer:

                                          @Dashrender said in BRRABill's Field Report With XenServer:

                                          How did you get node 6? from apt-get or whatever the application update command is for the version you're using?

                                          That I do not know.

                                          Like I said, I've done nothing but install XO and use apt-get update and upgrade.

                                          OK, so how does one upgrade/update node? oh... and WTH is node?

                                          BRRABillB scottalanmillerS 3 Replies Last reply Reply Quote 0
                                          • BRRABillB
                                            BRRABill @Dashrender
                                            last edited by

                                            @Dashrender said in BRRABill's Field Report With XenServer:

                                            @BRRABill said in BRRABill's Field Report With XenServer:

                                            @Dashrender said in BRRABill's Field Report With XenServer:

                                            How did you get node 6? from apt-get or whatever the application update command is for the version you're using?

                                            That I do not know.

                                            Like I said, I've done nothing but install XO and use apt-get update and upgrade.

                                            OK, so how does one upgrade/update node? oh... and WTH is node?

                                            You're over my pay grade! 🙂

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 37
                                            • 38
                                            • 5 / 38
                                            • First post
                                              Last post