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.

    Magic mirror does not start automatically when booting

    Scheduled Pinned Locked Moved Solved Troubleshooting
    24 Posts 2 Posters 9.5k Views 2 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 Do not disturb
      sdetweil @sil3ntstorm
      last edited by

      @sil3ntstorm my install/upgrade scripts

      https://github.com/sdetweil/MagicMirror_scripts

      that is the (bullseye) image I use as well…
      pi0w gets the legacy (buster) image

      Sam

      How to add modules

      learning how to use browser developers window for css changes

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

        @sdetweil So that I don’t do something wrong for the third time, I’d rather ask carefully: I re-flashed the SD card, now I have to do this first:

        bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/node20_install.sh)”

        And then this: bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)”

        And there is already version 20.8 in there and no longer the defective 20.5.1?

        And then at the end turn off the two things for the screen saver and the autostart thing:
        bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/screensaveroff.sh)”

        and

        bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/fixuppm2.sh)”

        Have I understood everything correctly so far?

        S 1 Reply Last reply Reply Quote 0
        • S Do not disturb
          sdetweil @sil3ntstorm
          last edited by

          @sil3ntstorm

          no

          only raspberry.sh

          it does all the others too.

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            @sdetweil I did it, at the beginning it said version 20.8 and further down it says that 20.5.1 was installed, did something go wrong here?

            b5f4df66-78d7-451b-8d5c-83e81e9605e4-grafik.png

            S 1 Reply Last reply Reply Quote 0
            • S Do not disturb
              sdetweil @sil3ntstorm
              last edited by

              @sil3ntstorm what is going on.?! can u send me the ~/install.log via email
              my name userid at gmail please

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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

                @sdetweil email has been sent

                S 2 Replies Last reply Reply Quote 0
                • S Do not disturb
                  sdetweil @sil3ntstorm
                  last edited by

                  @sil3ntstorm thanks got it… will review

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • S Do not disturb
                    sdetweil @sil3ntstorm
                    last edited by

                    @sil3ntstorm is your mirror working now?

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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

                      @sdetweil No, I re-flashed the SD card and could now reinstall the Magic Mirror software. Should I access my Pi and run this?

                      bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)”

                      Or do I have to do something else beforehand so that the Magic Mirror software is installed correctly?

                      S 1 Reply Last reply Reply Quote 0
                      • S Do not disturb
                        sdetweil @sil3ntstorm
                        last edited by

                        @sil3ntstorm said in Magic mirror does not start automatically when booting:

                        @sdetweil No, I re-flashed the SD card and could now reinstall the Magic Mirror software. Should I access my Pi and run this?

                        bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)”

                        Or do I have to do something else beforehand so that the Magic Mirror software is installed correctly?

                        yes, just run that. it has all the latest fixes and has been tested on bookwork, bullseye and buster

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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

                          @sdetweil That worked very well this time. Magic Mirror finally starts. Thank you very much for your script.
                          I would now like to know whether I can install my modules normally like before, or whether there are still difficulties with calendar modules (I have often read this week that calendar modules cause problems)?

                          I had these modules on it before and would install everything again, or should I leave some out because there are problems with the new MM update/version?

                          0228d839-f99a-432f-b47b-59d9c2ac3c2b-grafik.png

                          Edit: After I rebooted, Magic Mirror doesn’t start automatically, then I entered this command:

                          bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/fixuppm2.sh)”

                          It then starts immediately, but after restarting the Pi starts without MM.

                          50c08bc4-5f7e-484c-a131-ed01d8b1f824-grafik.png

                          S 1 Reply Last reply Reply Quote 0
                          • S Do not disturb
                            sdetweil @sil3ntstorm
                            last edited by

                            @sil3ntstorm yes the pm2 script has done trouble

                            do this

                            pm2 startup
                            

                            it will output a command, copy paste that

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

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

                              @sdetweil
                              Did I do it right? If so, it will appear as a message

                              8617b984-212e-4359-a91d-98fdb926d2ea-grafik.png

                              S 1 Reply Last reply Reply Quote 0
                              • S Do not disturb
                                sdetweil @sil3ntstorm
                                last edited by

                                @sil3ntstorm need all of the command everything that it outputs, you didn’t copy about 30 characters

                                then

                                pm2 start ~/MagicMirror/installers/pm2_MagicMirror.json
                                pm2 save
                                

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

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

                                  @sdetweil

                                  Wooooooooooooow it works, thank you very much

                                  This worked after I typed this:

                                  sudo env PATH=$PATH:/usr/local/bin /usr/local/lib/node_modules/pm2/bin/pm2 startup systemd -u pi --hp /home/pi

                                  then that:

                                  pm2 start ~/MagicMirror/installers/pm2_MagicMirror.json
                                  pm2 save

                                  1 Reply Last reply Reply Quote 1

                                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                  With your input, this post could be even better 💗

                                  Register Login
                                  • 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