MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.20.0 is available! For more information about this release, check out this topic.

    UNSOLVED Blank mm after update

    Troubleshooting
    4
    48
    3654
    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.
    • evroom
      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.18.0
      Raspberry Pi 3 Model B Plus Rev 1.3
      Raspbian GNU/Linux 10 (buster)

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

        @evroom yes, that module has it…

        Sam

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • K
          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 evroom 3 Replies Last reply Reply Quote 0
          • evroom
            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.18.0
            Raspberry Pi 3 Model B Plus Rev 1.3
            Raspbian GNU/Linux 10 (buster)

            S K 2 Replies Last reply Reply Quote 0
            • S
              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

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 0
              • evroom
                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.18.0
                Raspberry Pi 3 Model B Plus Rev 1.3
                Raspbian GNU/Linux 10 (buster)

                1 Reply Last reply Reply Quote 0
                • S
                  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

                  Create a working config
                  How to add modules

                  1 Reply Last reply Reply Quote 0
                  • evroom
                    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.18.0
                    Raspberry Pi 3 Model B Plus Rev 1.3
                    Raspbian GNU/Linux 10 (buster)

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

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

                      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
                        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
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 3 / 5
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy