4.41.0 -> Directory permissions issues (same as update 4.40.0)
-
@girish - experiencing same file/dir permission issues in 4.41.0 as we had in 4.40.0
(https://forum.cloudron.io/topic/15892/broken-update-n8n-to-2.36.8/)
Sep 08 07:01:24 ⠙⠹⠸⠼npm error code EACCES Sep 08 07:01:24 ⠼npm error syscall mkdir Sep 08 07:01:24 ⠼npm error path /home/cloudron/.npm/_cacache/tmp Sep 08 07:01:24 ⠼npm error errno EACCES Sep 08 07:01:24 ⠼npm error Sep 08 07:01:24 npm error Your cache folder contains root-owned files, due to a bug in previous versions of npm which has since been addressed. Sep 08 07:01:24 npm error Sep 08 07:01:24 npm error To permanently fix this problem, please run: Sep 08 07:01:24 npm error sudo chown -R 1000:1000 "/home/cloudron/.npm" Sep 08 07:01:24 ⠼npm notice Sep 08 07:01:24 npm notice New major version of npm available! 11.17.0 -> 12.0.2 Sep 08 07:01:24 npm notice Changelog: https://github.com/npm/cli/releases/tag/v12.0.2 Sep 08 07:01:24 npm notice To update run: npm install -g npm@12.0.2 Sep 08 07:01:24 npm notice Sep 08 07:01:24 ⠼npm error Log files were not written due to an error writing to the directory: /home/cloudron/.npm/_logs Sep 08 07:01:24 npm error You can rerun the command with `--loglevel=verbose` to see the logs in your terminal Sep 08 07:01:24 ⠼reverting ro 4.40.1 in the meantime
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
Well, lesson learnt. I have put tests in place now so that this doesn't happen again.