Read the statement by Michael Teeuw here.
my mirror freezes!
-
@Manu85 you are looking for things that look like trouble
vous cherchez des choses qui ressemblent à des ennuis
-
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.
-
@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
-
and what to do please?
-
@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
-
this one :
MMM-Logging ? -
@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
-
@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?
-
@Manu85 install the module(note that it wants to be first in the module list in config.js), and add this to the batch file starting the mirror
export ELECTRON_ENABLE_LOGGING=true
-
The you lost me :-), "and add this to the batch file starting the mirror
export ELECTRON_ENABLE_LOGGING = true "