Read the statement by Michael Teeuw here.
Issues after update - restoring?
-
@nakulbende said in Issues after update - restoring?:
can u post the package.json file from the MMM-pihole-stats module folder
-
{ "name": "mmm-pihole-stats", "version": "1.0.0", "description": "Pi-Hole stats for MagicMirror2", "repository": { "type": "git", "url": "git+https://github.com/sheyabernstein/mmm-pihole-stats.git" }, "keywords": [ "MagicMirror", "Pi-Hole", ], "author": "sheyabernstein", "license": "MIT", "bugs": { "url": "https://github.com/sheyabernstein/mmm-pihole-stats/issues" }, "homepage": "https://github.com/sheyabernstein/mmm-pihole-stats#readme" }
-
remove the trailing comma
"Pi-Hole", // < -- here
then go to the module folder and do
npm install
but I don’t see pihole-stats starting in the startup… but it is listed as not disabled in config.js
(can u show me its config.js entry)for MMM-GoogleFit module, it looks like
: Cannot read property ‘startOnMonday’ of undefined
that property is not defined in the config.js module entry -
@sdetweil Thank you so much for your time. If you are ever in Boston area, please let me buy you dinner. You have been a huge help and a great teacher.
I think I fixed the pihole-stats thing as you said. Here is the config.json entry
// Pihole stats { module: 'MMM-pihole-stats', position: 'bottom_bar', config: { apiURL: 'http://pi.hole/admin/api.php' } },
-
@nakulbende cool, thanks for the feedback… are you running ok now?
-
I am! It ran overnight without crashing, as soon as I disabled fitbit. Sad that I cant use it.
I am still having issues with ssh. I ran your update script again, but it said it is already on new version. Did my update go well, except that stupid error pi-hole stats threw?
-
@nakulbende yes, I think update worked…
I posted a link in the other topic about a new fitbit module
u could try to do the update again use ‘force’, instead of ‘apply’
-
I saw that - the new fitbit module looks great, I am going to try it later today. Thanks!