Raid + Nginx + NodeJs fails while running "npm install"

  • Hi,


    I use the nginx plugin to serve my dev websites. The websites are stored on a Raid5 build of 3 disks. One of the website uses NodeJS so I installed v8.9.4 (https://nodejs.org/en/download…based-linux-distributions). Afterwards I tried running "npm install" which failed with:


    Digging around I finally found this bug report on node-sass and the proposed solution: https://github.com/sass/node-s…07#issuecomment-255406068


    After updating the /etc/fstab by adding "exec" to the configuration of the Raid, the "npm install" runs fine without any errors.


    All data disks (not only the Raid) are configured this way: defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl,



    Questions:


    :?: Is it save to add this "exec"?
    :?: Why issn't "exec" already added there?
    :?: Will it be removed on some kind of dist upgrade or config change? When is the /etc/fstab updated normally by OMV?
    :?: Is there any other way to set "exec" using the OMV GUI?

  • Thanks a lot, that helped me to get the "exec" permanently (reboot safe).


    To answer by own questions, I think the Raid drive isn't designed to be used as a development drive I guess, its just as plain data storage, which hasn't the need to exec something.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!