Read the statement by Michael Teeuw here.
OpenWeather loaded but info is empty since update
-
@KristjanESPERANTO I have used the following command guide to update the MM :
bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)” applySo i’m not sure if node --run install-mm is still required then.
im not a expert so i did a little chatgpt search how to pull this info and this is what i got:
System Information
{
manufacturer: ‘Raspberry Pi Foundation’,
model: ‘Raspberry Pi 4 Model B Rev 1.1’,
version: ‘b03111’,
serial: ‘10000000f0815816’,
uuid: ‘’,
sku: ‘-’,
virtual: false,
raspberry: {
manufacturer: ‘Sony UK’,
processor: ‘BCM2711’,
type: ‘4B’,
revision: ‘1.1’
}
}CPU
{
manufacturer: ‘Sony UK’,
brand: ‘BCM2711’,
vendor: ‘ARM’,
family: ‘Cortex-A72’,
model: ‘3’,
stepping: ‘r0p3’,
revision: ‘b03111’,
voltage: ‘’,
speed: 1.5,
speedMin: 0.6,
speedMax: 1.5,
governor: ‘ondemand’,
cores: 4,
physicalCores: 4,
performanceCores: 4,
efficiencyCores: 0,
processors: 1,
socket: ‘SOC’,
flags: ‘fp asimd evtstrm crc32 cpuid’,
virtualization: false,
cache: { l1d: 131072, l1i: 196608, l2: 1048576, l3: ‘’ }
}Memory
{
total: 1935228928,
free: 96256000,
used: 1838972928,
active: 828510208,
available: 1106718720,
buffers: 59150336,
cached: 833519616,
slab: 339734528,
buffcache: 1232404480,
reclaimable: 298536960,
swaptotal: 1934618624,
swapused: 10747904,
swapfree: 1923870720,
writeback: 0,
dirty: 0
}@sdetweil regarding git status i have the following info:
simon@SimPi:~/MagicMirror $ git status
On branch master
Your branch is up to date with ‘origin/master’.Changes not staged for commit:
(use “git add …” to update what will be committed)
(use “git restore …” to discard changes in working directory)
modified: package-lock.json
modified: package.jsonUntracked files:
(use “git add …” to include in what will be committed)
core.2761
core.4822
installers/
run-start.sh
splashscreen/no changes added to commit (use “git add” and/or “git commit -a”)
-
@SdR ok. The upgrade script is mine
We meant the system-info section of the MagicMirror startup messages.
Runstart.sh is mine for when electron is not found
Can you
git diff package.jsonAnd
ls node_modules/electron -
@sdetweil tnx for the commands, this helps :)
i have:
diff --git a/package.json b/package.json
index 5cad85d…c0ae855 100644
— a/package.json
+++ b/package.json
@@ -87,6 +87,7 @@
“*.css”: “stylelint --fix”
},
“dependencies”: {-
"@electron/rebuild": "^4.0.3", "@fontsource/roboto": "^5.2.10", "@fontsource/roboto-condensed": "^5.2.8", "@fortawesome/fontawesome-free": "^7.2.0",
and
simon@SimPi:~/MagicMirror $ ls node_modules/electron
abi_version checksums.json cli.js dist electron.d.ts index.js install.js LICENSE package.json path.txt README.md -
-
@SdR ok. Looks like something added electron/rebuild
And fonts -
@sdetweil Ok, as mentioned I only did the update command as mentioned earlier.
Is there something I need to do now to make it work again?
-
@SdR can you show me the end, last 20 lines of the MagicMirror/installers/upgrade.log
-
@sdetweil appreciate the help!
Here they are:
magicmirror@2.35.0 postinstall
git clean -df fonts vendor modules/defaultmagicmirror@2.35.0 prepare
[ -f node_modules/.bin/husky ] && husky || echo no husky installed.no husky installed.
added 379 packages in 1m
82 packages are looking for funding
runnpm fundfor details
npm notice
npm notice New major version of npm available! 10.9.4 -> 11.12.1
npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.12.1
npm notice To update run: npm install -g npm@11.12.1
npm notice
npm install completed - Sun Apr 5 10:07:56 CEST 2026 on baseadded 594 packages in 30s
260 packages are looking for funding
runnpm fundfor details
fixing sandbox permissionsChecking for modules with removed libraries
downloading dumpactivemodules script
no modules found needing npm refresh
restoring custom.css
removing git alias
we stashed a set of files that appear changed from the latest repo versions. you should review them
Upgrade ended - Sun Apr 5 10:08:29 CEST 2026 -
@SdR >Sun Apr 5 10:08:29 CEST 2026
there was a bug in the upgrade I fixed at 21:00 US Central time
can you edit ~/MagicMirror/installers/mm.sh
and change the
npm startto
npm run start:x11then you can
pm2 restart MagicMirror -
I have 2 in there after “DISPLAY”… do I need to change both?
#!/bin/bash
cd /home/simon/MagicMirrorif [ $(ps -ef | grep -v grep | grep -i -e xway -e labwc | wc -l) -ne 0 ]; then
if WAYLAND_DISPLAYis set, use it, else set to -0
export WAYLAND_DISPLAY=${WAYLAND_DISPLAY:=wayland-0}
npm run start:wayland
else
DISPLAY=:0 npm start
fi#DISPLAY=:0 npm start
-
-
@sdetweil
made the change and restarted MM but same result, is there a log can can show you after the restart? -
@SdR ok,
do this, stop of there is an error with one command
pm2 stop all cd ~/MagicMirror rm -rf node_modules rm package-lock.json npm run install-mm npm run start:x11 -
@sdetweil ok, did all the commands, no error shown but with the same result again (not showing any weather and weather forecasting).
-
@SdR Ok, in 2.35 we rewrote the data collection portion of the weather module
it does NOT support the old version 2.5 openweather api anymore.so, to use the openweather provider, you must get a new 3.0 apikey from openweather which requires a credit card, and you get (today) 1000 free api calls. (so net free)
from a year ago, in the troubleshooting section
-
@sdetweil I can confirm that version 2.5 is now definitely not supported anymore.
I changed it to openmeteo after the changed you suggested and now it works.
Thank you… your’e a wizard :)
-
@SdR awesome. Sorry it took so long. Got sidetracked by the MagicMirror install problem, which wasn’t the cause
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
