MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. bdream
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    B
    Offline
    • Profile
    • Following 1
    • Followers 0
    • Topics 19
    • Posts 207
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: [SOLVED] Can I display MagicMirror on a TV, with no mirror?

      @gregf I just finishd my MagicMirror² as Picture In Frame which hang in our kitchen now and informs about calendar-entries, weather, time and when the next bus will go.

      No need to have a mirror-glass :winking_face:

      posted in General Discussion
      B
      bdream
    • MagicMirror² made as Picture In frame

      My first running MagicMirror² is not a mirror but a Picture In Frame.
      It is based on an old IKEA frame (RIBBA 30x40 cm) with real glass, not plastic :hugging_face:.
      I use a small LCD (ca. 30x23 cm), therefore I added a matt (passe-partout) infront, so it looks like a nice picture.

      0_1571243509786_MM_00.jpg
      At this time the MM is based on Raspberry 3, Rev. 02 (gaol is to use Paspberry Zero) with 1024MB and 32GB microSD-Card.
      Software-base is Raspian Buster with desktop, version: July 2019, Release date: 2019-07-10
      I made all updates and upgrades as descriped in MagicMirror-guides.

      At this point I installed from GitHub the verry great MagicMirror²-software from @MichMich Michael Teeuw :thumbs_up: excelent job :clapping_hands:

      bash -c "$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh)"
      

      Just updated to MM v2.9.0 with great help from @sdetweil :clapping_hands:

      I use following 3rd Party modules

      MMM-bernwordclock
      MMM-Carousel
      MMM-PublicTransportHafas
      MMM-weatherforecast
      

      Default modules “updatenotification” and “alert” I use untouched.

      Region top_left I have an customized (If I understand how to provide to GitHub I will do) bernwordclock to show the time in words.

      Region top_right I show default clock, currentweather and 3rd Party Module weatherforecast rotating by 3rd Party Module carousel.

      Region bottom_left I show my calendar-entries using default calendar module configured to show different pages for holidays, birthdays, privat-calendars…

      Region bottom_right I show with 3rd Party Module PublicTransportHafas

      0_1571244372542_MM_01.jpg
      0_1571244505197_MM_02.jpg
      0_1571244561382_MM_03.jpg

      3rd Party Modules carousel is THE win getting all information I want to have on my small screen.

      {
      	module: 'MMM-Carousel',
          config: {
              transitionInterval: 10000,
              mode: 'positional',
              top_right: {enabled: true, ignoreModules: []},
              bottom_left: {enabled: true, ignoreModules: []},
          }
      },
      

      And I made some changes to custom.css changing font-size

       body {
        margin: 20px;
        height: calc(100% - 40px);
        width: calc(100% - 40px);
       }
      
       .clock .time {
      	margin: 10px;
      	font-size 20px;
      	color: grey; 
       }
       .clock .date {
              margin: 10px;
      	font-size: 12px;          
       } 
      
       .calendar {
      	width:500px;
       }
      
       .calendar .small {
      	font-size: 13px;
      	line-height: 15px;
       }
      
       .weatherforecast {
              width:400px;
       }
      
       .weatherforecast .small {
              font-size: 15px;
       }
      
      
       .MMM-PublicTransportHafas {
              width:400px;
      	text-align: left; 
      }
      
       .MMM-PublicTransportHafas .small {
              font-size: 15px;
              line-height: 20px;
       }
      
       .MMM-bernwordclock {
              font-size: 20px;
      	line-height: 25px;
              width:400px;
       }
      
       .currentweather {
              width:400px;
       }
      

      As you can see on my pictures I have already prepared PIR-Sensor, but it’s not running at the moment. Will work on it.

      Here you are some impressions on what is behind…

      0_1571244993700_MM_10.jpg
      here you can see the LCD glued to the matt and all components on it.
      As we have the Raspberry at the top right connected to the PIR-Sensor in the top middle, to the HDMI to VGA converter and to the Powerconverter, which converts the Power for the LVDS Interface also to the needed 5V for the Raspberry.
      That means, I need only 1 powercord into the frame :nerd_face:
      The Powercord comes in the bottom richt direct into the LVDS Interface.
      The LVDS Interface is connected to the power as I said, to the backlight and the yellow/plack cables going to the Powerconverter.

      0_1571245001552_MM_11.jpgHere are the 3 GPIO-PINs connected to PIR-Sensor.

      0_1571245007916_MM_12.jpg
      Here I made a small cut for the powercable.

      0_1571245013299_MM_13.jpg
      Here you see the PIR-Sensor placed in the frame, what was a little challenging getting it placed not demolishing the frame and have the PIR-board infront of the glass.

      posted in Show your Mirror
      B
      bdream
    • RE: Update to v2.9.0 fail

      so we are done and I set post to solved.

      Many thanks for your great help and patience with this newbe-stuff :smiling_face_with_sunglasses:

      posted in Troubleshooting
      B
      bdream
    • RE: Update to v2.9.0 fail

      @sdetweil said in Update to v2.9.0 fail:

      if you have edited the package-lock.json file

      reedited and run script

      pi@MagicMirror:~/MagicMirror $  bash -c -i  "$(curl -sL https://www.dropbox.com/s/lxzwyzohg61sppu/upgrade-script.sh?dl=0)" force
      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.9.0
      fetching latest revisions
      there are 2 local files that are different than the master repo
      
         package-lock.json
         vendor/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
      updating MagicMirror runtime, please wait
      
      > magicmirror@2.9.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"})
      
      audited 220 packages in 13.98s
      found 5 vulnerabilities (4 low, 1 high)
        run `npm audit fix` to fix them, or `npm audit` for details
      
      > magicmirror@2.9.0 postinstall /home/pi/MagicMirror
      > sh untrack-css.sh && sh installers/postinstall/postinstall.sh && npm run install-fonts
      
      MagicMirror installation successful!
      
      > magicmirror@2.9.0 install-fonts /home/pi/MagicMirror
      > cd fonts && npm install
      
      audited 1 package in 1.385s
      found 0 vulnerabilities
      
      npm WARN acorn-jsx@5.0.2 requires a peer of acorn@^6.0.0 || ^7.0.0 but none is installed. You must install peer dependencies yourself.
      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.
      
      updated 1 package and audited 3475 packages in 106.649s
      found 28 vulnerabilities (1 low, 1 moderate, 26 high)
        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-Carousel please wait
      ----------------------------------
      audited 859 packages in 13.644s
      found 2 high severity vulnerabilities
        run `npm audit fix` to fix them, or `npm audit` for details
      processing complete for module MMM-Carousel
      
      processing for module MMM-PublicTransportHafas please wait
      ----------------------------------
      audited 41 packages in 3.408s
      found 0 vulnerabilities
      
      processing complete for module MMM-PublicTransportHafas
      
      processing for module MMM-PublicTransportHafas please wait
      ----------------------------------
      audited 41 packages in 2.67s
      found 0 vulnerabilities
      
      processing complete for module MMM-PublicTransportHafas
      
      processing for module MMM-PublicTransportHafas please wait
      ----------------------------------
      audited 41 packages in 3.904s
      found 0 vulnerabilities
      
      processing complete for module MMM-PublicTransportHafas
      
      restoring custom.css
      

      upgrade.log

      
      Upgrade started - Mi Okt 16 22:11:36 CEST 2019
      user requested to force 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.9.0 to 2.9.0
      fetching latest revisions
      current branch = master
      Auf Branch master
      Ihr Branch ist auf demselben Stand wie 'origin/master'.
      
      Zum Commit vorgemerkte Änderungen:
        (benutzen Sie "git reset HEAD <Datei>..." zum Entfernen aus der Staging-Area)
      
      	gelöscht:       css/custom.css
      
      Änderungen, die nicht zum Commit vorgemerkt sind:
        (benutzen Sie "git add <Datei>...", um die Änderungen zum Commit vorzumerken)
        (benutzen Sie "git checkout -- <Datei>...", um die Änderungen im Arbeitsverzeichnis zu verwerfen)
      
      	geändert:       package-lock.json
      	geändert:       vendor/package-lock.json
      
      Unversionierte Dateien:
        (benutzen Sie "git add <Datei>...", um die Änderungen zum Commit vorzumerken)
      
      	$
      	%logfile
      	core
      	css/save_custom.css
      	installers/dumpactivemodules.js
      	installers/pm2_MagicMirror_new.json
      	installers/stashed_files
      	installers/upgrade.log.bak2
      	mm.sh
      	nohup.out
      
      there are 2 local files that are different than the master repo
      
         package-lock.json
         vendor/package-lock.json
      
      save/restore files selection = n
      restoring package-lock.json from repo
      restoring vendor/package-lock.json from repo
      test merge result rc='' , if empty, no conflicts
      executing merge, apply specified
      merge result rc= 0
       Already up to date.
      processor architecture is armv7l
      updating MagicMirror runtime, please wait
      
      > magicmirror@2.9.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"})
      
      audited 220 packages in 13.98s
      found 5 vulnerabilities (4 low, 1 high)
        run `npm audit fix` to fix them, or `npm audit` for details
      
      > magicmirror@2.9.0 postinstall /home/pi/MagicMirror
      > sh untrack-css.sh && sh installers/postinstall/postinstall.sh && npm run install-fonts
      
      MagicMirror installation successful!
      
      > magicmirror@2.9.0 install-fonts /home/pi/MagicMirror
      > cd fonts && npm install
      
      audited 1 package in 1.385s
      found 0 vulnerabilities
      
      npm WARN acorn-jsx@5.0.2 requires a peer of acorn@^6.0.0 || ^7.0.0 but none is installed. You must install peer dependencies yourself.
      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.
      
      updated 1 package and audited 3475 packages in 106.649s
      found 28 vulnerabilities (1 low, 1 moderate, 26 high)
        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-Carousel please wait
      ----------------------------------
      audited 859 packages in 13.644s
      found 2 high severity vulnerabilities
        run `npm audit fix` to fix them, or `npm audit` for details
      processing complete for module MMM-Carousel
      processing for module MMM-PublicTransportHafas please wait
      ----------------------------------
      audited 41 packages in 3.408s
      found 0 vulnerabilities
      
      processing complete for module MMM-PublicTransportHafas
      processing for module MMM-PublicTransportHafas please wait
      ----------------------------------
      audited 41 packages in 2.67s
      found 0 vulnerabilities
      
      processing complete for module MMM-PublicTransportHafas
      processing for module MMM-PublicTransportHafas please wait
      ----------------------------------
      audited 41 packages in 3.904s
      found 0 vulnerabilities
      
      processing complete for module MMM-PublicTransportHafas
      restoring custom.css
      removing git alias
      Upgrade ended - Mi Okt 16 22:14:11 CEST 2019
      

      do I need to akt in any way here or other point?

      npm WARN acorn-jsx@5.0.2 requires a peer of acorn@^6.0.0 || ^7.0.0 but none is installed. You must install peer dependencies yourself.
      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.
      
      
      posted in Troubleshooting
      B
      bdream
    • RE: Problems with calender and Nextcloud

      @kruf said in Problems with calender and Nextcloud:

      Had somebody the same expirience and knows some tips.

      If I’m right you talk about standard calendar module and getting connected to your nextcloud.

      I have done my config as you can see and it works fine

      {
      	module: "calendar", 
      	header: "  WHAT CALENDAR YOU WILL SHOW", // see help for more information
      	position: "bottom_left",
      	config: {
      		colored: true,
      		displaySymbol: true,
      		wrapEvents: true,
      		fetchInterval: 120000,
      		fade: false,
       		fullDateEventDateFormat: "ddd DD. MMM",
      		maximumNumberOfDays: 30,
      		maximumEntries: 15,
      		maxTitleLength: 50,
      		displayRepeatingCountTitle: true,
      		fade: false,
      		timeFormat: "absolute",
      		dateFormat: "ddd DD. MMM - HH:mm",
      		dateEndFormat: "ddd DD. MMM - HH:mm",
      		showEnd: true,
      		joiningWord: "AT", // see help for more information
      		maxTitleLength: 500,
      		useRelativeDates: false,
      		getRelative: 6,
      		dayOfWeekFormat: "dddd",
      		urgency: 1,
      		calendars: [
      			{
      				symbol: "birthday-cake",
      				color: "#a9a9a9", 
      				url: "https://NAME:PASSWORD@DOMAIN.TLD/Nextcloud/remote.php/dav/calendars/CALENDARNAME/contact_birthdays?export"
      			},
      			{
      				symbol: "plane ",
      				color: "#ffd700", // gold
      				url: "https://www.schulferien.org/media/ical/deutschland/ferien_hessen_2019.ics?k=A1phwzkCPxzt2pDVDT3ZeJvHfv9hq0Wo39uxgoplWmpDqdjNn4diAxd9kVfib72HpVThoNV9WGIF3Pjs5BrYIpOZ2F97U0Mbdbo_c3mxjo0"
      			},
                     		]
      	}
      },
      

      If I’m wrong, please provide some information enable helpers to help.

      posted in Troubleshooting
      B
      bdream
    • RE: Update to v2.9.0 fail

      @sdetweil said in Update to v2.9.0 fail:

      that is all u had, so you would have selected n, instead of y

      Sorry, is this I have to run script again and select n instead of yes?

      posted in Troubleshooting
      B
      bdream
    • RE: Update to v2.9.0 fail

      @sdetweil said in Update to v2.9.0 fail:

      try with force instead of apply

      Interesting. Now I get 2 package-lock.json listed…

      pi@MagicMirror:~/MagicMirror $  bash -c -i  "$(curl -sL https://www.dropbox.com/s/lxzwyzohg61sppu/upgrade-script.sh?dl=0)" force
      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.9.0
      fetching latest revisions
      there are 2 local files that are different than the master repo
      
         package-lock.json
         vendor/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
      git: 'git_user_name' ist kein Git-Befehl. Siehe 'git --help'.
      updating MagicMirror runtime, please wait
      
      > magicmirror@2.9.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"})
      
      audited 220 packages in 23.225s
      found 5 vulnerabilities (4 low, 1 high)
        run `npm audit fix` to fix them, or `npm audit` for details
      
      > magicmirror@2.9.0 postinstall /home/pi/MagicMirror
      > sh untrack-css.sh && sh installers/postinstall/postinstall.sh && npm run install-fonts
      
      MagicMirror installation successful!
      
      > magicmirror@2.9.0 install-fonts /home/pi/MagicMirror
      > cd fonts && npm install
      
      audited 1 package in 0.999s
      found 0 vulnerabilities
      
      npm WARN acorn-jsx@5.0.2 requires a peer of acorn@^6.0.0 || ^7.0.0 but none is installed. You must install peer dependencies yourself.
      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.
      
      audited 3475 packages in 88.305s
      found 28 vulnerabilities (1 low, 1 moderate, 26 high)
        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-Carousel please wait
      ----------------------------------
      audited 859 packages in 16.958s
      found 2 high severity vulnerabilities
        run `npm audit fix` to fix them, or `npm audit` for details
      processing complete for module MMM-Carousel
      
      processing for module MMM-PublicTransportHafas please wait
      ----------------------------------
      audited 41 packages in 2.814s
      found 0 vulnerabilities
      
      processing complete for module MMM-PublicTransportHafas
      
      processing for module MMM-PublicTransportHafas please wait
      ----------------------------------
      audited 41 packages in 3.741s
      found 0 vulnerabilities
      
      processing complete for module MMM-PublicTransportHafas
      
      processing for module MMM-PublicTransportHafas please wait
      ----------------------------------
      audited 41 packages in 3.333s
      found 0 vulnerabilities
      
      processing complete for module MMM-PublicTransportHafas
      
      restoring custom.css
      we stashed a set of files that appear changed from the latest repo versions. you should review them
      Keine Stash-Einträge gefunden.
      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..
      

      and the log:

      
      Upgrade started - Mi Okt 16 20:15:10 CEST 2019
      user requested to force apply changes
      doing test run = false
      
      saving custom.css
      not english or locale not set, set git alias
      alias egrep='egrep --color=auto'
      alias fgrep='fgrep --color=auto'
      alias git='LC_ALL=en_US.UTF-8 git'
      alias grep='grep --color=auto'
      alias ls='ls --color=auto'
      remote name = origin
      upgrading from version 2.9.0 to 2.9.0
      fetching latest revisions
      current branch = master
      Auf Branch master
      Ihr Branch ist auf demselben Stand wie 'origin/master'.
      
      Zum Commit vorgemerkte Änderungen:
        (benutzen Sie "git reset HEAD <Datei>..." zum Entfernen aus der Staging-Area)
      
      	gelöscht:       css/custom.css
      
      Änderungen, die nicht zum Commit vorgemerkt sind:
        (benutzen Sie "git add <Datei>...", um die Änderungen zum Commit vorzumerken)
        (benutzen Sie "git checkout -- <Datei>...", um die Änderungen im Arbeitsverzeichnis zu verwerfen)
      
      	geändert:       package-lock.json
      	geändert:       vendor/package-lock.json
      
      Unversionierte Dateien:
        (benutzen Sie "git add <Datei>...", um die Änderungen zum Commit vorzumerken)
      
      	$
      	%logfile
      	core
      	css/save_custom.css
      	installers/dumpactivemodules.js
      	installers/pm2_MagicMirror_new.json
      	installers/stashed_files
      	mm.sh
      	nohup.out
      
      there are 2 local files that are different than the master repo
      
         package-lock.json
         vendor/package-lock.json
      
      save/restore files selection = y
      test merge result rc='' , if empty, no conflicts
      executing merge, apply specified
      merge result rc= 0
       Already up to date.
      processor architecture is armv7l
      updating MagicMirror runtime, please wait
      
      > magicmirror@2.9.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"})
      
      audited 220 packages in 23.225s
      found 5 vulnerabilities (4 low, 1 high)
        run `npm audit fix` to fix them, or `npm audit` for details
      
      > magicmirror@2.9.0 postinstall /home/pi/MagicMirror
      > sh untrack-css.sh && sh installers/postinstall/postinstall.sh && npm run install-fonts
      
      MagicMirror installation successful!
      
      > magicmirror@2.9.0 install-fonts /home/pi/MagicMirror
      > cd fonts && npm install
      
      audited 1 package in 0.999s
      found 0 vulnerabilities
      
      npm WARN acorn-jsx@5.0.2 requires a peer of acorn@^6.0.0 || ^7.0.0 but none is installed. You must install peer dependencies yourself.
      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.
      
      audited 3475 packages in 88.305s
      found 28 vulnerabilities (1 low, 1 moderate, 26 high)
        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-Carousel please wait
      ----------------------------------
      audited 859 packages in 16.958s
      found 2 high severity vulnerabilities
        run `npm audit fix` to fix them, or `npm audit` for details
      processing complete for module MMM-Carousel
      processing for module MMM-PublicTransportHafas please wait
      ----------------------------------
      audited 41 packages in 2.814s
      found 0 vulnerabilities
      
      processing complete for module MMM-PublicTransportHafas
      processing for module MMM-PublicTransportHafas please wait
      ----------------------------------
      audited 41 packages in 3.741s
      found 0 vulnerabilities
      
      processing complete for module MMM-PublicTransportHafas
      processing for module MMM-PublicTransportHafas please wait
      ----------------------------------
      audited 41 packages in 3.333s
      found 0 vulnerabilities
      
      processing complete for module MMM-PublicTransportHafas
      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 - Mi Okt 16 20:17:37 CEST 2019
      
      
      posted in Troubleshooting
      B
      bdream
    • RE: Update to v2.9.0 fail

      @sdetweil said in Update to v2.9.0 fail:

      if u can

      Got it

      Upgrade started - Mi Okt 16 20:03:22 CEST 2019
      user requested to apply changes
      doing test run = false
      
      saving custom.css
      not english or locale not set, set git alias
      alias egrep='egrep --color=auto'
      alias fgrep='fgrep --color=auto'
      alias git='LC_ALL=en_US.UTF-8 git'
      alias grep='grep --color=auto'
      alias ls='ls --color=auto'
      remote name = origin
      local version 2.9.0 already same as master 2.9.0
      restoring custom.css
      removing git alias
      Upgrade ended - Mi Okt 16 20:03:22 CEST 2019
      

      there is no statement about the package-lock.json where I added spaces and saved it.

      Seems it works fine :grinning_face_with_smiling_eyes:

      One question I have now.
      Would it make sense changing the guide for update MM using your script instead of git pull && npm install?
      Or is this only a option in case of failure?

      posted in Troubleshooting
      B
      bdream
    • RE: Update to v2.9.0 fail

      got u mail from me? I would send you logs then.

      @sdetweil said in Update to v2.9.0 fail:

      so, we could MAKE it be different, by using a text editor (like the one you use on the config.js file)
      and add 1 space character (hit the spacebar)
      and then save it… then it will be different

      Is this you ask me to do? and rund your script again to see if it works now?

      posted in Troubleshooting
      B
      bdream
    • RE: Update to v2.9.0 fail

      @sdetweil upgrade.log is here from …force… no it isn’t.
      I can’t copy the 2738 lines in here.
      How can I bring it to you?

      And what does this mean?

      on the package-lock.json… it is the same as the update… thus why it didn’t stop
      
      could edit it an add a space someplace
      
      posted in Troubleshooting
      B
      bdream
    • RE: Update to v2.9.0 fail

      @sdetweil said in Update to v2.9.0 fail:

      hm… if package.lock.json does NOT exist

      nono, it did exist

      pi@MagicMirror:~/MagicMirror $  ls pack*
      package.json  package-lock.json
      

      but the script run fast

      bash -c "$(curl -sL https://www.dropbox.com/s/lxzwyzohg61sppu/upgrade-script.sh?dl=0)" force
      

      what path I can find the install.log?

      posted in Troubleshooting
      B
      bdream
    • RE: Update to v2.9.0 fail

      @sdetweil said in Update to v2.9.0 fail:

      when u see the message about saving files, just hit ctrl-c to exit

      I was to slow for hitting ctrl-c :nerd_face:

      As this is a huge of lines my buffer is to small.
      Is there a log or is there no interest to u of the outcome?

      posted in Troubleshooting
      B
      bdream
    • RE: Update to v2.9.0 fail

      @sdetweil said in Update to v2.9.0 fail:

      erase package-lock.json

      done!
      seems update is working now :grinning_face:

      pi@MagicMirror:~/MagicMirror $ bash -c -i  "$(curl -sL https://www.dropbox.com/s/lxzwyzohg61sppu/upgrade-script.sh?dl=0)" apply
      doing test run = false
      update log will be in /home/pi/MagicMirror/installers/upgrade.log
      
      saving custom.css
      upgrading from version 2.8.0 to 2.9.0
      fetching latest revisions
      updating MagicMirror runtime, please wait
      
      > electron@3.0.13 postinstall /home/pi/MagicMirror/node_modules/electron
      > node install.js
      
      Downloading tmp-5207-1-SHASUMS256.txt-3.0.13
      [============================================>] 100.0% of 4.79 kB (4.79 kB/s)
      
      > magicmirror@2.9.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"})
      
      audited 220 packages in 12.241s
      found 5 vulnerabilities (4 low, 1 high)
        run `npm audit fix` to fix them, or `npm audit` for details
      
      > magicmirror@2.9.0 postinstall /home/pi/MagicMirror
      > sh untrack-css.sh && sh installers/postinstall/postinstall.sh && npm run install-fonts
      
      We'll remove from the repository the css/custom.css
      This script apply git update-index --skip-worktree css/custom.css
      rm 'css/custom.css'
      MagicMirror installation successful!
      
      > magicmirror@2.9.0 install-fonts /home/pi/MagicMirror
      > cd fonts && npm install
      
      audited 1 package in 1.629s
      found 0 vulnerabilities
      
      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.
      
      added 173 packages from 113 contributors, removed 132 packages, updated 181 packages, moved 1 package and audited 3475 packages in 1071.546s
      found 28 vulnerabilities (1 low, 1 moderate, 26 high)
        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-Carousel please wait
      ----------------------------------
      audited 859 packages in 17.666s
      found 2 high severity vulnerabilities
        run `npm audit fix` to fix them, or `npm audit` for details
      processing complete for module MMM-Carousel
      
      processing for module MMM-PublicTransportHafas please wait
      ----------------------------------
      audited 41 packages in 2.153s
      found 0 vulnerabilities
      
      processing complete for module MMM-PublicTransportHafas
      
      processing for module MMM-PublicTransportHafas please wait
      ----------------------------------
      audited 41 packages in 3.251s
      found 0 vulnerabilities
      
      processing complete for module MMM-PublicTransportHafas
      
      processing for module MMM-PublicTransportHafas please wait
      ----------------------------------
      audited 41 packages in 3.956s
      found 0 vulnerabilities
      
      processing complete for module MMM-PublicTransportHafas
      
      restoring custom.css
      
        pm2 start mm
      

      …and it looks GOOD! :rolling_on_the_floor_laughing:
      It’s great after such a … work? … getting it solved.

      Thank you sooo much. On my own I would install from scatch :frowning_face: and this is nothing I can bring to my family.

      and here you asked

      pi@MagicMirror:~/MagicMirror $  echo $LC_ALL
      de_DE.UTF-8
      

      would say this is one of the first thing I do installing Raspian :grimacing_face:

      posted in Troubleshooting
      B
      bdream
    • RE: Update to v2.9.0 fail

      @sdetweil

      pi@MagicMirror:~/MagicMirror $  bash -c -i  "$(curl -sL https://www.dropbox.com/s/lxzwyzohg61sppu/upgrade-script.sh?dl=0)" apply
      doing test run = false
      update log will be in /home/pi/MagicMirror/installers/upgrade.log
      
      saving custom.css
      upgrading from version 2.8.0 to 2.9.0
      fetching latest revisions
      there were merge errors
      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
      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
      

      upgrade.log

      Upgrade started - Mi Okt 16 17:12:12 CEST 2019
      user requested to apply changes
      doing test run = false
      
      saving custom.css
      not english or locale not set, set git 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'
      remote name = origin
      upgrading from version 2.8.0 to 2.9.0
      fetching latest revisions
      current branch = master
      Auf Branch master
      Ihr Branch ist 2715 Commits hinter 'origin/master', und kann vorgespult werden.
        (benutzen Sie "git pull", um Ihren lokalen Branch zu aktualisieren)
      
      Änderungen, die nicht zum Commit vorgemerkt sind:
        (benutzen Sie "git add <Datei>...", um die Änderungen zum Commit vorzumerken)
        (benutzen Sie "git checkout -- <Datei>...", um die Änderungen im Arbeitsverzeichnis zu verwerfen)
      
      	geändert:       css/custom.css
      	geändert:       package-lock.json
      
      Unversionierte Dateien:
        (benutzen Sie "git add <Datei>...", um die Änderungen zum Commit vorzumerken)
      
      	%logfile
      	core
      	css/save_custom.css
      	installers/dumpactivemodules.js
      	installers/pm2_MagicMirror_new.json
      	installers/stashed_files
      	mm.sh
      	nohup.out
      
      keine Änderungen zum Commit vorgemerkt (benutzen Sie "git add" und/oder "git commit -a")
      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 17:12:14 CEST 2019
      
      pi@MagicMirror:~/MagicMirror $  cat ~/.bashrc
      # ~/.bashrc: executed by bash(1) for non-login shells.
      # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
      # for examples
      
      # If not running interactively, don't do anything
      case $- in
          *i*) ;;
            *) return;;
      esac
      
      # don't put duplicate lines or lines starting with space in the history.
      # See bash(1) for more options
      HISTCONTROL=ignoreboth
      
      # append to the history file, don't overwrite it
      shopt -s histappend
      
      # for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
      HISTSIZE=1000
      HISTFILESIZE=2000
      
      # check the window size after each command and, if necessary,
      # update the values of LINES and COLUMNS.
      shopt -s checkwinsize
      
      # If set, the pattern "**" used in a pathname expansion context will
      # match all files and zero or more directories and subdirectories.
      #shopt -s globstar
      
      # make less more friendly for non-text input files, see lesspipe(1)
      #[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
      
      # set variable identifying the chroot you work in (used in the prompt below)
      if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
          debian_chroot=$(cat /etc/debian_chroot)
      fi
      
      # set a fancy prompt (non-color, unless we know we "want" color)
      case "$TERM" in
          xterm-color|*-256color) color_prompt=yes;;
      esac
      
      # uncomment for a colored prompt, if the terminal has the capability; turned
      # off by default to not distract the user: the focus in a terminal window
      # should be on the output of commands, not on the prompt
      force_color_prompt=yes
      
      if [ -n "$force_color_prompt" ]; then
          if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
              # We have color support; assume it's compliant with Ecma-48
              # (ISO/IEC-6429). (Lack of such support is extremely rare, and such
              # a case would tend to support setf rather than setaf.)
              color_prompt=yes
          else
              color_prompt=
          fi
      fi
      
      if [ "$color_prompt" = yes ]; then
          PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w \$\[\033[00m\] '
      else
          PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
      fi
      unset color_prompt force_color_prompt
      
      # If this is an xterm set the title to user@host:dir
      case "$TERM" in
      xterm*|rxvt*)
          PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
          ;;
      *)
          ;;
      esac
      
      # enable color support of ls and also add handy aliases
      if [ -x /usr/bin/dircolors ]; then
          test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
          alias ls='ls --color=auto'
          #alias dir='dir --color=auto'
          #alias vdir='vdir --color=auto'
      
          alias grep='grep --color=auto'
          alias fgrep='fgrep --color=auto'
          alias egrep='egrep --color=auto'
      fi
      
      # colored GCC warnings and errors
      #export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
      
      # some more ls aliases
      #alias ll='ls -l'
      #alias la='ls -A'
      #alias l='ls -CF'
      
      # Alias definitions.
      # You may want to put all your additions into a separate file like
      # ~/.bash_aliases, instead of adding them here directly.
      # See /usr/share/doc/bash-doc/examples in the bash-doc package.
      
      if [ -f ~/.bash_aliases ]; then
          . ~/.bash_aliases
      fi
      
      # enable programmable completion features (you don't need to enable
      # this, if it's already enabled in /etc/bash.bashrc and /etc/profile
      # sources /etc/bash.bashrc).
      if ! shopt -oq posix; then
        if [ -f /usr/share/bash-completion/bash_completion ]; then
          . /usr/share/bash-completion/bash_completion
        elif [ -f /etc/bash_completion ]; then
          . /etc/bash_completion
        fi
      fi
      
      
      posted in Troubleshooting
      B
      bdream
    • RE: Update to v2.9.0 fail

      @sdetweil said in Update to v2.9.0 fail:

      try script again

      pi@MagicMirror:~/MagicMirror $  bash -c  "$(curl -sL https://www.dropbox.com/s/lxzwyzohg61sppu/upgrade-script.sh?dl=0)" apply
      doing test run = false
      update log will be in /home/pi/MagicMirror/installers/upgrade.log
      
      saving custom.css
      upgrading from version 2.8.0 to 2.9.0
      fetching latest revisions
      there are 2 local files that are different than the master repo
      
         css/custom.css
         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
      
      *** Bitte geben Sie an, wer Sie sind.
      
      Führen Sie
      
        git config --global user.email "you@example.com"
        git config --global user.name "Your Name"
      
      aus, um das als Ihre standardmäßige Identität zu setzen.
      Lassen Sie die Option "--global" weg, um die Identität nur
      für dieses Repository zu setzen.
      fatal: Konnte die E-Mail-Adresse nicht automatisch erkennen ('pi@MagicMirror.(none)' erhalten)
      Kann den aktuellen Zustand des Index nicht speichern
      there were merge errors
      error: Your local changes to the following files would be overwritten by merge:         package-lock.json Please commit your changes or stash them before you merge. Aborting Updating a31546b..500147e
      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
      we stashed a set of files that appear changed from the latest repo versions. you should review them
      Keine Stash-Einträge gefunden.
      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..
      
      

      custom.css is realy touched by me but should not be affected by updates I thougt.

      *** Bitte geben Sie an, wer Sie sind.
      
      Führen Sie
      
        git config --global user.email "you@example.com"
        git config --global user.name "Your Name"
      
      aus, um das als Ihre standardmäßige Identität zu setzen.
      Lassen Sie die Option "--global" weg, um die Identität nur
      für dieses Repository zu setzen.
      fatal: Konnte die E-Mail-Adresse nicht automatisch erkennen ('pi@MagicMirror.(none)' erhalten)
      Kann den aktuellen Zustand des Index nicht speichern
      

      that says about the git configuration is not correct. But I never configured git on the Pi. Do I need to do?
      The fatal is about the e-mail was not to get detected automaticly. For sure there was never a e-mail configured for nothing at the Pi.
      Index can not be saved.

      Keine Stash-Einträge gefunden.
      

      Says 'no Stash-entries were found. whatever that mens.

      posted in Troubleshooting
      B
      bdream
    • RE: Update to v2.9.0 fail

      @sdetweil said in Update to v2.9.0 fail:

      I bet you see this
      expand_aliases off

      pi@MagicMirror:~/MagicMirror $   shopt | grep expand
      assoc_expand_once       off
      direxpand       off
      expand_aliases  on
      
      posted in Troubleshooting
      B
      bdream
    • RE: Update to v2.9.0 fail

      @sdetweil

      Upgrade started - Mi Okt 16 15:38:04 CEST 2019
      user requested to apply changes
      doing test run = false
      
      saving custom.css
      not english or locale not set, set git alias
      alias git='LANGUAGE=en_US.UTF-8 git'
      remote name = origin
      upgrading from version 2.8.0 to 2.9.0
      fetching latest revisions
      current branch = master
      Auf Branch master
      Ihr Branch ist 2715 Commits hinter 'origin/master', und kann vorgespult werden.
        (benutzen Sie "git pull", um Ihren lokalen Branch zu aktualisieren)
      
      Änderungen, die nicht zum Commit vorgemerkt sind:
        (benutzen Sie "git add <Datei>...", um die Änderungen zum Commit vorzumerken)
        (benutzen Sie "git checkout -- <Datei>...", um die Änderungen im Arbeitsverzeichnis zu verwerfen)
      
      	geändert:       css/custom.css
      	geändert:       package-lock.json
      
      Unversionierte Dateien:
        (benutzen Sie "git add <Datei>...", um die Änderungen zum Commit vorzumerken)
      
      	%logfile
      	core
      	css/save_custom.css
      	installers/dumpactivemodules.js
      	installers/pm2_MagicMirror_new.json
      	mm.sh
      	nohup.out
      
      keine Änderungen zum Commit vorgemerkt (benutzen Sie "git add" und/oder "git commit -a")
      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 15:38:06 CEST 2019
      
      
      posted in Troubleshooting
      B
      bdream
    • RE: Update to v2.9.0 fail

      @sdetweil

      pi@MagicMirror:~/MagicMirror $   bash -c  "$(curl -sL https://www.dropbox.com/s/lxzwyzohg61sppu/upgrade-script.sh?dl=0)" apply
      doing test run = false
      update log will be in /home/pi/MagicMirror/installers/upgrade.log
      
      saving custom.css
      upgrading from version 2.8.0 to 2.9.0
      fetching latest revisions
      there were merge errors
      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
      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
      
      Upgrade started - Mi Okt 16 15:31:26 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
      Auf Branch master
      Ihr Branch ist 2715 Commits hinter 'origin/master', und kann vorgespult werden.
        (benutzen Sie "git pull", um Ihren lokalen Branch zu aktualisieren)
      
      Änderungen, die nicht zum Commit vorgemerkt sind:
        (benutzen Sie "git add <Datei>...", um die Änderungen zum Commit vorzumerken)
        (benutzen Sie "git checkout -- <Datei>...", um die Änderungen im Arbeitsverzeichnis zu verwerfen)
      
      	geändert:       css/custom.css
      	geändert:       package-lock.json
      
      Unversionierte Dateien:
        (benutzen Sie "git add <Datei>...", um die Änderungen zum Commit vorzumerken)
      
      	core
      	css/save_custom.css
      	installers/dumpactivemodules.js
      	installers/pm2_MagicMirror_new.json
      	mm.sh
      	nohup.out
      
      keine Änderungen zum Commit vorgemerkt (benutzen Sie "git add" und/oder "git commit -a")
      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 15:31:29 CEST 2019
      

      I’m sorry for german within the log :unamused_face:

      posted in Troubleshooting
      B
      bdream
    • RE: Update to v2.9.0 fail
      Upgrade started - Mi Okt 16 15:22:29 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 15:22:31 CEST 2019
      
      
      posted in Troubleshooting
      B
      bdream
    • RE: Update to v2.9.0 fail

      @sdetweil

      pi@MagicMirror:~/MagicMirror $   bash -c  "$(curl -sL https://www.dropbox.com/s/lxzwyzohg61sppu/upgrade-script.sh?dl=0)" apply
      doing test run = false
      update log will be in /home/pi/MagicMirror/installers/upgrade.log
      
      saving custom.css
      upgrading from version 2.8.0 to 2.9.0
      fetching latest revisions
      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
      
      
      posted in Troubleshooting
      B
      bdream
    • 1
    • 2
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 8 / 11