Read the statement by Michael Teeuw here.
Fixsandbox script not working, unable to run as root
-
Hi,
I’m attempting to run my mirror via pm2 which starts it usingsudo npm start. This presents[27009:0220/162508.956825:FATAL:atom_main_delegate.cc(210)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.as an error, which makes sense.I’ve followed the steps here (https://forum.magicmirror.builders/topic/12906/pm2-autostart-not-working/2) in an attempt to fix the sandbox issue. It prints “fixing sandbox permissions”, but nothing changes when I restart the mirror via pm2 restart.
Thanks in advance
-
@sapblatt11 dont do restart, do stop and start
-
@sdetweil also never use sudo on MagicMirror commands
just
npm start -
my script turns off the need to run in sudo mode
we should never run mm in sudo, or install w sudo
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