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.

    2 MagicMirror windows

    Scheduled Pinned Locked Moved Troubleshooting
    17 Posts 4 Posters 5.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 Offline
      sdetweil @umeeq
      last edited by

      @umeeq mm.sh is located in /home/pi/MagicMirror/installers

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      U 1 Reply Last reply Reply Quote 0
      • U Offline
        umeeq @sdetweil
        last edited by

        @sdetweil Thanks for your response Sam.

        I initially also saw a version in /home/pi, possibly the duplicate.

        I’m still not sure how to boot the correct version of the mm though. Also not sure how I keep setting up two MMs.

        Thanks in advance.

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

          @umeeq pm2 delete one of the apps or copy mm.sh into the MM folder

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          U 1 Reply Last reply Reply Quote 0
          • U Offline
            umeeq @sdetweil
            last edited by

            @sdetweil As in here?

            /home/pi/MagicMirror

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

              @umeeq yes… MM (or mm) = MagicMirror (tired of typing it out all the time)

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              U 1 Reply Last reply Reply Quote 0
              • U Offline
                umeeq @sdetweil
                last edited by

                @sdetweil No worries, I just wasn’t sure where you meant to copy it into.

                I copied it into /home/pi/MagicMirror… ran pm2 start mm.sh and still nothing.

                I can execute the file from the folder location, but cant run pm2 stop mm to stop the app. I ran pm2 show mm and got the result below.

                0_1558318816381_ee85dba4-a53e-435c-805f-82f73472c2ef-image.png

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

                  @umeeq said in 2 MagicMirror windows:

                  pm2 start mm.sh

                  from what folder?

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  U 1 Reply Last reply Reply Quote 0
                  • U Offline
                    umeeq @sdetweil
                    last edited by umeeq

                    @sdetweil Copied from /home/pi/MagicMirror/installers into /home/pi/MagicMirror. Mind you I didn’t delete the original in the installers folder.

                    Bare with me with the hand-holding.

                    bheplerB 1 Reply Last reply Reply Quote 0
                    • bheplerB Offline
                      bhepler Module Developer @umeeq
                      last edited by

                      @umeeq - Looking at your info, the pm2 process is expecting to find the mm.sh file in the folder /home/pi

                      It’s this line: script path /home/pi/mm.sh

                      So move the script to that location.

                      mv /home/pi/MagicMirror/mm.sh /home/pi
                      chmod +x /home/pi/mm.sh
                      
                      U 1 Reply Last reply Reply Quote 3
                      • U Offline
                        umeeq @bhepler
                        last edited by

                        @bhepler This worked, thank you!

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