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.

    So ... to update MagicMirror I would ... ??

    Scheduled Pinned Locked Moved Troubleshooting
    54 Posts 12 Posters 41.0k Views 10 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.
    • H Offline
      Harry
      last edited by

      Yep. I see I’m not the only one with a blank screen…
      I did the git pull && npm install. It went through with only two warnings. Then after pm2 restart mm.sh I got the blank screen. I see that there is an npm-debug.log that contains some errors:

      14 verbose stack Error: magicmirror@2.3.0 start: sh run-start.sh
      14 verbose stack Exit status 1
      14 verbose stack at EventEmitter. (/usr/lib/node_modules/npm/lib/utils/lifecycle.js:255:16)
      14 verbose stack at emitTwo (events.js:106:13)
      14 verbose stack at EventEmitter.emit (events.js:191:7)
      14 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/lib/utils/spawn.js:40:14)
      14 verbose stack at emitTwo (events.js:106:13)
      14 verbose stack at ChildProcess.emit (events.js:191:7)
      14 verbose stack at maybeClose (internal/child_process.js:920:16)
      14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:230:5)
      15 verbose pkgid magicmirror@2.3.0
      16 verbose cwd /home/pi/MagicMirror
      17 error Linux 4.4.43-v7+
      18 error argv “/usr/bin/node” “/usr/bin/npm” “start”
      19 error node v6.12.3
      20 error npm v3.10.10
      21 error code ELIFECYCLE
      22 error magicmirror@2.3.0 start: sh run-start.sh
      22 error Exit status 1
      23 error Failed at the magicmirror@2.3.0 start script ‘sh run-start.sh’.

      Any help would be appreciated.
      Harry

      1 Reply Last reply Reply Quote 0
      • C Offline
        Charley Module Developer
        last edited by Charley

        I returned from a copied img from my sd card to an older version and only did

        git pull
        

        didn’t do the

        npm install
        

        at least now it works again

        MMM-Bose-Soundtouch, MMM-Domoticz, MMM-crypto-portfolio, MMM-Fibaro, MMM-rain-forecast

        1 Reply Last reply Reply Quote 0
        • C Offline
          chef
          last edited by

          strange I’m not seeing a black screen.

          Perhaps an issue with the auto start script? But I’m unsure.

          Electron was updated in this release as well.

          S 1 Reply Last reply Reply Quote 0
          • MichMichM Offline
            MichMich Admin
            last edited by

            In most cases it’s because the port is still in use. First thing to try if it fails to start after an update: reboot the pi.

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

              Power off & on restores VNC, and LAN access displaying MM. (Hurrah!).

              Pi. Electron window is black, but shows cursor.

              1 Reply Last reply Reply Quote 0
              • C Offline
                Cyberwrights
                last edited by

                One more for blank screen, no joy after update per the instructions. Restarted MM using pm2, then rebooted the Pi. Ran the git reset --hard command, still nothing.

                MMM-GoogleAssistant
                MMM-Hue
                MMM-MyCommute
                MMM-Formula1
                MMM-SystemStats
                MMM-moon-phases

                1 Reply Last reply Reply Quote 0
                • N Offline
                  NoNameRo
                  last edited by

                  for me it worked without problems as follows

                  pm2 stop mm
                  

                  then

                  git pull && npm install
                  

                  and then

                  pm2 restart mm
                  

                  maybe it works for one or the other

                  C 1 Reply Last reply Reply Quote 0
                  • C Offline
                    Cyberwrights @NoNameRo
                    last edited by

                    @NoNameRo Intuition tells me I should have stopped the service before applying the update, but unfortunately the instructions do not…

                    MMM-GoogleAssistant
                    MMM-Hue
                    MMM-MyCommute
                    MMM-Formula1
                    MMM-SystemStats
                    MMM-moon-phases

                    1 Reply Last reply Reply Quote 0
                    • N Offline
                      NoNameRo
                      last edited by

                      I do not know if it is absolutely necessary to stop the service, for me it was obvious to do it

                      E 1 Reply Last reply Reply Quote 0
                      • C Offline
                        chef
                        last edited by

                        Perhaps try stopping all instances of electron and node.

                        Stop pm2

                        Then try the install again.

                        Reboot the Pi.

                        C 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 2 / 6
                        • 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