Read the statement by Michael Teeuw here.
Update MMM
-
@mattx38 no, those won’t help anything
-
@mattx38 did u disable pir-sensor?
are there still problems (dev window, terminal window?)
-
Yes I disabled it.
Can I run a new Putty window while the rebuild of Assistant is running, to check ? -
@mattx38 sure
-
[2020-04-01 23:02:44.155] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Failed to load gRPC binary modu le because it was not installed for the current system
Expected directory: electron-v6.1-linux-arm-glibc
Found: [electron-v3.1-linux-arm-glibc, node-v64-linux-arm-glibc]
This problem can often be fixed by running “npm rebuild” on the current system
Original error: Cannot find module ‘/home/pi/MagicMirror/modules/MMM-AssistantMk 2/node_modules/grpc/src/node/extension_binary/electron-v6.1-linux-arm-glibc/grpc _node.node’
Require stack:- /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/grpc_exten sion.js
- /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_int erceptors.js
- /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client.js
- /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/index.js
- /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/google-assistant/co mponents/assistant.js
- /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/google-assistant/in dex.js
- /home/pi/MagicMirror/modules/MMM-AssistantMk2/components/assistant.js
- /home/pi/MagicMirror/modules/MMM-AssistantMk2/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/mai n.js
-
@mattx38 i’m sorry, now out of my depth of solutions… you’ll have to get @Sean (MMM-AssistantMk2 author) involved…
-
Ok, thanks for your help so far.
The rebuilding is not done yet ; still running. -
Rebuild is done for the Assistant. The MM is launnching again. I didn’t try to activate it by saying “Jarvis” (everyone is sleeping at home).
I put PIR module ON, black screen again, and still this error :
[2020-04-01 23:30:25.054] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: The module ‘/home/pi/MagicMirror/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, usingnpm rebuildornpm install).EDIT : So I did a “npm install” into the MMM-PIR-Sensor folder, and now it works again.
A very big THANK YOU to YOU !!! -
@mattx38 cool. My update script would have fixed PIR problem. But not assistant or hotword
-
HI all I’m getting the following message on my MM screen “MagicMirror2 update available” then underneath “The current installation is 2994 comments behind on the master branch”
Anyone know how to resolve this issue?
-
@Peter-Leemon run my update script from here
-
@sdetweil run the first script?
-
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… -
@sdetweil said in Update MMM:
bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)”
sorry a noob here do i run this in terminal?
-
@Peter-Leemon yes, stop MM first of course
-
when I paste bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh) i get no such file or directory
-
@Peter-Leemon dang forum, change the " to wrong character… copy/paste it again
need the trailing quote too
-
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.logupgrading from version 2.10.1 to 2.11.0
fetching latest revisions
there are 3 local files that are different than the master repomodules/default/calendar/calendar.js
modules/default/compliments/compliments.js
package-lock.jsonany *-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 filesprocessing for module MMM-NOAA3 please wait
skipped processing for MMM-NOAA3, doing test run
processing complete for module MMM-NOAA3processing for module MMM-EARTH please wait
skipped processing for MMM-EARTH, doing test run
processing complete for module MMM-EARTHprocessing for module MMM-GooglePhotos please wait
skipped processing for MMM-GooglePhotos, doing test run
processing complete for module MMM-GooglePhotostest run, restoring files stashed
pi@raspberrypi:~ $Is this correct?
-
@Peter-Leemon said in Update MMM:
doing test run = true
yes, now add ‘apply’’
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)" applyBUT
there are 3 local files that are different than the master repo
modules/default/calendar/calendar.js
modules/default/compliments/compliments.js
package-lock.jsonany *-lock.json files do not need to be saved
I assume u might want to save those changed files…
-
yes that worked thank you, just have figure out how to update google photos to update now.
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