Read the statement by Michael Teeuw here.
After update, nothing happens.
-
@sdetweil said in After update, nothing happens.:
grep version node_modules/electron/package.json
pi@pi_mirror:~/MagicMirror__RL1 $ grep version node_modules/electron/package.json
“type”: “version”,
“version”: “8.5.3”
pi@pi_mirror:~/MagicMirror__RL1 $ -
@sdetweil one more diag command
lsb_release -a
-
pi@pi_mirror:~ $ lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 8.0 (jessie)
Release: 8.0
Codename: jessie
pi@pi_mirror:~ $ -
@Richard238 ok, thx. problem is new electron won’t run on Jessie anymore…
I don’t know if this will work.
from. the old mm folder
rm -rf node_modules/electron
npm install electron@6.1.12
then npm start -
@sdetweil said in After update, nothing happens.:
npm install electron@6.1.12
Sam, you’re a genius!
That’s fixed it.
This will only happen again in the not too distant future I’m sure, so would I be better off installing a newer OS?
And then how do I recreate my MM on said new OS?I’m going to logoff for now, thanks again for your help today.
More tomorrow I’m sure.
Kind regards,
Richard. -
copy your MagicMirror folder to save it somewhere
u can zip it to to save spaceinstall buster on your sd card
run the installer to get things setup
restore you MM zip file
erase the node_modules folder
npm install (this should put on the newer electron)
npm start -
Old MM FTPd to NAS.
Installing new OS now, on a different SD card so I can go back if absolutely necessary.
My plan is to build a new MM as the old one had a lot of clutter - old unused modules etc.
Taking the opportunity for a fresh start. I’ll let you know how it goes… -
@Richard238 said in After update, nothing happens.:
Old MM FTPd to NAS.
Installing new OS now, on a different SD card so I can go back if absolutely necessary.
My plan is to build a new MM as the old one had a lot of clutter - old unused modules etc.
Taking the opportunity for a fresh start. I’ll let you know how it goes…14:24
All done.
MM back just as it was with custom CSS, but this time using only the modules installed that I actually need.
MM accessible from any LAN attached device as I don’t have it setup as a mirror anywhere.
The terminal window is showing a constatnt log of what’s happening. Is that correct - I don’t remember it from MM_OLD?And will the update notification module do anything now, or do I need to do anything?
-
@Richard238 edit the config.js, there us a new logLevel setting, make sure debug is not included
-
@Richard238 updatenotification will continue to advise things that have changed…
are u at 2.14 w 8.5 electron?
-
I copied my config.js into the new install, and deleted all the old commented-out module junk I was no longer using.
Added the 'loglevel: [… ’ line, doesn’t yet seem to have made any difference. Reboot required perhaps?2.14? Package.Json = “version” : “2.14.0”
Electron is 8.5
pi@magicmirror:~/MagicMirror $ grep version node_modules/electron/package.json "version": "8.5.5" pi@magicmirror:~/MagicMirror $ -
@Richard238 can u show me some of the messages?
-
@Richard238 notice its logLevel, second l is capital
-
rue" in Electron 9. For more information please check https://github.com/electron/electron/issues/18397 [02.01.2021 14:46.31.149] [LOG] Create new calendar fetcher for url: https://calendar.google.com/calendar/##################################### Interval: 300000 [02.01.2021 14:46.31.360] [LOG] Create new calendar fetcher for url: https://calendar.google.com/calendar/##################################### Interval: 300000 [02.01.2021 14:46.31.366] [LOG] Create new news fetcher for url: http://feeds.reuters.com/reuters/UKTopNews - Interval: 120000 [02.01.2021 14:46.31.437] [LOG] Create new news fetcher for url: http://feeds.skynews.com/feeds/rss/world.xml - Interval: 120000 [02.01.2021 14:46.31.447] [INFO] Checking git for module: MMM-doomsDay [02.01.2021 14:46.31.455] [INFO] Checking git for module: MMM-MysqlQuery [02.01.2021 14:46.32.473] [INFO] Newsfeed-Fetcher: Broadcasting 10 items. [02.01.2021 14:46.33.722] [INFO] Calendar-Fetcher: Broadcasting 4 events. [02.01.2021 14:46.35.400] [INFO] Calendar-Fetcher: Broadcasting 6 events. [02.01.2021 14:48.32.644] [INFO] Newsfeed-Fetcher: Broadcasting 10 items.ipWhitelist: [], //ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.1/120",], language: 'en', logLevel: ["INFO", "LOG", "WARN", "ERROR"], // Add "DEBUG" for even more logging timeFormat: 24,I guess changing it to logLevel: [] ?
-
@Richard238 all of the messages are normal.
maybe u started w pm2 before -
@Richard238 just FYI we were able to reproduce your problem on Jessie. So os upgrade, or downgrade electron were the only options
-
@sdetweil said in After update, nothing happens.:
@Richard238 all of the messages are normal.
maybe u started w pm2 beforeRebooted, no change. Not a worry, just curious.
How though do I get MM to auto start at boot? -
@Richard238 use pm2, u should have been prompted during my scripted install.
but use the fixuppm2 instructions here, last entry on the page
-
@sdetweil said in After update, nothing happens.:
@Richard238 just FYI we were able to reproduce your problem on Jessie. So os upgrade, or downgrade electron were the only options
Does that mean a change to the documentation, or have the install/update script(s) check for OS level before proceeding? (Or both, of course.)
There must be many, many MM installs out there running on old OSs. -
@Richard238 i will update my scripts to check and advise.
but my scripts are optional. I doubt the base will check. technically only supports pi3 and 4, but I try to make it to run anywhere
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