June 12, 20224 yr Hey so I have an issue right now where I am trying to upgrade my nodered docker container, but when I try to do so within the container, I get the following error: 2022-06-12T19:40:17.485Z [err] npm ERR! Your cache folder contains root-owned files, due to a bug in 2022-06-12T19:40:17.485Z [err] npm ERR! 2022-06-12T19:40:17.485Z [err] previous versions of npm which has since been addressed. 2022-06-12T19:40:17.485Z [err] npm ERR! 2022-06-12T19:40:17.485Z [err] npm 2022-06-12T19:40:17.485Z [err] ERR! To permanently fix this problem, please run: 2022-06-12T19:40:17.485Z [err] npm ERR! sudo chown -R 1000:1000 "/data/.npm" 2022-06-12T19:40:17.496Z [err] 2022-06-12T19:40:17.496Z [err] npm ERR! A complete log of this run can be found in: 2022-06-12T19:40:17.496Z [err] npm ERR! 2022-06-12T19:40:17.496Z [err] /data/.npm/_logs/2022-06-12T19_40_17_488Z-debug.log When I go into the command line, I can see the files within the appdata folder for the docker are owned by multiple different users, including "root" , "nobody", and my personal username. My question is, which user is the best-practice owner for these files in node red? I'm having some difficulties figuring out how to order the item that they said was the error in bash, so I was also wondering if it is ok to just do chown -R within the command line for the folders within the appdata folder?
June 12, 20224 yr Community Expert You can go directly to the correct place for support of any of your dockers by clicking on its icon and selecting the support link
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.