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.

    Blank black screen | Noob

    Scheduled Pinned Locked Moved Troubleshooting
    44 Posts 12 Posters 55.9k Views 11 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
      spazehorst
      last edited by spazehorst

      Hello @MichMich and everyone!

      First of all big thanks for this really cool project, my bathroom mirror is progressing well ;-)

      Unfortunately I cannot confirm that this issue here is solved.

      After succeeding to set up a Pi 1 with the serveronly feature, I ordered a Pi 3, did almost the same but maybe not thoroughly, thought I messed up, and started over from scratch:

      I ran the automatic installer and left the config.js.sample as it was (this was the lucky move!). I started the mirror with DISPLAY=:0 npm start. The interface shows up and gives the message: please create a config.js file.
      But when I do mv config.js.sample config.js and restart the mirror, I get a black screen. When I now set the language to ‘’, it works as supposed.
      So maybe also one of the default modules messes up (like the “wuforecast”)?
      Anyhow may I suggest to just set the language field blank in the config.js.sample, so that others don’t stumble upon this?

      Thank you and Cheers, Patrick

      PS:
      Pi 3 Model B v1.2
      $uname -a
      Linux raspberrypi 4.4.11-v7+ #888 SMP Mon May 23 20:10:33 BST 2016 armv7l GNU/Linux

      The only commands I ever executed after reinstall were:
      sudo su
      sudo apt-get update && apt-get dist-upgrade -y
      sudo apt-get install -y x11-xserver-utils unclutter matchbox vim
      curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh | bash
      cd MagicMirror/
      DISPLAY=:0 npm start

      MichMichM 1 Reply Last reply Reply Quote 0
      • MichMichM Offline
        MichMich Admin @spazehorst
        last edited by

        @spazehorst could you try it with The sample config? Especially no 3rd party modules.

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          spazehorst @MichMich
          last edited by

          @MichMich well, as I wrote above, I just renamed the sample config which is currently checkd in, never even opened it ;-) That’s why I said it must be one of those default modules…
          (I am sitting on this commit: 5d9d71dee8c300fede321dbafb5ff7aa79f1ea30)
          Cheers

          MichMichM 1 Reply Last reply Reply Quote 0
          • MichMichM Offline
            MichMich Admin @spazehorst
            last edited by

            @spazehorst Please try The develop branch with The latest commit.

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              spazehorst @MichMich
              last edited by spazehorst

              @MichMich Hi, sorry for the late reply, I could now quickly test it and with the sample config of the devel branch (commit e2ed0f5e55c132633bcbd5c7c64159c0aaced571) it works.

              edit: after pulling the master again, it now also works there with language: ‘en’

              Cheers

              1 Reply Last reply Reply Quote 0
              • KirAsh4K Offline
                KirAsh4 Moderator
                last edited by

                It works with the master branch because the update was also pushed to that a few days ago. So you’ll all good. :)

                A Life? Cool! Where can I download one of those from?

                1 Reply Last reply Reply Quote 0
                • axellejamousA Offline
                  axellejamous
                  last edited by

                  Hello!

                  I was wondering if any of you could help me.
                  I’m basically having the exact same issue as this topic, except the “nl to en” fix isn’t working for me. I’m running the MM with it’s basic config file.
                  Runs fine on serveronly, but get a black screen on npm start.

                  I’ve updated everything from my pi to my os to my node modules, but nothing seems to be working. There also don’t seem to be any errors.

                  bheplerB 1 Reply Last reply Reply Quote 0
                  • bheplerB Offline
                    bhepler Module Developer @axellejamous
                    last edited by

                    @axellejamous I want to verify a couple of things, just to be sure.

                    1. You’re running npm start on the Pi itself, not via an SSH connection from another computer.
                    2. Your monitor is hooked up to the Pi via the HDMI port.
                    axellejamousA 1 Reply Last reply Reply Quote 0
                    • axellejamousA Offline
                      axellejamous @bhepler
                      last edited by

                      @bhepler I was! But I manages to fix the issue.
                      When checking npm versions I saw that electron was ver 1.8.1
                      I ended up rolling back to 1.7.9 and it works perfectly!
                      Have no idea why 1.8.1 results in a black screen though.

                      A 1 Reply Last reply Reply Quote 1
                      • A Offline
                        abetterway @axellejamous
                        last edited by

                        @axellejamous I just ran into this black screen issue too.

                        I figured out that the local electron display will only work if the config.js contains:

                          address: "localhost"
                        

                        I was running with the following and getting a black screen

                          address: "::"
                        

                        Instead of using the built in display I am going to launch chromium myself in --kiosk mode. I need the MM to listen on all interfaces so I can see and debug from a separate machine.

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