So it’s up and running with MM 2.29.
I think I will never touch it again, only make OS updates/upgrades and nothing else.
Read the statement by Michael Teeuw here.
Posts made by xIExodusIx
-
RE: Mirror not starting after update
-
RE: Mirror not starting after update
@sdetweil
I did that, but my MM won’t show up!
And now it’s to late I already killed my USB-Boot-Stick by writing the working MM-Image from yesterday to it. -
RE: Mirror not starting after update
@sdetweil
Sorry, I thougt they were important so thought it were better to save/restore them.
I never changed anything in them, I can not code, I’m too stupid for coding!
The question will you save tells me they are important otherwise they were maybe orverwritten so it is better to save them.
I did not know that they were KEY-files for each new versions of MM and had (must) to be replaced by new ones.
I never will answer that quesion with yes again.
Now I will start to install my MM from scratch again for get it work. This will be my last attemp. When this does not work this time I will give up my MagicMirror project.Thanks for helping.
-
RE: Mirror not starting after update
@sdetweil
Sorry I didn’t know that, I thought that it were better to save/restore these files. Next time i will answer that question with no. -
RE: Mirror not starting after update
@sdetweil
Upgrade started - Wed Oct 2 15:47:21 CEST 2024
system is Linux MirrorPi 6.6.51+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.51-1+rpt2 (2024-10-01) aarch64 GNU/Linux
user requested to force apply changes
doing test run = false
the os is PRETTY_NAME=“Debian GNU/Linux 12 (bookworm)” NAME=“Debian GNU/Linux” VERSION_ID=“12” VERSION=“12 (bookworm)” VERSION_CODENAME=bookworm ID=debian HOME_URL=“https://www.debian.org/” SUPPORT_URL=“https://www.debian.org/support” BUG_REPORT_URL=“https://bugs.debian.org/”
[0mNode currently installed. Checking version number.[0m
[0mMinimum Node version: [1mv20.9.0[0m
[0mInstalled Node version: [1mv20.9.0[0m
[96mCheck current Node installation …[0m
[0mNode currently installed. Checking version number.
[0mMinimum Node version: [1mv20.9.0[0m
[0mInstalled Node version: [1mv20.9.0[0m
[92mNo Node.js upgrade necessary.[0m
[96mCheck current NPM installation …[0m
[0mNPM currently installed. Checking version number.
[0mMinimum npm version: [1mV10.1.0[0m
[0mInstalled npm version: [1mV10.8.3[0m
[92mNo npm upgrade necessary.[0mincreasing swap space
saving custom.css
remote name = origin
upgrading from version 2.29.0 to 2.29.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 …” 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
installers/
run-start.sh
splashscreen/no changes added to commit (use “git add” and/or “git commit -a”)
there are 2 local files that are different than the master repopackage-lock.json
package.jsonsave/restore files selection = y
erasing lock files
Saved working directory and index state WIP on master: 94c3c69 Release 2.29.0 (#3568)
test merge result rc=‘’ , if empty, no conflicts
executing merge, apply specified
merge result rc= 0
Already up to date.
processor architecture is aarch64
updating MagicMirror runtime, please waitmagicmirror@2.29.0 postinstall
npm run install-vendor && npm run install-fonts && echo "MagicMirror² installation finished successfully!
"magicmirror@2.29.0 install-vendor
echo "Installing vendor files …
" && cd vendor && npm install --loglevel=error --no-audit --no-fund --no-update-notifierInstalling vendor files …
up to date in 3s
magicmirror@2.29.0 install-fonts
echo "Installing fonts …
" && cd fonts && npm install --loglevel=error --no-audit --no-fund --no-update-notifierInstalling fonts …
up to date in 1s
MagicMirror² installation finished successfully!magicmirror@2.29.0 prepare
[ -f node_modules/.bin/husky ] && husky || echo no husky installed.no husky installed.
added 466 packages in 35s
112 packages are looking for funding
runnpm fund
for details
npm install completed - Wed Oct 2 15:48:06 CEST 2024 on base
fixing sandbox permissionsChecking for modules with removed libraries
downloading dumpactivemodules scriptupdating dependencies for active modules with package.json files
processing for module MMM-mmpm please wait ----------------------------------
up to date, audited 1 package in 1s
found 0 vulnerabilities
processing complete for module MMM-mmpm processing for module MMM-pages please wait ----------------------------------
up to date, audited 1 package in 1s
found 0 vulnerabilities
processing complete for module MMM-pages processing for module MMM-FlipClock please wait ----------------------------------
added 1 package, and audited 2 packages in 5s
found 0 vulnerabilities
processing complete for module MMM-FlipClock processing for module MMM-GoogleCalendar please wait ----------------------------------
npm warn deprecated google-p12-pem@4.0.1: Package is no longer maintained
added 52 packages, and audited 53 packages in 26s
17 packages are looking for funding
runnpm fund
for detailsfound 0 vulnerabilities
processing complete for module MMM-GoogleCalendar processing for module MMM-DynamicWeather please wait ----------------------------------
up to date, audited 1 package in 1s
found 0 vulnerabilities
processing complete for module MMM-DynamicWeather processing for module MMM-Bring please wait ----------------------------------
added 3 packages, and audited 4 packages in 3s
1 package is looking for funding
runnpm fund
for details1 moderate severity vulnerability
To address all issues (including breaking changes), run:
npm audit fix --forceRun
npm audit
for details.processing complete for module MMM-Bring processing for module MMM-PublicTransportHafas please wait ----------------------------------
mmm-publictransporthafas@2.1.1 prepare
[ -f node_modules/.bin/husky ] && husky || echo husky is not installed.husky is not installed.
added 51 packages, and audited 52 packages in 9s
16 packages are looking for funding
runnpm fund
for detailsfound 0 vulnerabilities
processing complete for module MMM-PublicTransportHafas processing for module MMM-Autobahn please wait ----------------------------------
added 1 package, and audited 2 packages in 2s
found 0 vulnerabilities
processing complete for module MMM-Autobahn processing for module MMM-Globe please wait ----------------------------------
up to date, audited 1 package in 1s
found 0 vulnerabilities
processing complete for module MMM-Globe processing for module MMM-FRITZ-Box-Callmonitor-py3 please wait ----------------------------------
added 11 packages, and audited 12 packages in 5s
found 0 vulnerabilities
processing complete for module MMM-FRITZ-Box-Callmonitor-py3 processing for module MMM-Fuel please wait ----------------------------------
added 17 packages, and audited 18 packages in 4s
8 packages are looking for funding
runnpm fund
for detailsfound 0 vulnerabilities
processing complete for module MMM-Fuel processing for module MMM-NINA please wait ----------------------------------
up to date, audited 1 package in 1s
found 0 vulnerabilities
processing complete for module MMM-NINA processing for module MMM-network-signal please wait ----------------------------------
added 1 package, and audited 2 packages in 4s
found 0 vulnerabilities
processing complete for module MMM-network-signal
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 - Wed Oct 2 15:49:22 CEST 2024 -
RE: Mirror not starting after update
@sdetweil
if I do npm startI get this error at the end:
.
.
.
[2024-10-02 16:13:22.616] [LOG] All module helpers loaded.
[2024-10-02 16:13:22.627] [LOG] Starting server on port 8181 …
[63161:1002/161323.449087:ERROR:ozone_platform_x11.cc(245)] Missing X server or $DISPLAY
[63161:1002/161323.449298:ERROR:env.cc(258)] The platform failed to initialize. Exiting.
/home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGSEGV -
RE: Mirror not starting after update
@sdetweil
the installers folder is still there.
should I delete it?
or should run the script without delete the installers folder? -
RE: Mirror not starting after update
magicmirror@2.29.0 install-mm
npm install --no-audit --no-fund --no-update-notifier --only=prod --omit=devmagicmirror@2.29.0 postinstall
npm run install-vendor && npm run install-fonts && echo "MagicMirror² installation finished successfully!
"magicmirror@2.29.0 install-vendor
echo "Installing vendor files …
" && cd vendor && npm install --loglevel=error --no-audit --no-fund --no-update-notifierInstalling vendor files …
up to date in 2s
magicmirror@2.29.0 install-fonts
echo "Installing fonts …
" && cd fonts && npm install --loglevel=error --no-audit --no-fund --no-update-notifierInstalling fonts …
up to date in 1s
MagicMirror² installation finished successfully!magicmirror@2.29.0 prepare
[ -f node_modules/.bin/husky ] && husky || echo no husky installed.no husky installed.
up to date in 14s
after that, nodejs is still the same: 18.19.0
-
RE: Mirror not starting after update
@sdetweil
lsb_release -a shows:
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookwormuname -a shows:
Linux MirrorPi 6.6.51+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.51-1+rpt2 (2024-10-01) aarch64 GNU/Linuxyes I used your upgrade-script with apply and also with force.
pm2 start MagicMirror will start the MM but it won’t show up!
npm start results in following errors:
[41163:1002/155017.678545:ERROR:ozone_platform_x11.cc(245)] Missing X server or $DISPLAY
[41163:1002/155017.688550:ERROR:env.cc(258)] The platform failed to initialize. Exiting.
/home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGSEGV