pi@MagicMirror:~/MagicMirror $ alias
alias egrep='egrep --color=auto'
alias fgrep='fgrep --color=auto'
alias git='LANGUAGE=en_US.UTF-8 git'
alias grep='grep --color=auto'
alias ls='ls --color=auto'
pi@MagicMirror:~/MagicMirror $ alias git='LANGUAGE=en_US.UTF-8 git'
pi@MagicMirror:~/MagicMirror $ git status | grep modified | awk -F: '{print $2}'
css/custom.css
package-lock.json
pi@MagicMirror:~/MagicMirror $ unalias git >/dev/null
Read the statement by Michael Teeuw here.
Posts
-
RE: Update to v2.9.0 fail
-
RE: Update to v2.9.0 fail
@sdetweil SORRY!
pi@MagicMirror:~/MagicMirror $ git status On branch master Your branch is behind 'origin/master' by 2715 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/custom.css modified: package-lock.json Untracked files: (use "git add <file>..." to include in what will be committed) core installers/dumpactivemodules.js installers/pm2_MagicMirror_new.json mm.sh nohup.out no changes added to commit (use "git add" and/or "git commit -a") -
RE: Update to v2.9.0 fail
@sdetweil seems there is a deeper problem!?!
pi@MagicMirror:~ $ git status fatal: not a git repository (or any of the parent directories): .gitwhat does this mean please?
unalias git >/dev/null -
RE: Update to v2.9.0 fail
I tried u script but get further message update available even I restarted mm
pm2 start mmthe upgrade log here
Upgrade started - Mi Okt 16 14:38:38 CEST 2019 doing test run = true downloading dumpactivemodules script saving custom.css not english or locale not set, set git alias remote name = origin upgrading from version 2.8.0 to 2.9.0 fetching latest revisions current branch = master no files different from github version test merge result rc='' , if empty, no conflicts skipping merge, only test run processing dependency changes for active modules with package.json files processing for module MMM-Carousel please wait ---------------------------------- skipped processing for MMM-Carousel, doing test run processing complete for module MMM-Carousel 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-PublicTransportHafas please wait ---------------------------------- skipped processing for MMM-PublicTransportHafas, doing test run processing complete for module MMM-PublicTransportHafas processing for module MMM-PublicTransportHafas please wait ---------------------------------- skipped processing for MMM-PublicTransportHafas, doing test run processing complete for module MMM-PublicTransportHafas restoring custom.css removing git alias Upgrade ended - Mi Okt 16 14:38:45 CEST 2019 Upgrade started - Mi Okt 16 14:41:56 CEST 2019 user requested to apply changes doing test run = false saving custom.css not english or locale not set, set git alias remote name = origin upgrading from version 2.8.0 to 2.9.0 fetching latest revisions current branch = master no files different from github version test merge result rc='' , if empty, no conflicts executing merge, apply specified merge result rc= 1 error: Ihre lokalen Änderungen in den folgenden Dateien würden durch den Merge überschrieben werden: package-lock.json Bitte committen oder stashen Sie Ihre Änderungen, bevor Sie mergen. Abbruch Aktualisiere a31546b..500147e there were merge errors you should examine and resolve them using the command git log --oneline --decorate a31546b (grafted, HEAD -> master, tag: v2.8.0) Merge pull request #1717 from MichMich/develop restoring custom.css removing git alias Upgrade ended - Mi Okt 16 14:41:58 CEST 2019 -
need help on weatherforecast module
With 3rd Party Module weatherforecast configured as here, I have a problem as I have in header before the city UNDEFINED
{ module: "weatherforecast", position: "top_right", config: { showRainAmount: "true", colored: "true", showWindDirection: "true", showWindDirectionAsArrow: "true", maxNumberOfDays: 10, decimalSymbol: ",", location: "Frankfurt am Main", locationID: "2925533", //Location ID from http://openweathermap.org/help/city_list.txt appid: "XXXXXXXXXXXXXXXXXXXXXXXXXX" //openweathermap.org API key. } },
How can I get rid of the UNDEFINED in header? -
Update to v2.9.0 fail
As I get informed about new update available on my MagicMirror² I tried
git pull && npm installand got
Aktualisiere a31546b..500147e error: Ihre lokalen Änderungen in den folgenden Dateien würden durch den Merge überschrieben werden: package-lock.json Bitte committen oder stashen Sie Ihre Änderungen, bevor Sie mergen. AbbruchSorry for german error message :winking_face: which mean I have to commit my? changes on package-lock.json
I don’t know what and how and even why :face_screaming_in_fear:
I have no clue about any change I made on package-lock.json@sdetweil I saw your post link text but don’t know if this is for Raspberry alsow and if I should try this.
I’m a little afraid killing my installation.
-
RE: Need help with MMM-voice, getting errors
Hi bjjsoul,
please add an comma ‘,’ after the last phrase },{ module: 'MMM-voice', position: 'bottom_bar', config: { microphone: 1, ... } },maybe that help…
-
RE: crashed my MagicMirror by mistake
that will be an good approach :smiling_face_with_smiling_eyes:
Many thansk to you for your help!
-
RE: YAPi0 Installer Stretch Lite
Í’m back now and started to work further on my Pi0 with MM installation.
I tried to get UI desktop running by installing lightdm.
Then reconfigured Boot option to start Desktopn and Auotologin.
After reboot, wich looks good, PI starts an give Debian logon screen.How to autologon?
After I put in my credentials pi and raspberry I stuck in login-loop.
-
RE: crashed my MagicMirror by mistake
Ohh boy!
Many thanks, that was a fast help. I wonder not fixing it by myself. Seems I’m to unfamilar to it.It works again :smiling_face_with_open_mouth_closed_eyes:
-
RE: crashed my MagicMirror by mistake
On the Mirror I only see login prompt.
MM is not starting as before. -
crashed my MagicMirror by mistake
Hi all,
I would need your help please as I crashed my fine running MagicMirror.By mistake I run raspi-config and changed 3-Bootoptions, B1-Desktop / CLI.
Now Magic mirror is not more running and I really don’t know what to do else setting up from beginning.Many thanks! bdream
-
RE: YAPi0 Installer Stretch Lite
@sdetweil said in YAPi0 Installer Stretch Lite:
graphical UI desktop on the pi
I wonder. I understood Pi0 don’t need to have UI installed. therefor I installed the light raspbian image - maybe I’m wrong :confounded_face:Do I have to install lightdm or other?
And then I assume use raspi-config to boot to desktop?
-
RE: YAPi0 Installer Stretch Lite
hmm, I guess I have to investigate about this in a few weeks.
So far many thanks for your help here. Will have a look later today and see what can I handle. Otherwise later. I have to run for a meeting now.
-
RE: YAPi0 Installer Stretch Lite
pi@RasPiZeroW:~ $ cd ~/MagicMirror/ pi@RasPiZeroW:~/MagicMirror $ pm2 stop 0 [PM2] Applying action stopProcessId on app [0](ids: 0) [PM2] [MagicMirror](0) ✓ ┌─────────────┬────┬─────────┬──────┬─────┬─────────┬─────────┬────────┬─────┬────────┬──────┬──────────┐ │ App name │ id │ version │ mode │ pid │ status │ restart │ uptime │ cpu │ mem │ user │ watching │ ├─────────────┼────┼─────────┼──────┼─────┼─────────┼─────────┼────────┼─────┼────────┼──────┼──────────┤ │ MagicMirror │ 0 │ 2.8.0 │ fork │ 0 │ stopped │ 31 │ 0 │ 0% │ 0 B │ pi │ disabled │ └─────────────┴────┴─────────┴──────┴─────┴─────────┴─────────┴────────┴─────┴────────┴──────┴──────────┘ Use `pm2 show <id|name>` to get more details about an app pi@RasPiZeroW:~/MagicMirror $ npm start > magicmirror@2.8.0 start /home/pi/MagicMirror > sh run-start.sh /home/pi/MagicMirror/node_modules/electron/dist/electron: error while loading shared libraries: libgtk-3.so.0: cannot open shared object file: No such file or directory npm ERR! code ELIFECYCLE npm ERR! syscall spawn npm ERR! file sh npm ERR! errno ENOENT npm ERR! magicmirror@2.8.0 start: `sh run-start.sh` npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the magicmirror@2.8.0 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2019-09-25T17_26_03_649Z-debug.log pi@RasPiZeroW:~/MagicMirror $ -
RE: YAPi0 Installer Stretch Lite
here you are
last 3 rows coming multiple times

-
RE: YAPi0 Installer Stretch Lite
[PM2][WARN] Application MagicMirror not running, starting... [PM2] App [MagicMirror] launched (1 instances) App name | id | version | node | pid | status | restart | uptime | cpu | mem | user | watching MagicMirror | 0 | 2.8.0 | fork | 4835 | online | 0 | 3s | 0% | 2.5 MB | pi | enabled use 'pm2 show <id|name>' to get more details about an appI used pm2 show mm and got [PM2][WARN] mm doesn’t exist
-
RE: YAPi0 Installer Stretch Lite
now the question if I want to use pm2 for autostart MM I will state YES
-
RE: YAPi0 Installer Stretch Lite
npm WARN grunt-stylelint@0.11.1 requires a peer of stylelint@^10.0.0 but none is installed. You must install peer dependencies yourself. -
RE: YAPi0 Installer Stretch Lite
< magicmirror2.8.0 install /home/pi/MagicMirror > cd vendor && npm install npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: ("os":"linux","arch":"arm")