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

    BRRABill's Field Report With XenServer

    IT Discussion
    20
    750
    383.8k
    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 @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
                                • scottalanmillerS
                                  scottalanmiller @Dashrender
                                  last edited by

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

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

                                  Only the most talked about programming platform of this decade. NodeJS. The language used to make NodeBB, that we are typing this on right now. Node powers tons of the latest, most up to date stuff. Amazing language and framework.

                                  1 Reply Last reply Reply Quote 0
                                  • scottalanmillerS
                                    scottalanmiller
                                    last edited by

                                    NodeJS is the server side JavaScript framework powered by Google V8.

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

                                      @scottalanmiller

                                      Do you think my issue is fixable, or would you recommend just scrapping the VM and reinstalling XO?

                                      scottalanmillerS 1 Reply Last reply Reply Quote 0
                                      • scottalanmillerS
                                        scottalanmiller @travisdh1
                                        last edited by

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

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

                                        This is what I do, too.

                                        sudo -i su
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • scottalanmillerS
                                          scottalanmiller @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?

                                          You can use NVM.

                                          https://mangolassi.it/topic/5366/getting-nodejs-on-centos-7-with-nvm

                                          BRRABillB 1 Reply Last reply Reply Quote 0
                                          • scottalanmillerS
                                            scottalanmiller @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?

                                            With NVM if you want control over it. With apt-get if you just want the version locked to Ubuntu.

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