EACCES error when upgrading to v0.4.12

Imported Question by gareth · Oct 18, 2016 at 07:40 PM

When upgrading to 0.4.12 through Dashboard everything looked good but the instance never recovered. This is in the gardener logs:

error: Module installation failed errno=3, code=EACCES, path=/tmp/npm-3852-3aa66091

Any ideas?

0.4 is ancient and no longer supported

That error indicates a permissions problem when trying to install one of the node modules (api or sentinel). In this case the /tmp directory was incorrect.
It was “drwxr-xr-t” but needs to be “drwxrwxrwt”.
To fix this execute this: “chmod 1777 /tmp”.

2 Likes