Read the statement by Michael Teeuw here.
install upgrade scripts changed for version 2.25 and node 20
-
@sdetweil Just to let you know this script worked fine on my Mirror first time. Did not need to run the Node one
-
@mumblebaj said in install upgrade scripts changed for version 2.25 and node 20:
Did not need to run the Node one
correct… it is part of the install and upgrade scripts now
did u run the testit branch version?
-
@sdetweil That is correct and worked first time. Checked the installers log and no errors or issues either. Strange thing though, it had no issue with MMM-NewsAPI either and that works fine.
-
@sdetweil yes, script is running now :beaming_face_with_smiling_eyes:
MM is not starting automatic, also not after reboot.
But this work finepm2 start 0
-
@bdream ok
probably missing library on some module
do this
pm2 stop all cd ~/MagicMirror npm start >/somefile.txt 2>&1wait 15 seconds
in this same terminal window do
ctrl-cthen examine somefile.txt
-
@sdetweil do I have to use sudo?

And what exactly you mean “then examine somefile.txt”?
-
@bdream edit sorry, typo
2>./somefile.txt
(notice the missing leading .)examine… edit, view, look inside
-
this run this script:
bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/testit/raspberry.sh)”
get this error:
system running in command line mode, configured for graphical desktop, please rebootafter reboot, same error
-
@Jonae are you running the OS in commandline mode?
boot to prompt… not desktop
do , and show results
lsb_release -a
uname -aor email me the ~/install.log
same userid at gmail -
@sdetweil said in install upgrade scripts changed for version 2.25 and node 20:
@Jonae are you running the OS in commandline mode?
boot to prompt… not desktop
do , and show results
lsb_release -a
uname -aor email me the ~/install.log
same userid at gmaili think i have a problem with the imager software … checking right now
-
i tryed to install on rpi4, i changed to rpi3 and now it works. Does MM not support rpi4 anymore?
-
@Jonae you have to use the new test versions.
listed at the top.of this topic… I just installed on the pi 4. which image did u pick? 32 bit or 64 bit?
uname -a
will show it
-
32bit, as i always did …
-
@Jonae ok. I will be away for a couple hours, but will test that again when I return.
-
@Jonae could u email me the ~/install.log
same userid at gmail -
@Jonae can u try the install script again…
-
Here is my somefile.txt
> magicmirror@2.25.0 start > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js [12.10.2023 09:50.23.491] [LOG] Starting MagicMirror: v2.25.0 [12.10.2023 09:50.23.502] [LOG] Loading config ... [12.10.2023 09:50.23.510] [DEBUG] config template file not exists, no envsubst [12.10.2023 09:50.23.544] [LOG] Loading module helpers ... [12.10.2023 09:50.23.705] [LOG] Initializing new module helper ... [12.10.2023 09:50.23.707] [LOG] Module helper loaded: MMM-ServerStatus [12.10.2023 09:50.23.715] [LOG] Initializing new module helper ... [12.10.2023 09:50.23.716] [LOG] Check MagicMirror² version for node helper 'MMM-Fuel' - Minimum version: 2.15.0 - Current version: 2.25.0 [12.10.2023 09:50.23.719] [LOG] Version is ok! [12.10.2023 09:50.23.720] [LOG] Module helper loaded: MMM-Fuel [12.10.2023 09:50.23.735] [LOG] No helper found for module: alert. [12.10.2023 09:50.23.748] [LOG] Initializing new module helper ... [12.10.2023 09:50.23.748] [LOG] Module helper loaded: updatenotification [12.10.2023 09:50.23.751] [LOG] No helper found for module: MMM-bernwordclock. [12.10.2023 09:50.23.753] [LOG] No helper found for module: MMM-Carousel. [12.10.2023 09:50.23.756] [LOG] No helper found for module: clock. [12.10.2023 09:50.23.770] [LOG] No helper found for module: MMM-WeatherChart. [12.10.2023 09:50.24.376] [LOG] Initializing new module helper ... [12.10.2023 09:50.24.377] [LOG] Module helper loaded: calendar [12.10.2023 09:50.25.685] [LOG] Initializing new module helper ... [12.10.2023 09:50.25.686] [LOG] Module helper loaded: MMM-Todoist [12.10.2023 09:50.25.689] [LOG] No helper found for module: weather. [12.10.2023 09:50.25.781] [LOG] Initializing new module helper ... [12.10.2023 09:50.25.782] [LOG] Module helper loaded: MMM-PublicTransportHafas [12.10.2023 09:50.25.782] [LOG] All module helpers loaded. [12.10.2023 09:50.25.803] [LOG] Starting server on port 3336 ... [12.10.2023 09:50.25.825] [WARN] You're using a full whitelist configuration to allow for all IPs [12.10.2023 09:50.25.868] [LOG] Server started ... [12.10.2023 09:50.25.870] [LOG] Connecting socket for: MMM-ServerStatus [12.10.2023 09:50.25.871] [LOG] Ping helper started; waiting for requests... [12.10.2023 09:50.25.872] [LOG] Connecting socket for: MMM-Fuel [12.10.2023 09:50.25.873] [LOG] Starting module helper: MMM-Fuel [12.10.2023 09:50.25.874] [LOG] Connecting socket for: updatenotification [12.10.2023 09:50.25.875] [LOG] Starting module helper: updatenotification [12.10.2023 09:50.25.875] [LOG] Connecting socket for: calendar [12.10.2023 09:50.25.876] [LOG] Starting node helper for: calendar [12.10.2023 09:50.25.877] [LOG] Connecting socket for: MMM-Todoist [12.10.2023 09:50.25.878] [LOG] Starting node helper for: MMM-Todoist [12.10.2023 09:50.25.878] [LOG] Connecting socket for: MMM-PublicTransportHafas [12.10.2023 09:50.25.879] [LOG] Sockets connected & modules started ... [12.10.2023 09:50.27.599] [LOG] Launching application. [29556:1012/095028.951245:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files [29601:1012/095030.501129:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization [12.10.2023 09:50.39.404] [LOG] Create new calendarfetcher for url: https://<link> - Interval: 120000 [12.10.2023 09:50.39.795] [ERROR] Calendar Error. Could not fetch calendar: https://<link> TypeError: Request cannot be constructed from a URL that includes credentials: https://<link> at Object.fetch (node:internal/deps/undici/undici:11457:11) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) [12.10.2023 09:50.39.816] [LOG] Create new calendarfetcher for url: https://<link> - Interval: 120000 [12.10.2023 09:50.39.822] [ERROR] Calendar Error. Could not fetch calendar: https://<link> TypeError: Request cannot be constructed from a URL that includes credentials: https://<link> at Object.fetch (node:internal/deps/undici/undici:11457:11) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) [12.10.2023 09:50.41.499] [LOG] Create new calendarfetcher for url: https://www.schulferien.eu/downloads/ical4.php?land=HE&type=0&year=2022 - Interval: 120000 [12.10.2023 09:50.41.520] [LOG] Create new calendarfetcher for url: https://www.schulferien.eu/downloads/ical4.php?land=8&type=1&year=2022 - Interval: 120000 [12.10.2023 09:50.41.650] [INFO] Checking git for module: MMM-ServerStatus [12.10.2023 09:50.42.329] [INFO] Calendar-Fetcher: Broadcasting 0 events from https://www.schulferien.eu/downloads/ical4.php?land=HE&type=0&year=2022. [12.10.2023 09:50.42.378] [INFO] Calendar-Fetcher: Broadcasting 0 events from https://www.schulferien.eu/downloads/ical4.php?land=8&type=1&year=2022. [12.10.2023 09:50.42.566] [INFO] Checking git for module: MMM-bernwordclock [12.10.2023 09:50.42.820] [INFO] Checking git for module: MMM-Carousel /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT -
@bdream said in install upgrade scripts changed for version 2.25 and node 20:
12.10.2023 09:50.39.795] [ERROR] Calendar Error. Could not fetch calendar: https:// TypeError: Request cannot be constructed from a URL that includes credentials: https://
at Object.fetch (node:internal/deps/undici/undici:11457:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)that looks like the problem.
note that we removed digest fetch in this release.
I would disable the calendar module as a test to see if that fixes the problem. -
@sdetweil as I made
pm2 stop all cd ~/MagicMirror npm start >./somefile.txt 2>&1it worked fine until CTRL + C
Yes the problem with the calendar is next I need help to fix. For now I wonder how to get MM starting after reboot again?
-
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