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.

    update package list

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    23 Posts 2 Posters 991 Views 2 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.
    • P Offline
      pat59
      last edited by

      Hello,
      After updating the package list,
      sudo apt-get update
      sudo apt-get dist-uprade
      and updating Raspbian
      sudo rpi-update
      I no longer have Calendar and Newsfeed, it says “loading” but nothing appears.
      What should I do? Thank you.

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @pat59
        last edited by

        @pat59 show the output of npm start

        But when you change the os under an app, it’s recommended to reset it too

        Stop MagicMirror

        cd ~/MagicMirror 
        rm -rf node_modules
        npm install
        

        Start MagicMirror

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 1
        • P Offline
          pat59
          last edited by

          Hello, I did the manipulation, it doesn’t work. To stop Magic Mirror, I have to press Ctrl+M.

          pi@raspberrypi:~ $ npm start
          npm ERR! Missing script: “start”
          npm ERR!
          npm ERR! Did you mean one of these?
          npm ERR! npm star # Mark your favorite packages
          npm ERR! npm stars # View packages marked as favorites
          npm ERR!
          npm ERR! To see a list of scripts, run:
          npm ERR! npm run

          npm ERR! A complete log of this run can be found in: /home/pi/.npm/_logs/2025-09-11T14_07_45_151Z-debug-0.log
          pi@raspberrypi:~ $

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @pat59
            last edited by sdetweil

            @pat59 all MM commands require you to be IN the MagicMirror folder

            you are still in the users home folder

            pi@raspberrypi:~ 
            

            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

              pi@raspberrypi:~/MagicMirror $ npm start

              magicmirror@2.27.0 start
              DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js

              [2025-09-11 16:56:55.039] [LOG] Starting MagicMirror: v2.27.0
              [2025-09-11 16:56:55.176] [LOG] Loading config …
              [2025-09-11 16:56:55.192] [LOG] config template file not exists, no envsubst
              [2025-09-11 16:56:55.206] [LOG] Loading module helpers …
              [2025-09-11 16:56:55.858] [LOG] Initializing new module helper …
              [2025-09-11 16:56:55.860] [LOG] Module helper loaded: MMM-Remote-Control
              [2025-09-11 16:56:55.863] [LOG] No helper found for module: alert.
              [2025-09-11 16:56:55.885] [LOG] Initializing new module helper …
              [2025-09-11 16:56:55.887] [LOG] Module helper loaded: MMM-Saint
              [2025-09-11 16:56:55.913] [LOG] Initializing new module helper …
              [2025-09-11 16:56:55.915] [LOG] Module helper loaded: MMM-BME280
              [2025-09-11 16:56:55.933] [LOG] No helper found for module: MMM-FlipClock.
              [2025-09-11 16:56:56.121] [LOG] Initializing new module helper …
              [2025-09-11 16:56:56.122] [LOG] Module helper loaded: MMM-network-signal
              [2025-09-11 16:56:56.827] [LOG] Initializing new module helper …
              [2025-09-11 16:56:56.828] [LOG] Module helper loaded: calendar
              [2025-09-11 16:56:58.426] [LOG] Initializing new module helper …
              [2025-09-11 16:56:58.427] [LOG] Module helper loaded: MMM-Jast
              [2025-09-11 16:57:00.066] [LOG] Initializing new module helper …
              [2025-09-11 16:57:00.069] [LOG] Module helper loaded: MMM-GooglePhotos
              [2025-09-11 16:57:00.088] [LOG] No helper found for module: MMM-WiFiPassword.
              [2025-09-11 16:57:00.093] [LOG] No helper found for module: MMM-OpenmapWeather.
              [2025-09-11 16:57:00.107] [LOG] No helper found for module: MMM-WeatherOrNot.
              [2025-09-11 16:57:00.122] [WARN] No /home/pi/MagicMirror/js/…/modules/MMM-Linky/MMM-Linky.js found for module: MMM-Linky.
              [2025-09-11 16:57:00.124] [LOG] No helper found for module: MMM-Linky.
              [2025-09-11 16:57:00.569] [LOG] Initializing new module helper …
              [2025-09-11 16:57:00.571] [LOG] Module helper loaded: newsfeed
              [2025-09-11 16:57:00.573] [LOG] All module helpers loaded.
              [2025-09-11 16:57:00.599] [LOG] Starting server on port 8080 …
              [2025-09-11 16:57:00.649] [WARN] You’re using a full whitelist configuration to allow for all IPs
              [2025-09-11 16:57:03.916] [ERROR] Whoops! There was an uncaught exception…
              [2025-09-11 16:57:03.930] [ERROR] Error: listen EADDRINUSE: address already in use 0.0.0.0:8080
              at Server.setupListenHandle [as _listen2] (node:net:1872:16)
              at listenInCluster (node:net:1920:12)
              at doListen (node:net:2069:7)
              at process.processTicksAndRejections (node:internal/process/task_queues:83:21) {
              code: ‘EADDRINUSE’,
              errno: -98,
              syscall: ‘listen’,
              address: ‘0.0.0.0’,
              port: 8080
              }
              [2025-09-11 16:57:03.933] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
              [2025-09-11 16:57:03.936] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MagicMirrorOrg/MagicMirror/issues
              [2025-09-11 16:57:40.629] [INFO] System information:

              SYSTEM: manufacturer: Raspberry Pi Foundation; model: Raspberry Pi 3 Model B Plus Rev 1.3; raspberry: [object Object]; virtual: false

              OS: platform: linux; distro: Raspbian GNU/Linux; release: 10; arch: arm; kernel: 6.12.45-v7+

              VERSIONS: electron: 29.1.6; used node: 20.9.0; installed node: 18.18.0; npm: 9.8.1; pm2: 5.3.1

              OTHER: timeZone: Europe/Paris; ELECTRON_ENABLE_GPU: undefined

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @pat59
                last edited by

                @pat59 so, you already have an instance running, probably under pm2

                when I said stop MM I meant in whatever way running…

                pm2’s JOB is to start and KEEP MM running… no matter what
                you ctrl-Q
                pm2 says, oops, app crashed, restart…

                so, you have to use the pm2 commands to tell it what to do

                pm2 status
                

                will show the managed apps, one line per
                you can control the app, by using the name or number of the app in a row

                pm2 stop 0
                pm2 stop MagicMirror 
                

                could both be for the same app

                once stopped, THEN you can go to the MM folder and do the npm start to see the possible errors easier…

                once you fix the errors, you can stop the temp MM with ctrl-q (as you started it manually)
                and then tell pm2 to manage it again

                pm2 start 0/MagicMirror
                

                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

                  pi@raspberrypi:~/MagicMirror $ rm -rf node_modules
                  pi@raspberrypi:~/MagicMirror $ npm install

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

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

                  Installing vendor files …

                  up to date in 3s

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

                  Installing fonts …

                  up to date in 3s
                  MagicMirror² installation finished successfully!

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

                  added 976 packages in 8m

                  205 packages are looking for funding
                  run npm fund for details
                  pi@raspberrypi:~/MagicMirror $

                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @pat59
                    last edited by

                    @pat59 and now

                    npm start 
                    

                    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

                      I don’t know how to thank you, it’s working again, thank you, thank you

                      1 Reply Last reply Reply Quote 0
                      • P Offline
                        pat59
                        last edited by

                        Well, it’s working normally again. I don’t know how to thank you. Thank you, thank you.

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 1 / 3
                        • First post
                          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