Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    Newbie

    Troubleshooting
    4
    10
    67
    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.
    • B
      bimmer last edited by

      Hi All

      Newbie here…My Rasberry Pi, needs to be reprogrammed everytime I shut it off. It is an 8gb with a 32gb sd. Can anyone help a newbie?

      Thanks all

      1 Reply Last reply Reply Quote 0
      • JerryP
        JerryP last edited by

        What do you meen whit reprogrammed, the mirror is not booting up or is the hol SD card empty? Where you from?

        B 1 Reply Last reply Reply Quote 0
        • B
          bimmer @JerryP last edited by

          @jerryp

          Hi Jerryp

          Thanks for response. If I shut RPi off it will reboot but not launch magic mirror. I am from USA, Boston area. SD card is brand new

          thx

          JerryP 1 Reply Last reply Reply Quote 0
          • JerryP
            JerryP @bimmer last edited by

            @bimmer
            Ok… so the folder MagicMirror is on the PI.

            in the terminal…

            sudo npm install -g pm2
            2.
            cd ~
            nano mm.sh
            3.
            cd ~/MagicMirror
            DISPLAY=:0 npm start
            4.
            CTRL-O en CTRL-X
            5.
            chmod +x mm.sh
            6.
            sudo pm2 startup systemd -u pi --hp /home/pi
            7.
            now you can fire up the mirror
            pm2 start mm.sh
            8.
            One command
            pm2 save
            9.
            sudo reboot

            Goodluck

            S 1 Reply Last reply Reply Quote 1
            • JerryP
              JerryP last edited by

              Som useful commands MagicMirror:

              Restart the MagicMirror
              pm2 restart mm
              Stop the MagicMirror
              pm2 stop mm
              The Log of the MagicMirror showing
              pm2 logs mm
              MagicMirror proces info
              pm2 show mm

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

                @jerryp use my fixuppm2 script.

                see https://github.com/sdetweil/MagicMirror_scripts

                JerryP Mykle1 2 Replies Last reply Reply Quote 0
                • JerryP
                  JerryP @sdetweil last edited by

                  @sdetweil Why my mirror is running ferry nice.

                  I only offer a way how @bimmer can fix is issue.

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

                    @jerryp i understand. but dont need to issue commands. my script does it all.

                    also included in my install script

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

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • Mykle1
                        Mykle1 Project Sponsor Module Developer @sdetweil last edited by

                        @sdetweil said in Newbie:

                        @jerryp use my fixuppm2 script.

                        Absolutely the best advice. Follow it. Or not, at your peril.

                        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