KronosMagna

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by KronosMagna

  1. It shouldnt harm, no. At least I dont see how it should. Worst case would be a little longer on MagicMirror boot up time
  2. @ich777 Unforunatly im still too nobbish to test that out yet. I'd need to execute those commands for every module before the Mirror "boot" is complete. I cant do that with the unraid console. But if you have a way to add those commands for every module, that might be a good fix. Alternative idea: When you yourself created the container, you added this awesome (/modules/modules.txt) file that installes modules on its own (its magic IMO😄). There's the option for a Y to trigger an npm install and N to dont do that. Maybe you can add npm init -y npm install request --save after that command? Remember, I just have basic knowlege. Maybe someone else can review this idea for a permanent fix?
  3. So if anyone is having the same problem: This fixed it for me: 1. Check the MagicMirror "Log" in the Docker Tab in Unraid. Remember all the modules, that show up before the "request" error in the log e.g. Google Fit [06.10.2021 12:32.03.729] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'request' Require stack: - /magicmirror2/modules/MMM-GoogleFit/node_helper.js - /magicmirror2/js/app.js - /magicmirror2/serveronly/index.js [06.10.2021 12:32.03.729] [LOG] Loading module helpers ... 2. Remove or Comment out all of those Modules in your config -*Dont remove them from the modules folder* 3. Restart the Container to get a working instance of MagicMirror Bash into the Container in Unraid. cd /magicmirror2/modules/MMM-GoogleFit 4. Type 5. Type: npm init -y 6. Type npm install request --save 7. Add or Uncomment the config info in your config.js back again and restart the container. The modules should work again. 8. Repeat Step 3-5 for all modules that didnt work 9. ... 10. Profit @ich777: From what I know, those changes get overruled after every Magicmirror/Container update. Any idea about how to make them permanent?
  4. Ok. Btw im mindblown about how you could setup an awesome project like this without intending to use it yourself. Whereever get your motivation from.. Props to you man!
  5. You're right. But the update of 2.17.1 affects your container in the same way. So I thought you might be interested in their solution about the module 'request' / node_helper problem. They're thought about adding the request module back as an npm dependency. I already got it back to work by fresh installing and not using the affected 3rd party modules in my config.js. But I'd still like to use those now turned off modules (GoogleFit, CalendarExt2, DarkSlyForecast, GooglePhotos etc.) Maybe you can try to add one of those modules in your own mirror just to see the problem?
  6. Hi ich777, I have the exact same problem as OneBehler. Just wanted to let you know that MichMich and khassel are facing the same problem here as well and it seems to be a major problem with the new 2.17 release. Here's my log: I can bash in to the container if i only load some 3rd party modules (MMM-DVB, and Remotecontrol are working fine). I think the easiest way is to stay at 2.15 for now (everything worked fine there with all modules). Do you know how to stop the autoupdate? ---Checking if UID: 99 matches user--- usermod: no changes ---Checking if GID: 100 matches user--- usermod: no changes ---Setting umask to 000--- ---Checking for optional scripts--- ---No optional script found, continuing--- ---Starting...--- ---Checking if UID: 99 matches user--- usermod: no changes ---Checking if GID: 100 matches user--- usermod: no changes ---Setting umask to 000--- ---Checking for optional scripts--- ---No optional script found, continuing--- ---Starting...--- ---MagicMirror² up-to-date--- ---Looking for new modules to install--- Module 'MMM-GoogleFit' found! Module 'MMM-Remote-Control' found! Module 'MMM-DVB' found! ---Preparing Server--- ---Configuration file found!--- ---Please wait, permissions are set, this can take some time...--- ---Starting Server--- > [email protected] server > node ./serveronly [06.10.2021 12:32.03.489] [LOG] Starting MagicMirror: v2.17.1 [06.10.2021 12:32.03.491] [LOG] Loading config ... [06.10.2021 12:32.03.493] [LOG] Loading module helpers ... [06.10.2021 12:32.03.494] [LOG] No helper found for module: alert. [06.10.2021 12:32.03.499] [LOG] Initializing new module helper ... [06.10.2021 12:32.03.499] [LOG] Module helper loaded: updatenotification [06.10.2021 12:32.03.500] [LOG] No helper found for module: clock. [06.10.2021 12:32.03.641] [LOG] Initializing new module helper ... [06.10.2021 12:32.03.641] [LOG] Module helper loaded: MMM-Remote-Control [06.10.2021 12:32.03.641] [LOG] No helper found for module: MMM-Remote-Control-Repository. [06.10.2021 12:32.03.641] [LOG] No helper found for module: compliments. [06.10.2021 12:32.03.674] [LOG] Initializing new module helper ... [06.10.2021 12:32.03.674] [LOG] Module helper loaded: newsfeed [06.10.2021 12:32.03.727] [LOG] Initializing new module helper ... [06.10.2021 12:32.03.727] [LOG] Module helper loaded: MMM-DVB [06.10.2021 12:32.03.729] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'request' Require stack: - /magicmirror2/modules/MMM-GoogleFit/node_helper.js - /magicmirror2/js/app.js - /magicmirror2/serveronly/index.js [06.10.2021 12:32.03.729] [LOG] Loading module helpers ... [06.10.2021 12:32.03.729] [LOG] No helper found for module: alert. [06.10.2021 12:32.03.729] [LOG] Initializing new module helper ... [06.10.2021 12:32.03.730] [LOG] Module helper loaded: updatenotification [06.10.2021 12:32.03.730] [LOG] No helper found for module: clock. [06.10.2021 12:32.03.730] [LOG] Initializing new module helper ... [06.10.2021 12:32.03.730] [LOG] Module helper loaded: MMM-Remote-Control [06.10.2021 12:32.03.730] [LOG] No helper found for module: MMM-Remote-Control-Repository. [06.10.2021 12:32.03.731] [LOG] No helper found for module: compliments. [06.10.2021 12:32.03.731] [LOG] Initializing new module helper ... [06.10.2021 12:32.03.731] [LOG] Module helper loaded: newsfeed [06.10.2021 12:32.03.731] [LOG] Initializing new module helper ... [06.10.2021 12:32.03.731] [LOG] Module helper loaded: MMM-DVB [06.10.2021 12:32.03.732] [ERROR] Whoops! There was an uncaught exception... [06.10.2021 12:32.03.734] [ERROR] Error: Cannot find module 'request' Require stack: - /magicmirror2/modules/MMM-GoogleFit/node_helper.js - /magicmirror2/js/app.js - /magicmirror2/serveronly/index.js at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15) at Function.Module._resolveFilename (/magicmirror2/node_modules/module-alias/index.js:49:29) at Function.Module._load (internal/modules/cjs/loader.js:667:27) at Module.require (internal/modules/cjs/loader.js:887:19) at require (internal/modules/cjs/helpers.js:74:18) at Object.<anonymous> (/magicmirror2/modules/MMM-GoogleFit/node_helper.js:2:17) at Module._compile (internal/modules/cjs/loader.js:999:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10) at Module.load (internal/modules/cjs/loader.js:863:32) at Function.Module._load (internal/modules/cjs/loader.js:708:14) { code: 'MODULE_NOT_FOUND', requireStack: [ '/magicmirror2/modules/MMM-GoogleFit/node_helper.js', '/magicmirror2/js/app.js', '/magicmirror2/serveronly/index.js' ] } [06.10.2021 12:32.03.734] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? [06.10.2021 12:32.03.734] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues It keeps repeating after those lines..