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

    Posts

    Recent Best Controversial
    • RE: Update from 2.15 to 2.16

      @sdetweil

      I got electron installed again with specifying a version (sudo npm install electron@6.1.12). No idea, why electron disappeared in the first place.

      @Fozi

      The MMM-MyCalender has indeed an issue with 2.16. causing a black screen. And MMM-Fuel is saying “undefined” for an unknown reason. Both modules are disabled for now.

      My MM boots and shows the all other modules again.

      With each MM update something crashes, mostly one of the 3rd party modules because one or more dependencies are lost/changed or deleted.

      Thanks for your help. Great community!

      posted in Troubleshooting
      A
      andyyy
    • RE: Update from 2.15 to 2.16

      @sdetweil

      I tried it again. Now the electron does not even start.

      > magicmirror@2.16.0 start
      > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
      
      sh: 1: ./node_modules/.bin/electron: not found
      

      I tried to re-install electron with "sudo npm install electron@latest
      ", but no change.

      posted in Troubleshooting
      A
      andyyy
    • RE: Update from 2.15 to 2.16

      @sdetweil

      Solved for now :)

      I did:

      sudo git fetch --all
      sudo git reset --hard origin/master
      sudo git pull origin master
      

      My system is still very fragile. When do npm install after that, the screen turn black after reboot.

      posted in Troubleshooting
      A
      andyyy
    • RE: Update from 2.15 to 2.16

      @sdetweil

      I did revert to the last working backup and tried your update script. And here it failed updating with same error message in the log file.

      Should I delete all the files in the error file as I did?

      posted in Troubleshooting
      A
      andyyy
    • Update from 2.15 to 2.16

      Hi,

      I do have an issue updating to 2.16. As usual I needed to reset the repro (git reset --hard), but few files are there they prevent updating:

      Updating 491f5aa7..26a76f80
      error: The following untracked working tree files would be overwritten by merge:
              .github/codecov.yml
              .husky/.gitignore
              .husky/pre-commit
              css/custom.css.sample
              modules/default/weather/providers/envcanada.js
              tests/configs/data/calendar_test_recurring.ics
              tests/configs/data/weatherforecast_data.json
              tests/configs/modules/alert/default.js
              tests/configs/modules/calendar/recurring.js
              tests/configs/modules/weather/forecastweather_units.js
              tests/e2e/ipWhitelist_spec.js
              tests/e2e/modules/alert_spec.js
              tests/unit/mocks/logger.js
      Please move or remove them before you merge.
      

      Just removing them wasn’t a good idea. Eventually the update went through but I did end up with black screen even with npm install on all modules.

      @sdetweil
      Unfortunately your update script didn’t work either.

      Any advice?

      Thanks!

      posted in Troubleshooting
      A
      andyyy
    • RE: mvgmunich: undefined result

      @sdetweil

      I tried the method “export ELECTRON_ENABLE_LOGGING=true”.

      The command line says:

      [3313:0518/105432.610396:INFO:CONSOLE(159)] “Uncaught TypeError: Cannot read property ‘line’ of undefined”, source: http://0.0.0.0:8080/modules/mvgmunich/mvgmunich.js (159)

      Interestingly though, it is not written to the log file. In there it states:

      (/home/pi/MagicMirror/modules/MMM-Logging/node_helper.js:37 Class.socketNotificationReceived)
      [18.05.2021 10:49.32.615] [LOG] 2021-05-18T10:49:32 Browser Error: {
      “isTrusted”: true

      posted in Troubleshooting
      A
      andyyy
    • RE: mvgmunich: undefined result

      @sdetweil

      yes, I do use ssh to connect to the mirror.

      I’ll continue tomorrow debugging.

      posted in Troubleshooting
      A
      andyyy
    • RE: mvgmunich: undefined result

      @sdetweil

      Are there some other ways to create the log data?

      I run the MM with npm start. Connecting a keyboard is currently not that easy because the MM is build nicely in my picture frame and sealed. :( My development was actually finished (I thought).

      posted in Troubleshooting
      A
      andyyy
    • mvgmunich: undefined result

      Re: no result from mvgmunich modul

      Hi,

      I do have an issue with the module “mvgmunich”. Out of sudden it has stopped working again.

      The module reports “undefined” or nothing at all.

      Interestingly I didn’t change anything since ages. The module received no update since 2019 and my config is still the same.

      Today I did reinstall the entire module and tried even the default config of (https://github.com/mrVragec/MMM-mvgmunich). No success. The module will be loaded but no stations are shown.

      Any idea?

      P.S: MM is up-to-date v2.15

      Thanks.

      posted in Troubleshooting
      A
      andyyy
    • RE: Microsoft To-Do (wunderlist replacement?)

      @thobach

      curl -X POST https://login.microsoftonline.com/common/oauth2/v2.0/token

      Length Required

      Length Required


      HTTP Error 411. The request must be chunked or have a content length.

      I am sure curl is installed since other modules with OAuth are working as well.

      posted in Requests
      A
      andyyy
    • 1
    • 2
    • 3
    • 4
    • 2 / 4