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 60.3k 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.
    • KirAsh4K Offline
      KirAsh4 Moderator
      last edited by

      1. you can only run two separate instances of MM is they are on different ports, and for that to work, you will need two separate installations (in separate folders) because of the config file. They can not share it.
      2. Check on 'pm2' documentations on how to delete any configured startup process

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

      1 Reply Last reply Reply Quote 0
      • A Offline
        Arod192
        last edited by

        Alright so I fixed the problem of the two instances opening but when I run ‘DISPLAY=:0 npm start’ It’s still blank.

        Any ideas on how to fix this? Like I said before it works when I use "node serveronly’

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

          Go back to the beginning. Move your current config.js to something else, like config.js.backup. Then grab the original config.js and try running that, see if it comes up.

          You only need to set the DISPLAY=:0 if you are connecting remotely.

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

          1 Reply Last reply Reply Quote 0
          • A Offline
            Arod192
            last edited by Arod192

            Did it using the sample config and renaming it to config.js. I still get a black screen, but if I do “node serveronly” with the same files it works in my browser.

            I’m getting no errors besides the “No helper found for module” (all of them)

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

              With the default config.js you get a blank screen when you try to run 'npm start' ? If so, what’s the hardware? Have you updated the OS? All variables.

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

              1 Reply Last reply Reply Quote 0
              • A Offline
                Arod192
                last edited by Arod192

                I used the automatic installer located here, https://github.com/MichMich/MagicMirror, and followed every step.
                I’m using a Raspberry Pi 3 Model B.
                I’m running Raspian Jesse 4.4, Node v4.4.3.
                The MagicMirror is up-to-date

                A KirAsh4K 2 Replies Last reply Reply Quote 0
                • A Offline
                  amanzimdwini @Arod192
                  last edited by

                  @Arod192
                  THIS is the setup that worked GREAT for me:
                  https://forum.magicmirror.builders/topic/236/complete-setup-tutorial

                  (Surprised KirAsh4 did not mention it. Follow it step by step; first time around will take you 30 min, but after that you will fly through it). Work. It really does.

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

                    @Arod192, that’s a rather old version of node. When you run the automatic install from MM², it installs a more recent version automatically. You shouldn’t have to do that manually.

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

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

                      @amanzimdwini, I didn’t mention it … yet … because I like to figure out where the problem is, before I tell someone to start from scratch. :)

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

                      A 4 Replies Last reply Reply Quote 0
                      • A Offline
                        Arod192 @KirAsh4
                        last edited by

                        @KirAsh4 Update Node.js and I’m still having the problem

                        1 Reply Last reply Reply Quote 0
                        • A Offline
                          Arod192 @KirAsh4
                          last edited by Arod192

                          @KirAsh4 Okay I just changed the language from en to nl (just to see what’ll happen) and now it works!

                          But now everything is in the “nl” language but when I change it back to “en” the screen is black again

                          1 Reply Last reply Reply Quote 0
                          • A Offline
                            Arod192 @KirAsh4
                            last edited by

                            @KirAsh4 Looks like all languages work but when I change the language to en I get a black screen

                            1 Reply Last reply Reply Quote 0
                            • A Offline
                              Arod192 @KirAsh4
                              last edited by

                              @KirAsh4 Alright I think I fixed it. What I did was I went into the translations folder and I renamed en.js to en-us.js. After that I went into the config and changed en to en-us.

                              1 Reply Last reply Reply Quote 1
                              • R Offline
                                ronny3050 Module Developer
                                last edited by

                                @Arod192 I can confirm this is a bug. Hardcoding ‘en’ in config.js causes black-screen, however, leaving it as ’ ’ or node serveronly runs fine.

                                1 Reply Last reply Reply Quote 0
                                • O Offline
                                  overviewcs
                                  last edited by

                                  noob here reporting same issue and same workaround works for me.

                                  Exact Same issue and hardware and OS as poster. From a clean build, updated all before running MM auto installer as I thought I had made a mistake my first time around.

                                  “used the automatic installer located here, https://github.com/MichMich/MagicMirror, and followed every step.
                                  I’m using a Raspberry Pi 3 Model B.
                                  I’m running Raspian Jesse 4.4, Node v4.4.3.
                                  The MagicMirror is up-to-date”

                                  server nodeonly -works
                                  npm start -does not

                                  changing ‘en’ to ‘’ in config.js works as a workaround. It will now open in electron.

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

                                    Odd bug, as I have two different rpi 3s running just fine with 'en' as the value. This makes me wonder … can any of you paste the contents of your ‘/usr/share/X11/locale/’ folder?

                                    $ sudo ls -aF /usr/share/X11/locale/
                                    

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

                                    1 Reply Last reply Reply Quote 0
                                    • S Offline
                                      smithdsl
                                      last edited by KirAsh4

                                      Hey Everyone,
                                      I was have the same issue. Change from ‘en’ to ’ ’ now it works.
                                      @KirAsh4 this is my “locale” folder.

                                      pi@raspberrypi:~ $ sudo ls -aF /usr/share/X11/locale/
                                      ./            fi_FI.UTF-8/       iso8859-11/  iso8859-6/    ja.SJIS/      locale.dir         sr_CS.UTF-8/   zh_CN.gb18030/    zh_TW.UTF-8/
                                      ../           georgian-academy/  iso8859-13/  iso8859-7/    km_KH.UTF-8/  microsoft-cp1251/  tatar-cyr/     zh_CN.gbk/
                                      am_ET.UTF-8/  georgian-ps/       iso8859-14/  iso8859-8/    ko/           microsoft-cp1255/  th_TH/         zh_CN.UTF-8/
                                      armscii-8/    ibm-cp1133/        iso8859-15/  iso8859-9/    koi8-c/       microsoft-cp1256/  th_TH.UTF-8/   zh_HK.big5/
                                      C/            iscii-dev/         iso8859-2/   iso8859-9e/   koi8-r/       mulelao-1/         tscii-0/       zh_HK.big5hkscs/
                                      compose.dir   isiri-3342/        iso8859-3/   ja/           koi8-u/       nokhchi-1/         vi_VN.tcvn/    zh_HK.UTF-8/
                                      el_GR.UTF-8/  iso8859-1/         iso8859-4/   ja.JIS/       ko_KR.UTF-8/  pt_BR.UTF-8/       vi_VN.viscii/  zh_TW/
                                      en_US.UTF-8/  iso8859-10/        iso8859-5/   ja_JP.UTF-8/  locale.alias  ru_RU.UTF-8/       zh_CN/         zh_TW.big5/
                                      pi@raspberrypi:~ $
                                      

                                      Thanks.

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

                                        And in the EN_US.UTF-8 folder? Is there stuff in there?

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

                                        1 Reply Last reply Reply Quote 0
                                        • S Offline
                                          smithdsl
                                          last edited by

                                          pi@raspberrypi:/usr/share/X11/locale/en_US.UTF-8 $ ls -aF
                                          ./ …/ Compose XI18N_OBJS XLC_LOCALE
                                          pi@raspberrypi:/usr/share/X11/locale/en_US.UTF-8 $

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

                                            Yeah that’s odd, it’s the same on mine, so you do have en_US locale installed on the rpi. But why is MM² failing for you, when it’s working fine for me, that’s a bit of a mystery. If you don’t mind, just for grins, would you care to run through only Step 2 in this post: https://forum.magicmirror.builders/topic/236/complete-setup-tutorial/4, specifically the Internationalization part.

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

                                            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
                                            • 3
                                            • 1 / 3
                                            • 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