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 17.4k 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.
    • evroomE Offline
      evroom @lavolp3
      last edited by

      @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 Reply Quote 0
      • S Offline
        sdetweil @evroom
        last edited by sdetweil

        @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
        • evroomE Offline
          evroom
          last edited by evroom

          @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 Reply Quote 0
          • S Offline
            sdetweil @evroom
            last edited by

            @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
            • S Offline
              sdetweil
              last edited by

              missing a required node package ‘del’

              no package.json to inform the user

              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
                last edited by sdetweil

                warning, warning… copy and save

                MagicMirror/modules/node_modules/node_helper (folder, which contains index.js)

                then

                cd ~/MagicMirror/modules/mmm-weatherchart
                npm install del
                

                check for a missing
                MagicMirror/modules/node_modules/node_helper folder
                and if so, copy it back

                i opened an issue with mmm-weatherchart

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                K 1 Reply Last reply Reply Quote 0
                • evroomE Offline
                  evroom
                  last edited by

                  @sdetweil said in Blank mm after update:

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

                  I have only one mmm-weatherchart module present.
                  When disabled everything is fine.
                  However, I forgot to remove the single quotes, as I just copy/pasted the config from the thread.
                  Corrected it, but now I get even stronger things.

                  0|mm  | WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'del'
                  

                  I do not have any string with ‘del’ in my config :worried_face:

                  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 Reply Quote 0
                  • S Offline
                    sdetweil @evroom
                    last edited by

                    @evroom see my prior most about the missing module

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • evroomE Offline
                      evroom
                      last edited by

                      @sdetweil said in Blank mm after update:

                      see my prior most about the missing module

                      I was typing while you answered.
                      Will have a look at it and try it out.

                      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)

                      1 Reply Last reply Reply Quote 0
                      • evroomE Offline
                        evroom
                        last edited by

                        The module is running now, but I get this error:

                        0|mm  | Downloading weather map with signal: FETCH_MAP From URL: www.yr.no/place/Germany/Bavaria/Nuremberg/meteogram.png
                        0|mm  | Error: ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/mmm-weatherchart/cache/map-1567097174409.png'
                        
                        pi@raspberrypi:~/MagicMirror/modules/mmm-weatherchart $ ll /home/pi/MagicMirror/modules/mmm-weatherchart/cache
                        total 12
                        4 drwxr-xr-x 2 pi pi 4096 Aug 29 18:49 .
                        4 drwxr-xr-x 4 pi pi 4096 Aug 29 18:44 ..
                        4 -rw-r--r-- 1 pi pi    6 Aug 29 18:44 .gitignore
                        

                        Then I read somewhere there is a clone of this module that is more recent, so I tried that:

                        https://github.com/szech/mmm-weatherchart
                        

                        Same result: module runs but no file in the cache dir.
                        When opening the URL in the browser, it does show the picture that I do not see on my screen.

                        Oh boy/girl, thought it was a simple syntax thingy in config.js …

                        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)

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