• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MagicMirror not working after upgrade

Scheduled Pinned Locked Moved Utilities
17 Posts 4 Posters 2.0k Views 4 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    sdetweil @pat59
    last edited by Jan 22, 2025, 3:21 PM

    @pat59 in the 1st above

    you are already running MM
    so you should use the upgrade script… not install

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

    install should have aborted, cause you already have MM
    can you show me ~/install.log

    then you run the two upgrade scripts, one test and (if all is ok with test) then execute, two different copy/paste

    can you show me ~/MagicMirror/installers/upgrade.log

    the error means your nodejs did NOT get updated.
    but somehow the new MM code was installed…

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    1 Reply Last reply Reply Quote 0
    • P Offline
      pat59
      last edited by Jan 22, 2025, 3:27 PM

      patrick@raspberrypi:~ $ cd ~/install.log
      bash: cd: /home/patrick/install.log: N’est pas un dossier
      patrick@raspberrypi:~ $

      1 Reply Last reply Reply Quote 0
      • P Offline
        pat59
        last edited by Jan 22, 2025, 3:30 PM

        patrick@raspberrypi:~ $ cd ~/install.log
        bash: cd: /home/patrick/install.log: N’est pas un dossier
        patrick@raspberrypi:~ $ cd ~/MagicMirror/installers/upgrade.log
        bash: cd: /home/patrick/MagicMirror/installers/upgrade.log: N’est pas un dossier
        patrick@raspberrypi:~ $

        1 Reply Last reply Reply Quote 0
        • P Offline
          pat59
          last edited by Jan 22, 2025, 3:41 PM

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

          $$\ $$\ $$\ $$\ $$\ $$\ $$$$$$
          $$$\ $$$ | _| $$$\ $$$ |_| $$ $$
          $$$$\ $$$$ | $$$$$$\ $$$$$$\ $$\ $$$$$$$\ $$$$\ $$$$ |$$\ $$$$$$\ $$$$$$\ $$$$$$\ $$$$$$\ _/ $$ |
          $$$$$$ $$ | _
          $$\ $$ $$\ $$ |$$ |$$$$$$ $$ |$$ |$$ $$\ $$ $$\ $$ $$\ $$ $$\ $$$$$$ |
          $$ $$$ $$ | $$$$$$$ |$$ / $$ |$$ |$$ / $$ $$$ $$ |$$ |$$ | _|$$ | _|$$ / $$ |$$ | _|$$ /
          $$ |$ /$$ |$$ __$$ |$$ | $$ |$$ |$$ | $$ |$ /$$ |$$ |$$ | $$ | $$ | $$ |$$ | $$ |
          $$ | _/ $$ |$$$$$$$ |$$$$$$$ |$$ |$$$$$$$\ $$ | _/ $$ |$$ |$$ | $$ | $$$$$$ |$$ | $$$$$$$$
          _
          | _
          | _
          | _
          $$ |_| _
          |_| _|_|_| __| _
          / _| _______|
          $$\ $$ |
          $$$$$$ |
          _
          ____/

          install log being saved to /home/patrick/install.log
          Updating packages …
          [ <=> ]
          Installing helper tools …
          Check current Node installation …
          Node currently installed. Checking version number.
          Minimum Node version: v20.18.1
          Installed Node version: v20.9.0
          Node should be upgraded.
          A Node process is currently running. Can’t upgrade.
          Please quit all Node processes and restart the installer.

          patrick 1987 1972 0 16:19 ? 00:00:00 sh -c DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js patrick 1988 1987 0 16:19 ? 00:00:00 node ./node_modules/.bin/electron js/electron.js patrick 1998 1988 0 16:19 ? 00:00:04 /home/patrick/MagicMirror/node_modules/electron/dist/electron js/electron.js patrick 2001 1998 0 16:19 ? 00:00:00 /home/patrick/MagicMirror/node_modules/electron/dist/electron --type=zygote --no-zygote-sandbox patrick 2002 1998 0 16:19 ? 00:00:00 /home/patrick/MagicMirror/node_modules/electron/dist/electron --type=zygote patrick 2004 2002 0 16:19 ? 00:00:00 /home/patrick/MagicMirror/node_modules/electron/dist/electron --type=zygote patrick 2040 2001 0 16:19 ? 00:00:01 /home/patrick/MagicMirror/node_modules/electron/dist/electron --type=gpu-process --enable-crash-reporter=3d6a43f6-4bcd-43f9-87e0-3874dce0da58,no_channel --user-data-dir=/home/patrick/.config/Electron --gpu-preferences=WAAAAAAAAAAgAAAEAAAAAAAAAAAAAAAAAABgAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAGAAAAAAAAAAYAAAAAAAAAAgAAAAAAAAACAAAAAAAAAAIAAAAAAAAAA== --shared-files --field-trial-handle=0,i,12195679081471275551,8574617561069742386,262144 --enable-features=kWebSQLAccess --disable-features=SpareRendererForSitePerProcess --variations-seed-version patrick 2046 1998 0 16:19 ? 00:00:00 /home/patrick/MagicMirror/node_modules/electron/dist/electron --type=utility --utility-sub-type=network.mojom.NetworkService --lang=fr --service-sandbox-type=none --enable-crash-reporter=3d6a43f6-4bcd-43f9-87e0-3874dce0da58,no_channel --user-data-dir=/home/patrick/.config/Electron --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,12195679081471275551,8574617561069742386,262144 --enable-features=kWebSQLAccess --disable-features=SpareRendererForSitePerProcess --variations-seed-version patrick 2070 2040 0 16:20 ? 00:00:00 /home/patrick/MagicMirror/node_modules/electron/dist/electron --type=broker patrick 2082 2060 0 16:20 pts/0 00:00:00 sh -c DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js patrick 2083 2082 0 16:20 pts/0 00:00:00 node ./node_modules/.bin/electron js/electron.js patrick 2093 2083 0 16:20 pts/0 00:00:03 /home/patrick/MagicMirror/node_modules/electron/dist/electron js/electron.js patrick 2096 2093 0 16:20 pts/0 00:00:00 /home/patrick/MagicMirror/node_modules/electron/dist/electron --type=zygote --no-zygote-sandbox patrick 2097 2093 0 16:20 pts/0 00:00:00 /home/patrick/MagicMirror/node_modules/electron/dist/electron --type=zygote patrick 2099 2097 0 16:20 pts/0 00:00:00 /home/patrick/MagicMirror/node_modules/electron/dist/electron --type=zygote patrick 2129 2096 0 16:20 pts/0 00:00:01 /home/patrick/MagicMirror/node_modules/electron/dist/electron --type=gpu-process --enable-crash-reporter=3d6a43f6-4bcd-43f9-87e0-3874dce0da58,no_channel --user-data-dir=/home/patrick/.config/Electron --gpu-preferences=WAAAAAAAAAAgAAAEAAAAAAAAAAAAAAAAAABgAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAGAAAAAAAAAAYAAAAAAAAAAgAAAAAAAAACAAAAAAAAAAIAAAAAAAAAA== --shared-files --field-trial-handle=0,i,3246569436277859428,16865193471212064356,262144 --enable-features=kWebSQLAccess --disable-features=SpareRendererForSitePerProcess --variations-seed-version patrick 2131 2093 0 16:20 pts/0 00:00:00 /home/patrick/MagicMirror/node_modules/electron/dist/electron --type=utility --utility-sub-type=network.mojom.NetworkService --lang=fr --service-sandbox-type=none --enable-crash-reporter=3d6a43f6-4bcd-43f9-87e0-3874dce0da58,no_channel --user-data-dir=/home/patrick/.config/Electron --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,3246569436277859428,16865193471212064356,262144 --enable-features=kWebSQLAccess --disable-features=SpareRendererForSitePerProcess --variations-seed-version patrick 2138 2129 0 16:20 pts/0 00:00:00 /home/patrick/MagicMirror/node_modules/electron/dist/electron --type=broker
          patrick@raspberrypi:~ $
          bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)”
          update log will be in /home/patrick/MagicMirror/installers/upgrade.log

          doing test run = true, NO updates will be applied!

          Check current Node installation …
          Node currently installed. Checking version number.
          Minimum Node version: v20.18.1
          Installed Node version: v20.9.0
          Node should be upgraded.
          MagicMirror running under control of PM2, stopping

          S 1 Reply Last reply Jan 22, 2025, 4:10 PM Reply Quote 0
          • S Offline
            sdetweil @pat59
            last edited by Jan 22, 2025, 4:10 PM

            @pat59 said in electron:

            doing test run = true, NO updates will be applied!

            ok, you have install.log (not cd, cat to dump out contents, or nano to edit and view contents)

            you DIDN’T have upgrade.log as you hadn’t run upgrade yet

            things to know

            1. install WILL NOT install OVER an existing MM system… you do NOT need me to screw up your setup

            2. upgrade is dangerous, so I provide TWO paths
              a . test for anything dangerous, lose files, lose changes, whatever … BUT DO NOT CHANGE ANYTHING

              b. EXECUTE the upgrade, make changes,
              the script for 2 (upgrade) is the same for and and b, but no parameters for test, and apply parameter for execute
              (I provide 2 links so you don’t have to remember)

            but, I still don’t know how you got the code installed…
            did you do the manual upgrade attempt first

               git pull && npm run install-mm
            

            and it failed (cause you don’t have the right version of nodejs installed…)

            SO, there is ONE more step

            copy/paste the execute link
            BUT change the word
            apply
            to
            force

            I don’t document this one as I don’t want people using it accidentally

            now, please excuse my rudeness here… I see french is your native language…, you DO know you can TRANSLATE my module readme page, in the browser, right?
            and if you do so and still don’t understand what I wrote, I am happy to make corrections that would make things more clear. I appreciate your input, I want to make this safe and reliable and easy to use

            we can take that discussion offline. If you write to me in french I will translate and return my response in french

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • P Offline
              pat59
              last edited by Jan 22, 2025, 4:58 PM

              merci pour votre gentillesse je suis novice désolé de prendrez de votre temps encore merci
              voila ce que je viens de faire pour la mise a niveau.

              patrick@raspberrypi:~ $ cd ~/MagicMirror
              patrick@raspberrypi:~/MagicMirror $ bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)”
              update log will be in /home/patrick/MagicMirror/installers/upgrade.log

              doing test run = true, NO updates will be applied!

              Check current Node installation …
              Node currently installed. Checking version number.
              Minimum Node version: v20.18.1
              Installed Node version: v20.9.0
              Node should be upgraded.
              Node.js upgrade defered, doing test run
              Check current NPM installation …
              NPM currently installed. Checking version number.
              Minimum npm version: V10.8.2
              Installed npm version: V10.1.0
              npm should be upgraded.
              npm upgrade defered, doing test run …

              saving custom.css
              (23) Failed writing body
              upgrading from version 2.30.0 to 2.30.0
              fetching latest revisions

              Checking for modules with removed libraries

              updating dependencies for active modules with package.json files

              processing for module MMM-Remote-Control please wait
              
              ----------------------------------
              
              skipped processing for MMM-Remote-Control, doing test run
              
              processing complete for module MMM-Remote-Control
              
              
              processing for module MMM-Saint please wait
              
              ----------------------------------
              
              skipped processing for MMM-Saint, doing test run
              
              processing complete for module MMM-Saint
              
              
              processing for module MMM-network-signal please wait
              
              ----------------------------------
              
              skipped processing for MMM-network-signal, doing test run
              
              processing complete for module MMM-network-signal
              
              
              processing for module MMM-FlipClock please wait
              
              ----------------------------------
              
              skipped processing for MMM-FlipClock, doing test run
              
              processing complete for module MMM-FlipClock
              
              
              processing for module MMM-BME280 please wait
              
              ----------------------------------
              
              skipped processing for MMM-BME280, doing test run
              
              processing complete for module MMM-BME280
              
              
              processing for module MMM-PrixCarburants please wait
              
              ----------------------------------
              
              skipped processing for MMM-PrixCarburants, doing test run
              
              processing complete for module MMM-PrixCarburants
              
              
              processing for module MMM-MeteoFrance please wait
              
              ----------------------------------
              
              skipped processing for MMM-MeteoFrance, doing test run
              
              processing complete for module MMM-MeteoFrance
              
              
              processing for module MMM-FranceInfo please wait
              
              ----------------------------------
              
              skipped processing for MMM-FranceInfo, doing test run
              
              processing complete for module MMM-FranceInfo
              
              
              processing for module MMM-SnowEffect please wait
              
              ----------------------------------
              
              skipped processing for MMM-SnowEffect, doing test run
              
              processing complete for module MMM-SnowEffect
              

              restoring custom.css
              patrick@raspberrypi:~/MagicMirror $

              S 1 Reply Last reply Jan 22, 2025, 5:07 PM Reply Quote 0
              • S Offline
                sdetweil @pat59
                last edited by Jan 22, 2025, 5:07 PM

                @pat59 c’est à nouveau le test.
                — faire un test = true, AUCUNE mise à jour ne sera appliquée !—

                vous avez besoin de la deuxième URL avec le mot « postuler » à la fin
                et tu dois changer le mot

                ‘appliquer’

                à

                ‘forcer’

                veuillez utiliser les mots anglais ici, le traducteur ne m’a pas donné la possibilité de désactiver cela

                nous sommes tous novices dans beaucoup de choses dans notre vie, nous apprenons tous à notre rythme. J’espère que mes outils nous faciliteront la tâche.

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • P Offline
                  pat59
                  last edited by Jan 22, 2025, 5:21 PM

                  j ai fait la mise a niveau par smartphone RemoteControl.
                  patrick@raspberrypi:~/MagicMirror $ bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)” forcer
                  update log will be in /home/patrick/MagicMirror/installers/upgrade.log
                  doing test run = false
                  Node currently installed. Checking version number.
                  Minimum Node version: v20.18.1
                  Installed Node version: v20.9.0
                  installing correct version of node and npm, please wait
                  Check current Node installation …
                  Node currently installed. Checking version number.
                  Minimum Node version: v20.18.1
                  Installed Node version: v20.18.1
                  No Node.js upgrade necessary.
                  Check current NPM installation …
                  NPM currently installed. Checking version number.
                  Minimum npm version: V10.8.2
                  Installed npm version: V10.8.2
                  No npm upgrade necessary.

                  saving custom.css
                  upgrading from version 2.30.0 to 2.30.0
                  fetching latest revisions
                  updating MagicMirror runtime, please wait

                  magicmirror@2.30.0 postinstall
                  npm run install-vendor && npm run install-fonts && echo "MagicMirror² installation finished successfully!
                  "

                  magicmirror@2.30.0 install-vendor
                  echo "Installing vendor files …
                  " && cd vendor && npm install --loglevel=error --no-audit --no-fund --no-update-notifier

                  Installing vendor files …

                  added 1 package, and changed 2 packages in 12s

                  magicmirror@2.30.0 install-fonts
                  echo "Installing fonts …
                  " && cd fonts && npm install --loglevel=error --no-audit --no-fund --no-update-notifier

                  Installing fonts …

                  changed 2 packages in 7s
                  MagicMirror² installation finished successfully!

                  magicmirror@2.30.0 prepare
                  [ -f node_modules/.bin/husky ] && husky || echo no husky installed.

                  no husky installed.

                  added 479 packages in 3m

                  126 packages are looking for funding
                  run npm fund for details

                  Checking for modules with removed libraries

                  updating dependencies for active modules with package.json files

                  processing for module MMM-Remote-Control please wait
                  
                  ----------------------------------
                  

                  added 49 packages, and audited 50 packages in 9s

                  13 packages are looking for funding
                  run npm fund for details

                  found 0 vulnerabilities

                  processing complete for module MMM-Remote-Control
                  
                  
                  processing for module MMM-Saint please wait
                  
                  ----------------------------------
                  

                  astuce: Tirer sans spécifier comment réconcilier les branches divergentes
                  astuce: est découragé. Vous pouvez éliminer ce message en lançant une des
                  astuce: commandes suivantes avant votre prochain tirage :
                  astuce:
                  astuce: git config pull.rebase false # fusion (stratégie par défaut)
                  astuce: git config pull.rebase true # rebasage
                  astuce: git config pull.ff only # avance rapide seulement
                  astuce:
                  astuce: Vous pouvez remplacer “git config” par “git config --global” pour que
                  astuce: ce soit l’option par défaut pour tous les dépôts. Vous pouvez aussi
                  astuce: passer --rebase, --no-rebase ou --ff-only sur la ligne de commande pour
                  astuce: remplacer à l’invocation la valeur par défaut configurée.

                  processing complete for module MMM-Saint
                  
                  
                  processing for module MMM-network-signal please wait
                  
                  ----------------------------------
                  

                  added 1 package, and audited 2 packages in 3s

                  found 0 vulnerabilities

                  processing complete for module MMM-network-signal
                  
                  
                  processing for module MMM-FlipClock please wait
                  
                  ----------------------------------
                  

                  added 1 package, and audited 2 packages in 4s

                  found 0 vulnerabilities

                  processing complete for module MMM-FlipClock
                  
                  
                  processing for module MMM-BME280 please wait
                  
                  ----------------------------------
                  

                  added 1 package, and audited 2 packages in 7s

                  found 0 vulnerabilities

                  processing complete for module MMM-BME280
                  
                  
                  processing for module MMM-PrixCarburants please wait
                  
                  ----------------------------------
                  

                  astuce: Tirer sans spécifier comment réconcilier les branches divergentes
                  astuce: est découragé. Vous pouvez éliminer ce message en lançant une des
                  astuce: commandes suivantes avant votre prochain tirage :
                  astuce:
                  astuce: git config pull.rebase false # fusion (stratégie par défaut)
                  astuce: git config pull.rebase true # rebasage
                  astuce: git config pull.ff only # avance rapide seulement
                  astuce:
                  astuce: Vous pouvez remplacer “git config” par “git config --global” pour que
                  astuce: ce soit l’option par défaut pour tous les dépôts. Vous pouvez aussi
                  astuce: passer --rebase, --no-rebase ou --ff-only sur la ligne de commande pour
                  astuce: remplacer à l’invocation la valeur par défaut configurée.

                  processing complete for module MMM-PrixCarburants
                  
                  
                  processing for module MMM-MeteoFrance please wait
                  
                  ----------------------------------
                  

                  astuce: Tirer sans spécifier comment réconcilier les branches divergentes
                  astuce: est découragé. Vous pouvez éliminer ce message en lançant une des
                  astuce: commandes suivantes avant votre prochain tirage :
                  astuce:
                  astuce: git config pull.rebase false # fusion (stratégie par défaut)
                  astuce: git config pull.rebase true # rebasage
                  astuce: git config pull.ff only # avance rapide seulement
                  astuce:
                  astuce: Vous pouvez remplacer “git config” par “git config --global” pour que
                  astuce: ce soit l’option par défaut pour tous les dépôts. Vous pouvez aussi
                  astuce: passer --rebase, --no-rebase ou --ff-only sur la ligne de commande pour
                  astuce: remplacer à l’invocation la valeur par défaut configurée.

                  processing complete for module MMM-MeteoFrance
                  
                  
                  processing for module MMM-FranceInfo please wait
                  
                  ----------------------------------
                  

                  astuce: Tirer sans spécifier comment réconcilier les branches divergentes
                  astuce: est découragé. Vous pouvez éliminer ce message en lançant une des
                  astuce: commandes suivantes avant votre prochain tirage :
                  astuce:
                  astuce: git config pull.rebase false # fusion (stratégie par défaut)
                  astuce: git config pull.rebase true # rebasage
                  astuce: git config pull.ff only # avance rapide seulement
                  astuce:
                  astuce: Vous pouvez remplacer “git config” par “git config --global” pour que
                  astuce: ce soit l’option par défaut pour tous les dépôts. Vous pouvez aussi
                  astuce: passer --rebase, --no-rebase ou --ff-only sur la ligne de commande pour
                  astuce: remplacer à l’invocation la valeur par défaut configurée.

                  processing complete for module MMM-FranceInfo
                  
                  
                  processing for module MMM-SnowEffect please wait
                  
                  ----------------------------------
                  

                  up to date, audited 1 package in 2s

                  found 0 vulnerabilities

                  processing complete for module MMM-SnowEffect
                  

                  restoring custom.css
                  patrick@raspberrypi:~/MagicMirror $

                  S 1 Reply Last reply Jan 22, 2025, 5:27 PM Reply Quote 0
                  • S Offline
                    sdetweil @pat59
                    last edited by Jan 22, 2025, 5:27 PM

                    @pat59 bien … vous devriez pouvoir redémarrer MagicMirror maintenant

                    cela aurait dû apparaître lors du test

                    traitement pour le module MMM-Saint veuillez patienter


                    astuce : Tirer sans comment réconcilier les branches divergentes

                    Je ne sais pas pourquoi ils ne l’ont pas fait. je vais regarder ça
                    Je ne « mets pas à jour » les modules, seulement le MM de base

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    S 1 Reply Last reply Jan 22, 2025, 5:33 PM Reply Quote 0
                    • S Offline
                      sdetweil @sdetweil
                      last edited by Jan 22, 2025, 5:33 PM

                      @pat59 ok, ces erreurs viennent du processus de mise à jour du module, il faudra que l’auteur les regarde

                      @bugsounet
                      pouvez-vous examiner pourquoi il a eu ces erreurs même si vous avez effectué la réinitialisation matérielle de git ?

                      ma mise à niveau appelée npm run update

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      bugsounetB 1 Reply Last reply Jan 25, 2025, 10:15 AM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        8/17
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy