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

      I wasn’t watching it that closely, maybe there were, is there a log somewhere?

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

        @Richard238 not really. if u had used my upgrade script yes.

        cd ~/MagicMirror
        git pull

        what does it say?

        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

          Already up-to-date.

          Which sounds promising.

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

            @Richard238 if u do
            form the MagicMirror folder

            pm2 stop all
            then npm start

            what errors do u see?

            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

              Ah, not good. Every line starts “npm ERR!”

              Which lines do you need to see?

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

                @Richard238 redirect the output to a file

                npm start >somefile

                then find the 1st 10 error lines and 5 before that

                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

                  contents of file:

                  > magicmirror@2.14.0-develop start /home/pi/MagicMirror
                  > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
                  

                  All “npm ERR!” messages

                  npm ERR! Linux 4.9.35-v7+
                  npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "start"
                  npm ERR! node v6.17.1
                  npm ERR! npm  v3.10.10
                  npm ERR! file sh
                  npm ERR! code ELIFECYCLE
                  npm ERR! errno ENOENT
                  npm ERR! syscall spawn
                  npm ERR! magicmirror@2.14.0-develop start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
                  npm ERR! spawn ENOENT
                  npm ERR! 
                  npm ERR! Failed at the magicmirror@2.14.0-develop start script 'DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js'.
                  npm ERR! Make sure you have the latest version of node.js and npm installed.
                  npm ERR! If you do, this is most likely a problem with the magicmirror package,
                  npm ERR! not with npm itself.
                  npm ERR! Tell the author that this fails on your system:
                  npm ERR!     DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
                  npm ERR! You can get information on how to open an issue for this project with:
                  npm ERR!     npm bugs magicmirror
                  npm ERR! Or if that isn't available, you can get their info via:
                  npm ERR!     npm owner ls magicmirror
                  npm ERR! There is likely additional logging output above.
                  npm ERR! Please include the following file with any support request:
                  npm ERR!     /home/pi/MagicMirror/npm-debug.log
                  
                  S 2 Replies Last reply Reply Quote 0
                  • S Do not disturb
                    sdetweil @Richard238
                    last edited by

                    @Richard238 is this a pi 0?

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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

                      @Richard238 node and npm are way downlevel

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

                        @sdetweil

                        No, it’s a Pi 3B

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

                          @Richard238 hm… rename your magic mirror folder to some other name

                          then run my installer to get everything updated
                          the in your existing folder do
                          rm -rf node_moules
                          npm install --only=prod
                          then npm start and see what happens

                          my installer will start.mm again, just do.pm2 stop all, and we will fix it later

                          see here for the installer script

                          https://github.com/sdetweil/MagicMirror_scripts

                          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

                            Do I run your installer
                            bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)”
                            from the (renamed) MM folder, or from the /home/pi prompt?

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

                              @Richard238 /home/pi… it will figure it out

                              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

                                pi@pi_mirror:~ $ bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)”
                                #: “#!/bin/bash: No such file or directory
                                pi@pi_mirror:~ $ 
                                
                                S 1 Reply Last reply Reply Quote 0
                                • S Do not disturb
                                  sdetweil @Richard238
                                  last edited by sdetweil

                                  @Richard238 the quotes need to be up/down, not slanted

                                  bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)"
                                  

                                  if u paste that line here without the code block wrapper, the quotes will be changed

                                  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

                                    pi@pi_mirror:~ $ bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)"
                                    It appears MagicMirror has not been installed on this system
                                    please run the installer, raspberry.sh first
                                    pi@pi_mirror:~ $ 
                                    
                                    S 1 Reply Last reply Reply Quote 0
                                    • S Do not disturb
                                      sdetweil @Richard238
                                      last edited by

                                      @Richard238 not upgrade, install

                                      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
                                        Ooops! You can tell it’s New Years Day, maybe I need another drink. :D

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

                                          Splashscreen: Changed theme to MagicMirror successfully.
                                          Do you want use pm2 for auto starting of your MagicMirror (y/N)?

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

                                            @Richard238 no

                                            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
                                            • 3 / 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