Read the statement by Michael Teeuw here.
Changing icons of the modules Current Weather and Weather Forecast
-
@sdetweil ```
pi@MagicMirror:~ $ ~/MagicMirror/installers/upgrade.log
-bash: /home/pi/MagicMirror/installers/upgrade.log: Permission non accord▒e
pi@MagicMirror:~ $ -
@Manu85 no. not execute . open and look at
copy last few lines here
-
@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 [96mCheck current Node installation ...[0m [0mNode currently installed. Checking version number. [0mMinimum Node version: [1mv18.18.0[0m [0mInstalled Node version: [1mv14.21.3[0m [96mNode should be upgraded.[0m [92mNode.js upgrade defered, doing test run[0m [96mCheck current NPM installation ...[0m [0mNPM currently installed. Checking version number. [0mMinimum npm version: [1mV9.8.1[0m [0mInstalled npm version: [1mV6.14.18[0m [96mnpm should be upgraded.[0m [96mnpm upgrade defered, doing test run ...[0m 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 [96mCheck current Node installation ...[0m [0mNode currently installed. Checking version number. [0mMinimum Node version: [1mv18.18.0[0m [0mInstalled Node version: [1mv14.21.3[0m [96mNode should be upgraded.[0m 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 [96mCheck current Node installation ...[0m [0mNode currently installed. Checking version number. [0mMinimum Node version: [1mv18.18.0[0m [0mInstalled Node version: [1mv14.21.3[0m [96mNode should be upgraded.[0m 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 [96mCheck current Node installation ...[0m [0mNode currently installed. Checking version number. [0mMinimum Node version: [1mv18.18.0[0m [0mInstalled Node version: [1mv14.21.3[0m [96mNode should be upgraded.[0m 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 [96mCheck current Node installation ...[0m [0mNode currently installed. Checking version number. [0mMinimum Node version: [1mv18.18.0[0m [0mInstalled Node version: [1mv14.21.3[0m [96mNode should be upgraded.[0m 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 [96mCheck current Node installation ...[0m [0mNode currently installed. Checking version number. [0mMinimum Node version: [1mv18.18.0[0m [0mInstalled Node version: [1mv14.21.3[0m [96mNode should be upgraded.[0m 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 [96mCheck current Node installation ...[0m [0mNode currently installed. Checking version number. [0mMinimum Node version: [1mv18.18.0[0m [0mInstalled Node version: [1mv14.21.3[0m [96mNode should be upgraded.[0m 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 [96mCheck current Node installation ...[0m [0mNode currently installed. Checking version number. [0mMinimum Node version: [1mv18.18.0[0m [0mInstalled Node version: [1mv14.21.3[0m [96mNode should be upgraded.[0m [92mNode.js upgrade defered, doing test run[0m [96mCheck current NPM installation ...[0m [0mNPM currently installed. Checking version number. [0mMinimum npm version: [1mV9.8.1[0m [0mInstalled npm version: [1mV6.14.18[0m [96mnpm should be upgraded.[0m [91mA npm process is currently running. Can't upgrade. Please quit all npm processes and restart the installer.
-
@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
-
@Manu85 I added a couple more fixes to the pm2 stop…
tested here… give it a try again…
I am busy most of the day… will try to check in when I can
traveling tomorrow -
@sdetweil sorry but I didn’t understand what to do, my MM is running, I don’t know if it’s running from
npm start
you say (you need to stop it, ctrl-c in that terminal window) in which terminal? do you have to press the “ctrl-c” keys on the keyboard? sorry for my stupid questions
-
@sdetweil I hadn’t seen your message… it’s not urgent and everyone has their own jobs, you’ll answer me when you can, have a good trip
-
@sdetweil after a night’s sleep I think I understood…
-
@sdetweil following my last message I did:
pm2 stop all
and then I made your script:
bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)"
then I went to the folder:
~/MagicMirror/installers/upgrade.log
and I copied the last lines of:
"upgrade started"
I don’t know if I did the right thing but I took the history of what you asked me to do
Upgrade started - ven. janv. 26 13:36:00 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 [96mCheck current Node installation ...[0m [0mNode currently installed. Checking version number. [0mMinimum Node version: [1mv18.18.0[0m [0mInstalled Node version: [1mv14.21.3[0m [96mNode should be upgraded.[0m [92mNode.js upgrade defered, doing test run[0m [96mCheck current NPM installation ...[0m [0mNPM currently installed. Checking version number. [0mMinimum npm version: [1mV9.8.1[0m [0mInstalled npm version: [1mV6.14.18[0m [96mnpm should be upgraded.[0m [96mnpm upgrade defered, doing test run ...[0m 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 howEnd: false, liceMultiDayEvents: false, modules/default/currentweather/ nohup.out tDaysCount: 0, "ter(\"calendar\", {mberOfDays: 365," 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-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 - ven. janv. 26 13:36:17 CET 2024
-
@Manu85 but that is test mode, no changes.
and the changed mm files are still there
main.css…
I thought u restored the originals as you migrated the changes…