• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MagicMirror restarts all the time

Scheduled Pinned Locked Moved Troubleshooting
11 Posts 2 Posters 1.1k Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    Laurids @sdetweil
    last edited by May 9, 2021, 1:02 PM

    @sdetweil here are some lines of the error.log. They repeat all the time:

    [17:05:32.926] [ERROR]  error: cannot lock ref 'refs/tags/v2.12.0': unable to resolve reference 'refs/tags/v2.12.0':
    Von https://github.com/MichMich/MagicMirror
     ! [neues Tag]         v2.12.0    -> v2.12.0  (kann lokale Referenz nicht aktualisieren)
    
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! magicmirror@2.10.1 start: `./run-start.sh`
    npm ERR! Exit status 1
    npm ERR!.
    npm ERR! Failed at the magicmirror@2.10.1 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/2021-05-08T15_37_28_171Z-debug.log
    /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
    [08.05.2021 17:39.18.396] [WARN]  The module 'currentweather' is deprecated in favor of the 'weather'-module, please
    [08.05.2021 17:39.18.402] [WARN]  The module 'weatherforecast' is deprecated in favor of the 'weather'-module, please[08.05.2021 17:40.30.779] [ERROR] Whoops! There was an uncaught exception...
    [08.05.2021 17:40.30.812] [ERROR] Error: connect ECONNREFUSED 192.168.178.1:1012
        at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16) {
      errno: 'ECONNREFUSED',
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '192.168.178.1',
      port: 1012
    }
    [08.05.2021 17:40.30.816] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened.
    [08.05.2021 17:40.30.819] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://githu[08.05.2021 17:40.36.632] [ERROR] Failed to fetch git data for MMM-ioBroker: Error: block timeout reached
    [08.05.2021 17:40.37.844] [ERROR] Failed to fetch git data for default: Error: block timeout reached
    [08.05.2021 17:50.40.859] [ERROR] Failed to fetch git data for default: Error: block timeout reached
    [08.05.2021 17:53.34.562] [ERROR] Got error: connect ECONNREFUSED 127.0.0.1:8087
    [08.05.2021 17:53.34.564] [ERROR] Got error: connect ECONNREFUSED 127.0.0.1:8087
    

    and

    [09.05.2021 11:28.04.125] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened.
    [09.05.2021 11:28.04.126] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://githu[09.05.2021 11:28.04.676] [ERROR] Got error: connect ECONNREFUSED 127.0.0.1:8087
    [09.05.2021 11:28.04.679] [ERROR] Got error: connect ECONNREFUSED 127.0.0.1:8087
    [09.05.2021 11:28.04.681] [ERROR] Got error: connect ECONNREFUSED 127.0.0.1:8087
    [09.05.2021 11:28.04.683] [ERROR] Got error: connect ECONNREFUSED 127.0.0.1:8087
    [09.05.2021 11:28.04.686] [ERROR] Got error: connect ECONNREFUSED 127.0.0.1:8087
    [09.05.2021 11:28.04.691] [ERROR] Got error: connect ECONNREFUSED 127.0.0.1:8087
    [09.05.2021 11:28.06.421] [ERROR] Failed to fetch git data for MMM-FRITZ-Box-Callmonitor: Error: block timeout reache[09.05.2021 11:29.04.732] [ERROR] Got error: connect ECONNREFUSED 127.0.0.1:8087
    [09.05.2021 11:29.04.737] [ERROR] Got error: connect ECONNREFUSED 127.0.0.1:8087
    [09.05.2021 11:29.04.740] [ERROR] Got error: connect ECONNREFUSED 127.0.0.1:8087
    [09.05.2021 11:29.04.743] [ERROR] Got error: connect ECONNREFUSED 127.0.0.1:8087
    [09.05.2021 11:29.04.746] [ERROR] Got error: connect ECONNREFUSED 127.0.0.1:8087
    [09.05.2021 11:29.04.751] [ERROR] Got error: connect ECONNREFUSED 127.0.0.1:8087
    [09.05.2021 11:29.30.532] [WARN]  The module 'currentweather' is deprecated in favor of the 'weather'-module, please
    [09.05.2021 11:29.30.535] [WARN]  The module 'weatherforecast' is deprecated in favor of the 'weather'-module, please[09.05.2021 11:29.34.824] [ERROR] Whoops! There was an uncaught exception...
    [09.05.2021 11:29.34.836] [ERROR] Error: connect ECONNREFUSED 192.168.178.1:1012
        at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16) {
      errno: 'ECONNREFUSED',
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '192.168.178.1',
      port: 1012
    
    S 1 Reply Last reply May 9, 2021, 1:20 PM Reply Quote 0
    • S Offline
      sdetweil @Laurids
      last edited by May 9, 2021, 1:20 PM

      @laurids said in MagicMirror restarts all the time:

      errno: ‘ECONNREFUSED’,
      code: ‘ECONNREFUSED’,
      syscall: ‘connect’,
      address: ‘192.168.178.1’,

      and
      [09.05.2021 11:29.04.737] [ERROR] Got error: connect ECONNREFUSED 127.0.0.1:8087

      look like the indicators…

      whatever is using 192.168.178.1 looks like it didn’t handle the error

      this 127.0.0.1:8087 is localhost, on the same machine, some server maybe related to above…

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      L 1 Reply Last reply May 11, 2021, 6:22 PM Reply Quote 0
      • L Offline
        Laurids @sdetweil
        last edited by May 11, 2021, 6:22 PM

        @sdetweil thanks for your help. I have to admit, that I don´t have a clue how to fix the errors ;) I think I just give it another try with a new installation.

        S 1 Reply Last reply May 11, 2021, 8:38 PM Reply Quote 0
        • S Offline
          sdetweil @Laurids
          last edited by May 11, 2021, 8:38 PM

          @laurids I’m assuming it’s some module you’ve installed, so looking at the config.js may give a clue

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          L 1 Reply Last reply May 16, 2021, 10:33 AM Reply Quote 0
          • L Offline
            Laurids @sdetweil
            last edited by May 16, 2021, 10:33 AM

            @sdetweil I really don´t know what was wrong. Now I´ve made a new installation, copied my old config.js and it works. Thanks for your help.

            1 Reply Last reply Reply Quote 0
            • 1
            • 2
            • 2 / 2
            2 / 2
            • First post
              11/11
              Last post
            Enjoying MagicMirror? Please consider a donation!
            MagicMirror created by Michael Teeuw.
            Forum managed by Sam, technical setup by Karsten.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy