• 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.

MagicMirror no longer launches

Scheduled Pinned Locked Moved Unsolved Troubleshooting
38 Posts 4 Posters 6.0k 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.
  • M Offline
    mumblebaj Module Developer @RIKKO14
    last edited by Apr 20, 2024, 9:56 AM

    @RIKKO14 I know Sam would want to have a look at the upgrade log. Can you check that for any errors? I think it is in the installers directory.

    Check out my modules at: https://github.com/mumblebaj?tab=repositories
    Check my blog-post: https://mumblebaj.xyz/

    1 Reply Last reply Reply Quote 0
    • M Offline
      mumblebaj Module Developer @RIKKO14
      last edited by Apr 20, 2024, 9:58 AM

      @RIKKO14 Also, are there any errors where you start MM? If you start it using pm2 then the pm2 logs need to be checked. If NPM then check the terminal where you run npm from.

      Check out my modules at: https://github.com/mumblebaj?tab=repositories
      Check my blog-post: https://mumblebaj.xyz/

      R 1 Reply Last reply Apr 20, 2024, 10:15 AM Reply Quote 0
      • R Offline
        RIKKO14 @mumblebaj
        last edited by Apr 20, 2024, 10:15 AM

        @mumblebaj sorry I don’t anderstand what to do… can you give the scrip to write in my terminal ?

        M 1 Reply Last reply Apr 20, 2024, 11:07 AM Reply Quote 0
        • M Offline
          mumblebaj Module Developer @RIKKO14
          last edited by Apr 20, 2024, 11:07 AM

          @RIKKO14 How do you start MagicMirror?

          Check out my modules at: https://github.com/mumblebaj?tab=repositories
          Check my blog-post: https://mumblebaj.xyz/

          R 1 Reply Last reply Apr 20, 2024, 11:16 AM Reply Quote 0
          • R Offline
            RIKKO14 @mumblebaj
            last edited by Apr 20, 2024, 11:16 AM

            @mumblebaj with pm2

            M 1 Reply Last reply Apr 20, 2024, 11:21 AM Reply Quote 0
            • M Offline
              mumblebaj Module Developer @RIKKO14
              last edited by Apr 20, 2024, 11:21 AM

              @RIKKO14 You should then be able to run pm2 logs --lines 50 and that should return the details from the pm2 log. Hopefully it has any error details.

              Check out my modules at: https://github.com/mumblebaj?tab=repositories
              Check my blog-post: https://mumblebaj.xyz/

              S 1 Reply Last reply Apr 20, 2024, 11:44 AM Reply Quote 0
              • S Offline
                sdetweil @mumblebaj
                last edited by sdetweil Apr 20, 2024, 1:01 PM Apr 20, 2024, 11:44 AM

                @RIKKO14 because MagicMirror now uses a pm2 library inside, we have a version conflict…(I think)

                do

                sudo npm install pm2 -g
                

                then reboot

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                R 1 Reply Last reply Apr 21, 2024, 10:45 AM Reply Quote 0
                • R Offline
                  RIKKO14 @sdetweil
                  last edited by Apr 21, 2024, 10:45 AM

                  @sdetweil So, I do :

                  sudo npm install pm2 -g
                  
                  

                  Sans titre.png
                  then I reboot my Pi but the problem stile the same, I Have this screen :
                  Sans titre.png

                  S 1 Reply Last reply Apr 21, 2024, 11:53 AM Reply Quote 0
                  • S Offline
                    sdetweil @RIKKO14
                    last edited by sdetweil Apr 21, 2024, 11:54 AM Apr 21, 2024, 11:53 AM

                    @RIKKO14 your second screen is only the top.
                    open a terminal window and
                    do

                    pm2 stop all
                    pm2 flush 
                    pm2 status
                    

                    should show MagicMirror as the pgm to run

                    then do

                    pm2 start MagicMirror 
                    

                    wait

                    does it appear on screen?

                    if not do

                    pm2 stop all
                    pm2 logs --lines=50 >somefile.txt 
                     ctrl-c to stop log output
                    

                    show content of somefile.txt here

                    BR CAREFUL some log info will expose your calendar url…
                    edit somefile.txt and xxx out the private part.of url

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    R 1 Reply Last reply Apr 22, 2024, 4:35 PM Reply Quote 0
                    • R Offline
                      RIKKO14 @sdetweil
                      last edited by RIKKO14 Apr 22, 2024, 4:36 PM Apr 22, 2024, 4:35 PM

                      @sdetweil

                      pi@raspberrypi:~ $ pm2 stop all
                      pm2 flush 
                      pm2 status
                      
                      >>>> In-memory PM2 is out-of-date, do:
                      >>>> $ pm2 update
                      In memory PM2 version: 5.2.2
                      Local PM2 version: 5.3.1
                      
                      [PM2] Applying action stopProcessId on app [all](ids: [ 0 ])
                      [PM2] [MagicMirror](0) ✓
                      ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
                      │ id │ name               │ mode     │ ↺    │ status    │ cpu      │ memory   │
                      ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
                      │ 0  │ MagicMirror        │ fork     │ 567… │ stopped   │ 0%       │ 0b       │
                      └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
                      [PM2] Flushing /home/pi/.pm2/pm2.log
                      
                      >>>> In-memory PM2 is out-of-date, do:
                      >>>> $ pm2 update
                      In memory PM2 version: 5.2.2
                      Local PM2 version: 5.3.1
                      
                      [PM2] Flushing:
                      [PM2] /home/pi/.pm2/logs/MagicMirror-out.log
                      [PM2] /home/pi/.pm2/logs/MagicMirror-error.log
                      [PM2] Logs flushed
                      
                      >>>> In-memory PM2 is out-of-date, do:
                      >>>> $ pm2 update
                      In memory PM2 version: 5.2.2
                      Local PM2 version: 5.3.1
                      
                      ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
                      │ id │ name               │ mode     │ ↺    │ status    │ cpu      │ memory   │
                      ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
                      │ 0  │ MagicMirror        │ fork     │ 567… │ stopped   │ 0%       │ 0b       │
                      └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
                      pi@raspberrypi:~ $ pm2 start MagicMirror 
                      
                      >>>> In-memory PM2 is out-of-date, do:
                      >>>> $ pm2 update
                      In memory PM2 version: 5.2.2
                      Local PM2 version: 5.3.1
                      
                      [PM2] Applying action restartProcessId on app [MagicMirror](ids: [ 0 ])
                      [PM2] [MagicMirror](0) ✓
                      [PM2] Process successfully started
                      ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
                      │ id │ name               │ mode     │ ↺    │ status    │ cpu      │ memory   │
                      ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
                      │ 0  │ MagicMirror        │ fork     │ 567… │ online    │ 0%       │ 2.7mb    │
                      └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
                      pi@raspberrypi:~ $ pm2 stop all
                      pm2 logs --lines=50 >somefile.txt 
                       ctrl-c to stop log output
                      
                      >>>> In-memory PM2 is out-of-date, do:
                      >>>> $ pm2 update
                      In memory PM2 version: 5.2.2
                      Local PM2 version: 5.3.1
                      [PM2] Applying action stopProcessId on app [all](ids: [ 0 ])
                      [PM2] [MagicMirror](0) ✓
                      ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
                      │ id │ name               │ mode     │ ↺    │ status    │ cpu      │ memory   │
                      ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
                      │ 0  │ MagicMirror        │ fork     │ 567… │ stopped   │ 0%       │ 0b       │
                      └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
                      
                      
                      
                      
                      S 1 Reply Last reply Apr 22, 2024, 4:44 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 1 / 4
                      1 / 4
                      • First post
                        8/38
                        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