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?
-
@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
-
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 andnpm i
. -
@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 andnpm i
.Other than running Scott's script and running OS updates, I have done nothing else.
Could installing an update have installed that?
-
P.S. If I forget to preface commands with sudo one more time......
-
@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.
-
@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?
-
@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.
-
@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 andnpm 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.
-
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. -
@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.)
-
How did you get node 6? from apt-get or whatever the application update command is for the version you're using?
-
@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.
-
@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?
-
@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!
-
@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.
-
NodeJS is the server side JavaScript framework powered by Google V8.
-
Do you think my issue is fixable, or would you recommend just scrapping the VM and reinstalling XO?
-
@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
-
@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