• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

MM won't launch at startup, but will launch manually

Scheduled Pinned Locked Moved Solved Troubleshooting
13 Posts 3 Posters 1.8k Views 3 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.
  • S Away
    sdetweil @ajgonzales
    last edited by sdetweil Jun 2, 2024, 1:19 PM Jun 2, 2024, 1:17 PM

    @ajgonzales yeh 24.04

    pm2 has an issue on 24.04 during boot up. I opened an issue a couple weeks ago.
    https://github.com/Unitech/pm2/issues/5820

    I think you are also running the new Wayland display manager…

    to verify

    ps -ef | grep wayfire
    

    so x11 commands won’t work

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    1 Reply Last reply Reply Quote 0
    • M Offline
      majsoft
      last edited by Oct 28, 2024, 5:06 PM

      Hi, this is how I’m running it for now, maybe it will help someone.

      I will install PM2 according to the instructions

      I will skip the command “pm2 startup”

      After installation i proceed like this

      i will create another boot file

      cd ~
      nano mm_start.sh
      

      Add the following lines:

      echo Start PM2......
      pm2 start mm.sh
      read;
      

      set permissions

      chmod +x mm_start.sh
      

      we will set up the script after booting Ubuntu

      Screenshot_5.jpg

      now i can start and stop services at will.

      S 1 Reply Last reply Oct 28, 2024, 6:35 PM Reply Quote 2
      • S Away
        sdetweil @majsoft
        last edited by Oct 28, 2024, 6:35 PM

        @majsoft cool. don’t know if we have that on other systems

        sometimes if you do

        sudo npm remove pm2 -g
        

        then reboot and run the fixuppm2 script in my scripts list

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • S sdetweil has marked this topic as solved on Oct 28, 2024, 6:36 PM
        • 1
        • 2
        • 2 / 2
        • 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