• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
  1. Home
  2. rmcon
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
R
Offline
  • Profile
  • Following 0
  • Followers 0
  • Topics 1
  • Posts 12
  • Groups 0

rmcon

@rmcon

0
Reputation
1
Profile views
12
Posts
0
Followers
0
Following
Joined Oct 10, 2023, 9:39 AM
Last Online Feb 11, 2025, 11:08 PM

rmcon Unfollow Follow

Latest posts made by rmcon

  • RE: Unable to update modules

    @sdetweil
    That worked! No idea what we just did, but the update went through and MM worked fine after reboot, to include the module,

    Sam, you’re a wizard as far as I’m concerned. Thanks for taking the time to assist us less savvy folks.

    posted in Troubleshooting
    R
    rmcon
    Jan 23, 2025, 7:08 PM
  • RE: Unable to update modules

    @sdetweil
    ~/MagicMirror/modules/MMM-Remote-Control $ git status
    On branch master
    Your branch is behind ‘origin/master’ by 8 commits, and can be fast-forwarded.
    (use “git pull” to update your local branch)

    Changes not staged for commit:
    (use “git add/rm …” to update what will be committed)
    (use “git restore …” to discard changes in working directory)
    modified: modules.json
    deleted: package-lock.json
    modified: package.json

    no changes added to commit (use “git add” and/or “git commit -a”)

    posted in Troubleshooting
    R
    rmcon
    Jan 23, 2025, 6:13 PM
  • RE: Unable to update modules

    Resurrecting an old thread. Still fairly new to this stuff and trying to learn how to solve problems others have had before…

    I’ve got notifications that several modules need to be updated and I’m trying to get them done. Currently attempting to update MMM-Remote-Control using the instructions provided :

    cd ~/MagicMirror/modules/MMM-Remote-Control # adapt directory if you are using a different one
    git pull
    npm install # install (new) dependencies

    I am getting the same messages as the OP. I am in the module folder and tried running the rm command and I get this:

    ~/MagicMirror/modules/MMM-Remote-Control $ rm package-lock.json
    rm: cannot remove ‘package-lock.json’: No such file or directory

    I thought maybe that meant that I had deleted the package-lock and tried running the update command again, but keep getting the same message.

    I tried running the install script again, and when asked if I wanted to update (Y), I ended up with the same problem.

    Appreciate any guidance. Running MM v2.30.0 (installed using Sam’s scripts) on RPI 3B+.

    posted in Troubleshooting
    R
    rmcon
    Jan 23, 2025, 5:39 PM
  • RE: Config:check shows a parsing error at empty location in script

    @sdetweil you were absolutely right! Leading zeroes (intended for 24-hour time) were the culprit. Not sure how it managed to work previously, but it’s all good now. Thank you for the prompt and perfect response.

    posted in Troubleshooting
    R
    rmcon
    Jan 3, 2025, 9:57 PM
  • Config:check shows a parsing error at empty location in script

    Got a new Raspi 3B+ and completed fresh install of MagicMirror. Pulled backed up script from my private repo (thanks for the scripts Sam). Upon importing the script (which was previously working on the old Pi 3B+ running MM), would not start.

    Ran config:check and got the following result:

    [ERROR] Your configuration file contains syntax errors :(
    Line 150 column 14: Parsing error: Invalid number

    Looking at the script, there is nothing in that location, just some spacing. I tried deleting the spaces and the error persisted, with the only change being the column (from 14 to 13 to 12 to 10 with all spaces deleted and the text being on the left border). See attached screenshot.

    In order to get MM working again, I hastily resolved the problem by deleting the AutoDimmer module (where the error is appearing), which seems to have fixed this particular issue. I am now attempting to update the older Pi with a fresh load and getting the same issue. I did update the AutoDimmer module this time (did not on the first time), no impact. Any ideas?

    Also. not directly related, but I had issues with the weather modules on the new Pi/MM setup and current weather was not showing, though I could get the forecast back. Will save that for another topic if I can’t solve it.

    20250103_13h17m34s_grim.png

    posted in Troubleshooting
    R
    rmcon
    Jan 3, 2025, 9:47 PM
  • RE: Error starting after upgrade

    @sdetweil
    We’re up and running! Thank you so much for your patience. I have learned a lot from this go round and I’m hoping that the next update will go much smoother. I still don’t fully understand how to check the test run for compatibility with my configuration before applying the changes, but I have a little time to get smarter before the next update. Have a great rest of your week.

    posted in Troubleshooting
    R
    rmcon
    Oct 17, 2023, 12:39 AM
  • RE: Error starting after upgrade

    @sdetweil

    Force update complete. MM still not working properly, but it’s something different, which I’ll call progress.

    [ERROR] (node:2061) UnhandledPromiseRejectionWarning: Error: Cannot find module ‘fetch’
    (Full text below)

    I see some answers for ‘node-fetch’ in topic #18055, but I’m not sure if that fix will work on this problem. I’m still digging around, but not seeing this exact problem so far. Thanks.

    magicmirror@2.25.0 start
    DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js

    [15.10.2023 20:57.06.757] [LOG] Starting MagicMirror: v2.25.0
    [15.10.2023 20:57.06.798] [LOG] Loading config …
    [15.10.2023 20:57.06.803] [DEBUG] config template file not exists, no envsubst
    [15.10.2023 20:57.06.851] [LOG] Loading module helpers …
    [15.10.2023 20:57.06.884] [LOG] No helper found for module: alert.
    [15.10.2023 20:57.07.124] [LOG] Initializing new module helper …
    [15.10.2023 20:57.07.126] [LOG] Module helper loaded: updatenotification
    [15.10.2023 20:57.07.145] [LOG] No helper found for module: clock.
    [15.10.2023 20:57.08.647] [LOG] Initializing new module helper …
    [15.10.2023 20:57.08.648] [LOG] Module helper loaded: calendar
    [15.10.2023 20:57.08.650] [LOG] No helper found for module: MMM-MonthlyCalendar.
    [15.10.2023 20:57.08.651] [LOG] No helper found for module: weather.
    [15.10.2023 20:57.11.743] [ERROR] (node:2061) UnhandledPromiseRejectionWarning: Error: Cannot find module ‘fetch’
    Require stack:

    • /home/rmco01/MagicMirror/modules/MMM-Wallpaper/node_helper.js
    • /home/rmco01/MagicMirror/js/app.js
    • /home/rmco01/MagicMirror/js/electron.js
    • /home/rmco01/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
    • at node:internal/modules/cjs/loader:1084:15
      at Function. (node:electron/js2c/browser_init:2:117419)
      at Module._resolveFilename (/home/rmco01/MagicMirror/node_modules/module-alias/index.js:49:29)
      at node:internal/modules/cjs/loader:929:27
      at Function._load (node:electron/js2c/asar_bundle:2:13327)
      at Module.require (node:internal/modules/cjs/loader:1150:19)
      at require (node:internal/modules/cjs/helpers:110:18)
      at Object. (/home/rmco01/MagicMirror/modules/MMM-Wallpaper/node_helper.js:11:15)
      at Module._compile (node:internal/modules/cjs/loader:1271:14)
      at Object…js (node:internal/modules/cjs/loader:1326:10)
      at Module.load (node:internal/modules/cjs/loader:1126:32)
      at node:internal/modules/cjs/loader:967:12
      at Function._load (node:electron/js2c/asar_bundle:2:13327)
      at Module.require (node:internal/modules/cjs/loader:1150:19)
      at require (node:internal/modules/cjs/helpers:110:18)
      at loadModule (/home/rmco01/MagicMirror/js/app.js:180:19)

    (removed remainder, same spam messages as previous)

    posted in Troubleshooting
    R
    rmcon
    Oct 16, 2023, 4:36 AM
  • RE: Error starting after upgrade

    @sdetweil
    It was in the previous post, about 2/3 of the way down, just below the obnoxiously large text.

    @rmcon said in Error starting after upgrade:

    Upgrade started - Sun Oct 15 18:19:04 PDT 2023
    system is Linux raspberrypi 6.1.21-v7+ #1642 SMP Mon Apr 3 17:20:52 BST 2023 armv7l GNU/Linux
    the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseye
    user requested to apply changes
    doing test run = false
    Check current Node installation …
    Node currently installed. Checking version number.
    Minimum Node version: v20.8.0
    Installed Node version: v20.8.0
    No Node.js upgrade necessary.
    Check current NPM installation …
    NPM currently installed. Checking version number.
    Minimum npm version: V10.1.0
    Installed npm version: V10.1.0
    No npm upgrade necessary.
    saving custom.css
    remote name = origin
    local version 2.25.0 already same as master 2.25.0
    restoring custom.css
    removing git alias
    Upgrade ended - Sun Oct 15 18:19:08 PDT 2023

    Also, I appreciate the backup and restore info, will look into that before I move ahead.

    posted in Troubleshooting
    R
    rmcon
    Oct 16, 2023, 3:02 AM
  • RE: Error starting after upgrade

    @sdetweil
    I did the test upgrade then followed it with the apply parameter.

    @rmcon said in Error starting after upgrade:

    Upgrade started - Sun Oct 15 18:19:04 PDT 2023
    system is Linux raspberrypi 6.1.21-v7+ #1642 SMP Mon Apr 3 17:20:52 BST 2023 armv7l GNU/Linux
    the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseye
    user requested to apply changes
    doing test run = false

    At this point, I think my only option is to try the force option. Worst case scenario, if I can’t revive the current version, I’ll try to remove MM and start fresh. I think I’ve got the important bits saved somewhere else to make the job a little easier.

    I really do appreciate your help with this, as it is not my forte.

    posted in Troubleshooting
    R
    rmcon
    Oct 16, 2023, 2:54 AM
  • RE: Error starting after upgrade

    Just got a chance to work on this again. Tried doing both upgrade scripts (again) and I’m getting the same results. I reviewed the upgrade.log file but nothing is jumping out at me (full log from today’s efforts below). The only items that seem like they didn’t go as intended are a few modules that may have been partially skipped in the upgrade process (“skipped processing for…” MMM-Wallpaper, MMM-connection-status, MMM-Remote-Control, MMM-BurinIn), but I don’t think those would be related to the problems I’m experiencing when trying to start MM. I may remove those from my config.js file to see in anything changes. Other ideas?

    (Apologies for the section of large text below, I can’t figure out why it’s doing that and how to fix it)

    Upgrade started - Sun Oct 15 18:17:56 PDT 2023
    system is Linux raspberrypi 6.1.21-v7+ #1642 SMP Mon Apr 3 17:20:52 BST 2023 armv7l GNU/Linux
    the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseye
    doing test run = true, NO updates will be applied!
    Check current Node installation …
    Node currently installed. Checking version number.
    Minimum Node version: v20.8.0
    Installed Node version: v20.8.0
    No Node.js upgrade necessary.
    Check current NPM installation …
    NPM currently installed. Checking version number.
    Minimum npm version: V10.1.0
    Installed npm version: V10.1.0
    No npm upgrade necessary.

    saving custom.css
    remote name = origin
    upgrading from version 2.25.0 to 2.25.0
    fetching latest revisions
    git fetch rc=0
    current branch = master
    On branch master
    Your branch is up to date with ‘origin/master’.

    Changes not staged for commit:
    (use “git add/rm …” to update what will be committed)
    (use “git restore …” to discard changes in working directory)
    modified: modules/default/alert/templates/alert.njk
    modified: modules/default/alert/templates/notification.njk
    modified: modules/default/calendar/calendar.js
    modified: modules/default/calendar/calendarfetcher.js
    modified: modules/default/calendar/calendarfetcherutils.js
    modified: modules/default/compliments/compliments.js
    modified: modules/default/helloworld/helloworld.njk
    modified: modules/default/newsfeed/fullarticle.njk
    modified: modules/default/newsfeed/newsfeed.njk
    modified: modules/default/newsfeed/newsfeedfetcher.js
    modified: modules/default/newsfeed/oldconfig.njk
    modified: modules/default/updatenotification/node_helper.js
    modified: modules/default/updatenotification/updatenotification.njk
    modified: modules/default/weather/current.njk
    modified: modules/default/weather/forecast.njk
    modified: modules/default/weather/hourly.njk
    modified: modules/default/weather/providers/openweathermap.js
    deleted: modules/default/weather/providers/overrideWrapper.js
    modified: modules/default/weather/providers/weathergov.js
    modified: modules/default/weather/providers/yr.js
    modified: modules/default/weather/weather.js
    modified: modules/default/weather/weatherprovider.js
    modified: package-lock.json
    modified: package.json

    Untracked files:
    (use “git add …” to include in what will be committed)
    core
    css/save_custom.css

    no changes added to commit (use “git add” and/or “git commit -a”)
    there are 23 local files that are different than the master repo

    modules/default/alert/templates/alert.njk
    modules/default/alert/templates/notification.njk
    modules/default/calendar/calendar.js
    modules/default/calendar/calendarfetcher.js
    modules/default/calendar/calendarfetcherutils.js
    modules/default/compliments/compliments.js
    modules/default/helloworld/helloworld.njk
    modules/default/newsfeed/fullarticle.njk
    modules/default/newsfeed/newsfeed.njk
    modules/default/newsfeed/newsfeedfetcher.js
    modules/default/newsfeed/oldconfig.njk
    modules/default/updatenotification/node_helper.js
    modules/default/updatenotification/updatenotification.njk
    modules/default/weather/current.njk
    modules/default/weather/forecast.njk
    modules/default/weather/hourly.njk
    modules/default/weather/providers/openweathermap.js
    modules/default/weather/providers/weathergov.js
    modules/default/weather/providers/yr.js
    modules/default/weather/weather.js
    modules/default/weather/weatherprovider.js
    package-lock.json
    package.json

    save/restore files selection = n
    restoring modules/default/alert/templates/alert.njk from repo
    skipping restore for modules/default/alert/templates/alert.njk, doing test run
    restoring modules/default/alert/templates/notification.njk from repo
    skipping restore for modules/default/alert/templates/notification.njk, doing test run
    restoring modules/default/calendar/calendar.js from repo
    skipping restore for modules/default/calendar/calendar.js, doing test run
    restoring modules/default/calendar/calendarfetcher.js from repo
    skipping restore for modules/default/calendar/calendarfetcher.js, doing test run
    restoring modules/default/calendar/calendarfetcherutils.js from repo
    skipping restore for modules/default/calendar/calendarfetcherutils.js, doing test run
    restoring modules/default/compliments/compliments.js from repo
    skipping restore for modules/default/compliments/compliments.js, doing test run
    restoring modules/default/helloworld/helloworld.njk from repo
    skipping restore for modules/default/helloworld/helloworld.njk, doing test run
    restoring modules/default/newsfeed/fullarticle.njk from repo
    skipping restore for modules/default/newsfeed/fullarticle.njk, doing test run
    restoring modules/default/newsfeed/newsfeed.njk from repo
    skipping restore for modules/default/newsfeed/newsfeed.njk, doing test run
    restoring modules/default/newsfeed/newsfeedfetcher.js from repo
    skipping restore for modules/default/newsfeed/newsfeedfetcher.js, doing test run
    restoring modules/default/newsfeed/oldconfig.njk from repo
    skipping restore for modules/default/newsfeed/oldconfig.njk, doing test run
    restoring modules/default/updatenotification/node_helper.js from repo
    skipping restore for modules/default/updatenotification/node_helper.js, doing test run
    restoring modules/default/updatenotification/updatenotification.njk from repo
    skipping restore for modules/default/updatenotification/updatenotification.njk, doing test run
    restoring modules/default/weather/current.njk from repo
    skipping restore for modules/default/weather/current.njk, doing test run
    restoring modules/default/weather/forecast.njk from repo
    skipping restore for modules/default/weather/forecast.njk, doing test run
    restoring modules/default/weather/hourly.njk from repo
    skipping restore for modules/default/weather/hourly.njk, doing test run
    restoring modules/default/weather/providers/openweathermap.js from repo
    skipping restore for modules/default/weather/providers/openweathermap.js, doing test run
    restoring modules/default/weather/providers/weathergov.js from repo
    skipping restore for modules/default/weather/providers/weathergov.js, doing test run
    restoring modules/default/weather/providers/yr.js from repo
    skipping restore for modules/default/weather/providers/yr.js, doing test run
    restoring modules/default/weather/weather.js from repo
    skipping restore for modules/default/weather/weather.js, doing test run
    restoring modules/default/weather/weatherprovider.js from repo
    skipping restore for modules/default/weather/weatherprovider.js, doing test run
    restoring package-lock.json from repo
    skipping restore for package-lock.json, doing test run
    restoring package.json from repo
    skipping restore for package.json, doing test run
    test merge result rc=‘’ , if empty, no conflicts
    skipping merge, only test run
    Checking for modules with removed libraries
    downloading dumpactivemodules script

    **processing dependency changes for active modules with package.json files
    processing for module MMM-Wallpaper please wait

    skipped processing for MMM-Wallpaper, doing test run
    processing complete for module MMM-Wallpaper
    processing for module MMM-connection-status please wait

    skipped processing for MMM-connection-status, doing test run
    processing complete for module MMM-connection-status
    processing for module MMM-Remote-Control please wait

    skipped processing for MMM-Remote-Control, doing test run
    processing complete for module MMM-Remote-Control
    processing for module MMM-BurnIn please wait

    skipped processing for MMM-BurnIn, doing test run
    processing complete for module MMM-BurnIn**
    restoring custom.css
    removing git alias
    Upgrade ended - Sun Oct 15 18:18:11 PDT 2023

    Upgrade started - Sun Oct 15 18:19:04 PDT 2023
    system is Linux raspberrypi 6.1.21-v7+ #1642 SMP Mon Apr 3 17:20:52 BST 2023 armv7l GNU/Linux
    the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseye
    user requested to apply changes
    doing test run = false
    Check current Node installation …
    Node currently installed. Checking version number.
    Minimum Node version: v20.8.0
    Installed Node version: v20.8.0
    No Node.js upgrade necessary.
    Check current NPM installation …
    NPM currently installed. Checking version number.
    Minimum npm version: V10.1.0
    Installed npm version: V10.1.0
    No npm upgrade necessary.

    saving custom.css
    remote name = origin
    local version 2.25.0 already same as master 2.25.0
    restoring custom.css
    removing git alias
    Upgrade ended - Sun Oct 15 18:19:08 PDT 2023

    posted in Troubleshooting
    R
    rmcon
    Oct 16, 2023, 2:10 AM
Enjoying MagicMirror? Please consider a donation!
MagicMirror created by Michael Teeuw.
Forum managed by Sam, technical setup by Karsten.
This forum is using NodeBB as its core | Contributors
Contact | Privacy Policy