MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. cowlam
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    C
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 4
    • Groups 0

    cowlam

    @cowlam

    0
    Reputation
    1
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    cowlam Unfollow Follow

    Latest posts made by cowlam

    • RE: Brand New Install works until I enable PM2 Autostart

      @sdetweil
      After my last post I ran pm2 restart 0 and it restarted MM correctly.
      But after I rebooted it was back to launching the black Electron screen.

      mm.sh looks like this:

      cd ./MagicMirror
      DISPLAY=:0 npm start

      posted in Troubleshooting
      C
      cowlam
    • RE: Brand New Install works until I enable PM2 Autostart

      @sdetweil

      pm2 start mm.sh
      Magic Mirror launches successfully

      pm2 save
      pm2 restart 0 (can confirm that is the correct id from pm2 status - only one entry which is mm)
      Magic Mirror is closed down… and an black Electron window opens and does not change ever after several minutes.
      If I right-click the Electron window and close it, after a few seconds the Magic Mirror launches successfully again on its own.

      posted in Troubleshooting
      C
      cowlam
    • RE: Brand New Install works until I enable PM2 Autostart

      @sdetweil Thank You for the suggestions.

      It launches correctly with “pm2 start mm.sh”.
      But when I then run “pm2 save” and stop mm and start it again it launches the black Electron screen.
      So I then remove it (had to run “pm2 del 0”), and save (pm2 save --force).
      Then I ran “pm2 start mm.sh” again.
      I then ran “pm2 stop mm”.
      Then I ran “pm2 save”.
      I can successfully run “pm2 start mm.sh” after that providing I saved it in the stopped state.
      But that means when the pi reboots it isn’t started automatically.

      posted in Troubleshooting
      C
      cowlam
    • Brand New Install works until I enable PM2 Autostart

      Hi All,

      Newbie here having an issue with new installs where everything works perfectly following the official installation instructions (https://docs.magicmirror.builders/getting-started/installation.html) until I implement PM2.

      I am using Bookworm 64bit desktop on a 3A+ with a 32gb SD. Running “npm run start” launches Magic Mirror on the desktop and all is good.

      But as soon as I try to autostart (https://docs.magicmirror.builders/configuration/autostart.html#using-pm2) when it launches, it is actually launching an empty black Electron app on the desktop. If I close that app then the Magic Mirror 2 app launches and runs fine. It’s completely weird. I have run through this from scratch 3 times and the same issue each time.

      Any help is much appreciated.

      Anthony

      posted in Troubleshooting
      C
      cowlam