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.

    After update, nothing happens.

    Scheduled Pinned Locked Moved Troubleshooting
    64 Posts 3 Posters 28.1k 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.
    • R Offline
      Richard238 @sdetweil
      last edited by

      @sdetweil said in After update, nothing happens.:

      ~/install.log should say we upgraded node to 10.23 ish and npm to 6.14 ish

      [92mNode.js installation Done! version=v10.23.0
      0mInstalled npm version: V6.14.8
      
      1 Reply Last reply Reply Quote 0
      • R Offline
        Richard238 @sdetweil
        last edited by

        @sdetweil said in After update, nothing happens.:

        @Richard238 no idea…

        so, now

        node --v
        npm --v

        pi@pi_mirror:~ $ node --v
        node: bad option: --v
        pi@pi_mirror:~ $ npm --v
        6.14.8
        pi@pi_mirror:~ $ node -v
        v10.23.0
        pi@pi_mirror:~ $ 
        
        
        S 1 Reply Last reply Reply Quote 0
        • S Do not disturb
          sdetweil @Richard238
          last edited by sdetweil

          @Richard238 ok, up to level

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • R Offline
            Richard238
            last edited by

            MagicMirror installation finished successfully! 
            
            added 330 packages from 282 contributors and audited 1149 packages in 152.782s
            
            16 packages are looking for funding
              run `npm fund` for details
            
            found 1 low severity vulnerability
              run `npm audit fix` to fix them, or `npm audit` for details
            pi@pi_mirror:~/MagicMirror__RL1 $ npm start
            
            > magicmirror@2.14.0-develop start /home/pi/MagicMirror__RL1
            > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
            
            /home/pi/MagicMirror__RL1/node_modules/electron/dist/electron: /lib/arm-linux-gnueabihf/libdbus-1.so.3: no version information available (required by /home/pi/MagicMirror__RL1/node_modules/electron/dist/electron)
            pi@pi_mirror:~/MagicMirror__RL1 $ 
            
            
            S 2 Replies Last reply Reply Quote 0
            • S Do not disturb
              sdetweil @Richard238
              last edited by

              @Richard238 interesting. I have to go pick up grandson, be unable to research for a few hours. 3ish…

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              R 1 Reply Last reply Reply Quote 0
              • R Offline
                Richard238 @sdetweil
                last edited by

                @sdetweil

                OK, thank you for your help this far.

                1 Reply Last reply Reply Quote 0
                • S Do not disturb
                  sdetweil @Richard238
                  last edited by

                  @Richard238 try this

                  in the old mm folder

                  git pull origin develop
                  npm install --only=prod
                  npm start

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    Richard238
                    last edited by

                    I just powered it off, and this time it’s booted to the default MM with US Holidays.

                    Does that help, what should I try next?

                    S 1 Reply Last reply Reply Quote 0
                    • S Do not disturb
                      sdetweil @Richard238
                      last edited by

                      @Richard238 yes the new mm came up.

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      R 1 Reply Last reply Reply Quote 0
                      • R Offline
                        Richard238 @sdetweil
                        last edited by

                        @sdetweil

                        Should I stop that before doing this
                        "git pull origin develop / npm install --only=prod / npm start "

                        in the old MM?

                        S 1 Reply Last reply Reply Quote 0
                        • S Do not disturb
                          sdetweil @Richard238
                          last edited by

                          @Richard238 yes pm2 stop all

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          S 1 Reply Last reply Reply Quote 0
                          • R Offline
                            Richard238
                            last edited by

                            pi@pi_mirror:~ $ pm2 stop all
                            [PM2] Applying action stopProcessId on app [all](ids: 0)
                            [PM2] [mm](0) ✓
                            ┌──────┬──────┬─────────┬───┬─────┬────────┐
                            │ Name │ mode │ status  │ ↺ │ cpu │ memory │
                            ├──────┼──────┼─────────┼───┼─────┼────────┤
                            │ mm   │ fork │ stopped │ 0 │ 0%  │ 0 B    │
                            └──────┴──────┴─────────┴───┴─────┴────────┘
                             Use `pm2 show <id|name>` to get more details about an app
                            pi@pi_mirror:~ $ cd ~/MagicMirror__RL1
                            pi@pi_mirror:~/MagicMirror__RL1 $ git pull origin develop
                            remote: Enumerating objects: 8, done.
                            remote: Counting objects: 100% (8/8), done.
                            remote: Compressing objects: 100% (8/8), done.
                            remote: Total 8 (delta 1), reused 0 (delta 0), pack-reused 0
                            Unpacking objects: 100% (8/8), done.
                            From https://github.com/MichMich/MagicMirror
                             * branch            develop    -> FETCH_HEAD
                               a4ab0cb..da00c16  develop    -> origin/develop
                            Updating a4ab0cb..da00c16
                            Fast-forward
                             CHANGELOG.md | 1 +
                             js/module.js | 2 +-
                             2 files changed, 2 insertions(+), 1 deletion(-)
                            pi@pi_mirror:~/MagicMirror__RL1 $ npm install --only=prod
                            
                            > magicmirror@2.14.0-develop install /home/pi/MagicMirror__RL1
                            > echo "Installing vendor files ...
                            " && cd vendor && npm install --loglevel=error
                            
                            Installing vendor files ...
                            
                            audited 24 packages in 1.991s
                            
                            1 package is looking for funding
                              run `npm fund` for details
                            
                            found 0 vulnerabilities
                            
                            
                            > magicmirror@2.14.0-develop postinstall /home/pi/MagicMirror__RL1
                            > npm run install-fonts && echo "MagicMirror installation finished successfully! 
                            "
                            
                            
                            > magicmirror@2.14.0-develop install-fonts /home/pi/MagicMirror__RL1
                            > echo "Installing fonts ...
                            " && cd fonts && npm install --loglevel=error
                            
                            Installing fonts ...
                            
                            audited 1 package in 1.03s
                            found 0 vulnerabilities
                            
                            MagicMirror installation finished successfully! 
                            
                            audited 1149 packages in 36.561s
                            
                            16 packages are looking for funding
                              run `npm fund` for details
                            
                            found 1 low severity vulnerability
                              run `npm audit fix` to fix them, or `npm audit` for details
                            pi@pi_mirror:~/MagicMirror__RL1 $ npm start
                            
                            > magicmirror@2.14.0-develop start /home/pi/MagicMirror__RL1
                            > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
                            
                            /home/pi/MagicMirror__RL1/node_modules/electron/dist/electron: /lib/arm-linux-gnueabihf/libdbus-1.so.3: no version information available (required by /home/pi/MagicMirror__RL1/node_modules/electron/dist/electron)
                            pi@pi_mirror:~/MagicMirror__RL1 $ 
                            
                            
                            S 1 Reply Last reply Reply Quote 0
                            • S Do not disturb
                              sdetweil @sdetweil
                              last edited by

                              @sdetweil the new install used the master branch, so on electron 6. the old folder is on develop, so electron 8.5

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              1 Reply Last reply Reply Quote 0
                              • S Do not disturb
                                sdetweil @Richard238
                                last edited by

                                @Richard238 ok. 1st time seeing this…

                                just to make sure
                                from the old folder
                                grep version node_modules/electron/package.json

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                S 1 Reply Last reply Reply Quote 0
                                • R Offline
                                  Richard238
                                  last edited by

                                  @sdetweil said in After update, nothing happens.:

                                  grep version node_modules/electron/package.json

                                  pi@pi_mirror:~/MagicMirror__RL1 $ grep version node_modules/electron/package.json
                                  “type”: “version”,
                                  “version”: “8.5.3”
                                  pi@pi_mirror:~/MagicMirror__RL1 $

                                  1 Reply Last reply Reply Quote 0
                                  • S Do not disturb
                                    sdetweil @sdetweil
                                    last edited by sdetweil

                                    @sdetweil one more diag command

                                    lsb_release -a

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

                                    1 Reply Last reply Reply Quote 0
                                    • R Offline
                                      Richard238
                                      last edited by

                                      pi@pi_mirror:~ $ lsb_release -a
                                      No LSB modules are available.
                                      Distributor ID: Raspbian
                                      Description: Raspbian GNU/Linux 8.0 (jessie)
                                      Release: 8.0
                                      Codename: jessie
                                      pi@pi_mirror:~ $

                                      S 1 Reply Last reply Reply Quote 0
                                      • S Do not disturb
                                        sdetweil @Richard238
                                        last edited by

                                        @Richard238 ok, thx. problem is new electron won’t run on Jessie anymore…

                                        I don’t know if this will work.

                                        from. the old mm folder

                                        rm -rf node_modules/electron
                                        npm install electron@6.1.12
                                        then npm start

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

                                        1 Reply Last reply Reply Quote 0
                                        • R Offline
                                          Richard238
                                          last edited by

                                          @sdetweil said in After update, nothing happens.:

                                          npm install electron@6.1.12

                                          Sam, you’re a genius!

                                          That’s fixed it.
                                          This will only happen again in the not too distant future I’m sure, so would I be better off installing a newer OS?
                                          And then how do I recreate my MM on said new OS?

                                          I’m going to logoff for now, thanks again for your help today.
                                          More tomorrow I’m sure.
                                          Kind regards,
                                          Richard.

                                          S 1 Reply Last reply Reply Quote 0
                                          • S Do not disturb
                                            sdetweil @Richard238
                                            last edited by

                                            @Richard238

                                            copy your MagicMirror folder to save it somewhere
                                            u can zip it to to save space

                                            install buster on your sd card
                                            run the installer to get things setup
                                            restore you MM zip file
                                            erase the node_modules folder
                                            npm install (this should put on the newer electron)
                                            npm start

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

                                            1 Reply 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
                                            • 4
                                            • 5 / 4
                                            • 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