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.

    Can't start MagicMirror

    System
    2
    9
    173
    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.
    • N
      N6NG last edited by

      Can’t start MagicMirror

      I tried to install autostart using PM2 information in the documentation. I was starting MM manually with pm2 start MagicMirror.
      Now I can’t start MagicMirror no matter how I try to do it… I try using my old pm2 start MagicMirror and it doesn’t start then I use the new pm2 start mm.sh and it won’t start. I make sure that I stop all the processes are stopped before I try it but it doesn’t do any good.
      Any suggestions?
      Dennis

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

        @n6ng use my script, fixuppm2.sh

        do
        pm2 stop all
        pm2 delete 0

        then run my script
        see https://github.com/sdetweil/MagicMirror_scripts

        mm.sh is in the installers folder

        Sam

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • N
          N6NG last edited by N6NG

          followed your instructions but when I get to the fixuppm2.sh it says command not found
          And yes, I used your script to install it to start with.
          Dennis

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

            @n6ng u have copy paste the line from the GitHub page

            Sam

            Create a working config
            How to add modules

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

              @n6ng ok, another thing is it’s got an error.

              pm2 stop all

              pm2 logs --lines=50

              cd MagicMirror

              npm start

              see the error
              ctrl-c to exit mm

              Sam

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 0
              • N
                N6NG last edited by

                Ok Sam… thanks
                I resolved the problem by renaming the MagicMirror to oMagicMirror
                I then ran the install script again and moved my modules and config directories over from the oMagicMirror to my new one and its working again… If I run into the problem again, I’ll cp the log information to solve it… Right now it’s running ok again…
                Thanks
                Dennis

                BTW… what does the Reputation -1 listing on my homepage mean… it doesn’t sound good… What caused that and how do I fix it?
                Thanks again…
                Dennis

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

                  @n6ng generally neg rep mess someone downvoted your posts. I looked thru them all and don’t see it myself

                  Sam

                  Create a working config
                  How to add modules

                  1 Reply Last reply Reply Quote 0
                  • N
                    N6NG last edited by

                    Ok… thanks a lot… Believe it or not, I’m actually learning a lot by being in this group… Not bad for a 76 year old guy… Wish I had started this when I was 50 instead of 74… I’d be very smart now… Well thanks for everything. I’ll now find out how to mark this solved and put that under my belt…
                    Dennis

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

                      @n6ng 70 here.

                      as for closing. you didn’t open as the right type so can’t close it

                      Sam

                      Create a working config
                      How to add modules

                      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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy