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 Offline
      sdetweil @sil3ntstorm
      last edited by

      @sil3ntstorm thanks… the ‘problem’ is that we have a mangled node configuration…

      we asked for node 20.8.0, but got 20.5.1 which is broken

      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 said in Magic mirror does not start automatically when booting:

        20.8.0

        Can I just install 20.8.0 over it or do I have to uninstall the other version? Do you perhaps have suitable instructions for this?

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

          @sil3ntstorm my scripts auto install 20.8.0

          the problem is your system installed 20.5.1 instead…

          we don’t know why yet, and don’t have a reliable fix.

          pm2 can’t run cause node is broken,

          so far the only fix is to rebuild your sd card …

          use my backup script to save your MM config , modules, …
          https://github.com/sdetweil/MagicMirror-backup-restore

          reflash the sd card, use my install script and then restore script…
          (note that you have to get the ~/MM_backup folder to safety… maybe on github …

          the fixes suggested by folks on the node distro group do not work.

          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
            I don’t need the backup because I just flashed the memory card and haven’t installed any modules yet.
            If I re-flash the card now, what instructions should I follow so that version 20.8 is installed and not the defective 20.5.1 again?

            Thanks for your help so far

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

              @sil3ntstorm is it the 64 bit OS, or 32? 64 bit seems to be the biggest trouble spot…

              I would use the 32 bit image

              then run my install script as the first thing…

              we had trouble with the preinstalled node 12 too…

              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

                I flashed this version.

                0940c54f-47e8-45e2-b7f9-85ad53a7711f-grafik.png

                Do you have a link for the installation script?
                I only saw the link for the backup script

                S 1 Reply Last reply Reply Quote 1
                • S Offline
                  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 Offline
                      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 Offline
                          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 Offline
                              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 Offline
                                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 Offline
                                    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 Offline
                                        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 Offline
                                            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

                                            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