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 21.0k 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
      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.33.0
      Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
      Raspbian GNU/Linux 12 (bookworm)

      Test environment:
      MagicMirror version: v2.33.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.33.0
          Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
          Raspbian GNU/Linux 12 (bookworm)

          Test environment:
          MagicMirror version: v2.33.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.33.0
            Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
            Raspbian GNU/Linux 12 (bookworm)

            Test environment:
            MagicMirror version: v2.33.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
            • S Offline
              sdetweil
              last edited by

              the module doesn’t work, but doesn’t kill MagicMirror anymore…

              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:

                the module doesn’t work, but doesn’t kill MagicMirror anymore…

                Correct.

                I have a few questions.

                In the original module there is no package.json file, where in the cloned one there is.
                So, when using the original module, you should NOT use npm install, right ?
                First of all it will no do anything useful, but it WILL delete your /home/pi/MagicMirror/modules/node_modules/node_helperdirectory and its index.js file.
                When using the cloned module, you should run npm installin order to install the dependencies mentioned in it, right ?
                No harm is done to the node_helper dir.

                Or is it all BS I am telling here (and made the wrong observations) ??

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

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

                S 2 Replies Last reply Reply Quote 0
                • S Offline
                  sdetweil @evroom
                  last edited by sdetweil

                  @evroom i cloned and got no package.json
                  i cloned this
                  https://github.com/paphko/mmm-weatherchart

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

                    @evroom yes, to all your observations…

                    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

                      When I use
                      $ git clone https://github.com/szech/mmm-weatherchart.git
                      then it works.
                      The README.md from szech point to papkto.
                      When corrected and doing npm install in the mmm-weatherchart directory, it works

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

                      Test environment:
                      MagicMirror version: v2.33.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 yes, that module has it…

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 0
                        • K Offline
                          kvicksson @sdetweil
                          last edited by

                          @sdetweil Thanks! This worked for me as it doesn’t kill it anymore. Hope for a quick fix. Can I follow the process somewhere?

                          S evroomE 3 Replies Last reply Reply Quote 0
                          • evroomE Offline
                            evroom
                            last edited by

                            Hi @kvicksson ,

                            To me it seems there are 3 problems here.
                            You could have a look what the pm2 log says:

                            $ pm2 logs --lines 100
                            

                            You will either have:

                            Error: Cannot find module 'del'
                            

                            or:

                            Error: ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/mmm-weatherchart/cache/map-1567097174409.
                            

                            or something completely different.

                            The 3 problems and potential solutions:

                            You’re config.js entries:

                            updateInterval: '3600000',
                            hideBorder: 'true'
                            

                            should be:

                            updateInterval: 3600000,
                            hideBorder: true
                            

                            even if the module could potentially handle it.

                            If your mmm-weatherchart instal has this file present:

                            /home/pi/MagicMirror/modules/mmm-weatherchart/package.json
                            

                            then you should run:

                            $ cd /home/pi/MagicMirror/modules/mmm-weatherchart/
                            $ npm install
                            

                            If your mmm-weatherchart instal has this file NOT present:

                            /home/pi/MagicMirror/modules/mmm-weatherchart/package.json
                            

                            then you should NOT run npm instal, has it will cause havoc to you MagicMirror install.
                            I would do this in this situation:

                            $ cd /home/pi/MagicMirror/modules/
                            $ mv mmm-weatherchart mmm-weatherchart.saved
                            $ git clone https://github.com/szech/mmm-weatherchart.git
                            $ cd /home/pi/MagicMirror/modules/mmm-weatherchart
                            $ npm install
                            
                            $ pm2 restart pm2
                            $ pm2 logs --lines 100
                            

                            When it works:

                            $ cd /home/pi/MagicMirror/modules/
                            $ rm -rf mmm-weatherchart.saved
                            

                            Good luck !!

                            PS @sdetweil : please comment if I am wrong or made mistakes somewhere & thanks for your input.

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

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

                            S K 2 Replies Last reply Reply Quote 0
                            • S Offline
                              sdetweil @kvicksson
                              last edited by

                              @kvicksson said in Blank mm after update:

                              Can I follow the process somewhere?

                              this is all volunteer… you could post an issue to the module owners github repo… maybe he or someone else will respond… I am like you, just another user…

                              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 @kvicksson
                                last edited by

                                @kvicksson said in Blank mm after update:

                                @sdetweil Thanks! This worked for me

                                I should type faster :-)

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

                                Test environment:
                                MagicMirror version: v2.33.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
                                • S Offline
                                  sdetweil @evroom
                                  last edited by sdetweil

                                  @evroom think u have good instructions…

                                  ps, 2 of my three systems do not have pi as the user, so the path is wrong, and in the module defaults too

                                  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:

                                    2 of my three systems do not have pi as the user

                                    Yes, I assumed user pi and the install under the user pi home directory.
                                    Will try to remember that in the future.
                                    Tilde for the home directory should work on all platforms, is my understanding.

                                    ~/MagicMirror
                                    

                                    My keyboard is lacking a tilde and I always forget the right keystrokes.
                                    So /home/pi is faster. :-)

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

                                    Test environment:
                                    MagicMirror version: v2.33.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
                                    • K Offline
                                      kvicksson @evroom
                                      last edited by

                                      @evroom I sat right now and installed a new calendar module and suddenly the mmm-weatherchart started working… :thinking_face:

                                      Did the $ pm2 logs --lines 100 and got a lot of errors, but I guess because everything’s working fine so don’t have to bother right now?!

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

                                        And of course it didn’t work now when I tried to switch back to default calendar module and then back to the other calendar module…

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

                                          @kvicksson said in Blank mm after update:

                                          so don’t have to bother right now?

                                          As long as the errors are no fatal errors that do not prevent the MagicMirror from starting or prevent a certain module from working right, you might chose to ignore them.
                                          But the problem is, that when you add something new or update something existing, it becomes more and more difficult to debug and/or correct in case of problems.

                                          When you do this:

                                          $ pm2 flush
                                          $ pm2 restart mm
                                          $ pm2 logs --lines 100
                                          

                                          what is the first error you see ?
                                          Perhaps you post the first 50 to 100 lines of the log.

                                          But only if you want to spend some time on it, when not that’s fine too.

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

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

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

                                            @evroom actually no errors like I got before…

                                            PM2        | 2019-08-29T21:46:00: PM2 log: pid=1331 msg=failed to kill - retrying in 100ms
                                            PM2        | 2019-08-29T21:46:00: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT]
                                            PM2        | 2019-08-29T21:46:00: PM2 log: pid=1331 msg=process killed
                                            PM2        | 2019-08-29T21:46:00: PM2 log: App [mm:0] starting in -fork mode-
                                            PM2        | 2019-08-29T21:46:00: PM2 log: App [mm:0] online
                                            
                                            /home/pi/.pm2/logs/mm-out.log last 100 lines:
                                            0|mm       | Shutting down server...
                                            0|mm       | Stopping module helper: updatenotification
                                            0|mm       | Stopping module helper: mmm-systemtemperature
                                            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       | Initializing new module helper ...
                                            0|mm       | Module helper loaded: mmm-systemtemperature
                                            0|mm       | No helper found for module: clock.
                                            0|mm       | Initializing new module helper ...
                                            0|mm       | Module helper loaded: calendar
                                            0|mm       | Initializing new module helper ...
                                            0|mm       | Module helper loaded: MMM-YrThen
                                            0|mm       | Initializing new module helper ...
                                            0|mm       | Module helper loaded: mmm-weatherchart
                                            0|mm       | Initializing new module helper ...
                                            0|mm       | Module helper loaded: newsfeed
                                            0|mm       | All module helpers loaded.
                                            0|mm       | Starting server on port 8080 ...
                                            0|mm       | Server started ...
                                            0|mm       | Connecting socket for: updatenotification
                                            0|mm       | Connecting socket for: mmm-systemtemperature
                                            0|mm       | Starting node helper: mmm-systemtemperature
                                            0|mm       | Connecting socket for: calendar
                                            0|mm       | Starting node helper for: calendar
                                            0|mm       | Connecting socket for: MMM-YrThen
                                            0|mm       | MMM-YrThen 8/29/2019 9:46:08 PM: Starting helper for MMM-YrThen
                                            0|mm       | Connecting socket for: mmm-weatherchart
                                            0|mm       | Starting node helper: mmm-weatherchart
                                            0|mm       | Connecting socket for: newsfeed
                                            0|mm       | Starting module: newsfeed
                                            0|mm       | Sockets connected & modules started ...
                                            0|mm       | Launching application.
                                            
                                            /home/pi/.pm2/logs/mm-error.log last 100 lines:
                                            0|mm       | /home/pi/MagicMirror/node_modules/electron/dist/electron: /lib/arm-linux-gnueabihf/libdbus-1.so.3: no version information available (required by /home/pi/MagicMirror/node_modules/electron/dist/electron)
                                            0|mm       | /home/pi/MagicMirror/node_modules/electron/dist/electron: /lib/arm-linux-gnueabihf/libdbus-1.so.3: no version information available (required by /home/pi/MagicMirror/node_modules/electron/dist/electron)
                                            0|mm       | (node:2465) [DEP0025] DeprecationWarning: sys is deprecated. Use util instead.
                                            0|mm       | /proc/self/exe: /lib/arm-linux-gnueabihf/libdbus-1.so.3: no version information available (required by /proc/self/exe)
                                            0|mm       | ATTENTION: default value of option force_s3tc_enable overridden by environment.
                                            

                                            I really appreciate you want to look into my errors, I’m not too good on this :)

                                            evroomE 2 Replies 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
                                            • 2 / 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