MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.20.0 is available! For more information about this release, check out this topic.

    SOLVED Magic mirror is not showing up

    Troubleshooting
    4
    37
    496
    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.
    • C
      CoopDog1712 last edited by

      when i try to start the magic mirror using pm2 start mm.sh, it says “Starting /home/pi/mm.sh in fork_mode (1 instance)”
      and then it says
      “Done”
      and then table that this looks like this shows up
      id │ name │ mode │ ↺ │ status │ cpu │ memory │
      ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
      │ 0 │ mm │ fork │ 0 │ online │ 0% │ 2.4mb

      then nothing happens. I have watched countless videos about the whole prossess and i do everything that they do, but after the enter pm2 start mm.sh the table shows up and then the magic mirror page shows up. i dont know what to do

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

        @CoopDog1712 ok, best thing is to use my script to set it up…
        see
        https://github.com/sdetweil/MagicMirror_scripts
        last script on the page

        but in the meantime

        pm2 stop all

        pm2 logs --lines=50

        to see what is going on

        does executing mm.sh work by itself?

        pm2 is really picky… if there is a batch (bash) script, then it MUST be named mm.sh just mm won’t work.

        then pm2 delete 0
        pm2 save -f
        then run my fixuppm2.sh script

        Sam

        Create a working config
        How to add modules

        C 2 Replies Last reply Reply Quote 0
        • C
          CoopDog1712 @sdetweil last edited by

          @sdetweil thank you so much for replying I really appreciate your help.

          On the table that shows up, I see that one of the names is just mm, how would I change it to mm.sh. Also when I run your script all it does is create a new Id on the table, called MagicMirror and it dosent seem to do anything

          1 Reply Last reply Reply Quote 0
          • C
            CoopDog1712 @sdetweil last edited by

            @sdetweil!

            https://share.icloud.com/photos/09aR5ulFMM0L4v-vHL3NDBRNA

            S 2 Replies Last reply Reply Quote 0
            • S
              sdetweil @CoopDog1712 last edited by

              @CoopDog1712 you can’t change and entry, but you can delete it

              pm2 delete 0 or pm2 delete mm

              pm2 logs --lines=50 might tell us what us going on

              pm2 is a command
              pm2 --help will show you all the things you can do

              ps, you can attach pics here… the third icon from the right above the editor here

              Sam

              Create a working config
              How to add modules

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

                @CoopDog1712 i couldnt see much of that image

                Sam

                Create a working config
                How to add modules

                1 Reply Last reply Reply Quote 0
                • C
                  CoopDog1712 @sdetweil last edited by

                  @sdetweil 2022-04-21-142817_1920x1080_scrot.png

                  after typing in pm2 logs --lines=50, all that is coming up is a repeating of these couple lines

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

                    @CoopDog1712 yes, sometimes, the install messes up

                    pm2 stop all
                    cd ~/MagicMirror
                    npm install electron@17.2.0
                    

                    to test

                    cd ~/MagicMirror
                    npm start
                    

                    if all looks good
                    ctrl-c to stop
                    then

                    pm2 start MagicMirror
                    

                    I should have asked, what pi is this on ? not pi 0 w, right?

                    Sam

                    Create a working config
                    How to add modules

                    C 2 Replies Last reply Reply Quote 0
                    • C
                      CoopDog1712 @sdetweil last edited by

                      @sdetweil no its a pi 4

                      1 Reply Last reply Reply Quote 0
                      • C
                        CoopDog1712 @sdetweil last edited by

                        @sdetweil so it works now, and after i enter pm2 start MagicMirror, it loads the software for the magic mirror, the only issue is that their is nothing only a blank screen, no time, weather, nothing. all that comes up is a blank screen. any suggestions?

                        S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 1 / 4
                        • 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