sorry…its not going with:
cd ~/MagicMirror
git fetch origin develop:develop
git checkout develop
after a restart i see fast an white screen and the the black screen :-( and nothing happend
sorry…its not going with:
cd ~/MagicMirror
git fetch origin develop:develop
git checkout develop
after a restart i see fast an white screen and the the black screen :-( and nothing happend
@sdetweil said in Update auf 2.13.0:
git checkout develop
o.k. can you help me once again please that i have a picture…
pi@raspberrypi:~ $ cd MagicMirror
pi@raspberrypi:~/MagicMirror $ git checkout develop
error: Pfadspezifikation 'develop' stimmt mit keinen git-bekannten Dateien überein.
@sdetweil said in Update auf 2.13.0:
if a NEW install, then u would have to reinstall all the modules and update the config
o.k i musst have to install all the modules again and then i can copie the config in the config folder…right?
And please can you send me a link how i can install about the console the ltest magic mirror please…
Thanks
after a new installation…can i also copie the save config and all is good?
the screen is always black :-(
i ihink i have to save the config and i have to install magic mirror new…
what do you think?
pi@raspberrypi:~ $ pm2 stop all
[PM2] Applying action stopProcessId on app [all](ids: 0)
[PM2] [MagicMirror](0) ✓
┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
│ id │ name │ mode │ ↺ │ status │ cpu │ memory │
├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
│ 0 │ MagicMirror │ fork │ 0 │ stopped │ 0% │ 0b │
└────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
pi@raspberrypi:~ $ npm start
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /home/pi/package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2020-11-15T18_01_08_239Z-debug.log
@sdetweil said in Update auf 2.13.0:
mirror already running…
can’t run two at the same time… (on the same port)
o.k. and what can i do now…?
Sorry for my questions but i´m not the expert as you
no, nothing is good…sorry:
i have a black screen :-(
pi@raspberrypi:~/MagicMirror $ npm start
> magicmirror@2.13.0 start /home/pi/MagicMirror
> ./run-start.sh $1
[2020-11-15 18:39:25.557] [LOG] Starting MagicMirror: v2.13.0
[2020-11-15 18:39:25.648] [LOG] Loading config ...
[2020-11-15 18:39:25.691] [LOG] Loading module helpers ...
[2020-11-15 18:39:25.703] [LOG] No helper found for module: alert.
[2020-11-15 18:39:26.107] [LOG] Initializing new module helper ...
[2020-11-15 18:39:26.112] [LOG] Module helper loaded: updatenotification
[2020-11-15 18:39:26.117] [LOG] No helper found for module: clock.
[2020-11-15 18:39:30.439] [LOG] Initializing new module helper ...
[2020-11-15 18:39:30.444] [LOG] Module helper loaded: calendar
[2020-11-15 18:39:30.451] [LOG] No helper found for module: MMM-OpenmapWeather.
[2020-11-15 18:39:30.457] [LOG] No helper found for module: weatherforecast.
[2020-11-15 18:39:31.996] [LOG] Initializing new module helper ...
[2020-11-15 18:39:32.001] [LOG] Module helper loaded: MMM-Remote-Control
[2020-11-15 18:39:32.030] [LOG] Initializing new module helper ...
[2020-11-15 18:39:32.039] [LOG] Module helper loaded: MMM-SoccerLiveScore
[2020-11-15 18:39:32.059] [LOG] Initializing new module helper ...
[2020-11-15 18:39:32.062] [LOG] Module helper loaded: MMM-Tankerkoenig
[2020-11-15 18:39:32.069] [LOG] No helper found for module: MMM-SmartWebDisplay.
[2020-11-15 18:39:32.099] [LOG] Initializing new module helper ...
[2020-11-15 18:39:32.107] [LOG] Module helper loaded: MMM-ioBroker
[2020-11-15 18:39:33.022] [LOG] Initializing new module helper ...
[2020-11-15 18:39:33.024] [LOG] Module helper loaded: MMM-FRITZ-Box-Callmonitor
[2020-11-15 18:39:33.475] [LOG] Initializing new module helper ...
[2020-11-15 18:39:33.482] [LOG] Module helper loaded: MMM-Fuel
[2020-11-15 18:39:34.691] [LOG] Initializing new module helper ...
[2020-11-15 18:39:34.693] [LOG] Module helper loaded: MMM-PublicTransportHafas
[2020-11-15 18:39:34.696] [LOG] No helper found for module: compliments.
[2020-11-15 18:39:35.002] [LOG] Initializing new module helper ...
[2020-11-15 18:39:35.010] [LOG] Module helper loaded: MMM-Tools
[2020-11-15 18:39:35.216] [LOG] Initializing new module helper ...
[2020-11-15 18:39:35.222] [LOG] Module helper loaded: newsfeed
[2020-11-15 18:39:35.239] [LOG] Initializing new module helper ...
[2020-11-15 18:39:35.245] [LOG] Module helper loaded: MMM-COVID19
[2020-11-15 18:39:35.264] [LOG] Initializing new module helper ...
[2020-11-15 18:39:35.270] [LOG] Module helper loaded: MMM-COVID19-AMPEL
[2020-11-15 18:39:35.275] [LOG] All module helpers loaded.
[2020-11-15 18:39:36.247] [LOG] Starting server on port 8080 ...
[2020-11-15 18:39:36.295] [INFO] You're using a full whitelist configuration to allow for all IPs
[2020-11-15 18:39:36.338] [LOG] Server started ...
[2020-11-15 18:39:36.347] [LOG] Connecting socket for: updatenotification
[2020-11-15 18:39:36.355] [LOG] Connecting socket for: calendar
[2020-11-15 18:39:36.359] [LOG] Starting node helper for: calendar
[2020-11-15 18:39:36.363] [LOG] Connecting socket for: MMM-Remote-Control
[2020-11-15 18:39:36.370] [LOG] Starting node helper for: MMM-Remote-Control
[2020-11-15 18:39:36.418] [LOG] Connecting socket for: MMM-SoccerLiveScore
[2020-11-15 18:39:36.424] [LOG] MMM-SoccerLiveScore helper started...
[2020-11-15 18:39:36.427] [LOG] Connecting socket for: MMM-Tankerkoenig
[2020-11-15 18:39:36.430] [LOG] Starting module helper: MMM-Tankerkoenig
[2020-11-15 18:39:36.435] [LOG] Connecting socket for: MMM-ioBroker
[2020-11-15 18:39:36.441] [LOG] Connecting socket for: MMM-FRITZ-Box-Callmonitor
[2020-11-15 18:39:36.446] [LOG] Starting module: MMM-FRITZ-Box-Callmonitor
[2020-11-15 18:39:36.451] [LOG] Connecting socket for: MMM-Fuel
[2020-11-15 18:39:36.456] [LOG] Starting module helper: MMM-Fuel
[2020-11-15 18:39:36.459] [LOG] Connecting socket for: MMM-PublicTransportHafas
[2020-11-15 18:39:36.462] [LOG] Connecting socket for: MMM-Tools
[2020-11-15 18:39:36.468] [LOG] [Tools] MMM-Tools Version: 2.0.3
[2020-11-15 18:39:36.472] [LOG] Connecting socket for: newsfeed
[2020-11-15 18:39:36.476] [LOG] Starting node helper for: newsfeed
[2020-11-15 18:39:36.480] [LOG] Connecting socket for: MMM-COVID19
[2020-11-15 18:39:36.484] [LOG] Starting node helper for: MMM-COVID19
[2020-11-15 18:39:36.489] [LOG] Connecting socket for: MMM-COVID19-AMPEL
[2020-11-15 18:39:36.492] [LOG] Starting node helper for: MMM-COVID19-AMPEL
[2020-11-15 18:39:36.494] [LOG] Sockets connected & modules started ...
[2020-11-15 18:39:36.538] [ERROR] Whoops! There was an uncaught exception...
[2020-11-15 18:39:36.543] [ERROR] Error: listen EADDRINUSE: address already in use 0.0.0.0:8080
at Server.setupListenHandle [as _listen2] (net.js:1226:14)
at listenInCluster (net.js:1274:12)
at doListen (net.js:1413:7)
at processTicksAndRejections (internal/process/task_queues.js:84:9) {
code: 'EADDRINUSE',
errno: 'EADDRINUSE',
syscall: 'listen',
address: '0.0.0.0',
port: 8080
}
[2020-11-15 18:39:36.573] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
[2020-11-15 18:39:36.576] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
[2020-11-15 18:39:38.359] [LOG] Launching application.
Username for 'https://github.com':
look…can you say something about this installation now?
pi@raspberrypi:~/MagicMirror $ bash -c "$(curl -sL https://raw.githubuserconten t.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" apply
No LSB modules are available.
doing test run = false
update log will be in /home/pi/MagicMirror/installers/upgrade.log
saving custom.css
upgrading from version 2.9.0 to 2.13.0
fetching latest revisions
there are 2 local files that are different than the master repo
modules/default/compliments/compliments.js
package-lock.json
any *-lock.json files do not need to be saved
do you want to save these files for later (Y/n)?Y
updating MagicMirror runtime, please wait
> console-stamp@0.2.9 postinstall /home/pi/MagicMirror/node_modules/console-stam p
> node ./msg.js
Attention
Console-stamp version 3.0.0 Release Candidate is out. Install by using the t ag '@next'. NB: Breaking changes.
For more details goto: https://www.npmjs.com/package/console-stamp/v/next
> electron@6.1.12 postinstall /home/pi/MagicMirror/node_modules/electron
> node install.js
Downloading tmp-16303-1-SHASUMS256.txt-6.1.12
[============================================>] 100.0% of 5.62 kB (5.62 kB/s)
> magicmirror@2.13.0 install /home/pi/MagicMirror
> echo "Installing vendor files ...
" && cd vendor && npm install --loglevel=error
Installing vendor files ...
added 3 packages from 3 contributors, removed 62 packages, updated 17 packages and audited 24 packages in 38.077s
1 package is looking for funding
run `npm fund` for details
found 0 vulnerabilities
> magicmirror@2.13.0 postinstall /home/pi/MagicMirror
> npm run install-fonts && echo "MagicMirror installation finished successfully!
"
> magicmirror@2.13.0 install-fonts /home/pi/MagicMirror
> echo "Installing fonts ...
" && cd fonts && npm install --loglevel=error
Installing fonts ...
updated 1 package and audited 1 package in 8.1s
found 0 vulnerabilities
MagicMirror installation finished successfully!
added 81 packages from 60 contributors, removed 340 packages, updated 119 packages and audited 1164 packages in 928.05s
9 packages are looking for funding
run `npm fund` for details
found 3 low severity vulnerabilities
run `npm audit fix` to fix them, or `npm audit` for details
processing dependency changes for active modules with package.json files
processing for module MMM-Remote-Control please wait
----------------------------------
npm notice created a lockfile as package-lock.json. You should commit this file.
added 30 packages from 24 contributors and audited 30 packages in 22.948s
found 0 vulnerabilities
processing complete for module MMM-Remote-Control
processing for module MMM-SoccerLiveScore please wait
----------------------------------
npm notice created a lockfile as package-lock.json. You should commit this file.
up to date in 2.55s
found 0 vulnerabilities
processing complete for module MMM-SoccerLiveScore
processing for module MMM-SmartWebDisplay please wait
----------------------------------
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm notice created a lockfile as package-lock.json. You should commit this file.
added 93 packages from 86 contributors and audited 94 packages in 49.515s
1 package is looking for funding
run `npm fund` for details
found 0 vulnerabilities
processing complete for module MMM-SmartWebDisplay
processing for module MMM-ioBroker please wait
----------------------------------
npm notice created a lockfile as package-lock.json. You should commit this file.
added 41 packages from 465 contributors and audited 41 packages in 32.545s
2 packages are looking for funding
run `npm fund` for details
found 1 low severity vulnerability
run `npm audit fix` to fix them, or `npm audit` for details
processing complete for module MMM-ioBroker
processing for module MMM-FRITZ-Box-Callmonitor please wait
----------------------------------
npm notice created a lockfile as package-lock.json. You should commit this file.
added 11 packages from 64 contributors and audited 11 packages in 15.02s
found 0 vulnerabilities
processing complete for module MMM-FRITZ-Box-Callmonitor
processing for module MMM-Fuel please wait
----------------------------------
npm WARN deprecated browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN eslint-config-recommended@4.1.0 requires a peer of eslint@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN eslint-config-esnext@4.1.0 requires a peer of eslint@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN eslint-config-node@4.1.0 requires a peer of eslint@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN eslint-config-react-native@4.1.0 requires a peer of eslint@^6.0.0 but none is installed. You must install peer dependencies yourself.
added 584 packages from 375 contributors and audited 584 packages in 366.594s
38 packages are looking for funding
run `npm fund` for details
found 1 low severity vulnerability
run `npm audit fix` to fix them, or `npm audit` for details
processing complete for module MMM-Fuel
processing for module MMM-PublicTransportHafas please wait
----------------------------------
npm notice created a lockfile as package-lock.json. You should commit this file.
added 33 packages from 23 contributors and audited 33 packages in 25.836s
2 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
processing complete for module MMM-PublicTransportHafas
processing for module MMM-Tools please wait
----------------------------------
npm notice created a lockfile as package-lock.json. You should commit this file.
added 3 packages from 3 contributors and audited 3 packages in 8.165s
1 package is looking for funding
run `npm fund` for details
found 0 vulnerabilities
processing complete for module MMM-Tools
restoring custom.css
we stashed a set of files that appear changed from the latest repo versions. you should review them
see installers/stashed_files for the list
you can use git checkout stash@{0} -- filename to extract one file from the stash
or git stash pop to restore them all
WARNING..
WARNING.. either will overlay the file just installed by the update
WARNING..
ui …ok. thats a house number…
i will back then
for you first thanks a lot :-)
i risk it … with “SAVE” now …pleas wait while updating… i will get back to you soon
How long does the update while?
o.k. but one question…must i update my magic mirror? now it runs good…an i know there is a statement:
“NEVER CHANGE A RUNNING SYSTEM”
what you say?
@sdetweil said in Update auf 2.13.0:
looks like u might have changed compliments.js for some reason…
unless u applied a fix, you should never change the code in the module folders…
(else u run into this problem)…
I would say no, and figure out what needs to be saved and then restart it…
(this is test mode, so we are not changing anything)
o.k. look:
pi@raspberrypi:~/MagicMirror $ rm -rf .git/refs/tags/v2.12.0
pi@raspberrypi:~/MagicMirror $ git prune
Prüfe Konnektivität: 16017, Fertig.
pi@raspberrypi:~/MagicMirror $ git gc
Objekte aufzählen: 16017, Fertig.
Zähle Objekte: 100% (16017/16017), Fertig.
Delta-Kompression verwendet bis zu 4 Threads.
Komprimiere Objekte: 100% (5873/5873), Fertig.
Schreibe Objekte: 100% (16017/16017), Fertig.
Gesamt 16017 (Delta 9849), Wiederverwendet 15910 (Delta 9746)
pi@raspberrypi:~/MagicMirror $ bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)"
No LSB modules are available.
doing test run = true, NO updates will be applied!
update log will be in /home/pi/MagicMirror/installers/upgrade.log
saving custom.css
upgrading from version 2.9.0 to 2.13.0
fetching latest revisions
From https://github.com/MichMich/MagicMirror
* [new tag] v2.12.0 -> v2.12.0
there are 2 local files that are different than the master repo
modules/default/compliments/compliments.js
package-lock.json
any *-lock.json files do not need to be saved
do you want to save these files for later (Y/n)?n
skipping restore for modules/default/compliments/compliments.js, doing test run
skipping restore for package-lock.json, doing test run
processing dependency changes 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-SoccerLiveScore please wait
----------------------------------
skipped processing for MMM-SoccerLiveScore, doing test run
processing complete for module MMM-SoccerLiveScore
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-ioBroker please wait
----------------------------------
skipped processing for MMM-ioBroker, doing test run
processing complete for module MMM-ioBroker
processing for module MMM-FRITZ-Box-Callmonitor please wait
----------------------------------
skipped processing for MMM-FRITZ-Box-Callmonitor, doing test run
processing complete for module MMM-FRITZ-Box-Callmonitor
processing for module MMM-Fuel please wait
----------------------------------
skipped processing for MMM-Fuel, doing test run
processing complete for module MMM-Fuel
processing for module MMM-PublicTransportHafas please wait
----------------------------------
skipped processing for MMM-PublicTransportHafas, doing test run
processing complete for module MMM-PublicTransportHafas
processing for module MMM-Tools please wait
----------------------------------
skipped processing for MMM-Tools, doing test run
processing complete for module MMM-Tools
restoring custom.css
pi@raspberrypi:~/MagicMirror $ bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)"
No LSB modules are available.
doing test run = true, NO updates will be applied!
update log will be in /home/pi/MagicMirror/installers/upgrade.log
saving custom.css
upgrading from version 2.9.0 to 2.13.0
fetching latest revisions
there are 2 local files that are different than the master repo
modules/default/compliments/compliments.js
package-lock.json
any *-lock.json files do not need to be saved
do you want to save these files for later (Y/n)?n
skipping restore for modules/default/compliments/compliments.js, doing test run
skipping restore for package-lock.json, doing test run
processing dependency changes 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-SoccerLiveScore please wait
----------------------------------
skipped processing for MMM-SoccerLiveScore, doing test run
processing complete for module MMM-SoccerLiveScore
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-ioBroker please wait
----------------------------------
skipped processing for MMM-ioBroker, doing test run
processing complete for module MMM-ioBroker
processing for module MMM-FRITZ-Box-Callmonitor please wait
----------------------------------
skipped processing for MMM-FRITZ-Box-Callmonitor, doing test run
processing complete for module MMM-FRITZ-Box-Callmonitor
processing for module MMM-Fuel please wait
----------------------------------
skipped processing for MMM-Fuel, doing test run
processing complete for module MMM-Fuel
processing for module MMM-PublicTransportHafas please wait
----------------------------------
skipped processing for MMM-PublicTransportHafas, doing test run
processing complete for module MMM-PublicTransportHafas
processing for module MMM-Tools please wait
----------------------------------
skipped processing for MMM-Tools, doing test run
processing complete for module MMM-Tools
restoring custom.css
it look good so or?
@sdetweil said in Update auf 2.13.0:
git gc
Should i save this file now??
this comes in the console now…
@sdetweil said in Update auf 2.13.0:
git gc
pi@raspberrypi:~/MagicMirror $ git update-ref -d 'refs/remotes/origin/HEAD'
pi@raspberrypi:~/MagicMirror $ git prune
fatal: Konnte Objekt 'refs/tags/v2.12.0' nicht parsen.
pi@raspberrypi:~/MagicMirror $ git gc
fatal: bad object refs/tags/v2.12.0
fatal: failed to run repack
pi@raspberrypi:~/MagicMirror $ bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)"
No LSB modules are available.
doing test run = true, NO updates will be applied!
update log will be in /home/pi/MagicMirror/installers/upgrade.log
saving custom.css
upgrading from version 2.9.0 to 2.13.0
fetching latest revisions
error: cannot lock ref 'refs/tags/v2.12.0': unable to resolve reference 'refs/tags/v2.12.0': reference broken
From https://github.com/MichMich/MagicMirror
! [new tag] v2.12.0 -> v2.12.0 (unable to update local ref)
MagicMirror git fetch failed
restoring custom.css
You are the best!!!
pi@raspberrypi:~/MagicMirror $ git branch
* master
pi@raspberrypi:~/MagicMirror $ git remote -v
origin https://github.com/MichMich/MagicMirror.git (fetch)
origin https://github.com/MichMich/MagicMirror.git (push)
@sdetweil said in Update auf 2.13.0:
git remote prune origin
the same :-(
pi@raspberrypi:~/MagicMirror $ mv .git/refs/remotes/origin/HEAD /tmp
pi@raspberrypi:~/MagicMirror $ git gc --prune=now
fatal: bad object refs/tags/v2.12.0
fatal: failed to run repack
pi@raspberrypi:~/MagicMirror $ git remote prune origin
pi@raspberrypi:~/MagicMirror $ bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)"
No LSB modules are available.
doing test run = true, NO updates will be applied!
update log will be in /home/pi/MagicMirror/installers/upgrade.log
saving custom.css
upgrading from version 2.9.0 to 2.13.0
fetching latest revisions
error: cannot lock ref 'refs/tags/v2.12.0': unable to resolve reference 'refs/tags/v2.12.0': reference broken
From https://github.com/MichMich/MagicMirror
! [new tag] v2.12.0 -> v2.12.0 (unable to update local ref)
MagicMirror git fetch failed
restoring custom.css