• 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.

Blank mm after update

Scheduled Pinned Locked Moved Unsolved Troubleshooting
48 Posts 4 Posters 14.3k 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.
  • K Offline
    kvicksson
    last edited by Aug 29, 2019, 7:22 AM

    Hi,
    After updated to 2.8.0 I have trouble with a blank screen. I comment out every module one at a time and found out that mmm-weatherchart was the problem. Is there something wrong in my code?

    {
    		module: 'mmm-weatherchart',
    		position: 'bottom_left',
    		config: {
    			country: 'Sweden',
    			area: 'Halland',
    			city: 'Stråvalla',
    			updateInterval: '3600000',
    			hideBorder: 'true'
    			}
    },
    
    1 Reply Last reply Reply Quote 0
    • E Offline
      evroom
      last edited by evroom Aug 29, 2019, 8:57 AM Aug 29, 2019, 8:56 AM

      @kvicksson said in Blank mm after update:

      Is there something wrong in my code?

      It should be Holland :-)
      No, just joking, try:

      {
      		module: 'mmm-weatherchart',
      		position: 'bottom_left',
      		config: {
      			country: 'Sweden',
      			area: 'Halland',
      			city: 'Stråvalla',
      			updateInterval: 3600000,
      			hideBorder: true
      			}
      },
      

      And this should be part of your tool-set:

      cd ~/MagicMirror; npm run config:check
      

      MagicMirror version: 2.30.0
      Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
      Raspbian GNU/Linux 12 (bookworm)

      Test environment:
      MagicMirror version: v2.30.0
      Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
      Raspbian GNU/Linux 12 (bookworm)

      L 1 Reply Last reply Aug 29, 2019, 11:32 AM Reply Quote 0
      • L Offline
        lavolp3 Module Developer @evroom
        last edited by Aug 29, 2019, 11:32 AM

        @evroom well with the config:check he would not have found the error, would he? It’s a pure semantic check, not a logic one.

        Isn’t there some Troubleshooting guide around to reference to everytime these questions come up?

        How to troubleshoot modules
        MMM-soccer v2, MMM-AVStock

        E 1 Reply Last reply Aug 29, 2019, 1:47 PM Reply Quote 0
        • K Offline
          kvicksson
          last edited by Aug 29, 2019, 12:13 PM

          Just to be clear, I’m a girl… ;)
          The module worked as a charm before the update. So you think I should just skip the apostrophe on the updateInterval and hideBorder?

          S 2 Replies Last reply Aug 29, 2019, 12:19 PM Reply Quote 0
          • S Offline
            sdetweil @kvicksson
            last edited by sdetweil Aug 29, 2019, 12:20 PM Aug 29, 2019, 12:19 PM

            @kvicksson ok… before the update it worked…

            does the module contain a package.json file?

            if so you must also run npm install in the module folder as the version of electron changed in 2.8.0

            in the future, i hope my update script will help solve these problems…

            see
            https://forum.magicmirror.builders/topic/10859/new-update-upgrade-script-ready-for-testing

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @kvicksson
              last edited by Aug 29, 2019, 12:55 PM

              @kvicksson the rules are text needs quotes (’ or " matching)
              numbers and true/false should NOT have quotes… as they become strings and not numeric or logical values

              if variable == true will fail with quoted values…

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • E Offline
                evroom @lavolp3
                last edited by Aug 29, 2019, 1:47 PM

                @lavolp3 said in Blank mm after update:

                well with the config:check he would not have found the error, would he?

                In this case perhaps not, but it cannot hurt to run it in order to exclude error(s) before and after this part of the config.
                Normally a 'true' versus true would not cause a black screen, but I might be wrong.
                And a trouble shooting guide would have to start with the config:checkIMHO.

                MagicMirror version: 2.30.0
                Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
                Raspbian GNU/Linux 12 (bookworm)

                Test environment:
                MagicMirror version: v2.30.0
                Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
                Raspbian GNU/Linux 12 (bookworm)

                S 1 Reply Last reply Aug 29, 2019, 2:30 PM Reply Quote 0
                • S Offline
                  sdetweil @evroom
                  last edited by sdetweil Aug 29, 2019, 2:30 PM Aug 29, 2019, 2:30 PM

                  @evroom said in Blank mm after update:

                  Normally a ‘true’ versus true would not cause a black screen

                  u don’t know how the module code might fail…
                  which is what causes the blackscreen to begin with

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • E Offline
                    evroom
                    last edited by evroom Aug 29, 2019, 3:34 PM Aug 29, 2019, 3:33 PM

                    @sdetweil said in Blank mm after update:

                    which is what causes the blackscreen to begin with

                    Tried the module myself.
                    https://github.com/paphko/mmm-weatherchart

                    pi@raspberrypi:~/MagicMirror $ pm2 logs --lines 100
                    0|mm       | Starting MagicMirror ...
                    0|mm       |
                    0|mm       | > magicmirror@2.8.0 start /home/pi/MagicMirror
                    0|mm       | > sh run-start.sh
                    0|mm       |
                    0|mm       | Starting MagicMirror: v2.8.0
                    0|mm       | Loading config ...
                    0|mm       | Loading module helpers ...
                    0|mm       | No helper found for module: alert.
                    0|mm       | Initializing new module helper ...
                    0|mm       | Module helper loaded: updatenotification
                    0|mm       | Loading module helpers ...
                    0|mm       | No helper found for module: alert.
                    0|mm       | Initializing new module helper ...
                    0|mm       | Module helper loaded: updatenotification
                    0|mm       | Whoops! There was an uncaught exception...
                    0|mm       | MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
                    0|mm       | If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
                    0|mm  | Launching application.
                    

                    Indeed a black screen.
                    Now how to help the girl from Stråvalla ?

                    MagicMirror version: 2.30.0
                    Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
                    Raspbian GNU/Linux 12 (bookworm)

                    Test environment:
                    MagicMirror version: v2.30.0
                    Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
                    Raspbian GNU/Linux 12 (bookworm)

                    S 1 Reply Last reply Aug 29, 2019, 3:35 PM Reply Quote 0
                    • S Offline
                      sdetweil @evroom
                      last edited by Aug 29, 2019, 3:35 PM

                      @evroom said in Blank mm after update:

                      0|mm | No helper found for module: alert.
                      0|mm | Initializing new module helper …
                      0|mm | Module helper loaded: updatenotification
                      0|mm | Loading module helpers …
                      0|mm | No helper found for module: alert.
                      0|mm | Initializing new module helper …
                      0|mm | Module helper loaded: updatenotification
                      0|mm | Whoops! There was an uncaught exception…

                      seems odd that there would be two invocations of these modules…

                      but as a test, in MagicMirror/config/config.js add

                          disabled: true, 
                      

                      to both those modules, and restart mm and see what happens

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

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