PM2 autostart not working
I try start pm2 autostart Magic Mirror try to start, but return Raspi main display.
I see follow error message PM2 logs file:
0|mm | [20057:0516/174947.405746:FATAL:atom_main_delegate.cc(210)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
What going wrong? See follow screen shot:
@VesaLa59 the newer versions of chrome have added support for some protected environment (sandbox), but its very restrictive
run the fixsandbox script from here
bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/fixsandbox)"
Thank you very much.
This help my start up problem.