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.

    Changing icons of the modules Current Weather and Weather Forecast

    Scheduled Pinned Locked Moved Development
    301 Posts 30 Posters 1.4m Views 33 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.
    • M Offline
      Manu85 @sdetweil
      last edited by Manu85

      @sdetweil ok, thank you for your answers, I’m going to do the weather.js and according to what you tell me I’m going to leave aside the 2 lock.json and then I’ll stop for this evening my brain is upside down , have a good day…and see you tomorrow if you want to continue helping me

      1 Reply Last reply Reply Quote 0
      • M Offline
        Manu85 @sdetweil
        last edited by

        @sdetweil I’m still here, I made the modifications in css main and js.config I placed the command:

        bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)"
        

        here is what I have

        pi@MagicMirror:~ $ bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)"
        update log will be in /home/pi/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: v18.18.0
        Installed Node version: v14.21.3
        Node should be upgraded.
        pi@MagicMirror:~ $
        
        S 2 Replies Last reply Reply Quote 0
        • S Do not disturb
          sdetweil @Manu85
          last edited by

          @Manu85 well…let me check when I get home. maybe 30 mins from now 1800 my time US central

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            @Manu85 fixed, run again

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              Manu85 @sdetweil
              last edited by

              @sdetweil hello, I rebotted the pi and ran the command again

              bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)"
              

              and I have the impression that it remains stuck in the same place the cursor does not display:

              pi@MagicMirror:~ $
              

              782e2b21-f64d-41e3-a453-3a588f59dfb9-image.png

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

                @Manu85 can you post the last part of

                ~/MagicMirror/installers/upgrade.log
                

                from the last

                "upgrade started"
                

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                M 1 Reply Last reply Reply Quote 0
                • M Offline
                  Manu85 @sdetweil
                  last edited by Manu85

                  @sdetweil ```
                  pi@MagicMirror:~ $ ~/MagicMirror/installers/upgrade.log
                  -bash: /home/pi/MagicMirror/installers/upgrade.log: Permission non accord▒e
                  pi@MagicMirror:~ $

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

                    @Manu85 no. not execute . open and look at

                    copy last few lines here

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    M 1 Reply Last reply Reply Quote 0
                    • M Offline
                      Manu85 @sdetweil
                      last edited by

                      @sdetweil I copied everything, if necessary

                      Upgrade started - mer. janv. 24 17:51:10 CET 2024
                      system is Linux MagicMirror 5.10.103-v7+ #1529 SMP Tue Mar 8 12:21:37 GMT 2022 armv7l GNU/Linux
                      doing test run = true, NO updates will be applied!
                      the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster
                      n (node version manager tool) not installed, doing test run, install skipped
                      Check current Node installation ...
                      Node currently installed. Checking version number.
                      Minimum Node version: v18.18.0
                      Installed Node version: v14.21.3
                      Node should be upgraded.
                      Node.js upgrade defered, doing test run
                      Check current NPM installation ...
                      NPM currently installed. Checking version number.
                      Minimum npm version: V9.8.1
                      Installed npm version: V6.14.18
                      npm should be upgraded.
                      npm upgrade defered, doing test run  ...
                      
                      saving custom.css
                      remote name = origin
                      upgrading from version 2.23.0 to 2.26.0
                      fetching latest revisions
                      git fetch rc=0
                      current branch = master
                      On branch master
                      Your branch is behind 'origin/master' by 213 commits, and can be fast-forwarded.
                        (use "git pull" to update your local branch)
                      
                      Changes not staged for commit:
                        (use "git add <file>..." to update what will be committed)
                        (use "git checkout -- <file>..." to discard changes in working directory)
                      
                      	modified:   css/main.css
                      	modified:   fonts/package-lock.json
                      	modified:   modules/default/calendar/calendar.js
                      	modified:   modules/default/weather/weather.js
                      	modified:   package-lock.json
                      	modified:   vendor/package-lock.json
                      
                      Untracked files:
                        (use "git add <file>..." to include in what will be committed)
                      
                      	core
                      	css/icons/
                      	css/save_custom.css
                      	modules/default/currentweather/
                      	nohup.out
                      
                      no changes added to commit (use "git add" and/or "git commit -a")
                      there are 6 local files that are different than the master repo
                      
                         css/main.css
                         fonts/package-lock.json
                         modules/default/calendar/calendar.js
                         modules/default/weather/weather.js
                         package-lock.json
                         vendor/package-lock.json
                      
                      save/restore files selection = n
                      restoring css/main.css from repo
                      skipping restore for css/main.css, doing test run
                      restoring fonts/package-lock.json from repo
                      skipping restore for fonts/package-lock.json, doing test run
                      restoring modules/default/calendar/calendar.js from repo
                      skipping restore for modules/default/calendar/calendar.js, doing test run
                      restoring modules/default/weather/weather.js from repo
                      skipping restore for modules/default/weather/weather.js, doing test run
                      restoring package-lock.json from repo
                      skipping restore for package-lock.json, doing test run
                      restoring vendor/package-lock.json from repo
                      skipping restore for vendor/package-lock.json, doing test run
                      test merge result rc='' , if empty, no conflicts
                      skipping merge, only test run
                      
                      Checking for modules with removed libraries
                      downloading dumpactivemodules script
                      
                      
                      updating dependencies for active modules with package.json files
                      
                      	processing for module MMM-OneCallWeather please wait
                      
                      	----------------------------------
                      
                      	skipped processing for MMM-OneCallWeather, doing test run
                      
                      	processing complete for module MMM-OneCallWeather
                      
                      	processing for module MMM-SmartWebDisplay please wait
                      
                      	----------------------------------
                      
                      	skipped processing for MMM-SmartWebDisplay, doing test run
                      
                      	processing complete for module MMM-SmartWebDisplay
                      
                      	processing for module MMM-ISS-Live please wait
                      
                      	----------------------------------
                      
                      	skipped processing for MMM-ISS-Live, doing test run
                      
                      	processing complete for module MMM-ISS-Live
                      restoring custom.css
                      removing git alias
                      Upgrade ended - mer. janv. 24 18:06:38 CET 2024
                      
                      Upgrade started - mer. janv. 24 20:51:08 CET 2024
                      system is Linux MagicMirror 5.10.103-v7+ #1529 SMP Tue Mar 8 12:21:37 GMT 2022 armv7l GNU/Linux
                      doing test run = true, NO updates will be applied!
                      the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster
                      n (node version manager tool) not installed, doing test run, install skipped
                      Check current Node installation ...
                      Node currently installed. Checking version number.
                      Minimum Node version: v18.18.0
                      Installed Node version: v14.21.3
                      Node should be upgraded.
                      
                      Upgrade started - mer. janv. 24 21:02:28 CET 2024
                      system is Linux MagicMirror 5.10.103-v7+ #1529 SMP Tue Mar 8 12:21:37 GMT 2022 armv7l GNU/Linux
                      doing test run = true, NO updates will be applied!
                      the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster
                      n (node version manager tool) not installed, doing test run, install skipped
                      Check current Node installation ...
                      Node currently installed. Checking version number.
                      Minimum Node version: v18.18.0
                      Installed Node version: v14.21.3
                      Node should be upgraded.
                      
                      Upgrade started - mer. janv. 24 21:26:35 CET 2024
                      system is Linux MagicMirror 5.10.103-v7+ #1529 SMP Tue Mar 8 12:21:37 GMT 2022 armv7l GNU/Linux
                      doing test run = true, NO updates will be applied!
                      the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster
                      n (node version manager tool) not installed, doing test run, install skipped
                      Check current Node installation ...
                      Node currently installed. Checking version number.
                      Minimum Node version: v18.18.0
                      Installed Node version: v14.21.3
                      Node should be upgraded.
                      
                      Upgrade started - mer. janv. 24 21:31:01 CET 2024
                      system is Linux MagicMirror 5.10.103-v7+ #1529 SMP Tue Mar 8 12:21:37 GMT 2022 armv7l GNU/Linux
                      doing test run = true, NO updates will be applied!
                      the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster
                      n (node version manager tool) not installed, doing test run, install skipped
                      Check current Node installation ...
                      Node currently installed. Checking version number.
                      Minimum Node version: v18.18.0
                      Installed Node version: v14.21.3
                      Node should be upgraded.
                      
                      Upgrade started - jeu. janv. 25 08:56:35 CET 2024
                      system is Linux MagicMirror 5.10.103-v7+ #1529 SMP Tue Mar 8 12:21:37 GMT 2022 armv7l GNU/Linux
                      doing test run = true, NO updates will be applied!
                      the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster
                      n (node version manager tool) not installed, doing test run, install skipped
                      Check current Node installation ...
                      Node currently installed. Checking version number.
                      Minimum Node version: v18.18.0
                      Installed Node version: v14.21.3
                      Node should be upgraded.
                      
                      Upgrade started - jeu. janv. 25 09:02:37 CET 2024
                      system is Linux MagicMirror 5.10.103-v7+ #1529 SMP Tue Mar 8 12:21:37 GMT 2022 armv7l GNU/Linux
                      doing test run = true, NO updates will be applied!
                      the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster
                      n (node version manager tool) not installed, doing test run, install skipped
                      Check current Node installation ...
                      Node currently installed. Checking version number.
                      Minimum Node version: v18.18.0
                      Installed Node version: v14.21.3
                      Node should be upgraded.
                      
                      Upgrade started - jeu. janv. 25 10:04:34 CET 2024
                      system is Linux MagicMirror 5.10.103-v7+ #1529 SMP Tue Mar 8 12:21:37 GMT 2022 armv7l GNU/Linux
                      doing test run = true, NO updates will be applied!
                      the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster
                      n (node version manager tool) not installed, doing test run, install skipped
                      Check current Node installation ...
                      Node currently installed. Checking version number.
                      Minimum Node version: v18.18.0
                      Installed Node version: v14.21.3
                      Node should be upgraded.
                      Node.js upgrade defered, doing test run
                      Check current NPM installation ...
                      NPM currently installed. Checking version number.
                      Minimum npm version: V9.8.1
                      Installed npm version: V6.14.18
                      npm should be upgraded.
                      A npm process is currently running. Can't upgrade.
                      Please quit all npm processes and restart the installer.
                      
                      S 2 Replies Last reply Reply Quote 0
                      • S Do not disturb
                        sdetweil @Manu85
                        last edited by

                        @Manu85 you have your MagicMirror running from

                        npm start
                        

                        right?

                        you need to stop it, ctrl-c in that terminal window

                        also show output of

                        pm2 status
                        

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        M 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 20
                        • 21
                        • 22
                        • 23
                        • 24
                        • 30
                        • 31
                        • 22 / 31
                        • 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