The you lost me :-), "and add this to the batch file starting the mirror
export ELECTRON_ENABLE_LOGGING = true "
Read the statement by Michael Teeuw here.
Posts made by Manu85
-
RE: my mirror freezes!
-
RE: my mirror freezes!
@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?
-
RE: my mirror freezes!
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.
-
RE: my mirror freezes!
I passed the command line and I have several lines, do you want me to copy them on my answer?
-
RE: my mirror freezes!
@sdetweil
thank you for your response I just launched the command line that you recommended and the answer is as follows:pi@raspberrypi:~ $ pm2 logs --lines = ???
[TAILING] Tailing last 15 lines for [???] process (change the value with --lines option)what should i do please?
-
my mirror freezes!
Hello everyone, I am French and I use a translator to post. sorry for errors syntaxes …
I mounted a magic mirror, thanks to all of you and I thank the developers and all the people who work for free for this success.
on my mirror I have a few modules, calendar, time, date, weather, soccer results and news, when my mirror works after 2 or 3 hours the modules no longer react the watch stops, I changed my pi because I thought that the pi2 could not support the load I bought a pi3 I redid a complete installation on a new sd card I changed the power supply and I always have the same problem … for work around this problem I set up an automatic reboot every hour, it works but it’s not the best, I would like to know if you could help me?
I hope I posted in the right place
thank you all again -
RE: MMM-SORT out of credits
@Mykle1 Thank you for your response I have changed the “update” on the site respectively they speak of 200 free calls, on the other hand I do not know if it is per month or just once to test the product … I opened a other account with a new apiKey, thank you again I will see if it works, for the stability of the pi I asked the question because maybe with your good knowledge of the product you had a solution, so I will ask the question on the forum.
Have a good day -
MMM-SORT out of credits
@Mykle1 Hello, I ask you again because I received an email this morning from WorldTidess telling me “Out of Credit” your module has been installed for 6 days! I did not touch the configuration of the module, on the other hand I would like to point out that my raspberry starts again every hour because I have a problem of stability of the system, after 2 or 3 hours my MM is bug the modules are freeze and the watch does not move, making it restart every hour this corrects the problem, maybe the problem of credits comes from there? What do you think about it? thanks again for your help