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

    Posts

    Recent Best Controversial
    • RE: MM startup problem after update

      @sdetweil Sam I have an error when I pass the line

      git checkout -b temp v.2.27.0
      
      

      pi@MagicMirror:~ $ node -v
      v18.20.3
      pi@MagicMirror:~ $ cd ~/MagicMirror
      pi@MagicMirror:~/MagicMirror $ git fetch --tags
      remote: Enumerating objects: 4, done.
      remote: Counting objects: 100% (4/4), done.
      remote: Compressing objects: 100% (4/4), done.
      remote: Total 4 (delta 0), reused 0 (delta 0), pack-reused 0
      D▒paquetage des objets: 100% (4/4), fait.
      Depuis https://github.com/MagicMirrorOrg/MagicMirror

      • [nouvelle branche] dependabot/npm_and_yarn/develop/stylistic/eslint-plugin-2.3.0 -> origin/dependabot/npm_and_yarn/develop/stylistic/eslint-plugin-2.3.0
        ! [rejet▒] v2.17.0 -> v2.17.0 (▒craserait l’▒tiquette existante)
        pi@MagicMirror:~/MagicMirror $ git checkout -b temp v.2.27.0
        fatal: ‘v.2.27.0’ n’est pas un commit et une branche ‘temp’ ne peut pas en ▒tre cr▒▒e depuis
      
      
      

      so I’m not going any further, I’m waiting for your instructions

      posted in Requests
      M
      manu85340
    • RE: MM startup problem after update

      @sdetweil I’ll give you part of upgrade.log I hope it suits you and I’ll look at the link you provided I hope I’ll manage to understand what to do

      restoring custom.css
      removing git alias
      Upgrade ended - mar. avril 2 10:35:49 CEST 2024

      Upgrade started - mar. avril 2 10:37:27 CEST 2024
      system is Linux MagicMirror 5.10.103-v7+ #1529 SMP Tue Mar 8 12:21:37 GMT 2022 armv7l GNU/Linux
      user requested to apply changes
      doing test run = false
      the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster
      Node currently installed. Checking version number.
      Minimum Node version: v18.18.0
      Installed Node version: v18.18.0
      Check current Node installation …
      Node currently installed. Checking version number.
      Minimum Node version: v18.18.0
      Installed Node version: v18.18.0
      No Node.js upgrade necessary.
      Check current NPM installation …
      NPM currently installed. Checking version number.
      Minimum npm version: V9.8.1
      Installed npm version: V9.8.1
      No npm upgrade necessary.

      saving custom.css
      remote name = origin
      upgrading from version 2.26.0 to 2.27.0
      fetching latest revisions
      git fetch rc=0
      current branch = master
      On branch master
      Your branch is behind ‘origin/master’ by 1 commit, and can be fast-forwarded.
      (use “git pull” to update your local branch)

      Untracked files:
      (use “git add …” to include in what will be committed)

      core
      css/icons/
      css/save_custom.css
      modules/default/currentweather/
      nohup.out
      

      nothing added to commit but untracked files present (use “git add” to track)
      no files different from github version
      test merge result rc=‘’ , if empty, no conflicts
      executing merge, apply specified
      merge result rc= 0
      Updating 118e2123…5ea8a346 Fast-forward .eslintignore
      3 ± .eslintrc.json
      18 ± .github/codecov.yaml
      10 - .github/dependabot.yaml
      15 + .github/workflows/depsreview.yaml
      2 ± .github/workflows/electronRebuild.yaml
      20 + .github/workflows/enforce-pullrequest-rules.yaml
      2 ± .gitignore
      6 ± .husky/pre-commit
      2 - .npmrc
      1 + .prettierignore
      2 + CHANGELOG.md
      199 ± Collaboration.md
      24 ± LICENSE.md
      2 ± README.md
      10 ± clientonly/index.js
      4 ± config/config.js.sample
      5 ± css/custom.css.sample
      8 ± fonts/package-lock.json
      18 ± fonts/package.json
      11 ± js/animateCSS.js
      7 - js/app.js
      42 ± js/check_config.js
      23 ± js/defaults.js
      8 ± js/deprecated.js
      8 - js/electron.js
      1 + js/loader.js
      6 - js/logger.js
      43 ± js/main.js
      6 - js/module.js
      6 ± js/node_helper.js
      6 - js/server.js
      16 ± js/server_functions.js
      4 ± js/socketclient.js
      6 - js/translator.js
      6 - js/utils.js
      37 ± mm2.png
      Bin 0 -> 6947 bytes modules/default/alert/alert.js
      6 - modules/default/calendar/calendar.js
      33 ± modules/default/calendar/calendarfetcher.js
      9 ± modules/default/calendar/calendarfetcherutils.js
      268 ± modules/default/calendar/calendarutils.js
      6 - modules/default/calendar/debug.js
      3 - modules/default/calendar/node_helper.js
      15 ± modules/default/clock/clock.js
      11 ± modules/default/compliments/compliments.js
      8 ± modules/default/defaultmodules.js
      5 ± modules/default/helloworld/helloworld.js
      6 - modules/default/newsfeed/newsfeed.js
      43 ± modules/default/newsfeed/newsfeedfetcher.js
      13 ± modules/default/newsfeed/node_helper.js
      7 - modules/default/updatenotification/git_helper.js
      10 ± …/default/updatenotification/update_helper.js
      57 ± …/updatenotification/updatenotification.js
      10 ± modules/default/weather/current.njk
      56 ± modules/default/weather/providers/envcanada.js
      8 ± modules/default/weather/providers/openmeteo.js
      12 ± …/default/weather/providers/openweathermap.js
      9 ± modules/default/weather/providers/pirateweather.js
      11 ± modules/default/weather/providers/smhi.js
      12 ± modules/default/weather/providers/ukmetoffice.js
      9 ± …/weather/providers/ukmetofficedatahub.js
      9 ± modules/default/weather/providers/weatherbit.js
      11 ± modules/default/weather/providers/weatherflow.js
      10 ± modules/default/weather/providers/weathergov.js
      10 ± modules/default/weather/providers/yr.js
      10 ± modules/default/weather/weather.js
      14 ± modules/default/weather/weatherobject.js
      12 - modules/default/weather/weatherprovider.js
      9 ± modules/default/weather/weatherutils.js
      6 - package-lock.json
      4180 ++++++++++++±------ package.json
      60 ± serveronly/index.js
      2 ± tests/configs/default.js
      5 - tests/configs/empty_ipWhiteList.js
      5 - tests/configs/modules/alert/default.js
      5 - tests/configs/modules/calendar/auth-default.js
      5 - tests/configs/modules/calendar/bad_rrule.js
      5 - tests/configs/modules/calendar/basic-auth.js
      5 - tests/configs/modules/calendar/changed-port.js
      5 - tests/configs/modules/calendar/custom.js
      6 ± tests/configs/modules/calendar/default.js
      5 - …/{exdate.js => exdate_la_at_midnight_dst.js}
      13 ± …/modules/calendar/exdate_la_at_midnight_std.js
      37 + …/modules/calendar/exdate_la_before_midnight.js
      37 + …/modules/calendar/exdate_syd_at_midnight_dst.js
      37 + …/modules/calendar/exdate_syd_at_midnight_std.js
      37 + …/modules/calendar/exdate_syd_before_midnight.js
      37 + tests/configs/modules/calendar/fail-basic-auth.js
      7 - …/configs/modules/calendar/long-fullday-event.js
      28 + tests/configs/modules/calendar/old-basic-auth.js
      5 - tests/configs/modules/calendar/recurring.js
      5 - tests/configs/modules/calendar/rrule_until.js
      30 + …/calendar/show-duplicates-in-calendar.js
      5 - …/modules/calendar/single-fullday-event.js
      28 + tests/configs/modules/clock/clock_12hr.js
      5 - tests/configs/modules/clock/clock_24hr.js
      5 - tests/configs/modules/clock/clock_analog.js
      4 - …/modules/clock/clock_displaySeconds_false.js
      5 - …/configs/modules/clock/clock_showDateAnalog.js
      5 - …/configs/modules/clock/clock_showPeriodUpper.js
      5 - tests/configs/modules/clock/clock_showSunMoon.js
      5 - tests/configs/modules/clock/clock_showTime.js
      5 - tests/configs/modules/clock/clock_showWeek.js
      5 - tests/configs/modules/clock/es/clock_12hr.js
      5 - tests/configs/modules/clock/es/clock_24hr.js
      5 - …/modules/clock/es/clock_showPeriodUpper.js
      5 - tests/configs/modules/clock/es/clock_showWeek.js
      6 - …/modules/compliments/compliments_animateCSS.js
      6 - …/compliments_animateCSS_fallbackToDefault.js
      7 - …compliments_animateCSS_invertedAnimationName.js
      6 - …/modules/compliments/compliments_anytime.js
      5 - …/modules/compliments/compliments_date.js
      5 - …/compliments/compliments_only_anytime.js
      5 - …/modules/compliments/compliments_parts_day.js
      5 - …/modules/compliments/compliments_remote.js
      5 - tests/configs/modules/display.js
      5 - tests/configs/modules/helloworld/helloworld.js
      5 - …/modules/helloworld/helloworld_default.js
      5 - tests/configs/modules/newsfeed/default.js
      5 - tests/configs/modules/newsfeed/ignore_items.js
      4 - tests/configs/modules/newsfeed/incorrect_url.js
      4 - tests/configs/modules/newsfeed/prohibited_words.js
      4 - tests/configs/modules/positions.js
      5 - …/modules/weather/currentweather_compliments.js
      5 - …/modules/weather/currentweather_default.js
      6 ± …/modules/weather/currentweather_options.js
      7 ± …/modules/weather/currentweather_units.js
      7 ± …/modules/weather/forecastweather_absolute.js
      5 - …/modules/weather/forecastweather_default.js
      5 - …/modules/weather/forecastweather_options.js
      5 - …/modules/weather/forecastweather_units.js
      5 - …/modules/weather/hourlyweather_default.js
      5 - …/modules/weather/hourlyweather_options.js
      5 - …/weather/hourlyweather_showPrecipitation.js
      5 - tests/configs/noIpWhiteList.js
      5 - tests/configs/port_8090.js
      5 - tests/configs/port_variable.js.template
      5 - tests/configs/without_modules.js
      5 - tests/e2e/animateCSS_spec.js
      7 - tests/e2e/fonts_spec.js
      2 ± tests/e2e/helpers/basic-auth.js
      2 ± tests/e2e/modules/calendar_spec.js
      31 + tests/e2e/modules/weather_current_spec.js
      16 ± tests/e2e/serveronly_spec.js
      2 ± tests/e2e/template_spec.js
      2 ± tests/e2e/translations_spec.js
      4 ± tests/electron/env_spec.js
      2 ± tests/electron/helpers/global-setup.js
      6 ± tests/electron/modules/calendar_spec.js
      105 ± tests/mocks/calendar_test_exdate.ics
      34 - tests/mocks/calendar_test_full_day_events.ics
      33 + …/calendar_test_multi_day_starting_today.ics
      33 + tests/mocks/exdate_la_at_midnight_dst.ics
      15 + tests/mocks/exdate_la_at_midnight_std.ics
      15 + tests/mocks/exdate_la_before_midnight.ics
      15 + tests/mocks/exdate_syd_at_midnight_dst.ics
      15 + tests/mocks/exdate_syd_at_midnight_std.ics
      15 + tests/mocks/exdate_syd_before_midnight.ics
      15 + tests/mocks/rrule_until.ics
      24 + tests/unit/classes/class_spec.js
      2 ± tests/unit/classes/translator_spec.js
      2 ± tests/unit/classes/utils_spec.js
      35 ± tests/unit/functions/cmp_versions_spec.js
      2 ± tests/unit/functions/updatenotification_spec.js
      22 ± tests/unit/global_vars/defaults_modules_spec.js
      4 ± tests/unit/global_vars/root_path_spec.js
      4 ± tests/utils/weather_mocker.js
      13 ± translations/et.json
      31 ± translations/translations.js
      7 - vendor/package-lock.json
      10 ± vendor/package.json
      9 ± vendor/vendor.js
      6 - 173 files changed, 4108 insertions(+), 2557 deletions(-) delete mode 100644 .github/codecov.yaml
      create mode 100644 .github/workflows/electronRebuild.yaml
      create mode 100644 mm2.png rename tests/configs/modules/calendar/{exdate.js => exdate_la_at_midnight_dst.js} (50%)
      create mode 100644 tests/configs/modules/calendar/exdate_la_at_midnight_std.js
      create mode 100644 tests/configs/modules/calendar/exdate_la_before_midnight.js
      create mode 100644 tests/configs/modules/calendar/exdate_syd_at_midnight_dst.js
      create mode 100644 tests/configs/modules/calendar/exdate_syd_at_midnight_std.js
      create mode 100644 tests/configs/modules/calendar/exdate_syd_before_midnight.js
      create mode 100644 tests/configs/modules/calendar/long-fullday-event.js
      create mode 100644 tests/configs/modules/calendar/rrule_until.js
      create mode 100644 tests/configs/modules/calendar/single-fullday-event.js delete mode 100644 tests/mocks/calendar_test_exdate.ics
      create mode 100644 tests/mocks/calendar_test_full_day_events.ics
      create mode 100644 tests/mocks/calendar_test_multi_day_starting_today.ics
      create mode 100644 tests/mocks/exdate_la_at_midnight_dst.ics
      create mode 100644 tests/mocks/exdate_la_at_midnight_std.ics
      create mode 100644 tests/mocks/exdate_la_before_midnight.ics
      create mode 100644 tests/mocks/exdate_syd_at_midnight_dst.ics
      create mode 100644 tests/mocks/exdate_syd_at_midnight_std.ics
      create mode 100644 tests/mocks/exdate_syd_before_midnight.ics
      create mode 100644 tests/mocks/rrule_until.ics
      processor architecture is armv7l
      updating MagicMirror runtime, please wait

      magicmirror@2.27.0 postinstall
      npm run install-vendor && npm run install-fonts && echo "MagicMirror² installation finished successfully!
      "

      magicmirror@2.27.0 install-vendor
      echo "Installing vendor files …
      " && cd vendor && npm install --loglevel=error --no-audit --no-fund --no-update-notifier

      Installing vendor files …

      changed 1 package in 3s

      magicmirror@2.27.0 install-fonts
      echo "Installing fonts …
      " && cd fonts && npm install --loglevel=error --no-audit --no-fund --no-update-notifier

      Installing fonts …

      changed 2 packages in 6s
      MagicMirror² installation finished successfully!

      magicmirror@2.27.0 prepare
      [ -f node_modules/.bin/husky ] && husky || echo no husky installed.

      no husky installed.

      added 483 packages in 2m

      112 packages are looking for funding
      run npm fund for details
      npm install completed - mar. avril 2 10:39:31 CEST 2024 on base
      fixing sandbox permissions

      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
      
      ----------------------------------
      

      added 1 package, and audited 2 packages in 4s

      found 0 vulnerabilities

      processing complete for module MMM-OneCallWeather
      
      processing for module MMM-ISS-Map please wait
      
      ----------------------------------
      

      added 1 package, and audited 2 packages in 7s

      found 0 vulnerabilities

      processing complete for module MMM-ISS-Map
      
      processing for module MMM-ISS-Live please wait
      
      ----------------------------------
      

      up to date, audited 1 package in 2s

      found 0 vulnerabilities

      processing complete for module MMM-ISS-Live
      

      restoring custom.css
      removing git alias
      Upgrade ended - mar. avril 2 10:39:54 CEST 2024

      posted in Requests
      M
      manu85340
    • RE: MM startup problem after update

      @sdetweil OK thanks to you

      posted in Requests
      M
      manu85340
    • RE: MM startup problem after update

      @sdetweil

      pi@MagicMirror:~ $ sudo npm I-g n
      Unknown command: "I-g"
      
      To see a list of supported npm commands, run:
        npm help
      pi@MagicMirror:~ $ sudo n 20
        installing : node-v20.15.0
             mkdir : /usr/local/n/versions/node/20.15.0
             fetch : https://nodejs.org/dist/v20.15.0/node-v20.15.0-linux-armv7l.tar.x                                                                                                                                                             z
           copying : node/20.15.0
      node: /lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not foun                                                                                                                                                             d (required by node)
      /usr/local/bin/node: /lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3                                                                                                                                                             .4.26' not found (required by /usr/local/bin/node)
         installed :  (with npm )
      pi@MagicMirror:~ $ node -v
      node: /lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not foun                                                                                                                                                             d (required by node)
      pi@MagicMirror:~ $ node-v
      -bash: node-v : commande introuvable
      pi@MagicMirror:~ $ node -v
      node: /lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not foun                                                                                                                                                             d (required by node)
      pi@MagicMirror:~ $
      
      posted in Requests
      M
      manu85340
    • RE: MM startup problem after update

      @sdetweil I typed “n” and there is nothing

      posted in Requests
      M
      manu85340
    • RE: MM startup problem after update

      @sdetweil do you need installers/update.log by email?

      posted in Requests
      M
      manu85340
    • RE: MM startup problem after update

      @sdetweil

      pi@MagicMirror:~ $ lsb_release -a
      No LSB modules are available.
      Distributor ID: Raspbian
      Description:    Raspbian GNU/Linux 10 (buster)
      Release:        10
      Codename:       buster
      pi@MagicMirror:~ $
      
      posted in Requests
      M
      manu85340
    • RE: MM startup problem after update

      @sdetweil ok sorry for the screenshots

      pi@MagicMirror:~ $ pm2 stop all
      [PM2] Applying action stopProcessId on app [all](ids: [ 0 ])
      [PM2] [mm](0) ✓
      ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
      │ id │ name               │ mode     │ ↺    │ status    │ cpu      │ memory   │
      ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
      │ 0  │ mm                 │ fork     │ 685  │ stopped   │ 0%       │ 0b       │
      └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
      pi@MagicMirror:~ $ cd ~/MagicMirror
      pi@MagicMirror:~/MagicMirror $ npm install electron@31.1.0
      npm ERR! code EBADENGINE
      npm ERR! engine Unsupported engine
      npm ERR! engine Not compatible with your version of node/npm: magicmirror@2.28.0
      npm ERR! notsup Not compatible with your version of node/npm: magicmirror@2.28.0
      npm ERR! notsup Required: {"node":">=20"}
      npm ERR! notsup Actual:   {"npm":"9.8.1","node":"v18.18.0"}
      
      npm ERR! A complete log of this run can be found in: /home/pi/.npm/_logs/2024-07                                                                                                                                                             -01T13_05_28_653Z-debug-0.log
      pi@MagicMirror:~/MagicMirror $
      
      posted in Requests
      M
      manu85340
    • RE: MM startup problem after update

      @sdetweil
      f6825249-f06e-41ca-985e-90ab6123a47b-image.png

      posted in Requests
      M
      manu85340
    • RE: MM startup problem after update

      @sdetweil I get this message when I run npm start

      e28d7653-56ef-4876-b09f-c23b82b0a2dc-image.png

      posted in Requests
      M
      manu85340
    • 1 / 1