• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Internet Monitor

Scheduled Pinned Locked Moved Utilities
108 Posts 27 Posters 115.1k Views 30 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.
  • M Offline
    Mykle1 Project Sponsor Module Developer @cowboysdude
    last edited by Feb 9, 2017, 5:50 PM

    @cowboysdude said in Internet Monitor:

    /root/.pm2/logs/

    when I try cd root it says permission denied. I tried sudo cd root and it said bad command.

    So, how do I get to the logs so I can post them?

    1 Reply Last reply Reply Quote 0
    • M Offline
      Mykle1 Project Sponsor Module Developer @Mar
      last edited by Feb 9, 2017, 5:53 PM

      @Mar said in Internet Monitor:

      @Mykle1 As I posted up above, seems like others are having the same issue. I noticed that in the logs the internet monitor is posting the speed every few seconds so I was thinking this was a probably cause?

      Though the amount of slowdown just to show the wifi indicator was a little too much

      My problem isn’t slowdown, it’s crashing my MM2 (see previous post) so I’m trying to get the the logs so I can post them and perhaps get a fix. Also, I’m on a Pi3

      1 Reply Last reply Reply Quote 0
      • R Offline
        ronny3050 Module Developer
        last edited by ronny3050 Feb 9, 2017, 6:39 PM Feb 9, 2017, 6:38 PM

        @Mykle1 run pm2 logs from the terminal.

        M 2 Replies Last reply Feb 9, 2017, 9:50 PM Reply Quote 1
        • M Offline
          Mykle1 Project Sponsor Module Developer @ronny3050
          last edited by Mykle1 Feb 9, 2017, 9:52 PM Feb 9, 2017, 9:50 PM

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • M Offline
            Mykle1 Project Sponsor Module Developer @ronny3050
            last edited by yawns Feb 10, 2017, 8:28 AM Feb 9, 2017, 9:54 PM

            @ronny3050 - this is what I got when I ran pm2 logs

            [TAILING] Tailing last 10 lines for [all] processes (change the value with --lines option)
            /home/pi/.pm2/logs/mm-error-0.log last 10 lines:
            0|mm       | npm ERR!     npm bugs magicmirror
            0|mm       | npm ERR! Or if that isn't available, you can get their info via:
            0|mm       | npm ERR!     npm owner ls magicmirror
            0|mm       | npm ERR! There is likely additional logging output above.
            0|mm       | 
            0|mm       | npm ERR! Please include the following file with any support request:
            0|mm       | npm ERR!     /home/pi/MagicMirror/npm-debug.log
            0|mm       | ERROR! Could not find main module js file.
            0|mm       | ERROR! Could not find main module js file.
            0|mm       | ERROR! Could not find main module js file.
            
            /home/pi/.pm2/logs/mm-out-0.log last 10 lines:
            0|mm       | Starting module: newsfeed
            0|mm       | Sockets connected & modules started ...
            0|mm       | Launching application.
            0|mm       | Create new calendar fetcher for url: http://www.calendarlabs.com/templates/ical/US-Holidays.ics - Interval: 300000
            0|mm       | Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/themykle%40themykle.com/private-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/basic.ics - Interval: 300000
            0|mm       | Create new news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000
            0|mm       | 
            0|mm       | > magicmirror@2.1.0 start /home/pi/MagicMirror
            0|mm       | > electron js/electron.js
            0|mm       | 
            
            [STREAMING] Now streaming realtime logs for [all] processes
            
            R 1 Reply Last reply Feb 9, 2017, 9:55 PM Reply Quote 0
            • R Offline
              ronny3050 Module Developer @Mykle1
              last edited by Feb 9, 2017, 9:55 PM

              @Mykle1 Could you run the following?
              pm2 flush
              pm2 logs and wait for a couple of minutes of log?

              Thanks!

              M 1 Reply Last reply Feb 9, 2017, 9:56 PM Reply Quote 1
              • M Offline
                Mykle1 Project Sponsor Module Developer @ronny3050
                last edited by Mykle1 Feb 9, 2017, 9:59 PM Feb 9, 2017, 9:56 PM

                @ronny3050 wait for it to complete doing something? Will it stop by itself or I have to do something?

                If so, what do I have to do?

                It’s running now

                R 1 Reply Last reply Feb 9, 2017, 9:59 PM Reply Quote 0
                • R Offline
                  ronny3050 Module Developer @Mykle1
                  last edited by Feb 9, 2017, 9:59 PM

                  @Mykle1 yes, after typing pm2 logs it will update logs realtime so then you can post it here. I am wondering what exactly crashes your mirror inside my module.

                  M 1 Reply Last reply Feb 9, 2017, 10:00 PM Reply Quote 0
                  • M Offline
                    Mykle1 Project Sponsor Module Developer @ronny3050
                    last edited by Feb 9, 2017, 10:00 PM

                    @ronny3050 ok, I’m waiting for it to complete

                    M 1 Reply Last reply Feb 9, 2017, 10:38 PM Reply Quote 1
                    • M Offline
                      Mykle1 Project Sponsor Module Developer @Mykle1
                      last edited by Feb 9, 2017, 10:38 PM

                      I’ve been waiting for 34 minutes and nothing has happened. My console still reads:

                      [STREAMING] Now streaming realtime logs for [all] processes.

                      Am I supposed to do something? run MM with your module perhaps? You didn’t say

                      M 1 Reply Last reply Feb 9, 2017, 11:40 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 10
                      • 11
                      • 3 / 11
                      3 / 11
                      • First post
                        28/108
                        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