• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 2.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 Jan 4, 2022, 3:35 PM

    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 Jan 4, 2022, 3:37 PM Reply Quote 0
    • S Offline
      sdetweil @JohnGalt
      last edited by Jan 4, 2022, 3:37 PM

      @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 Jan 4, 2022, 3:41 PM

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

        S 1 Reply Last reply Jan 4, 2022, 4:13 PM Reply Quote 0
        • S Offline
          sdetweil @JohnGalt
          last edited by Jan 4, 2022, 4:13 PM

          @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 Jan 6, 2022, 1:53 AM

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

            B 1 Reply Last reply Jan 6, 2022, 6:08 AM Reply Quote 0
            • B Offline
              BKeyport Module Developer @JohnGalt
              last edited by Jan 6, 2022, 6:08 AM

              @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 Jan 11, 2022, 11:54 PM Reply Quote 0
              • J Offline
                JohnGalt
                last edited by Jan 6, 2022, 2:24 PM

                @ 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!

                B 1 Reply Last reply Jan 6, 2022, 8:12 PM Reply Quote 0
                • B Offline
                  BKeyport Module Developer @JohnGalt
                  last edited by Jan 6, 2022, 8:12 PM

                  @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 Jan 6, 2022, 8:16 PM Reply Quote 0
                  • S Offline
                    sdetweil @BKeyport
                    last edited by sdetweil Jan 6, 2022, 8:17 PM Jan 6, 2022, 8:16 PM

                    @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 Jan 6, 2022, 10:55 PM

                      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 Jan 6, 2022, 10:57 PM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        8/14
                        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