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 47.6k 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 Do not disturb
      sdetweil @Manu85
      last edited by

      @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

      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

        ok i just deleted my automatic hourly reboot and i’ll wait for it to hang

        1 Reply Last reply Reply Quote 0
        • ? Offline
          A Former User
          last edited by A Former User

          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

          S 1 Reply Last reply Reply Quote 0
          • S Do not disturb
            sdetweil @Guest
            last edited by

            @Bugsounet so far my 10 different mm systems have been running fine since upgrade (using my upgrade script)

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 1
            • ? Offline
              A Former User
              last edited by

              weird, thx, i will inspect more

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

                @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!

                S 1 Reply Last reply Reply Quote 0
                • S Do not disturb
                  sdetweil @Manu85
                  last edited by sdetweil

                  @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 somefile

                  which 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 lines

                  if 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

                  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 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

                    S 1 Reply Last reply Reply Quote 0
                    • S Do not disturb
                      sdetweil @Manu85
                      last edited by

                      @Manu85 u can send it to me by email, to my same userid as here at gmail

                      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

                        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.)

                        S 1 Reply Last reply Reply Quote 0
                        • S Do not disturb
                          sdetweil @Manu85
                          last edited by

                          @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

                          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

                            ok you can tell me how to do it?

                            S 1 Reply Last reply Reply Quote 0
                            • S Do not disturb
                              sdetweil @Manu85
                              last edited by

                              @Manu85 pm2 stop 0

                              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

                                ok I made the order my MM goes out and it doesn’t start anymore, and I don’t know how to get you to send the file to your email, I’m really sorry to be too unable :-(

                                S 1 Reply Last reply Reply Quote 0
                                • S Do not disturb
                                  sdetweil @Manu85
                                  last edited by

                                  @Manu85 said in my mirror freezes!:

                                  it doesn’t start anymore

                                  on boot, right?

                                  if you use winscp to connect to pi, then copy the file to your pc and mail from there

                                  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

                                    pi@raspberrypi:~/MagicMirror $ tail somefile
                                    [2020-04-06 15:19:00.632] [LOG] 2020-04-06T15:19:00 Connecting socket for: newsfeed (/home/pi/MagicMirror/js/node_helper.js:97 Class.setSocketIO)
                                    [2020-04-06 15:19:00.633] [LOG] 2020-04-06T15:19:00 Starting module: newsfeed (/home/pi/MagicMirror/modules/default/newsfeed/node_helper.js:15 Class.start)
                                    [2020-04-06 15:19:00.634] [LOG] 2020-04-06T15:19:00 Sockets connected & modules started … (/home/pi/MagicMirror/js/app.js:233 )
                                    [2020-04-06 15:19:00.858] [LOG] 2020-04-06T15:19:00 Launching application. (/home/pi/MagicMirror/js/electron.js:81 App.)
                                    [2020-04-06 15:19:03.615] [LOG] 2020-04-06T15:19:03 MMM-Logging updated config received, reloading console (/home/pi/MagicMirror/modules/MMM-Logging/node_helper.js:30 Class.socketNotificationReceived)
                                    [2020-04-06 15:19:03.617] [LOG] 2020-04-06T15:19:03 payload: undefined (/home/pi/MagicMirror/modules/MMM-Logging/node_helper.js:34 Class.socketNotificationReceived)
                                    [2020-04-06 15:19:03.619] [LOG] 2020-04-06T15:19:03 payload: undefined (/home/pi/MagicMirror/modules/MMM-Logging/node_helper.js:34 Class.socketNotificationReceived)
                                    [2020-04-06 15:19:03.640] [LOG] 2020-04-06T15:19:03 Create new calendar fetcher for url: http://p59-calendars.icloud.com/published/2/2uR1boEvTP2Z11yC3RAkgMluEyI6FkQslrByha_3OaasENn6SQAtTWIYmfP6JXqtyFFXzQwCFuV_rleNhqA2u8ZaQkK6-6HzuFLzdeE_Pic - Interval: 300000 (/home/pi/MagicMirror/modules/default/calendar/node_helper.js:49 Class.createFetcher)
                                    [2020-04-06 15:19:03.667] [LOG] 2020-04-06T15:19:03 Create new news fetcher for url: https://www.lepoint.fr/rss.xml - Interval: 300000 (/home/pi/MagicMirror/modules/default/newsfeed/node_helper.js:48 Class.createFetcher)
                                    [2020-04-06 15:19:04.164] [LOG] 2020-04-06T15:19:04 payload: undefined (/home/pi/MagicMirror/modules/MMM-Logging/node_helper.js:34 Class.socketNotificationReceived)

                                    S 1 Reply Last reply Reply Quote 0
                                    • S Do not disturb
                                      sdetweil @Manu85
                                      last edited by

                                      @Manu85 yes, now we need to wait for hang again

                                      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 just rebooted the mirror restarted, is that what I had to do?

                                        S 1 Reply Last reply Reply Quote 0
                                        • S Do not disturb
                                          sdetweil @Manu85
                                          last edited by

                                          @Manu85 yes, it is logging to the pm2 log, all ok

                                          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 was afraid of doing something stupid! now something must be done?

                                            S 1 Reply Last reply Reply Quote 0

                                            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
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 1 / 5
                                            • 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