• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Update MMM

Scheduled Pinned Locked Moved Solved Troubleshooting
75 Posts 8 Posters 28.7k Views 9 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.
  • P Offline
    Peter Leemon
    last edited by Apr 2, 2020, 3:07 AM

    yes that worked thank you, just have figure out how to update google photos to update now.

    1 Reply Last reply Reply Quote 0
    • P Offline
      Peter Leemon
      last edited by Peter Leemon Apr 2, 2020, 3:20 AM Apr 2, 2020, 3:18 AM

      have just done a git pull and npm install in MMM-GooglePhotos module now the MM has a black screen everything else is working just no images showing
      ?

      S 1 Reply Last reply Apr 2, 2020, 4:09 AM Reply Quote 0
      • S Away
        sdetweil @Peter Leemon
        last edited by sdetweil Apr 2, 2020, 4:10 AM Apr 2, 2020, 4:09 AM

        @Peter-Leemon did u npm install in the GooglePhotos folder?

        Open the developers window, ctrl-shift-i on the keyboard, then select the console tab and scroll up to see any errors

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • P Offline
          Peter Leemon
          last edited by Apr 2, 2020, 4:12 AM

          is that in MagicMirror/modules/MMM-GooglePhotos or just in pi@raspberrypi folder?

          S 1 Reply Last reply Apr 2, 2020, 4:22 AM Reply Quote 0
          • S Away
            sdetweil @Peter Leemon
            last edited by Apr 2, 2020, 4:22 AM

            @Peter-Leemon said in Update MMM:

            MagicMirror/modules/MMM-GooglePhotos

            the dev window is on the MM screen itself…

            or start MM with npm start dev and then select the console tab on the MM screen

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • P Offline
              Peter Leemon
              last edited by Apr 2, 2020, 4:24 AM

              I’ve also noticed the Calendar doesnt update any events added either in apple calendar or google calendar

              S 1 Reply Last reply Apr 2, 2020, 4:30 AM Reply Quote 0
              • S Away
                sdetweil @Peter Leemon
                last edited by Apr 2, 2020, 4:30 AM

                @Peter-Leemon i will have to check that tomorrow… I haven’t done any testing except to update my install and update scripts for v 2.11.

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • P Offline
                  Peter Leemon
                  last edited by Apr 2, 2020, 4:37 AM

                  Thank you atm I’m doing a backup of the SD card as separate and i might put an pre updated copy back on and run that until then.

                  Thank you

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    jims
                    last edited by Apr 2, 2020, 8:38 AM

                    hello! I have the same problem. I am going to test the command to check. Updat in progress. I will see if it’s okay after updating. Thanks for your help!

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      jims
                      last edited by Apr 2, 2020, 9:14 AM

                      doesn t work… already black screen… I have PIR Sensor too

                      I did this :

                      login as: pi
                      pi@192.168.1.18's password:
                      Linux raspberrypi 4.19.75-v7+ #1270 SMP Tue Sep 24 18:45:11 BST 2019 armv7l
                      
                      The programs included with the Debian GNU/Linux system are free software;
                      the exact distribution terms for each program are described in the
                      individual files in /usr/share/doc/*/copyright.
                      
                      Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                      permitted by applicable law.
                      Last login: Thu Apr  2 09:55:59 2020 from 192.168.1.11
                      pi@raspberrypi:~ $ cd MagicMirror/
                      pi@raspberrypi:~/MagicMirror $ cd $MIRROR_APP_PATH/ && git checkout modules/node_modules/node_helper/index.js
                      fatal: ni ceci ni aucun de ses répertoires parents n'est un dépôt git : .git
                      pi@raspberrypi:/ $ git checkout modules/node_modules/node_helper/index.js       fatal: ni ceci ni aucun de ses répertoires parents n'est un dépôt git : .git
                      pi@raspberrypi:/ $
                      pi@raspberrypi:/ $
                      login as: pi
                      pi@192.168.1.18's password:
                      Linux raspberrypi 4.19.75-v7+ #1270 SMP Tue Sep 24 18:45:11 BST 2019 armv7l
                      
                      The programs included with the Debian GNU/Linux system are free software;
                      the exact distribution terms for each program are described in the
                      individual files in /usr/share/doc/*/copyright.
                      
                      Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                      permitted by applicable law.
                      Last login: Thu Apr  2 10:20:36 2020
                      pi@raspberrypi:~ $
                      pi@raspberrypi:~ $ cd MagicMirror/
                      pi@raspberrypi:~/MagicMirror $ npm stop
                      npm ERR! missing script: stop
                      
                      npm ERR! A complete log of this run can be found in:
                      npm ERR!     /home/pi/.npm/_logs/2020-04-02T08_23_06_473Z-debug.log
                      pi@raspberrypi:~/MagicMirror $ pm2 stop mm
                      [PM2][ERROR] Process or Namespace mm not found
                      pi@raspberrypi:~/MagicMirror $ pm2 stop
                      
                        error: missing required argument `id|name|namespace|all|json|stdin'
                      
                      pi@raspberrypi:~/MagicMirror $ pm2 stop MagicMirror
                      [PM2] Applying action stopProcessId on app [MagicMirror](ids: 0)
                      [PM2] [MagicMirror](0) ✓
                      ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
                      │ id │ name               │ mode     │ ↺    │ status    │ cpu      │ memory   │
                      ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
                      │ 0  │ MagicMirror        │ fork     │ 0    │ stopped   │ 0%       │ 0b       │
                      └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
                      pi@raspberrypi:~/MagicMirror $ bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)”
                      #: “#!/bin/bash: Aucun fichier ou dossier de ce type
                      pi@raspberrypi:~/MagicMirror $ cd ..
                      pi@raspberrypi:~ $ bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)”
                      #: “#!/bin/bash: Aucun fichier ou dossier de ce type
                      pi@raspberrypi:~ $ bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)"
                      
                      $$\      $$\                     $$\           $$\      $$\ $$\                                          $$$$$$\
                      $$$\    $$$ |                    \__|          $$$\    $$$ |\__|                                        $$  __$$\
                      $$$$\  $$$$ | $$$$$$\   $$$$$$\  $$\  $$$$$$$\ $$$$\  $$$$ |$$\  $$$$$$\   $$$$$$\   $$$$$$\   $$$$$$\  \__/  $$ |
                      $$\$$\$$ $$ | \____$$\ $$  __$$\ $$ |$$  _____|$$\$$\$$ $$ |$$ |$$  __$$\ $$  __$$\ $$  __$$\ $$  __$$\  $$$$$$  |
                      $$ \$$$  $$ | $$$$$$$ |$$ /  $$ |$$ |$$ /      $$ \$$$  $$ |$$ |$$ |  \__|$$ |  \__|$$ /  $$ |$$ |  \__|$$  ____/
                      $$ |\$  /$$ |$$  __$$ |$$ |  $$ |$$ |$$ |      $$ |\$  /$$ |$$ |$$ |      $$ |      $$ |  $$ |$$ |      $$ |
                      $$ | \_/ $$ |\$$$$$$$ |\$$$$$$$ |$$ |\$$$$$$$\ $$ | \_/ $$ |$$ |$$ |      $$ |      \$$$$$$  |$$ |      $$$$$$$$\
                      \__|     \__| \_______| \____$$ |\__| \_______|\__|     \__|\__|\__|      \__|       \______/ \__|      \________|
                                             $$\   $$ |
                                             \$$$$$$  |
                                              \______/
                      
                      install log being saved to /home/pi/install.log
                      Updating packages ...
                      Installing helper tools ...
                      Check current Node installation ...
                      Node currently installed. Checking version number.
                      Minimum Node version: v10.1.0
                      Installed Node version: v10.15.2
                      No Node.js upgrade necessary.
                      Check current NPM installation ...
                      NPM currently installed. Checking version number.
                      Minimum npm version: V6.0.0
                      Installed npm version: V6.13.6
                      No npm upgrade necessary.
                      It seems like MagicMirror is already installed.
                      To prevent overwriting, the installer will be aborted.
                      Please rename the ~/MagicMirror folder and try again.
                      
                      If you want to upgrade your installation run upgrade-script from the ~/MagicMirror/installers directory.
                      
                      pi@raspberrypi:~ $ bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)"
                      the log will be /home/pi/MagicMirror/installers/upgrade.log
                      No LSB modules are available.
                      doing test run = true
                      update log will be in /home/pi/MagicMirror/installers/upgrade.log
                      
                      upgrading from version 2.11.0 to 2.11.0
                      fetching latest revisions
                      there are 1 local files that are different than the master repo
                      
                         package-lock.json
                      
                      any *-lock.json files do not need to be saved
                      do you want to save these files for later   (Y/n)?y
                      processing dependency changes for active modules with package.json files
                      
                      processing for module MMM-Selfieshot please wait
                      ----------------------------------
                      skipped processing for MMM-Selfieshot, doing test run
                      processing complete for module MMM-Selfieshot
                      
                      processing for module MMM-Strava please wait
                      ----------------------------------
                      skipped processing for MMM-Strava, doing test run
                      processing complete for module MMM-Strava
                      
                      processing for module MMM-PIR-Sensor please wait
                      ----------------------------------
                      skipped processing for MMM-PIR-Sensor, doing test run
                      processing complete for module MMM-PIR-Sensor
                      
                      processing for module MMM-Spotify please wait
                      ----------------------------------
                      skipped processing for MMM-Spotify, doing test run
                      processing complete for module MMM-Spotify
                      
                      processing for module MMM-Hotword please wait
                      ----------------------------------
                      skipped processing for MMM-Hotword, doing test run
                      processing complete for module MMM-Hotword
                      
                      processing for module MMM-AssistantMk2 please wait
                      ----------------------------------
                      skipped processing for MMM-AssistantMk2, doing test run
                      processing complete for module MMM-AssistantMk2
                      
                      test run, restoring files stashed
                      pi@raspberrypi:~ $ bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" apply
                      the log will be /home/pi/MagicMirror/installers/upgrade.log
                      No LSB modules are available.
                      doing test run = false
                      update log will be in /home/pi/MagicMirror/installers/upgrade.log
                      
                      local version 2.11.0 already same as master 2.11.0
                      pi@raspberrypi:~ $ npm start
                      npm ERR! code ENOENT
                      npm ERR! syscall open
                      npm ERR! path /home/pi/package.json
                      npm ERR! errno -2
                      npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json'
                      npm ERR! enoent This is related to npm not being able to find a file.
                      npm ERR! enoent
                      
                      npm ERR! A complete log of this run can be found in:
                      npm ERR!     /home/pi/.npm/_logs/2020-04-02T09_03_45_797Z-debug.log
                      pi@raspberrypi:~ $ sudo reboot
                      pi@raspberrypi:~ $
                      login as: pi
                      pi@192.168.1.18's password:
                      Linux raspberrypi 4.19.97-v7+ #1294 SMP Thu Jan 30 13:15:58 GMT 2020 armv7l
                      
                      The programs included with the Debian GNU/Linux system are free software;
                      the exact distribution terms for each program are described in the
                      individual files in /usr/share/doc/*/copyright.
                      
                      Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                      permitted by applicable law.
                      Last login: Thu Apr  2 11:04:36 2020
                      pi@raspberrypi:~ $ bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/screensaveroff.sh)"
                      
                      server does not have extension for -dpms option
                      pi@raspberrypi:~ $
                      pi@raspberrypi:~ $ fixuppm2.sh
                      -bash: fixuppm2.sh : commande introuvable
                      pi@raspberrypi:~ $ pm2 stop mm
                      ^C
                      pi@raspberrypi:~ $ pm2 stop MagicMirror
                      [PM2] Applying action stopProcessId on app [MagicMirror](ids: 0)
                      [PM2] [MagicMirror](0) ✓
                      ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
                      │ id │ name               │ mode     │ ↺    │ status    │ cpu      │ memory   │
                      ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
                      │ 0  │ MagicMirror        │ fork     │ 0    │ stopped   │ 0%       │ 0b       │
                      └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
                      pi@raspberrypi:~ $ bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/screensaveroff.sh)"
                      pi@raspberrypi:~ $
                      pi@raspberrypi:~ $ fixuppm2.sh
                      -bash: fixuppm2.sh : commande introuvable
                      pi@raspberrypi:~ $ bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/screensaveroff.sh)"
                      pi@raspberrypi:~ $ bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/fixuppm2.sh)"
                      the log will be saved in /home/pi/MagicMirror/installers/pm2_setup.log
                      removed 207 packages in 17.491s
                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/pm2/node_modules/fsevents):
                      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                      
                      [PM2][ERROR] File /home/pi/MagicMirror/installers/pm2_MagicMirror.json not found
                      [PM2] Saving current process list...
                      [PM2][WARN] PM2 is not managing any process, skipping save...
                      [PM2][WARN] To force saving use: pm2 save --force
                      pi@raspberrypi:~ $ sudo reboot
                      
                      
                      S 1 Reply Last reply Apr 2, 2020, 11:43 AM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 8
                      • 6 / 8
                      6 / 8
                      • First post
                        58/75
                        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