MagicMirror² v2.13.0 is available! For more information about this release, check out this topic.

last update stop my MM



  • just tried do update my MM and all stop working!! try already reinstall and keep not working, nothing happened, when starts!! what can i do??



  • @xaba a little more info…

    how did you try to update, what was the behavior?

    try reinstall … however u start MM

    if npm start
    some the messages in the terminal window where u start MM

    if pm2, then use the pm2 logs --lines=??? command to get the info
    ??? is a number 15 is the default (which may not display enough)



  • hi @sdetweil !!

    i use this line to update my MM…
    bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)”

    after that my Pi stops working, and frozen the screen, next day, i saw the screen shows the same time and date when i did the update. reboot and no longer works…

    already try reinstall it but didnt work as well, so i dont know what to do!!

    MM doesnt auto start!!

    just try to execute mm.sh and shows me this:

    pi@magicpi:~/MagicMirror/installers $ ./mm.sh

    magicmirror@2.13.0 start /home/pi/MagicMirror
    DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js

    sh: 1: ./node_modules/.bin/electron: not found
    npm ERR! code ELIFECYCLE
    npm ERR! syscall spawn
    npm ERR! file sh
    npm ERR! errno ENOENT
    npm ERR! magicmirror@2.13.0 start: DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
    npm ERR! spawn ENOENT
    npm ERR!
    npm ERR! Failed at the magicmirror@2.13.0 start script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

    npm ERR! A complete log of this run can be found in:
    npm ERR! /home/pi/.npm/_logs/2020-10-15T13_27_37_850Z-debug.log
    pi@magicpi:~/MagicMirror/installers $



  • @xaba ok, little more info… is this a pi0?

    can u send me the ~/MagicMirror/installers/upgrade.log
    (I think you deleted in on reinstall)

    how did u reinstall??

    did you use my installer script?
    if so, send the ~/install.log file



  • @xaba also, you didn’t respond to the topic

    run-start.sh: linha 87



  • is a Pi3 model B+

    when i try to reinstall it, yes, i deleted MagicMirror folder. after that reinstall with this line:

    bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)”

    and dont have this install.log in MM Folder!!



  • @xaba ~/install.log

    the install.log in the users home folder (~)
    /home/pi/install.log

    ~=/home/pi for user pi

    my email is the same userid at gmail



  • ok!!

    gonna email you the log file!!



  • receive it??

    just reinstall new MM!!



  • this appear in new resintall:

    npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
    npm WARN deprecated rrule-alt@2.2.8: Please use rrule instead
    npm WARN deprecated left-pad@1.3.0: use String.prototype.padStart()
    npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
    npm WARN deprecated webdriverio@4.14.4: outdated version, please use @next
    npm WARN deprecated har-validator@5.1.5: this library is no longer supported
    npm WARN deprecated core-js@2.6.11: core-js@)
    at Promise (/home/pi/MagicMirror/node_modules/sumchecker/index.js:80:36)
    at new Promise ()
    at ChecksumValidator.parseChecksumFile (/home/pi/MagicMirror/node_modules/sumchecker/index.js:76:12)
    npm notice created a lockfile as package-lock.json. You should commit this file.
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.1 (node_modules/chokidar/node_modules/fsevents):
    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“arm”})
    npm WARN mocha-logger@1.0.7 requires a peer of mocha@^8.1.3 but none is installed. You must install peer dependencies yourself.
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: electron@6.1.12 (node_modules/electron):
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: electron@6.1.12 postinstall: node install.js
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

    Dependencies installation Done!


Log in to reply