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.

    my mirror freezes!

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    98 Posts 5 Posters 38.4k Views 4 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.
    • S Offline
      sdetweil @Manu85
      last edited by

      @Manu85 do

      pm2 logs --lines=100
      

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • M Offline
        Manu85
        last edited by

        I passed the command line and I have several lines, do you want me to copy them on my answer?

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @Manu85
          last edited by

          @Manu85 you are looking for things that look like trouble

          vous cherchez des choses qui ressemblent à des ennuis

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • M Offline
            Manu85
            last edited by broberg

            I have several lines that look like errors, I put you the copy of all the lines, I tried to hide the confidential data !!!

            /home/pi/.pm2/logs/MagicMirror-error.log last 100 lines:
            0|MagicMir | npm ERR! code ELIFECYCLE
            0|MagicMir | npm ERR! errno 1
            0|MagicMir | npm ERR! magicmirror@2.11.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
            0|MagicMir | npm ERR! Exit status 1
            0|MagicMir | npm ERR!
            0|MagicMir | npm ERR! Failed at the magicmirror@2.11.0 start script.
            0|MagicMir | npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
            0|MagicMir |
            0|MagicMir | npm ERR! A complete log of this run can be found in:
            0|MagicMir | npm ERR!     /home/pi/.npm/_logs/2020-04-05T07_00_02_234Z-debug.log
            0|MagicMir | ATTENTION: default value of option force_s3tc_enable overridden by environment.
            0|MagicMir | [2020-04-05 09:00:36.357] [ERROR]  (node:954) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
            0|MagicMir | [2020-04-05 09:57:55.156] [ERROR]  Calendar Error. Could not fetch calendar:  http://p59-calendars.icloud.com/published/2/2uR1boEvTP2Z11yC3RAkgMluEyI6FkQslrByha_3OaasENn6SQAtTWIXXXXXXXXXXXXXXXE_Pic { Error: connect ETIMEDOUT 17.248.144.201:443
            0|MagicMir |     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1161:14)
            0|MagicMir |   errno: 'ETIMEDOUT',
            0|MagicMir |   code: 'ETIMEDOUT',
            0|MagicMir |   syscall: 'connect',
            0|MagicMir |   address: '17.XXXXXXX',
            0|MagicMir |   port: 443 }
            0|MagicMir | npm ERR! code ELIFECYCLE
            0|MagicMir | npm ERR! errno 1
            0|MagicMir | npm ERR! magicmirror@2.11.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
            0|MagicMir | npm ERR! Exit status 1
            0|MagicMir | npm ERR!
            0|MagicMir | npm ERR! Failed at the magicmirror@2.11.0 start script.
            0|MagicMir | npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
            0|MagicMir |
            0|MagicMir | npm ERR! A complete log of this run can be found in:
            0|MagicMir | npm ERR!     /home/pi/.npm/_logs/2020-04-05T08_00_01_545Z-debug.log
            0|MagicMir | ATTENTION: default value of option force_s3tc_enable overridden by environment.
            0|MagicMir | [2020-04-05 10:00:36.536] [ERROR]  (node:978) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
            0|MagicMir | npm ERR! code ELIFECYCLE
            0|MagicMir | npm ERR! errno 1
            0|MagicMir | npm ERR! magicmirror@2.11.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
            0|MagicMir | npm ERR! Exit status 1
            0|MagicMir | npm ERR!
            0|MagicMir | npm ERR! Failed at the magicmirror@2.11.0 start script.
            0|MagicMir | npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
            0|MagicMir |
            0|MagicMir | npm ERR! A complete log of this run can be found in:
            0|MagicMir | npm ERR!     /home/pi/.npm/_logs/2020-04-05T09_00_02_026Z-debug.log
            0|MagicMir | ATTENTION: default value of option force_s3tc_enable overridden by environment.
            0|MagicMir | [2020-04-05 11:00:37.769] [ERROR]  (node:1007) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
            0|MagicMir | [2020-04-05 11:30:42.125] [ERROR]  Calendar Error. Could not fetch calendar:  http://p59-calendars.icloud.com/published/2/2uR1boEvTP2Z11yC3RAkgMluEyI6FkQslrByha_3OaasENnXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX_Pic { Error: connect EHOSTUNREACH 17XXXXXXXXXXX:80
            0|MagicMir |     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1161:14)
            0|MagicMir |   errno: 'EHOSTUNREACH',
            0|MagicMir |   code: 'EHOSTUNREACH',
            0|MagicMir |   syscall: 'connect',
            0|MagicMir |   address: 'XXXXXXXXXXXXX1',
            0|MagicMir |   port: 80 }
            0|MagicMir | npm ERR! code ELIFECYCLE
            0|MagicMir | npm ERR! errno 1
            0|MagicMir | npm ERR! magicmirror@2.11.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
            0|MagicMir | npm ERR! Exit status 1
            0|MagicMir | npm ERR!
            0|MagicMir | npm ERR! Failed at the magicmirror@2.11.0 start script.
            0|MagicMir | npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
            0|MagicMir |
            0|MagicMir | npm ERR! A complete log of this run can be found in:
            0|MagicMir | npm ERR!     /home/pi/.npm/_logs/2020-04-05T10_00_02_273Z-debug.log
            0|MagicMir | ATTENTION: default value of option force_s3tc_enable overridden by environment.
            0|MagicMir | [2020-04-05 12:00:36.374] [ERROR]  (node:904) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
            0|MagicMir | [2020-04-05 12:17:53.271] [ERROR]  Calendar Error. Could not fetch calendar:  http://p59-calendars.icloud.com/published/2/2uR1boEvTP2Z11yC3RAkgMluEyI6FkQslrByha_3OaasENn6SQAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXK6-6HzuFLzdeE_Pic { Error: connect ETIMEDOUT 17.248.144.201:80
            0|MagicMir |     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1161:14)
            0|MagicMir |   errno: 'ETIMEDOUT',
            0|MagicMir |   code: 'ETIMEDOUT',
            0|MagicMir |   syscall: 'connect',
            0|MagicMir |   address: '17.XXXXXXXXXX1',
            0|MagicMir |   port: 80 }
            0|MagicMir | [2020-04-05 12:27:52.308] [ERROR]  Calendar Error. Could not fetch calendar:  http://p59-calendars.icloud.com/published/2/2uR1boEvTP2Z11yC3RAkgMluEyI6FkQslrByha_3OaasENn6SQAtTWIYmfP6XXXXXXXXXXXXXXXXXXXXXXXXXXeE_Pic { Error: connect ETIMEDOUT 17.248.144.176:80
            0|MagicMir |     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1161:14)
            0|MagicMir |   errno: 'ETIMEDOUT',
            0|MagicMir |   code: 'ETIMEDOUT',
            0|MagicMir |   syscall: 'connect',
            0|MagicMir |   address: 'XXXXXXXXXXXX6',
            0|MagicMir |   port: 80 }
            0|MagicMir | npm ERR! code ELIFECYCLE
            0|MagicMir | npm ERR! errno 1
            0|MagicMir | npm ERR! magicmirror@2.11.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
            0|MagicMir | npm ERR! Exit status 1
            0|MagicMir | npm ERR!
            0|MagicMir | npm ERR! Failed at the magicmirror@2.11.0 start script.
            0|MagicMir | npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
            0|MagicMir |
            0|MagicMir | npm ERR! A complete log of this run can be found in:
            0|MagicMir | npm ERR!     /home/pi/.npm/_logs/2020-04-05T11_00_02_185Z-debug.log
            0|MagicMir | ATTENTION: default value of option force_s3tc_enable overridden by environment.
            0|MagicMir | [2020-04-05 13:00:36.526] [ERROR]  (node:909) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
            0|MagicMir | npm ERR! code ELIFECYCLE
            0|MagicMir | npm ERR! errno 1
            0|MagicMir | npm ERR! magicmirror@2.11.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
            0|MagicMir | npm ERR! Exit status 1
            0|MagicMir | npm ERR!
            0|MagicMir | npm ERR! Failed at the magicmirror@2.11.0 start script.
            0|MagicMir | npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
            0|MagicMir |
            0|MagicMir | npm ERR! A complete log of this run can be found in:
            0|MagicMir | npm ERR!     /home/pi/.npm/_logs/2020-04-05T12_00_02_475Z-debug.log
            0|MagicMir | ATTENTION: default value of option force_s3tc_enable overridden by environment.
            0|MagicMir | [2020-04-05 14:00:36.327] [ERROR]  (node:953) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
            
            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @Manu85
              last edited by

              @Manu85 said in my mirror freezes!:

              0|MagicMir | [2020-04-05 09:57:55.156] [ERROR] Calendar Error. Could not fetch calendar:

              i see those on my mirror systems occasionally… usually a network problem outside my house…

              and my systems recover

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • M Offline
                Manu85
                last edited by

                and what to do please?

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @Manu85
                  last edited by

                  @Manu85 open the developers window (ctrl-shift-i on keyboard), select the tab labeled console,
                  and look around (scroll up), looking for any errors, red text…

                  but if the mirror hangs this will not work… thus why I suggested installing MMM-Logging module and enable electron debugging to try to capture any error messages

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    Manu85
                    last edited by

                    this one :
                    MMM-Logging ?

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @Manu85
                      last edited by sdetweil

                      @Manu85 yes,

                      make sure to do this

                      Note: You can find more detailed information on debugging your MagicMirror here: Module Debugging. If you also want the Electron rederer (web browser) console logs to be printed to the standard console (or PM2 logs), change the following line to the very top of ~/MagicMirror/run-start.sh

                      export ELECTRON_ENABLE_LOGGING=true

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        Manu85
                        last edited by

                        @sdetweil thank you for your answer i will follow your advice, but it exceeds my skills, can you tell me exactly what to do please?

                        S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 5
                        • 6
                        • 7
                        • 8
                        • 9
                        • 10
                        • 7 / 10
                        • First post
                          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