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.

    Black Screen after Booting Up

    Scheduled Pinned Locked Moved Troubleshooting
    26 Posts 4 Posters 15.9k Views 4 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.
    • J Offline
      j.e.f.f Project Sponsor Module Developer @nickymac12
      last edited by

      @nickymac12 maybe try connecting a LAN cable. it should work with DHCP by default

      N 1 Reply Last reply Reply Quote 0
      • N Offline
        nickymac12 @j.e.f.f
        last edited by

        @j.e.f.f I was able to connect but it still shows a black screen and I still cannot control it.

        J 1 Reply Last reply Reply Quote 0
        • J Offline
          j.e.f.f Project Sponsor Module Developer @nickymac12
          last edited by

          @nickymac12 is SSH enabled? if so try to connect that way. That will allow you to check MM’s logs

          1 Reply Last reply Reply Quote 0
          • N Offline
            nickymac12
            last edited by

            I am able to connect via SSH now. How do I check the MM’s logs?

            J 2 Replies Last reply Reply Quote 0
            • J Offline
              j.e.f.f Project Sponsor Module Developer @nickymac12
              last edited by

              @nickymac12 type pm2 logs mm

              N 1 Reply Last reply Reply Quote 0
              • J Offline
                j.e.f.f Project Sponsor Module Developer @nickymac12
                last edited by

                @nickymac12 Also, at this point, you can start disabling modules one by one until MM starts. That should help you figure out the culprit.

                1 Reply Last reply Reply Quote 0
                • N Offline
                  nickymac12 @j.e.f.f
                  last edited by

                  @j.e.f.f all it responded with was
                  “Spawning PM2 daemon with pm2_home=/home/pi/.pm2”

                  J 1 Reply Last reply Reply Quote 0
                  • J Offline
                    j.e.f.f Project Sponsor Module Developer @nickymac12
                    last edited by

                    @nickymac12 ok. Try installing the sample config file.
                    Type:

                    cd ~/MagicMirror/config

                    mv config.js config.js.bak (this will back up your existing config)

                    cp config.js.sample config.js

                    pm2 restart mm

                    If magic mirror starts, then you either have a problem with your config or with a module.

                    foxF 1 Reply Last reply Reply Quote 0
                    • N Offline
                      nickymac12
                      last edited by

                      So, unfortunately, I only had an 8gb sd card so I used that in my Pi and it is full so it will not write config.js.sample because there is not enough room…

                      J 1 Reply Last reply Reply Quote 0
                      • J Offline
                        j.e.f.f Project Sponsor Module Developer @nickymac12
                        last edited by

                        @nickymac12 Aha! I’d say that might be your problem. See if you can free up some space, then restore your config file, and restart MM

                        1 Reply Last reply Reply Quote 0
                        • N Offline
                          nickymac12
                          last edited by

                          Oh! How can I clear up space remotely?

                          J 1 Reply Last reply Reply Quote 0
                          • J Offline
                            j.e.f.f Project Sponsor Module Developer @nickymac12
                            last edited by

                            @nickymac12 you can delete files with the rm command. Be careful with this, because it can’t be undone.

                            Say you wanted to delete some pictures you have in a folder in you home directory. Navigate to that directory like so:

                            cd ~/photo-directory-name (whatever the folder name might be)

                            rm file-name.jpg (this will permanently delete the file)

                            You can remove entire directories with the -r switch. Example:

                            rm -r directory-name

                            And be sure to double-check your typing before you hit enter. deleting things this way is not recoverable.

                            1 Reply Last reply Reply Quote 0
                            • N Offline
                              nickymac12
                              last edited by

                              Is there a way to see what directories or files I have so I know what I can delete?

                              J 1 Reply Last reply Reply Quote 0
                              • J Offline
                                j.e.f.f Project Sponsor Module Developer @nickymac12
                                last edited by

                                @nickymac12 yes.

                                Use the ls command to see a list of files in the current directory

                                use the cd command to enter a directory e.g.: cd directory-name

                                use the the command cd .. to go back up to the parent directory

                                the pwd command will tell show the path to the current directory

                                cd ~ will take you your home directory

                                1 Reply Last reply Reply Quote 0
                                • N Offline
                                  nickymac12
                                  last edited by

                                  how would I restore my config file? Sorry I am new to using terminal and don’t really know all the commands.

                                  J 1 Reply Last reply Reply Quote 0
                                  • J Offline
                                    j.e.f.f Project Sponsor Module Developer @nickymac12
                                    last edited by

                                    @nickymac12 type:

                                    cd ~/MagicMirror/config (Takes you to the MM config directory)

                                    mv config.js.bak config.js (Restores your config file)

                                    pm2 restart mm (restarts MagicMirror)

                                    1 Reply Last reply Reply Quote 0
                                    • foxF Offline
                                      fox @j.e.f.f
                                      last edited by

                                      @j.e.f.f said in Black Screen after Booting Up:

                                      @nickymac12 ok. Try installing the sample config file.
                                      Type:

                                      cd ~/MagicMirror/config

                                      mv config.js config.js.bak (this will back up your existing config)

                                      cp config.js.sample config.js

                                      pm2 restart mm

                                      If magic mirror starts, then you either have a problem with your config or with a module.

                                      I checked the sample config. No other modules installed only the original. But i still have a blank screen…
                                      What would you propose?

                                      Issues With MMM-WatchDog known?

                                      https://forum.magicmirror.builders/post/29827

                                      Useful for PIR-Sensor: https://forum.magicmirror.builders/post/21299

                                      J 1 Reply Last reply Reply Quote 0
                                      • J Offline
                                        j.e.f.f Project Sponsor Module Developer @fox
                                        last edited by

                                        @fox I’d suggest backing up your MagicMirror folder (i.e. rename it) and try a fresh install. By renaming it you won’t lose anything.

                                        foxF 1 Reply Last reply Reply Quote 0
                                        • foxF Offline
                                          fox @j.e.f.f
                                          last edited by fox

                                          @j.e.f.f said in Black Screen after Booting Up:

                                          @fox I’d suggest backing up your MagicMirror folder (i.e. rename it) and try a fresh install. By renaming it you won’t lose anything.

                                          I Think so
                                          I just punched the

                                          bash -c "$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh)"
                                          

                                          in the terminal…

                                          @j.e.f.f do you know how i can solve the two pm2 sessions after a fresh install?
                                          With pm2 status i get always two MagicMirror/mm instances.
                                          If i kill one, it comes back after a few seconds

                                          Issues With MMM-WatchDog known?

                                          https://forum.magicmirror.builders/post/29827

                                          Useful for PIR-Sensor: https://forum.magicmirror.builders/post/21299

                                          Mykle1M 1 Reply Last reply Reply Quote 0
                                          • Mykle1M Offline
                                            Mykle1 Project Sponsor Module Developer @fox
                                            last edited by

                                            @fox said in Black Screen after Booting Up:

                                            With pm2 status i get always two MagicMirror/mm instances.
                                            If i kill one, it comes back after a few seconds

                                            type pm2 stop mm or pm2 stop mm.sh in a terminal

                                            Create a working config
                                            How to add modules

                                            1 Reply Last reply Reply Quote 0

                                            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