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.

    OpenWeather loaded but info is empty since update

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    26 Posts 3 Posters 186 Views 3 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 Do not disturb
      sdetweil @SdR
      last edited by

      @SdR ok. The upgrade script is mine

      We meant the system-info section of the MagicMirror startup messages.

      Runstart.sh is mine for when electron is not found

      Can you
      git diff package.json

      And
      ls node_modules/electron

      Sam

      How to add modules

      learning how to use browser developers window for css changes

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

        @sdetweil tnx for the commands, this helps :)

        i have:

        diff --git a/package.json b/package.json
        index 5cad85d…c0ae855 100644
        — a/package.json
        +++ b/package.json
        @@ -87,6 +87,7 @@
        “*.css”: “stylelint --fix”
        },
        “dependencies”: {

        •           "@electron/rebuild": "^4.0.3",
                    "@fontsource/roboto": "^5.2.10",
                    "@fontsource/roboto-condensed": "^5.2.8",
                    "@fortawesome/fontawesome-free": "^7.2.0",
          

        and

        simon@SimPi:~/MagicMirror $ ls node_modules/electron
        abi_version checksums.json cli.js dist electron.d.ts index.js install.js LICENSE package.json path.txt README.md

        S 1 Reply Last reply Reply Quote 0
        • S Do not disturb
          sdetweil @SdR
          last edited by

          @SdR ok. Looks like something added electron/rebuild
          And fonts

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            @sdetweil Ok, as mentioned I only did the update command as mentioned earlier.

            Is there something I need to do now to make it work again?

            S 1 Reply Last reply Reply Quote 0
            • S Do not disturb
              sdetweil @SdR
              last edited by

              @SdR can you show me the end, last 20 lines of the MagicMirror/installers/upgrade.log

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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

                @sdetweil appreciate the help!

                Here they are:

                magicmirror@2.35.0 postinstall
                git clean -df fonts vendor modules/default

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

                no husky installed.

                added 379 packages in 1m

                82 packages are looking for funding
                run npm fund for details
                npm notice
                npm notice New major version of npm available! 10.9.4 -> 11.12.1
                npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.12.1
                npm notice To update run: npm install -g npm@11.12.1
                npm notice
                npm install completed - Sun Apr 5 10:07:56 CEST 2026 on base

                added 594 packages in 30s

                260 packages are looking for funding
                run npm fund for details
                fixing sandbox permissions

                Checking for modules with removed libraries
                downloading dumpactivemodules script
                no modules found needing npm refresh
                restoring custom.css
                removing git alias
                we stashed a set of files that appear changed from the latest repo versions. you should review them
                Upgrade ended - Sun Apr 5 10:08:29 CEST 2026

                S 1 Reply Last reply Reply Quote 0
                • S Do not disturb
                  sdetweil @SdR
                  last edited by

                  @SdR >Sun Apr 5 10:08:29 CEST 2026

                  there was a bug in the upgrade I fixed at 21:00 US Central time

                  can you edit ~/MagicMirror/installers/mm.sh

                  and change the

                  npm start 
                  

                  to

                  npm run start:x11
                  

                  then you can
                  pm2 restart MagicMirror

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

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

                    @sdetweil

                    I have 2 in there after “DISPLAY”… do I need to change both?

                    #!/bin/bash
                    cd /home/simon/MagicMirror

                    if [ $(ps -ef | grep -v grep | grep -i -e xway -e labwc | wc -l) -ne 0 ]; then

                    if WAYLAND_DISPLAYis set, use it, else set to -0

                    export WAYLAND_DISPLAY=${WAYLAND_DISPLAY:=wayland-0}
                    npm run start:wayland
                    else
                    DISPLAY=:0 npm start
                    fi

                    #DISPLAY=:0 npm start

                    S 1 Reply Last reply Reply Quote 0
                    • S Do not disturb
                      sdetweil @SdR
                      last edited by

                      @SdR said:

                      DISPLAY=:0 npm start <----- change this one
                      fi

                      #DISPLAY=:0 npm start <— this one is commented out (#)

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

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

                        @sdetweil
                        made the change and restarted MM but same result, is there a log can can show you after the restart?

                        S 1 Reply Last reply Reply Quote 0
                        • S Do not disturb
                          sdetweil @SdR
                          last edited by

                          @SdR ok,

                          do this, stop of there is an error with one command

                          pm2 stop all
                          cd ~/MagicMirror
                          rm -rf node_modules
                          rm package-lock.json
                          npm run install-mm
                          npm run start:x11
                          

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

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

                            @sdetweil ok, did all the commands, no error shown but with the same result again (not showing any weather and weather forecasting).

                            S 1 Reply Last reply Reply Quote 0
                            • S Do not disturb
                              sdetweil @SdR
                              last edited by

                              @SdR Ok, in 2.35 we rewrote the data collection portion of the weather module
                              it does NOT support the old version 2.5 openweather api anymore.

                              so, to use the openweather provider, you must get a new 3.0 apikey from openweather which requires a credit card, and you get (today) 1000 free api calls. (so net free)

                              from a year ago, in the troubleshooting section

                              https://forum.magicmirror.builders/topic/19323/version-2.30.0-weather-module-stuck-loading-worked-fine-before-upgrade?page=1

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

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

                                @sdetweil I can confirm that version 2.5 is now definitely not supported anymore.

                                I changed it to openmeteo after the changed you suggested and now it works.

                                Thank you… your’e a wizard :)

                                S 1 Reply Last reply Reply Quote 0
                                • S Do not disturb
                                  sdetweil @SdR
                                  last edited by

                                  @SdR awesome. Sorry it took so long. Got sidetracked by the MagicMirror install problem, which wasn’t the cause

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

                                  1 Reply Last reply Reply Quote 0

                                  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
                                  • 1
                                  • 2
                                  • 2 / 2
                                  • 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