Read the statement by Michael Teeuw here.
my mirror freezes!
-
ok i try …
-
I installed it at the top of the config.js file and I have an error when starting the MM “please create a config file”
language: “fr”,
timeFormat: 24,
units: “metric”,modules: [ { module: 'MMM-Logging', config: { // Module functions out of the box with nothing set here. // See below for configurable options. } } ]}
-
{ module: 'MMM-Logging', config: { // Module functions out of the box with nothing set here. // See below for configurable options. }, // < ---- missing comma (like behind all modules) -
I installed it at the top of the config.js file and I have an error when starting the MM “please create a config file”
language: “fr”,
timeFormat: 24,
units: “metric”,modules: [ { module: 'MMM-Logging', config: { // Module functions out of the box with nothing set here. // See below for configurable options. } } ]}
-
excuse me I sent the message twice because the site had crashed …, I test what you sent me
-
I still have the same message.
language: “fr”,
timeFormat: 24,
units: “metric”,modules: [ { module: 'MMM-Logging', config: { // Module functions out of the box with nothing set here. // See below for configurable options. }, // < ---- missing comma (like behind all modules) -
@Manu85 sorry, copy error on my part
{ module: 'MMM-Logging', config: { // Module functions out of the box with nothing set here. // See below for configurable options. } } , // < --- add comma here means continued -
impeccable, you’re the best, the mirror has restarted, and now what’s next please
-
@Manu85 wait til it hangs… look at the MMM-Logging module instructions, where does it put the log file,
find it and practice how to view it -
ok i just deleted my automatic hourly reboot and i’ll wait for it to hang
-
Just for more information. It’s on MM v2. 11.0?
Because I have some freeze problem too. I have never in v2.10.x
I suspect electron versioning bug
-
@Bugsounet so far my 10 different mm systems have been running fine since upgrade (using my upgrade script)
-
weird, thx, i will inspect more
-
@sdetweil Hello, as agreed I deleted the automatic reboot and this morning the MM is blocked (as usual) I use WinScp and when I wanted to quit it he offered to create a folder "my workspace "that’s what I did, I then opened this new file which connects me directly to the MMM-Logging module and after that I don’t know what to do!
-
@Manu85 said in my mirror freezes!:
and when I wanted to quit it he offered to create a folder
sorry, what does that mean?
by adding the mmm-logging module
you get enhanced messages on the terminal window console like this with timestamps[24253:0406/055023.243727:INFO:CONSOLE(107)] "clearing timer", source: http://0.0.0.0:8080/modules/MyCovid19//MyCovid19.js (107) [24253:0406/055023.243800:INFO:CONSOLE(110)] "starting timer", source: http://0.0.0.0:8080/modules/MyCovid19//MyCovid19.js (110) [24253:0406/055023.243847:INFO:CONSOLE(112)] "timer started", source: http://0.0.0.0:8080/modules/MyCovid19//MyCovid19.js (112)so, you should have started your mirror like this to capture all the traces
npm start >somefile
now that the app is hung, you can open another winscp terminal window and then
cd ~/.MagicMirror
tail somefilewhich will show the last 15 lines of somefile by default
tail -n number somefile
where number is something like 20, 40, 50 will show more linesif you started with pm2, then the output is on the logs…
pm2 logs --lines=100 >somefile
will dump the last 100 lines into somefile so you can examine them -
I have a report which was created in MM “somfile” but I cannot send it because I have this error on the forum
Error
Post content was flagged as spam by Akismet.com -
@Manu85 u can send it to me by email, to my same userid as here at gmail
-
when placing your order I have this:
pi@raspberrypi:~/MagicMirror $ npm start >somefile
[2020-04-06 14:36:28.593] [ERROR] 2020-04-06T14:36:28 { Error: listen EADDRINUSE 127.0.0.1:8080
at Server.setupListenHandle [as _listen2] (net.js:1330:14)
at listenInCluster (net.js:1378:12)
at GetAddrInfoReqWrap.doListen [as callback] (net.js:1492:7)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:55:10)
errno: ‘EADDRINUSE’,
code: ‘EADDRINUSE’,
syscall: ‘listen’,
address: ‘127.0.0.1’,
port: 8080 } (/home/pi/MagicMirror/js/app.js:40 process.)
pi@raspberrypi:~/MagicMirror $ npm start >somefile
[2020-04-06 14:36:28.593] [ERROR] 2020-04-06T14:36:28 { Error: listen EADDRINUSE 127.0.0.1:8080
at Server.setupListenHandle [as _listen2] (net.js:1330:14)
at listenInCluster (net.js:1378:12)
at GetAddrInfoReqWrap.doListen [as callback] (net.js:1492:7)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:55:10)
errno: ‘EADDRINUSE’,
code: ‘EADDRINUSE’,
syscall: ‘listen’,
address: ‘127.0.0.1’,
port: 8080 } (/home/pi/MagicMirror/js/app.js:40 process.) -
@Manu85 that means the mirror is already running, probably cause of pm2… need to stop it first, can’t run two at the same time
-
ok you can tell me how to do it?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login