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.

    cannot get Raspberry pi 2 to run

    Scheduled Pinned Locked Moved Solved Troubleshooting
    39 Posts 2 Posters 11.1k 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.
    • T Offline
      theaddies @sdetweil
      last edited by theaddies

      @sdetweil The screen has been black for an hour. When i reboot, the first thing I see is the MagicMirror logo. That is different than before. Before it booted into the raspian desktop and then the magicmirror loaded. It did take a while. Now, as I said above, I see the MagicMirror logo it seems to be loading and then the screen goes blank. It does not come back. ssh works, but the keyboard and mouse on the pi itself will not wake it up.

      I did see the correct screen after I ran the command below, but I can’t do that now.

      DISPLAY=:0 npm start
      
      S 4 Replies Last reply Reply Quote 0
      • S Offline
        sdetweil @theaddies
        last edited by

        @theaddies pm2 is not working for autostart for some reason

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @theaddies reboot, then run the fixuppm2 script from my scripts page…

          let me know

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

            @theaddies ok, I was able to reproduce the problem

            after reboot do this

            pm2 startup

            it will return a command to execute

            copy paste that command and hit enter

            it worked for me to manually enter the command

            i opened this issue in pm2
            https://github.com/Unitech/pm2/issues/5582

            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 @theaddies
              last edited by

              @theaddies i updated the install script to fail if the system is bullseye and this is an armv6l device

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • T Offline
                theaddies @sdetweil
                last edited by

                @sdetweil I cannot get the pi to display anything via hdmi. my only access to it now is via ssh.

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

                  @theaddies eh? not even the desktop?

                  I installed fresh on my pi0w, (all via ssh) and after fixing the pm2 issue it autostarts mm as expected

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  T 1 Reply Last reply Reply Quote 0
                  • T Offline
                    theaddies @sdetweil
                    last edited by

                    @sdetweil I just followed the procedure on a pi4 and everything worked great.

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

                      @theaddies cool

                      my pi0w test

                      flash sd card with legacy full desktop, 32gb sd card
                      edit the wap_supplicant file to enable wifi
                      boot
                      auto run update
                      enable ssh
                      change machine name (add a 0) (have others running on the network , pi3, pi4, pi42…)

                      reboot

                      logon via ssh

                      paste my install script url
                      run
                      select yes to pm2
                      select yes to screen saver off

                      pm2 install failed
                      fixuppm2 script failed

                      reboot

                      logon via ssh
                      run the pm2 startup command
                      copy/paste the output to execute pm2 setup again
                      worked this time
                      run fixuppm2 to add mm as an app…

                      mm starts

                      reboot

                      mm starts

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      T 1 Reply Last reply Reply Quote 0
                      • T Offline
                        theaddies @sdetweil
                        last edited by theaddies

                        @sdetweil I am loathed to start the pi2 over again for the fourth time. here is what I have right now. I think I got MagicMirror and mm removed from the pm2. I installed mm when I thought things were not working.
                        41751be5-514e-4c1e-a149-5a6cfe629561-image.png

                        The HDMI output still does not work. I was thinking now I would run the pm2 startup command although I am sure I already did it and then I would run fixuppm2.

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