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.

    last update stop my MM

    Scheduled Pinned Locked Moved Troubleshooting
    17 Posts 2 Posters 3.1k Views 2 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.
    • X Offline
      xaba
      last edited by

      hi @sdetweil !!

      i use this line to update my MM…
      bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)”

      after that my Pi stops working, and frozen the screen, next day, i saw the screen shows the same time and date when i did the update. reboot and no longer works…

      already try reinstall it but didnt work as well, so i dont know what to do!!

      MM doesnt auto start!!

      just try to execute mm.sh and shows me this:

      pi@magicpi:~/MagicMirror/installers $ ./mm.sh

      magicmirror@2.13.0 start /home/pi/MagicMirror
      DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js

      sh: 1: ./node_modules/.bin/electron: not found
      npm ERR! code ELIFECYCLE
      npm ERR! syscall spawn
      npm ERR! file sh
      npm ERR! errno ENOENT
      npm ERR! magicmirror@2.13.0 start: DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
      npm ERR! spawn ENOENT
      npm ERR!
      npm ERR! Failed at the magicmirror@2.13.0 start script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

      npm ERR! A complete log of this run can be found in:
      npm ERR! /home/pi/.npm/_logs/2020-10-15T13_27_37_850Z-debug.log
      pi@magicpi:~/MagicMirror/installers $

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

        @xaba ok, little more info… is this a pi0?

        can u send me the ~/MagicMirror/installers/upgrade.log
        (I think you deleted in on reinstall)

        how did u reinstall??

        did you use my installer script?
        if so, send the ~/install.log file

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @xaba also, you didn’t respond to the topic

          run-start.sh: linha 87

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • X Offline
            xaba
            last edited by

            is a Pi3 model B+

            when i try to reinstall it, yes, i deleted MagicMirror folder. after that reinstall with this line:

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

            and dont have this install.log in MM Folder!!

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

              @xaba ~/install.log

              the install.log in the users home folder (~)
              /home/pi/install.log

              ~=/home/pi for user pi

              my email is the same userid at gmail

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • X Offline
                xaba
                last edited by

                ok!!

                gonna email you the log file!!

                1 Reply Last reply Reply Quote 0
                • X Offline
                  xaba
                  last edited by

                  receive it??

                  just reinstall new MM!!

                  1 Reply Last reply Reply Quote 0
                  • X Offline
                    xaba
                    last edited by

                    this appear in new resintall:

                    npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                    npm WARN deprecated rrule-alt@2.2.8: Please use rrule instead
                    npm WARN deprecated left-pad@1.3.0: use String.prototype.padStart()
                    npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
                    npm WARN deprecated webdriverio@4.14.4: outdated version, please use @next
                    npm WARN deprecated har-validator@5.1.5: this library is no longer supported
                    npm WARN deprecated core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
                    npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
                    npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
                    /home/pi/MagicMirror/node_modules/electron/install.js:53
                    throw err
                    ^

                    Error: Could not parse checksum file at line 1:
                    at data.trim.split.forEach.line (/home/pi/MagicMirror/node_modules/sumchecker/index.js:85:18)
                    at Array.forEach ()
                    at Promise (/home/pi/MagicMirror/node_modules/sumchecker/index.js:80:36)
                    at new Promise ()
                    at ChecksumValidator.parseChecksumFile (/home/pi/MagicMirror/node_modules/sumchecker/index.js:76:12)
                    npm notice created a lockfile as package-lock.json. You should commit this file.
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.1 (node_modules/chokidar/node_modules/fsevents):
                    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“arm”})
                    npm WARN mocha-logger@1.0.7 requires a peer of mocha@^8.1.3 but none is installed. You must install peer dependencies yourself.
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: electron@6.1.12 (node_modules/electron):
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: electron@6.1.12 postinstall: node install.js
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

                    Dependencies installation Done!

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

                      @xaba ok, try

                      cd ~/MagicMirror
                      npm install  electron@6.1.12
                      

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

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

                        @xaba I don’t seen anything troubling in the log file…

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 0
                        • X Offline
                          xaba @sdetweil
                          last edited by

                          @sdetweil

                          electron@6.1.12 postinstall /home/pi/node_modules/electron
                          node install.js

                          Downloading tmp-6080-0-electron-v6.1.12-linux-armv7l.zip
                          [============================================>] 100.0% of 54.85 MB (3.99 MB/s)
                          /home/pi/node_modules/electron/install.js:53
                          throw err
                          ^

                          Error: Could not parse checksum file at line 1:
                          at data.trim.split.forEach.line (/home/pi/node_modules/sumchecker/index.js:85:18)
                          at Array.forEach ()
                          at Promise (/home/pi/node_modules/sumchecker/index.js:80:36)
                          at new Promise ()
                          at ChecksumValidator.parseChecksumFile (/home/pi/node_modules/sumchecker/index.js:76:12)
                          npm WARN enoent ENOENT: no such file or directory, open ‘/home/pi/package.json’
                          npm WARN pi No description
                          npm WARN pi No repository field.
                          npm WARN pi No README data
                          npm WARN pi No license field.

                          npm ERR! code ELIFECYCLE
                          npm ERR! errno 1
                          npm ERR! electron@6.1.12 postinstall: node install.js
                          npm ERR! Exit status 1
                          npm ERR!
                          npm ERR! Failed at the electron@6.1.12 postinstall script.
                          npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

                          npm ERR! A complete log of this run can be found in:
                          npm ERR! /home/pi/.npm/_logs/2020-10-15T22_33_52_461Z-debug.log

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

                            @xaba said in last update stop my MM:

                            Error: Could not parse checksum file at line 1:

                            looks like network error, try again

                            do

                            cd ~/MagicMirror
                            rm -rf node_modules/electron
                            npm install electron@6.1.12
                            

                            I tested here and it worked ok

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            X 1 Reply Last reply Reply Quote 0
                            • X Offline
                              xaba @sdetweil
                              last edited by

                              @sdetweil

                              not worked!!
                              gonna rebuild the system pi, download again MM!!

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

                                @xaba use my script
                                see here for instructions
                                https://github.com/sdetweil/magicmirror_scripts

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                1 Reply Last reply Reply Quote 0
                                • X Offline
                                  xaba
                                  last edited by

                                  gonna use it!! thks!!

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