MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    PM2 autostart not working

    Scheduled Pinned Locked Moved Troubleshooting
    3 Posts 2 Posters 949 Views 2 Watching
    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 Offline
      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 Offline
        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)"
        

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 2
        • V Offline
          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 Sam, technical setup by Karsten.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy