Read the statement by Michael Teeuw here.
Need help with sdetweil script
-
Hi all,
i’ve installed MM on a new pi4 (bullseye) with sdetweil’s script.
Everything ok, node version 17.3.0 and npm at 8.3.0.
After the first start, i have cloned MMM-Fuel and modified the config.js (with api-key and lat/lng).The mirror starts but i didn#t get infos from MMM-Fuel.
Then i tried the sdetweil’s update script.
I get following:pi@pi4:~ $ bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" No LSB modules are available. doing test run = true, NO updates will be applied! update log will be in /home/pi/MagicMirror/installers/upgrade.log Check current Node installation ... Node currently installed. Checking version number. Minimum Node version: v16.9.1 Installed Node version: v17.3.0 No Node.js upgrade necessary. Check current NPM installation ... NPM currently installed. Checking version number. Minimum npm version: V7.11.2 Installed npm version: V8.3.0 No npm upgrade necessary. saving custom.css upgrading from version 2.18.0 to 2.18.0 fetching latest revisions there are 2 local files that are different than the master repo installers/mm.sh package-lock.json any *-lock.json files do not need to be saved do you want to save these files for later (Y/n)?n skipping restore for installers/mm.sh, doing test run skipping restore for package-lock.json, doing test run Checking for modules with removed libraries processing dependency changes for active modules with package.json files processing for module MMM-Fuel please wait ---------------------------------- skipped processing for MMM-Fuel, doing test run processing complete for module MMM-Fuel restoring custom.css
How can i fix this?
Thanks for helping me. -
MMM-Fuel problem solved.
My problem was:
UnhandledPromiseRejectionWarning: Error: Cannot find module ‘geolib’so i use
npm install geolib
And i get the mudul running.
Cheers
Jens -
@mymirror upgrade is for the next release, 3 months from now. ( and it’s 2 steps, one test, make sure you are happy, fix any issues, then once to DO the upgrade, you only ran the test phase)
do you mean u have a blank screen?
if so, then see here for how to fix
https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-laterwhat provider did u select? can you show the module def and config for MMM-Fuel?
node 17? my script installs node 16.
-
Hi Sam,
after my old MM didn’t work properly and this was apparently also due to the very old Jessie, I started a new mirror based on a PI4 with Bullseye.
For the initial installation I also took your script. But before that I manually updated Node to the latest version.
The mirror worked in the basic version. The first modul “MMM-Fuel” has then unfortunately no data delivered and I thought that your script possibly correct necessary dependencies.
Currently I do not know how to fix these problems soon:
there are 2 local files that are different than the master repo installers/mm.sh package-lock.json
Regarding MMM-Fuel I have to search something because of the certificate etc., right?
Jens
-
I forgot the MMM-Fuel modul:
{ module: "MMM-Fuel", position: "top_left", config: { api_key: "57ae...................2e", lat: xx.xxxxxxxx, lng: y.yyyyy, types: ["E5"], } },
Jens
-
-
MMM-Fuel problem solved.
My problem was:
UnhandledPromiseRejectionWarning: Error: Cannot find module ‘geolib’so i use
npm install geolib
And i get the mudul running.
Cheers
Jens