You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[2026-05-18 10:21:07.579] [ERROR] [updatenotification] Failed to get git revisions for SampleModule: Error: Command failed: git rev-list --ancestry-path --count 9a81558..1d0f68d master
fatal: ambiguous argument '9a81558..1d0f68d master': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
sam@sams:~/MagicMirror.2.36.dev$ cd modules/SampleModule/
sam@sams:~/MagicMirror.2.36.dev/modules/SampleModule$ git rev-list --ancestry-path --count 9a81558..1d0f68d master
1
sam@sams:~/MagicMirror.2.36.dev/modules/SampleModule$ git status
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
sam@sams:~/MagicMirror.2.36.dev/modules/SampleModule$ git remote -v
origin https://github.com/sdetweil/SampleModule.git (fetch)
origin https://github.com/sdetweil/SampleModule.git (push)
sam@sams:~/MagicMirror.2.36.dev/modules/SampleModule$
[2026-05-18 14:46:29.193] [ERROR] [app] Whoops! There was an uncaught exception...
[2026-05-18 14:46:29.193] [ERROR] [app] TypeError: Cannot read properties of undefined (reading 'disableHardwareAcceleration')
at Object.<anonymous> (/home/sam/MagicMirror.2.36.dev/js/electron.js:18:6)
at Module._compile (node:internal/modules/cjs/loader:1705:14)
at Object..js (node:internal/modules/cjs/loader:1838:10)
at Module.load (node:internal/modules/cjs/loader:1441:32)
at Function._load (node:internal/modules/cjs/loader:1263:12)
at TracingChannel.traceSync (node:diagnostics_channel:328:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:237:24)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5)
at node:internal/main/run_main_module:36:49
[2026-05-18 14:46:29.193] [ERROR] [app] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
[2026-05-18 14:46:29.193] [ERROR] [app] If you think this really is an issue, please open an issue on GitHub: https://github.com/MagicMirrorOrg/MagicMirror/issues
[2026-05-18 14:46:29.444] [INFO] [systeminformation]
#### System Information ####
- SYSTEM: manufacturer: System manufacturer; model: System Product Name; virtual: false; MM: v2.37.0-develop
- OS: platform: linux; distro: Ubuntu; release: 22.04.5 LTS; arch: x64; kernel: 5.15.0-177-generic
- VERSIONS: electron: undefined; used node: 22.22.1; installed node: 22.22.1; npm: 10.9.4; pm2: 5.4.3
- ENV: XDG_SESSION_TYPE: x11; MM_CONFIG_FILE: undefined
WAYLAND_DISPLAY: undefined; DISPLAY: :0.0; ELECTRON_ENABLE_GPU: undefined
- RAM: total: 48076.70 MB; free: 39581.88 MB; used: 8494.82 MB
- OTHERS: uptime: 11104 minutes; timeZone: America/Chicago
ok, when mm is started with npm run start:x11, and a monitored module change is detected.. MM restarts correctly..
(altho the console connection it lost and users will have to ps and kill as appropriate)
Activity
khassel commentedon May 14, 2026
you can get the start params from https://nodejs.org/docs/latest/api/process.html#processargv
sdetweil commentedon May 14, 2026
put this in the node_helper.js (using npm run start:x11, or node --run start:x11)
got this
khassel commentedon May 14, 2026
yes, this is exactly what is executed by
node --run start:x11sdetweil commentedon May 14, 2026
yes, but I think that is not what we want to execute
khassel commentedon May 15, 2026
this is what
node --run start:x11executes under the hood, test it, for me this is the way we should go for the updatenotification problem ...fix(updatenotification): preserve start mode on restart (#4156)
KristjanESPERANTO commentedon May 17, 2026
Should be fixed with #4156 🙂 @sdetweil, can you confirm?
sdetweil commentedon May 17, 2026
Will try tomorrow, grandson baseball all day today
sdetweil commentedon May 18, 2026
I pulled new dev, did npm install
I added un to my config like this
and updated my Sample Module to force a change
https://github.com/sdetweil/SampleModule.git
and got this (same as #4137)
note the MM folder name
KristjanESPERANTO commentedon May 18, 2026
That's a little confusing. Why does the folder have an old version number? Both fixes are in v2.37.0-develop.
khassel commentedon May 18, 2026
and you really switched to it? Looks like you are still on
master...sdetweil commentedon May 18, 2026
folder name was a residual, MM instance from MagicMirror org.. not my fork..
ok, dumb, didn't switch.. weird..
sdetweil commentedon May 18, 2026
now I get (after module update )
and the error was fatal
sdetweil commentedon May 18, 2026
module was updated
here is the updatenotification module config
fix(updatenotification): use process.argv[0] as restart binary (#4163)
KristjanESPERANTO commentedon May 20, 2026
@sdetweil #4163 got merged. Please check again :-)
sdetweil commentedon May 20, 2026
ok, when mm is started with npm run start:x11, and a monitored module change is detected.. MM restarts correctly..
(altho the console connection it lost and users will have to ps and kill as appropriate)
KristjanESPERANTO commentedon May 20, 2026
Thanks for testing, @sdetweil! 🙂
sdetweil commentedon May 23, 2026
restart when launched with pm2 works too