Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    PM2 autostart not working

    Troubleshooting
    2
    3
    88
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      VesaLa59 last edited by

      Hello all,

      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:

      Magic_Mirror_pm2_start_problem.PNG

      S 1 Reply Last reply Reply Quote 0
      • S
        sdetweil @VesaLa59 last edited by

        @VesaLa59 the newer versions of chrome have added support for some protected environment (sandbox), but its very restrictive

        run the fixsandbox script from here
        https://github.com/sdetweil/MagicMirror_scripts

        bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/fixsandbox)"
        
        1 Reply Last reply Reply Quote 2
        • V
          VesaLa59 last edited by

          Hi sdetweil,

          Thank you very much.
          This help my start up problem.

          BR.
          -VesaLa59

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy