@sdetweil But unfortunately I´m a lazy dog. There is nothing automated?
Read the statement by Michael Teeuw here.
Posts made by Klinge
-
RE: Black screen after update - reason layer 8!
-
RE: Black screen after update - reason layer 8!
@sdetweil That´s it. Thank you for your quick help.
The worst part is that I had the same problem before and did it wrong again.
The problem is that I run a cronjob at night where the update is triggered automatically via git “pull && npm install”. And you had already mentioned with my last problem that this is stinky.
Maybe you have another tip for me on how to best set up an automated update.
Thanks a lot.
-
Black screen after update - reason layer 8!
Hello,
since today my MM got a black screen.
When I start with " npm start dev" I got the following error[2021-04-02 14:27:32.741] [LOG] Initializing new module helper ... [2021-04-02 14:27:32.745] [LOG] Module helper loaded: MMM-DarkSkyForecast [2021-04-02 14:27:33.532] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'digest-fetch' Require stack: - /home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js - /home/pi/MagicMirror/modules/default/calendar/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 - [2021-04-02 14:27:33.535] [LOG] Loading module helpers ...
In the update notes I can see the following
Replaced deprecated request package with node-fetch and digest-fetch.
Refactored calendar fetcher.“npm rebuild” in the calendar module doesn´t help.
It would be wonderful if someone could help me.
Thank you in advance.
Lars -
RE: http connection denied despite open whiteList
@fribse That´s it! I thought there must be something simple. I changed it to 0.0.0.0 and it works.
Thanks to both of you for your help.
-
http connection denied despite open whiteList
Hi,
I tried to connect to my MM via Firefox on Port 8080. By it doesn´t works. I got the error “connection refused”.
When I tried to connect via telnet I get the error “connection error”.
But my whiteList is completely open.My config is
var config = { address: "localhost", // Address to listen on, can be: // - "localhost", "127.0.0.1", "::1" to listen on loopback interface // - another specific IPv4/6 to listen on a specific interface // - "0.0.0.0", "::" to listen on any interface // Default, when address config is left out or empty, is "localhost" electronOptions: { webPreferences: { webviewTag: true } }, port: 8080, basePath: "/", // The URL path where MagicMirror is hosted. If you are using a Reverse proxy // you must set the sub path here. basePath must end with a / ipWhitelist: [], //**** Set [] to allow all IP addresses // or add a specific IPv4 of 192.168.1.5 : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"], // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"], useHttps: false, // Support HTTPS or not, default "false" will use HTTP httpsPrivateKey: "", // HTTPS private key path, only require when useHttps is true httpsCertificate: "", // HTTPS Certificate path, only require when useHttps is true language: "de", logLevel: ["INFO", "LOG", "WARN", "ERROR"], timeFormat: 24,
So I allow all IPs.
My second MM has the same whiteList. And I can connect.
It would be fine, when you have some good ideas for me to help.
Thank you in advance.
Lars -
RE: Black screen after 2.13 update - tentatively resolved
@sdetweil
I run npm install in the …\MagicMirror FolderOk, in future I will use your script
-
RE: Black screen after 2.13 update - tentatively resolved
@sdetweil you are right. After an npm install it works. But I don´t understand it. Because, I run an update script with git pull && npm install in the MagicMirror Folder.
Whtatever, after the npm install it works. Is it running now because the electron was rebuilt?
Thank you for your help.
-
RE: Black screen after 2.13 update - tentatively resolved
@sdetweil said in Black screen after 2.13 update - tentatively resolved:
pm2 logs --lines=???
When I run the pm2 logs, I got the following logs
0|mm | [2020-10-02 14:32:00.841] [LOG] Module helper loaded: updatenotification 0|mm | [2020-10-02 14:32:00.843] [LOG] No helper found for module: clock. 0|mm | [2020-10-02 14:32:01.602] [LOG] 0|mm | Initializing new module helper ... 0|mm | [2020-10-02 14:32:01.604] [LOG] Module helper loaded: MMM-DarkSkyForecast 0|mm | [2020-10-02 14:32:01.620] [ERROR] 0|mm | WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'node-ical' 0|mm | Require stack: 0|mm | - /home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js 0|mm | - /home/pi/MagicMirror/modules/default/calendar/node_helper.js 0|mm | - /home/pi/MagicMirror/js/app.js 0|mm | - /home/pi/MagicMirror/js/electron.js 0|mm | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js 0|mm | - 0|mm | [2020-10-02 14:32:01.621] [LOG] Loading module helpers ... 0|mm | [2020-10-02 14:32:01.623] [LOG] No helper found for module: alert. 0|mm | [2020-10-02 14:32:01.627] [LOG] Initializing new module helper ... 0|mm | [2020-10-02 14:32:01.629] [LOG] Module helper loaded: updatenotification 0|mm | [2020-10-02 14:32:01.633] [LOG] No helper found for module: clock. 0|mm | [2020-10-02 14:32:01.637] [LOG] Initializing new module helper ... 0|mm | [2020-10-02 14:32:01.640] [LOG] Module helper loaded: MMM-DarkSkyForecast 0|mm | [2020-10-02 14:32:01.649] [ERROR] 0|mm | App threw an error during load 0|mm | [2020-10-02 14:32:01.651] [ERROR] Error: Cannot find module 'node-ical' 0|mm | Require stack: 0|mm | - /home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js 0|mm | - /home/pi/MagicMirror/modules/default/calendar/node_helper.js 0|mm | - /home/pi/MagicMirror/js/app.js 0|mm | - /home/pi/MagicMirror/js/electron.js 0|mm | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js 0|mm | - 0|mm | at Module._resolveFilename (internal/modules/cjs/loader.js:627:15) 0|mm | at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:41:16) 0|mm | at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) 0|mm | at Function.Module._load (internal/modules/cjs/loader.js:531:27) 0|mm | at Module.require (internal/modules/cjs/loader.js:685:19) 0|mm | at require (internal/modules/cjs/helpers.js:16:16) 0|mm | at Object.<anonymous> (/home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js:8:14) 0|mm | at Module._compile (internal/modules/cjs/loader.js:786:30) 0|mm | at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10) 0|mm | at Module.load (internal/modules/cjs/loader.js:645:32) 0|mm | [2020-10-02 14:32:01.654] [ERROR] Whoops! There was an uncaught exception... 0|mm | [2020-10-02 14:32:01.655] [ERROR] 0|mm | Error: Cannot find module 'node-ical' 0|mm | Require stack: 0|mm | - /home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js 0|mm | - /home/pi/MagicMirror/modules/default/calendar/node_helper.js 0|mm | - /home/pi/MagicMirror/js/app.js 0|mm | - /home/pi/MagicMirror/js/electron.js 0|mm | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js 0|mm | - 0|mm | at Module._resolveFilename (internal/modules/cjs/loader.js:627:15) 0|mm | at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:41:16) 0|mm | at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) 0|mm | at Function.Module._load (internal/modules/cjs/loader.js:531:27) 0|mm | at Module.require (internal/modules/cjs/loader.js:685:19) 0|mm | at require (internal/modules/cjs/helpers.js:16:16) 0|mm | at Object.<anonymous> (/home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js:8:14) 0|mm | at Module._compile (internal/modules/cjs/loader.js:786:30) 0|mm | at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10) 0|mm | at Module.load (internal/modules/cjs/loader.js:645:32) { 0|mm | code: 'MODULE_NOT_FOUND', 0|mm | requireStack: [ 0|mm | '/home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js', 0|mm | '/home/pi/MagicMirror/modules/default/calendar/node_helper.js', 0|mm | '/home/pi/MagicMirror/js/app.js', 0|mm | '/home/pi/MagicMirror/js/electron.js', 0|mm | '/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js', 0|mm | undefined 0|mm | ] 0|mm | } 0|mm | [2020-10-02 14:32:01.682] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? 0|mm | [2020-10-02 14:32:01.683] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues 0|mm | [2020-10-02 14:32:01.845] [LOG] 0|mm | Launching application.
-
RE: Black screen after 2.13 update - tentatively resolved
Found one more module too. In my case a black screen appears through the standard calendar module.
my config is
{ module: "calendar", header: "Termine", position: "top_left", config: { timeFormat: 'absolute', maximumEntries: 10, dateFormat: 'ddd DD MMM HH:mm', fullDayEventDateFormat: 'ddd DD MMM', showEnd: false, urgency: 0, getRelative: 0, calendars: [ { symbol: "calendar-check", url: "https://calendar.google.com/calendar/ical/XXXXXXXXXXXXX/basic.ics" }, { url: "https://calendar.google.com/calendar/ical/XXXXXXXXXXX/basic.ics" } ] } },
How can I create an issue for that?
Or is there a problem in my config?
-
RE: Problem with notifications in MMM-GoogleAssistant and MMM-Assistant2Display
Thank you for your help. It works :-)