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 with some modules + linux-armv Error

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    14 Posts 3 Posters 4.6k Views 3 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
      JohnGalt
      last edited by

      New install, using Sam D’s install script on buster: It runs OK with default modules as well as MMM-Worldclock [the MM displays on the local monitor, as well as from another machine using the browser]. When I enable either MMM-BackgroundSlideshow or MMM-DynamicWeather I get both a black screen on the local display as well as the web server stops as evidenced by being unable to connect in a browser from another machine. The first thing that catches my eye in the logs is an error that the linux-armv7 binaries cannot be used on the linux-armdefault platform. I am running on a Raspberry Pi 4. Any ideas of what went wrong?

      Logs output:

      /home/pi/.pm2/logs/MagicMirror-error.log last 15 lines:
      0|MagicMir |     at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-BackgroundSlideshow/node_modules/sharp/lib/index.js:3:15)
      0|MagicMir | [03.01.2022 18:15.55.981] [ERROR] Whoops! There was an uncaught exception...
      0|MagicMir | [03.01.2022 18:15.55.985] [ERROR] Error: 'linux-armv7' binaries cannot be used on the 'linux-armvdefault' platform. Please remove the 'node_modules/sharp' directory and run 'npm install' on the 'linux-armvdefault' platform.
      0|MagicMir |     at Object.hasVendoredLibvips (/home/pi/MagicMirror/modules/MMM-BackgroundSlideshow/node_modules/sharp/lib/libvips.js:82:13)
      0|MagicMir |     at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-BackgroundSlideshow/node_modules/sharp/lib/constructor.js:7:22)
      0|MagicMir |     at Module._compile (node:internal/modules/cjs/loader:1116:14)
      0|MagicMir |     at Object.Module._extensions..js (node:internal/modules/cjs/loader:1169:10)
      0|MagicMir |     at Module.load (node:internal/modules/cjs/loader:988:32)
      0|MagicMir |     at Module._load (node:internal/modules/cjs/loader:829:12)
      0|MagicMir |     at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
      0|MagicMir |     at Module.require (node:internal/modules/cjs/loader:1012:19)
      0|MagicMir |     at require (node:internal/modules/cjs/helpers:94:18)
      0|MagicMir |     at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-BackgroundSlideshow/node_modules/sharp/lib/index.js:3:15)
      0|MagicMir | [03.01.2022 18:15.55.986] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      0|MagicMir | [03.01.2022 18:15.55.987] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      
      /home/pi/.pm2/logs/MagicMirror-out.log last 15 lines:
      0|MagicMir | [03.01.2022 18:15.55.860] [LOG]   No helper found for module: MMM-Worldclock.
      0|MagicMir | [03.01.2022 18:15.55.862] [LOG]   No helper found for module: MMM-DynamicWeather.
      0|MagicMir | [03.01.2022 18:15.55.960] [LOG]   Loading module helpers ...
      0|MagicMir | [03.01.2022 18:15.55.962] [LOG]   No helper found for module: alert.
      0|MagicMir | [03.01.2022 18:15.55.963] [LOG]   Initializing new module helper ...
      0|MagicMir | [03.01.2022 18:15.55.964] [LOG]   Module helper loaded: updatenotification
      0|MagicMir | [03.01.2022 18:15.55.965] [LOG]   No helper found for module: clock.
      0|MagicMir | [03.01.2022 18:15.55.966] [LOG]   Initializing new module helper ...
      0|MagicMir | [03.01.2022 18:15.55.966] [LOG]   Module helper loaded: calendar
      0|MagicMir | [03.01.2022 18:15.55.968] [LOG]   No helper found for module: weather.
      0|MagicMir | [03.01.2022 18:15.55.968] [LOG]   Initializing new module helper ...
      0|MagicMir | [03.01.2022 18:15.55.969] [LOG]   Module helper loaded: newsfeed
      0|MagicMir | [03.01.2022 18:15.55.970] [LOG]   No helper found for module: MMM-Worldclock.
      0|MagicMir | [03.01.2022 18:15.55.972] [LOG]   No helper found for module: MMM-DynamicWeather.
      0|MagicMir | [03.01.2022 18:15.57.473] [LOG]   Launching application.
      
      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @JohnGalt
        last edited by

        @johngalt said in Black Screen with some modules + linux-armv Error:

        MMM-BackgroundSlideshow

        yes, this module uses a library,

        MMM-BackgroundSlideshow/node_modules/sharp

        which has a problem now on 32bit systems…

        is reported in the module github… no fix found yet

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • J Offline
          JohnGalt
          last edited by

          Sam - thanks. Do you happen to know whether this is also true for MMM-DynamicWeather?

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

            @johngalt looking at the code and package.json

            its this
            https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • J Offline
              JohnGalt
              last edited by

              @sdetweil - thanks. I may just disable the two offending modules for now, and then dig thru that post.

              BKeyportB 1 Reply Last reply Reply Quote 0
              • BKeyportB Offline
                BKeyport Module Developer @JohnGalt
                last edited by

                @johngalt Disable Background slideshow, then dig through the post - dynamic weather will work after you do the steps in the post.

                The "E" in "Javascript" stands for "Easy"

                J 1 Reply Last reply Reply Quote 0
                • J Offline
                  JohnGalt
                  last edited by

                  @ BKeyport - thanks. I’ve disabled that module and found one that works. I will work on the MMM-DynamicWeather, hopefully today. Thanks to you and Sam for the support!

                  BKeyportB 1 Reply Last reply Reply Quote 0
                  • BKeyportB Offline
                    BKeyport Module Developer @JohnGalt
                    last edited by

                    @johngalt What did you end up using for the background? I’m in the same boat.

                    The "E" in "Javascript" stands for "Easy"

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

                      @bkeyport I use MMM-ImagesPhotos, I added some stuff to retain the image aspect ratio, not cover or contain which both distort the image… then added support for color or blur fill outside the image…

                      loads from a folder in the module folder (altho that can be a link to wherever, I link it to my file server)

                      https://github.com/sdetweil/MMM-ImagesPhotos

                      my uploadPics module will take images from your qr connected device and put them in whatever image storage location u like (it defaults to the ImagesPhotos location (‘uploads’)
                      https://github.com/sdetweil/uploadPics

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • J Offline
                        JohnGalt
                        last edited by

                        I am trying MMM-SimpleBGSlideshow, but may try the one Sam is using. I do have this one up an running, but it appears to have limited functionality.

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

                          @johngalt said in Black Screen with some modules + linux-armv Error:

                          but it appears to have limited functionality.

                          what function are u looking for?

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          J 1 Reply Last reply Reply Quote 0
                          • J Offline
                            JohnGalt @sdetweil
                            last edited by

                            @sdetweil - the documentation indicates ‘It does not do recursive search of image folders’, which I would prefer. The author also indicates he cut out features from the module he forked, but didn’t specify what features. As I said, time will tell whether I stick with it, or give another a try.

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

                              @johngalt ok. this one also does not recurse.

                              it could be added of course

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              1 Reply Last reply Reply Quote 0
                              • J Offline
                                JohnGalt @BKeyport
                                last edited by

                                @bkeyport and Sam: thanks for the inputs. I went through my logs and the referenced thread, and now do have DynamicWeather working. Much appreciated!

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