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 41.8k 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

      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

        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 Reply Quote 0
        • S Offline
          sdetweil @Peter Leemon
          last edited by sdetweil

          @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

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

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

              @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

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

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

                  @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

                    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

                      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

                        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 Reply Quote 0
                        • J Offline
                          jims
                          last edited by

                          And during the update :

                          
                          
                          pi@raspberrypi:~/MagicMirror $ git pull && npm install
                          Mise à jour 5bf90ae..447c0bf
                          Fast-forward
                           .eslintrc.json                                     |    1 +
                           .github/ISSUE_TEMPLATE.md                          |   21 +-
                           .travis.yml                                        |   27 +-
                           CHANGELOG.md                                       |   59 +-
                           Gruntfile.js                                       |   13 +-
                           clientonly/index.js                                |    2 -
                           config/config.js.sample                            |   18 +-
                           index.html                                         |    2 +-
                           installers/dumpactivemodules.js                    |   15 -
                           installers/fixuppm2.sh                             |  183 -
                           installers/mm.sh                                   |    1 +
                           installers/pm2_MagicMirror.json                    |    7 -
                           installers/postinstall/postinstall.sh              |    2 -
                           installers/raspberry.sh                            |  569 ---
                           installers/screensaveroff.sh                       |  101 -
                           installers/upgrade-script.sh                       |  361 --
                           js/app.js                                          |   11 +-
                           js/electron.js                                     |    2 -
                           js/loader.js                                       |    6 +-
                           js/main.js                                         |   15 +-
                           js/module.js                                       |   11 +-
                           js/node_helper.js                                  |    4 +-
                           js/server.js                                       |   14 +-
                           js/socketclient.js                                 |    8 +-
                           modules/README.md                                  |  721 ----
                           modules/default/alert/README.md                    |   63 +-
                           modules/default/calendar/README.md                 |  105 +-
                           modules/default/calendar/calendar.js               |    4 +-
                           modules/default/calendar/calendarfetcher.js        |   13 +-
                           modules/default/calendar/debug.js                  |    2 +-
                           .../default/calendar/vendor/ical.js/node-ical.js   |   15 +-
                           modules/default/clock/README.md                    |   54 +-
                           modules/default/clock/clock.js                     |   58 +-
                           modules/default/clock/clock_screenshot.png         |  Bin 30525 -> 0 bytes
                           modules/default/clock/clock_styles.css             |   10 +
                           modules/default/compliments/README.md              |  148 +-
                           modules/default/compliments/compliments.js         |   41 +-
                           .../default/compliments/compliments_screenshot.png |  Bin 26157 -> 0 bytes
                           modules/default/currentweather/README.md           |   86 +-
                           modules/default/currentweather/currentweather.js   |   23 +-
                           .../default/currentweather/weather_screenshot.png  |  Bin 38566 -> 0 bytes
                           modules/default/helloworld/README.md               |   23 +-
                           modules/default/newsfeed/README.md                 |  104 +-
                           modules/default/newsfeed/newsfeed.js               |    5 +-
                           modules/default/newsfeed/newsfeed_screenshot.png   |  Bin 45375 -> 0 bytes
                           modules/default/updatenotification/README.md       |   24 +-
                           modules/default/updatenotification/node_helper.js  |   74 +-
                           .../updatenotification/updatenotification.js       |    1 +
                           modules/default/weather/README.md                  |  117 +-
                           modules/default/weather/current.png                |  Bin 8141 -> 0 bytes
                           modules/default/weather/forecast.png               |  Bin 16385 -> 0 bytes
                           modules/default/weatherforecast/README.md          |   79 +-
                           .../weatherforecast/forecast_screenshot.png        |  Bin 86206 -> 0 bytes
                           package-lock.json                                  | 4524 +++++++++-----------
                           package.json                                       |   21 +-
                           run-start.sh                                       |   67 -
                           serveronly/index.js                                |    3 +-
                           tests/configs/check_config.js                      |   14 +-
                           .../modules/compliments/compliments_date.js        |   41 +
                           .../modules/weather/forecastweather_default.js     |   46 +-
                           .../modules/weather/forecastweather_options.js     |   52 +-
                           tests/e2e/modules/compliments_spec.js              |   15 +
                           tests/e2e/modules/mocks/weather_current.js         |   98 +-
                           tests/e2e/modules/mocks/weather_forecast.js        |  184 +-
                           tests/e2e/modules/weather_spec.js                  |   39 +-
                           tests/e2e/vendor_spec.js                           |   15 +-
                           tests/node_modules/webdriverajaxstub/index.js      |    4 +-
                           tests/unit/functions/currentweather_spec.js        |    1 +
                           tests/unit/functions/weatherforecast_spec.js       |    1 +
                           translations/fi.json                               |    5 +-
                           translations/he.json                               |   36 +
                           translations/hr.json                               |    2 +-
                           translations/pl.json                               |    3 +-
                           translations/pt-br.json                            |    5 +-
                           translations/tr.json                               |   14 +-
                           translations/translations.js                       |   10 +-
                           translations/uk.json                               |   36 +
                           untrack-css.sh                                     |   11 -
                           78 files changed, 2680 insertions(+), 5790 deletions(-)
                           mode change 100755 => 100644 CHANGELOG.md
                           delete mode 100644 installers/dumpactivemodules.js
                           delete mode 100755 installers/fixuppm2.sh
                           delete mode 100644 installers/pm2_MagicMirror.json
                           delete mode 100644 installers/postinstall/postinstall.sh
                           delete mode 100755 installers/raspberry.sh
                           delete mode 100755 installers/screensaveroff.sh
                           delete mode 100755 installers/upgrade-script.sh
                           delete mode 100644 modules/README.md
                           delete mode 100644 modules/default/clock/clock_screenshot.png
                           delete mode 100644 modules/default/compliments/compliments_screenshot.png
                           delete mode 100644 modules/default/currentweather/weather_screenshot.png
                           delete mode 100644 modules/default/newsfeed/newsfeed_screenshot.png
                           delete mode 100644 modules/default/weather/current.png
                           delete mode 100644 modules/default/weather/forecast.png
                           delete mode 100644 modules/default/weatherforecast/forecast_screenshot.png
                           delete mode 100755 run-start.sh
                           create mode 100644 tests/configs/modules/compliments/compliments_date.js
                           create mode 100644 translations/he.json
                           create mode 100644 translations/uk.json
                           delete mode 100755 untrack-css.sh
                          npm WARN deprecated @types/vfile-message@2.0.0: This is a stub types definition.                                      vfile-message provides its own type definitions, so you do not need this instal                                     led.
                          
                          > electron-chromedriver@6.0.0 install /home/pi/MagicMirror/node_modules/electron                                     -chromedriver
                          > node ./download-chromedriver.js
                          
                          
                          > electron@6.1.7 postinstall /home/pi/MagicMirror/node_modules/electron
                          > node install.js
                          
                          Downloading tmp-1525-1-SHASUMS256.txt-6.1.7
                          [============================================>] 100.0% of 5.56 kB (5.56 kB/s)
                          
                          > magicmirror@2.11.0 install /home/pi/MagicMirror
                          > echo "Installing vendor files ...
                          " && cd vendor && npm install --loglevel=error
                          
                          Installing vendor files ...
                          
                          audited 220 packages in 25.414s
                          found 8 vulnerabilities (7 low, 1 high)
                            run `npm audit fix` to fix them, or `npm audit` for details
                          
                          > magicmirror@2.11.0 postinstall /home/pi/MagicMirror
                          > npm run install-fonts && echo "MagicMirror installation finished successfully!                                     
                          "
                          
                          
                          > magicmirror@2.11.0 install-fonts /home/pi/MagicMirror
                          > echo "Installing fonts ...
                          " && cd fonts && npm install --loglevel=error
                          
                          Installing fonts ...
                          
                          audited 1 package in 3.182s
                          found 0 vulnerabilities
                          
                          MagicMirror installation finished successfully!
                          
                          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/fse                                     vents):
                          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@                                     2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}                                     )
                          
                          added 124 packages from 84 contributors, removed 79 packages, updated 54 package                                     s and moved 1 package in 774.482s
                          
                          26 packages are looking for funding
                            run `npm fund` for details
                          
                          pi@raspberrypi:~/MagicMirror $ sudo reboot
                          
                          
                          
                          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-02T07_56_36_218Z-debug.log
                          pi@raspberrypi:~ $ cd MagicMirror/
                          pi@raspberrypi:~/MagicMirror $ npm start
                          
                          > magicmirror@2.11.0 start /home/pi/MagicMirror
                          > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
                          
                          [2020-04-02 09:57:00.458] [LOG]    Starting MagicMirror: v2.11.0
                          [2020-04-02 09:57:00.477] [LOG]    Loading config ...
                          [2020-04-02 09:57:00.488] [LOG]    Loading module helpers ...
                          [2020-04-02 09:57:00.492] [LOG]    No helper found for module: alert.
                          [2020-04-02 09:57:00.601] [LOG]    Initializing new module helper ...
                          [2020-04-02 09:57:00.604] [LOG]    Module helper loaded: updatenotification
                          [2020-04-02 09:57:00.607] [LOG]    No helper found for module: clock.
                          [2020-04-02 09:57:01.480] [LOG]    Initializing new module helper ...
                          [2020-04-02 09:57:01.481] [LOG]    Module helper loaded: calendar
                          [2020-04-02 09:57:01.700] [LOG]    Initializing new module helper ...
                          [2020-04-02 09:57:01.703] [LOG]    Module helper loaded: MMM-Selfieshot
                          [2020-04-02 09:57:01.705] [LOG]    No helper found for module: compliments.
                          [2020-04-02 09:57:01.708] [LOG]    No helper found for module: currentweather.
                          [2020-04-02 09:57:01.711] [LOG]    No helper found for module: weatherforecast.
                          [2020-04-02 09:57:02.820] [LOG]    Initializing new module helper ...
                          [2020-04-02 09:57:02.822] [LOG]    Check MagicMirror version for node helper 'MM                                     M-Strava' - Minimum version:  2.2.0 - Current version: 2.11.0
                          [2020-04-02 09:57:02.823] [LOG]    Version is ok!
                          [2020-04-02 09:57:02.824] [LOG]    Module helper loaded: MMM-Strava
                          [2020-04-02 09:57:02.861] [ERROR]  WARNING! Could not load config file. Starting                                      with default configuration. Error found: Error: The module '/home/pi/MagicMirro                                     r/modules/MMM-PIR-Sensor/node_modules/epoll/build/Release/epoll.node'
                          was compiled against a different Node.js version using
                          NODE_MODULE_VERSION 64. This version of Node.js requires
                          NODE_MODULE_VERSION 73. Please try re-compiling or re-installing
                          the module (for instance, using `npm rebuild` or `npm install`).
                          [2020-04-02 09:57:02.864] [LOG]    Loading module helpers ...
                          [2020-04-02 09:57:02.867] [LOG]    No helper found for module: alert.
                          [2020-04-02 09:57:02.869] [LOG]    Initializing new module helper ...
                          [2020-04-02 09:57:02.871] [LOG]    Module helper loaded: updatenotification
                          [2020-04-02 09:57:02.873] [LOG]    No helper found for module: clock.
                          [2020-04-02 09:57:02.875] [LOG]    Initializing new module helper ...
                          [2020-04-02 09:57:02.877] [LOG]    Module helper loaded: calendar
                          [2020-04-02 09:57:02.878] [LOG]    Initializing new module helper ...
                          [2020-04-02 09:57:02.879] [LOG]    Module helper loaded: MMM-Selfieshot
                          [2020-04-02 09:57:02.881] [LOG]    No helper found for module: compliments.
                          [2020-04-02 09:57:02.882] [LOG]    No helper found for module: currentweather.
                          [2020-04-02 09:57:02.883] [LOG]    No helper found for module: weatherforecast.
                          [2020-04-02 09:57:02.884] [LOG]    Initializing new module helper ...
                          [2020-04-02 09:57:02.885] [LOG]    Check MagicMirror version for node helper 'MM                                     M-Strava' - Minimum version:  2.2.0 - Current version: 2.11.0
                          [2020-04-02 09:57:02.886] [LOG]    Version is ok!
                          [2020-04-02 09:57:02.887] [LOG]    Module helper loaded: MMM-Strava
                          [2020-04-02 09:57:02.899] [ERROR]  App threw an error during load
                          [2020-04-02 09:57:02.902] [ERROR]  Error: The module '/home/pi/MagicMirror/modul                                     es/MMM-PIR-Sensor/node_modules/epoll/build/Release/epoll.node'
                          was compiled against a different Node.js version using
                          NODE_MODULE_VERSION 64. This version of Node.js requires
                          NODE_MODULE_VERSION 73. Please try re-compiling or re-installing
                          the module (for instance, using `npm rebuild` or `npm install`).
                              at process.func (electron/js2c/asar.js:138:31)
                              at process.func [as dlopen] (electron/js2c/asar.js:138:31)
                              at Object.Module._extensions..node (internal/modules/cjs/loader.js:828:18)
                              at Object.func (electron/js2c/asar.js:138:31)
                              at Object.func [as .node] (electron/js2c/asar.js:138:31)
                              at Module.load (internal/modules/cjs/loader.js:645:32)
                              at Function.Module._load (internal/modules/cjs/loader.js:560:12)
                              at Module.require (internal/modules/cjs/loader.js:685:19)
                              at require (internal/modules/cjs/helpers.js:16:16)
                              at bindings (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/bindin                                     gs/bindings.js:112:48)
                              at /home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/epoll/epoll.js:7                                     :31
                              at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modu                                     les/epoll/epoll.js:15:3)
                              at Module._compile (internal/modules/cjs/loader.js:786:30)
                              at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10)
                              at Module.load (internal/modules/cjs/loader.js:645:32)
                              at Function.Module._load (internal/modules/cjs/loader.js:560:12)
                              at Module.require (internal/modules/cjs/loader.js:685:19)
                              at require (internal/modules/cjs/helpers.js:16:16)
                              at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modu                                     les/onoff/onoff.js:5:15)
                              at Module._compile (internal/modules/cjs/loader.js:786:30)
                              at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10)
                              at Module.load (internal/modules/cjs/loader.js:645:32)
                          [2020-04-02 09:57:02.907] [LOG]    Whoops! There was an uncaught exception...
                          [2020-04-02 09:57:02.909] [ERROR]  Error: The module '/home/pi/MagicMirror/modul                                     es/MMM-PIR-Sensor/node_modules/epoll/build/Release/epoll.node'
                          was compiled against a different Node.js version using
                          NODE_MODULE_VERSION 64. This version of Node.js requires
                          NODE_MODULE_VERSION 73. Please try re-compiling or re-installing
                          the module (for instance, using `npm rebuild` or `npm install`).
                              at process.func (electron/js2c/asar.js:138:31)
                              at process.func [as dlopen] (electron/js2c/asar.js:138:31)
                              at Object.Module._extensions..node (internal/modules/cjs/loader.js:828:18)
                              at Object.func (electron/js2c/asar.js:138:31)
                              at Object.func [as .node] (electron/js2c/asar.js:138:31)
                              at Module.load (internal/modules/cjs/loader.js:645:32)
                              at Function.Module._load (internal/modules/cjs/loader.js:560:12)
                              at Module.require (internal/modules/cjs/loader.js:685:19)
                              at require (internal/modules/cjs/helpers.js:16:16)
                              at bindings (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/bindin                                     gs/bindings.js:112:48)
                              at /home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/epoll/epoll.js:7                                     :31
                              at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modu                                     les/epoll/epoll.js:15:3)
                              at Module._compile (internal/modules/cjs/loader.js:786:30)
                              at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10)
                              at Module.load (internal/modules/cjs/loader.js:645:32)
                              at Function.Module._load (internal/modules/cjs/loader.js:560:12)
                              at Module.require (internal/modules/cjs/loader.js:685:19)
                              at require (internal/modules/cjs/helpers.js:16:16)
                              at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modu                                     les/onoff/onoff.js:5:15)
                              at Module._compile (internal/modules/cjs/loader.js:786:30)
                              at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10)
                              at Module.load (internal/modules/cjs/loader.js:645:32)
                          [2020-04-02 09:57:02.917] [LOG]    MagicMirror will not quit, but it might be a                                      good idea to check why this happened. Maybe no internet connection?
                          [2020-04-02 09:57:02.918] [LOG]    If you think this really is an issue, please                                      open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
                          [2020-04-02 09:57:03.080] [LOG]    Launching application.
                          
                          
                          
                          ^C[2020-04-02 09:59:16.827] [LOG]    Shutting down server...
                          [2020-04-02 09:59:16.835] [LOG]    Stopping module helper: updatenotification
                          [2020-04-02 09:59:16.836] [LOG]    Stopping module helper: calendar
                          [2020-04-02 09:59:16.837] [LOG]    Stopping module helper: MMM-Selfieshot
                          [2020-04-02 09:59:16.838] [LOG]    Stopping module helper: MMM-Strava
                          [2020-04-02 09:59:16.839] [LOG]    Stopping module helper: updatenotification
                          [2020-04-02 09:59:16.840] [LOG]    Stopping module helper: calendar
                          [2020-04-02 09:59:16.842] [LOG]    Stopping module helper: MMM-Selfieshot
                          [2020-04-02 09:59:16.843] [LOG]    Stopping module helper: MMM-Strava
                          
                          pi@raspberrypi:~/MagicMirror $ npm start
                          
                          > magicmirror@2.11.0 start /home/pi/MagicMirror
                          > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
                          
                          [2020-04-02 09:59:39.647] [LOG]    Starting MagicMirror: v2.11.0
                          [2020-04-02 09:59:39.665] [LOG]    Loading config ...
                          [2020-04-02 09:59:39.675] [LOG]    Loading module helpers ...
                          [2020-04-02 09:59:39.682] [LOG]    No helper found for module: alert.
                          [2020-04-02 09:59:39.796] [LOG]    Initializing new module helper ...
                          [2020-04-02 09:59:39.798] [LOG]    Module helper loaded: updatenotification
                          [2020-04-02 09:59:39.799] [LOG]    No helper found for module: clock.
                          [2020-04-02 09:59:40.636] [LOG]    Initializing new module helper ...
                          [2020-04-02 09:59:40.637] [LOG]    Module helper loaded: calendar
                          [2020-04-02 09:59:40.856] [LOG]    Initializing new module helper ...
                          [2020-04-02 09:59:40.858] [LOG]    Module helper loaded: MMM-Selfieshot
                          [2020-04-02 09:59:40.861] [LOG]    No helper found for module: compliments.
                          [2020-04-02 09:59:40.862] [LOG]    No helper found for module: currentweather.
                          [2020-04-02 09:59:40.864] [LOG]    No helper found for module: weatherforecast.
                          [2020-04-02 09:59:41.992] [LOG]    Initializing new module helper ...
                          [2020-04-02 09:59:41.994] [LOG]    Check MagicMirror version for node helper 'MMM-Strava' - Minimum version:  2.2.0 - Current version: 2.11.0
                          [2020-04-02 09:59:41.996] [LOG]    Version is ok!
                          [2020-04-02 09:59:41.997] [LOG]    Module helper loaded: MMM-Strava
                          [2020-04-02 09:59:42.049] [LOG]    Initializing new module helper ...
                          [2020-04-02 09:59:42.051] [LOG]    Module helper loaded: newsfeed
                          [2020-04-02 09:59:42.054] [LOG]    No helper found for module: MMM-YouTube.
                          [2020-04-02 09:59:42.074] [LOG]    Initializing new module helper ...
                          [2020-04-02 09:59:42.076] [LOG]    Module helper loaded: MMM-Spotify
                          [2020-04-02 09:59:42.382] [ERROR]  WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module '/home/pi/MagicMirror/modules/MMM-Hotword/snowboy/lib/node/binding/Release/electron-v6.1-linux-arm/snowboy.node'
                          Require stack:
                          - /home/pi/MagicMirror/modules/MMM-Hotword/snowboy/lib/node/index.js
                          - /home/pi/MagicMirror/modules/MMM-Hotword/node_helper.js
                          - /home/pi/MagicMirror/js/app.js
                          - /home/pi/MagicMirror/js/electron.js
                          - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
                          -
                          [2020-04-02 09:59:42.385] [LOG]    Loading module helpers ...
                          [2020-04-02 09:59:42.388] [LOG]    No helper found for module: alert.
                          [2020-04-02 09:59:42.391] [LOG]    Initializing new module helper ...
                          [2020-04-02 09:59:42.392] [LOG]    Module helper loaded: updatenotification
                          [2020-04-02 09:59:42.394] [LOG]    No helper found for module: clock.
                          [2020-04-02 09:59:42.396] [LOG]    Initializing new module helper ...
                          [2020-04-02 09:59:42.397] [LOG]    Module helper loaded: calendar
                          [2020-04-02 09:59:42.398] [LOG]    Initializing new module helper ...
                          [2020-04-02 09:59:42.398] [LOG]    Module helper loaded: MMM-Selfieshot
                          [2020-04-02 09:59:42.400] [LOG]    No helper found for module: compliments.
                          [2020-04-02 09:59:42.401] [LOG]    No helper found for module: currentweather.
                          [2020-04-02 09:59:42.402] [LOG]    No helper found for module: weatherforecast.
                          [2020-04-02 09:59:42.403] [LOG]    Initializing new module helper ...
                          [2020-04-02 09:59:42.404] [LOG]    Check MagicMirror version for node helper 'MMM-Strava' - Minimum version:  2.2.0 - Current version: 2.11.0
                          [2020-04-02 09:59:42.405] [LOG]    Version is ok!
                          [2020-04-02 09:59:42.406] [LOG]    Module helper loaded: MMM-Strava
                          [2020-04-02 09:59:42.407] [LOG]    Initializing new module helper ...
                          [2020-04-02 09:59:42.408] [LOG]    Module helper loaded: newsfeed
                          [2020-04-02 09:59:42.410] [LOG]    No helper found for module: MMM-YouTube.
                          [2020-04-02 09:59:42.412] [LOG]    Initializing new module helper ...
                          [2020-04-02 09:59:42.414] [LOG]    Module helper loaded: MMM-Spotify
                          [2020-04-02 09:59:42.428] [ERROR]  App threw an error during load
                          [2020-04-02 09:59:42.429] [ERROR]  Error: Cannot find module '/home/pi/MagicMirror/modules/MMM-Hotword/snowboy/lib/node/binding/Release/electron-v6.1-linux-arm/snowboy.node'
                          Require stack:
                          - /home/pi/MagicMirror/modules/MMM-Hotword/snowboy/lib/node/index.js
                          - /home/pi/MagicMirror/modules/MMM-Hotword/node_helper.js
                          - /home/pi/MagicMirror/js/app.js
                          - /home/pi/MagicMirror/js/electron.js
                          - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
                          -
                              at Module._resolveFilename (internal/modules/cjs/loader.js:627:15)
                              at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:41:16)
                              at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
                              at Function.Module._load (internal/modules/cjs/loader.js:531:27)
                              at Module.require (internal/modules/cjs/loader.js:685:19)
                              at require (internal/modules/cjs/helpers.js:16:16)
                              at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Hotword/snowboy/lib/node/index.js:8:29)
                              at Module._compile (internal/modules/cjs/loader.js:786:30)
                              at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10)
                              at Module.load (internal/modules/cjs/loader.js:645:32)
                              at Function.Module._load (internal/modules/cjs/loader.js:560:12)
                              at Module.require (internal/modules/cjs/loader.js:685:19)
                              at require (internal/modules/cjs/helpers.js:16:16)
                              at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Hotword/node_helper.js:11:18)
                              at Module._compile (internal/modules/cjs/loader.js:786:30)
                              at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10)
                              at Module.load (internal/modules/cjs/loader.js:645:32)
                              at Function.Module._load (internal/modules/cjs/loader.js:560:12)
                              at Module.require (internal/modules/cjs/loader.js:685:19)
                              at require (internal/modules/cjs/helpers.js:16:16)
                              at loadModule (/home/pi/MagicMirror/js/app.js:131:17)
                              at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5)
                          [2020-04-02 09:59:42.432] [LOG]    Whoops! There was an uncaught exception...
                          [2020-04-02 09:59:42.433] [ERROR]  Error: Cannot find module '/home/pi/MagicMirror/modules/MMM-Hotword/snowboy/lib/node/binding/Release/electron-v6.1-linux-arm/snowboy.node'
                          Require stack:
                          - /home/pi/MagicMirror/modules/MMM-Hotword/snowboy/lib/node/index.js
                          - /home/pi/MagicMirror/modules/MMM-Hotword/node_helper.js
                          - /home/pi/MagicMirror/js/app.js
                          - /home/pi/MagicMirror/js/electron.js
                          - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
                          -
                              at Module._resolveFilename (internal/modules/cjs/loader.js:627:15)
                              at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:41:16)
                              at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
                              at Function.Module._load (internal/modules/cjs/loader.js:531:27)
                              at Module.require (internal/modules/cjs/loader.js:685:19)
                              at require (internal/modules/cjs/helpers.js:16:16)
                              at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Hotword/snowboy/lib/node/index.js:8:29)
                              at Module._compile (internal/modules/cjs/loader.js:786:30)
                              at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10)
                              at Module.load (internal/modules/cjs/loader.js:645:32)
                              at Function.Module._load (internal/modules/cjs/loader.js:560:12)
                              at Module.require (internal/modules/cjs/loader.js:685:19)
                              at require (internal/modules/cjs/helpers.js:16:16)
                              at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Hotword/node_helper.js:11:18)
                              at Module._compile (internal/modules/cjs/loader.js:786:30)
                              at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10)
                              at Module.load (internal/modules/cjs/loader.js:645:32)
                              at Function.Module._load (internal/modules/cjs/loader.js:560:12)
                              at Module.require (internal/modules/cjs/loader.js:685:19)
                              at require (internal/modules/cjs/helpers.js:16:16)
                              at loadModule (/home/pi/MagicMirror/js/app.js:131:17)
                              at loadNextModule (/home/pi/MagicMirror/js/app.js:165:5) {
                            code: 'MODULE_NOT_FOUND',
                            requireStack: [
                              '/home/pi/MagicMirror/modules/MMM-Hotword/snowboy/lib/node/index.js',
                              '/home/pi/MagicMirror/modules/MMM-Hotword/node_helper.js',
                              '/home/pi/MagicMirror/js/app.js',
                              '/home/pi/MagicMirror/js/electron.js',
                              '/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js',
                              undefined
                            ]
                          }
                          [2020-04-02 09:59:42.447] [LOG]    MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
                          [2020-04-02 09:59:42.449] [LOG]    If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
                          [2020-04-02 09:59:42.629] [LOG]    Launching application.
                          ^C[2020-04-02 10:01:17.981] [LOG]    Shutting down server...
                          [2020-04-02 10:01:17.990] [LOG]    Stopping module helper: updatenotification
                          [2020-04-02 10:01:17.992] [LOG]    Stopping module helper: calendar
                          [2020-04-02 10:01:17.993] [LOG]    Stopping module helper: MMM-Selfieshot
                          [2020-04-02 10:01:17.994] [LOG]    Stopping module helper: MMM-Strava
                          [2020-04-02 10:01:17.996] [LOG]    Stopping module helper: newsfeed
                          [2020-04-02 10:01:17.997] [LOG]    Stopping module helper: MMM-Spotify
                          [2020-04-02 10:01:17.999] [LOG]    Stopping module helper: updatenotification
                          [2020-04-02 10:01:18.001] [LOG]    Stopping module helper: calendar
                          [2020-04-02 10:01:18.003] [LOG]    Stopping module helper: MMM-Selfieshot
                          [2020-04-02 10:01:18.005] [LOG]    Stopping module helper: MMM-Strava
                          [2020-04-02 10:01:18.007] [LOG]    Stopping module helper: newsfeed
                          [2020-04-02 10:01:18.009] [LOG]    Stopping module helper: MMM-Spotify
                          pi@raspberrypi:~/MagicMirror $ git pull
                          Déjà à jour.
                          pi@raspberrypi:~/MagicMirror $ apt-get update
                          Lecture des listes de paquets... Fait
                          E: Impossible d'ouvrir le fichier verrou /var/lib/apt/lists/lock - open (13: Permission non accordée)
                          E: Impossible de verrouiller le répertoire /var/lib/apt/lists/
                          W: Problème de suppression du lien /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission non accordée)
                          W: Problème de suppression du lien /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission non accordée)
                          pi@raspberrypi:~/MagicMirror $ cd ..
                          pi@raspberrypi:~ $ apt-get update
                          Lecture des listes de paquets... Fait
                          E: Impossible d'ouvrir le fichier verrou /var/lib/apt/lists/lock - open (13: Permission non accordée)
                          E: Impossible de verrouiller le répertoire /var/lib/apt/lists/
                          W: Problème de suppression du lien /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission non accordée)
                          W: Problème de suppression du lien /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission non accordée)
                          pi@raspberrypi:~ $ ^C
                          pi@raspberrypi:~ $ cmd": "cd $MIRROR_APP_PATH/ && git checkout modules/node_modules/node_helper/index.js
                          -bash: cmd: cd : commande introuvable
                          pi@raspberrypi:~ $ 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:/ $ ls
                          bin  boot  dev  etc  home  lib  lost+found  media  mnt  opt  proc  root  run  sbin  srv  sys  tmp  usr  var
                          pi@raspberrypi:/ $
                          
                          

                          Thanks for help…

                          1 Reply Last reply Reply Quote 0
                          • J Offline
                            jims
                            last edited by jims

                            after had followed the explanations page 3, the mirror is okay.
                            But, he seems that jarvis doesn’t work as before… when I say ‘what time is it’ he open a windows with the google search haha but otherwize the over questions are ok, jarvis answer correctly.
                            After, The module spotify doesn t work and PIR sensor… I will check it
                            sorry for my english, i m french

                            1 Reply Last reply Reply Quote 0
                            • M Offline
                              minomit
                              last edited by

                              Some problem:

                              git pull

                              Updating 5bf90ae…447c0bf
                              error: Your local changes to the following files would be overwritten by merge:
                              modules/default/compliments/compliments.js
                              package-lock.json
                              Please commit your changes or stash them before you merge.
                              Aborting

                              help me please, thanks

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

                                @jims said in Update MMM:

                                local version 2.11.0 already same as master 2.11.0

                                if at the same level u have to use ‘force’ as ‘apply’ will stop if the same level

                                pi@raspberrypi:~ $ npm start

                                always start MM from the ~/MagicMirror folder, not the users home folder

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                1 Reply Last reply Reply Quote 0
                                • M Offline
                                  minomit
                                  last edited by

                                  no update from version 2.10.1 to 2.11.0
                                  in the folder:

                                  pi@raspberrypi:~/MagicMirror $ bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)”
                                  bash: warning: setlocale: LC_ALL: cannot change locale (it_IT)
                                  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.10.1 to 2.11.0
                                  fetching latest revisions
                                  bash: line 396: warning: setlocale: LC_ALL: cannot change locale (it_IT)
                                  bash: line 396: warning: setlocale: LC_ALL: cannot change locale (it_IT)
                                  there are 2 local files that are different than the master repo

                                  modules/default/compliments/compliments.js
                                  package-lock.json

                                  any *-lock.json files do not need to be saved
                                  do you want to save these files for later (Y/n)?n
                                  skipping restore for modules/default/compliments/compliments.js, doing test run
                                  skipping restore for package-lock.json, doing test run
                                  processing dependency changes for active modules with package.json files

                                  processing for module MMM-network-signal please wait

                                  skipped processing for MMM-network-signal, doing test run
                                  processing complete for module MMM-network-signal

                                  processing for module MMM-GooglePhotos please wait

                                  skipped processing for MMM-GooglePhotos, doing test run
                                  processing complete for module MMM-GooglePhotos

                                  processing for module MMM-COVID19-SPARKLINE please wait

                                  skipped processing for MMM-COVID19-SPARKLINE, doing test run
                                  processing complete for module MMM-COVID19-SPARKLINE

                                  processing for module MMM-NowPlayingOnSpotify please wait

                                  skipped processing for MMM-NowPlayingOnSpotify, doing test run
                                  processing complete for module MMM-NowPlayingOnSpotify

                                  processing for module MMM-AlexaControl please wait

                                  skipped processing for MMM-AlexaControl, doing test run
                                  processing complete for module MMM-AlexaControl

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

                                    @minomit said in Update MMM:

                                    doing test run = true

                                    upgrade-script.sh will do the git pull and npm install, and refresh npm setup for any modules that might need it
                                    it should handle all the work… and give you a trial run of all that…
                                    
                                    only applying changes if u request them
                                    
                                    give it a try this works on Mac as well
                                    
                                    bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)"
                                    no changes are made to the local repo or the working copy
                                    
                                    **if you WANT to actually apply the changes do**
                                    
                                    bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" apply
                                    there is a log file (upgrade.log) in the MagicMirror/installers folder…
                                    

                                    I built it to TEST first… and not just blindly apply… give u a chance to figure out what to do…

                                    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 sdetweil

                                      @minomit

                                      notice it highlights a file u might want to look out for

                                      modules/default/compliments/compliments.js

                                      did u change this? if so, your changes might be lost

                                      Sam

                                      How to add modules

                                      learning how to use browser developers window for css changes

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

                                        @sdetweil yes, I tried to put the original file too, same problem

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

                                          @minomit which ‘same problem’

                                          if u want the original file back

                                          cd ~/MagicMirror
                                          git checkout modules/default/compliments/compliments.js
                                          

                                          did u do this

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

                                          Sam

                                          How to add modules

                                          learning how to use browser developers window for css changes

                                          1 Reply Last reply Reply Quote 0
                                          • M Offline
                                            minomit
                                            last edited by

                                            ok ok, perfect thanks

                                            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