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.

    Third-Party Module - how to get help?

    Scheduled Pinned Locked Moved Solved Troubleshooting
    64 Posts 3 Posters 28.1k 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 Offline
      sdetweil @ember1205
      last edited by

      @ember1205 show me the output of

      node-v 
      npm -v
      lsb_release -a
      uname -a
      

      and other than image, you are running default modules, correct?

      I’m gonna be out for a couple hours, running xmas errands. will try to look in on my phone

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      E 2 Replies Last reply Reply Quote 0
      • E Offline
        ember1205 @sdetweil
        last edited by

        @sdetweil

        pi@raspberrypi:~ $ node -v
        v10.17.0
        
        pi@raspberrypi:~ $ npm -v
        6.11.3
        
        pi@raspberrypi:~ $ lsb_release -a
        No LSB modules are available.
        Distributor ID: Raspbian
        Description:    Raspbian GNU/Linux 10 (buster)
        Release:        10
        Codename:       buster
        
        pi@raspberrypi:~ $ uname -a
        Linux raspberrypi 4.19.75-v7+ #1270 SMP Tue Sep 24 18:45:11 BST 2019 armv7l GNU/Linux
        
        S 1 Reply Last reply Reply Quote 0
        • E Offline
          ember1205 @sdetweil
          last edited by

          @sdetweil said in Third-Party Module - how to get help?:

          and other than image, you are running default modules, correct?

          I have installed your MMM-ImagesPhotos and MMM-BackgroundSlideshow. Even paring the configuration down to ONLY one third-party module running, it will die unless I have the http cache disabled.

          I have changed the swap size from the default of 100 to 250 and when it crashed, there was only a small portion of swap being used.

          1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @ember1205
            last edited by sdetweil

            @ember1205 hm

            my uname -a

            Linux raspberrypi4 4.19.75-v7l+ #1270 SMP Tue Sep 24 18:51:41 BST 2019 armv7l GNU/Linux
            

            we have different kernels… wonder why
            just got the pi4 yesterday

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            E 1 Reply Last reply Reply Quote 0
            • E Offline
              ember1205 @sdetweil
              last edited by

              @sdetweil Possibly because you’re running on a 4 and I’m on a 3?

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil
                last edited by

                are u using pm2 to manage? if so, do a pm2 logs --lines=100 >somefile

                I’d like to see the error

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @ember1205
                  last edited by

                  @ember1205 ok, from my pi3

                  Linux raspberrypi 4.19.75-v7+ #1270 SMP Tue Sep 24 18:45:11 BST 2019 armv7l GNU/Linux
                  

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • E Offline
                    ember1205
                    last edited by

                    I just did an apt-get update and apt-get upgrade. I then flushed the PM2 logs and restarted. When it crashes again, I’ll post the log info as you asked.

                    1 Reply Last reply Reply Quote 0
                    • E Offline
                      ember1205
                      last edited by

                      At a minimum, the apt-get update / upgrade seems to have at least helped. After installing the updates and restarting, I’ve been running this module with clock, calendar, current weather, and weather forecast all enabled and it hasn’t crashed in about an hour.

                      I stopped everything and reverted to the BackgroundSlideshow module to see if it would also run clean, but it died pretty quickly. I’ve flushed the logs again (although I did capture their contents from the other module’s crash) and once again changed over to ImagesPhotos to see what happens after another run.

                      While I’m waiting to see if it will crash, I have some questions about the rendering configuration.

                      I’ve tried both the “fullscreen” and “middle_center” settings and the photos are not constrained to the screen (in terms of the actual image, not where it’s shown). I can change the details so that I use less than full height and/or width, and there is a black border. However, the image itself is getting cropped - badly.

                      How can I get this to display the entire image on the screen like I can with the other module?

                      S 1 Reply Last reply Reply Quote 0
                      • E Offline
                        ember1205
                        last edited by

                        [TAILING] Tailing last 100 lines for [all] processes (change the value with --lines option)
                        /home/pi/.pm2/pm2.log last 100 lines:
                        PM2        | 2019-12-12T14:19:37: PM2 log: App [mm:0] starting in -fork mode-
                        PM2        | 2019-12-12T14:19:37: PM2 log: App [mm:0] online
                        PM2        | 2019-12-12T14:41:26: PM2 log: Stopping app:mm id:0
                        PM2        | 2019-12-12T14:41:26: PM2 log: pid=4285 msg=failed to kill - retrying in 100ms
                        PM2        | 2019-12-12T14:41:26: PM2 log: pid=4285 msg=failed to kill - retrying in 100ms
                        PM2        | 2019-12-12T14:41:26: PM2 log: pid=4285 msg=failed to kill - retrying in 100ms
                        PM2        | 2019-12-12T14:41:26: PM2 log: pid=4285 msg=failed to kill - retrying in 100ms
                        PM2        | 2019-12-12T14:41:26: PM2 log: pid=4285 msg=failed to kill - retrying in 100ms
                        PM2        | 2019-12-12T14:41:26: PM2 log: pid=4285 msg=failed to kill - retrying in 100ms
                        PM2        | 2019-12-12T14:41:27: PM2 log: pid=4285 msg=failed to kill - retrying in 100ms
                        PM2        | 2019-12-12T14:41:27: PM2 log: pid=4285 msg=failed to kill - retrying in 100ms
                        PM2        | 2019-12-12T14:41:27: PM2 log: pid=4285 msg=failed to kill - retrying in 100ms
                        PM2        | 2019-12-12T14:41:27: PM2 log: pid=4285 msg=failed to kill - retrying in 100ms
                        PM2        | 2019-12-12T14:41:27: PM2 log: pid=4285 msg=failed to kill - retrying in 100ms
                        PM2        | 2019-12-12T14:41:27: PM2 log: pid=4285 msg=failed to kill - retrying in 100ms
                        PM2        | 2019-12-12T14:41:27: PM2 log: pid=4285 msg=failed to kill - retrying in 100ms
                        PM2        | 2019-12-12T14:41:27: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT]
                        PM2        | 2019-12-12T14:41:27: PM2 log: pid=4285 msg=process killed
                        PM2        | 2019-12-12T14:41:27: PM2 log: App [mm:0] starting in -fork mode-
                        PM2        | 2019-12-12T14:41:27: PM2 log: App [mm:0] online
                        PM2        | 2019-12-12T14:43:33: PM2 log: Stopping app:mm id:0
                        PM2        | 2019-12-12T14:43:33: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT]
                        PM2        | 2019-12-12T14:43:33: PM2 log: pid=4543 msg=process killed
                        PM2        | 2019-12-12T14:43:33: PM2 log: App [mm:0] starting in -fork mode-
                        PM2        | 2019-12-12T14:43:33: PM2 log: App [mm:0] online
                        PM2        | 2019-12-12T14:46:33: PM2 log: Stopping app:mm id:0
                        PM2        | 2019-12-12T14:46:33: PM2 log: pid=4667 msg=failed to kill - retrying in 100ms
                        PM2        | 2019-12-12T14:46:33: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT]
                        PM2        | 2019-12-12T14:46:33: PM2 log: pid=4667 msg=process killed
                        PM2        | 2019-12-12T14:46:33: PM2 log: App [mm:0] starting in -fork mode-
                        PM2        | 2019-12-12T14:46:33: PM2 log: App [mm:0] online
                        PM2        | 2019-12-12T14:47:42: PM2 log: Stopping app:mm id:0
                        PM2        | 2019-12-12T14:47:43: PM2 log: pid=4822 msg=failed to kill - retrying in 100ms
                        PM2        | 2019-12-12T14:47:43: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT]
                        PM2        | 2019-12-12T14:47:43: PM2 log: pid=4822 msg=process killed
                        PM2        | 2019-12-12T14:47:43: PM2 log: App [mm:0] starting in -fork mode-
                        PM2        | 2019-12-12T14:47:43: PM2 log: App [mm:0] online
                        PM2        | 2019-12-12T15:00:40: PM2 log: Stopping app:mm id:0
                        PM2        | 2019-12-12T15:00:41: PM2 log: pid=4943 msg=failed to kill - retrying in 100ms
                        PM2        | 2019-12-12T15:00:41: PM2 log: pid=4943 msg=failed to kill - retrying in 100ms
                        PM2        | 2019-12-12T15:00:41: PM2 log: pid=4943 msg=failed to kill - retrying in 100ms
                        PM2        | 2019-12-12T15:00:41: PM2 log: pid=4943 msg=failed to kill - retrying in 100ms
                        PM2        | 2019-12-12T15:00:41: PM2 log: pid=4943 msg=failed to kill - retrying in 100ms
                        PM2        | 2019-12-12T15:00:41: PM2 log: pid=4943 msg=failed to kill - retrying in 100ms
                        PM2        | 2019-12-12T15:00:41: PM2 log: pid=4943 msg=failed to kill - retrying in 100ms
                        PM2        | 2019-12-12T15:00:41: PM2 log: pid=4943 msg=failed to kill - retrying in 100ms
                        PM2        | 2019-12-12T15:00:41: PM2 log: pid=4943 msg=failed to kill - retrying in 100ms
                        PM2        | 2019-12-12T15:00:42: PM2 log: pid=4943 msg=failed to kill - retrying in 100ms
                        PM2        | 2019-12-12T15:00:42: PM2 log: pid=4943 msg=failed to kill - retrying in 100ms
                        PM2        | 2019-12-12T15:00:42: PM2 log: pid=4943 msg=failed to kill - retrying in 100ms
                        PM2        | 2019-12-12T15:00:42: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT]
                        PM2        | 2019-12-12T15:00:42: PM2 log: pid=4943 msg=process killed
                        
                        /home/pi/.pm2/logs/mm-error.log last 100 lines:
                        0|mm       | [5004:1212/145553.006275:FATAL:memory.cc(22)] Out of memory. size=96641024
                        
                        /home/pi/.pm2/logs/mm-out.log last 100 lines:
                        0|mm       | No helper found for module: weatherforecast.
                        0|mm       | All module helpers loaded.
                        0|mm       | Starting server on port 8080 ...
                        0|mm       | Server started ...
                        0|mm       | Connecting socket for: MMM-ImagesPhotos
                        0|mm       | Starting node helper for: MMM-ImagesPhotos
                        0|mm       | Connecting socket for: updatenotification
                        0|mm       | Connecting socket for: calendar
                        0|mm       | Starting node helper for: calendar
                        0|mm       | Sockets connected & modules started ...
                        0|mm       | Launching application.
                        0|mm       | Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/EDITED%40gmail.com/EDITED/basic.ics - Interval: 900000
                        0|mm       |
                        0|mm       | > magicmirror@2.9.0 start /home/pi/MagicMirror
                        0|mm       | > sh run-start.sh
                        0|mm       |
                        0|mm       | Starting MagicMirror: v2.9.0
                        0|mm       | Loading config ...
                        0|mm       | Loading module helpers ...
                        0|mm       | Initializing new module helper ...
                        0|mm       | Module helper loaded: MMM-ImagesPhotos
                        0|mm       | No helper found for module: alert.
                        0|mm       | Initializing new module helper ...
                        0|mm       | Module helper loaded: updatenotification
                        0|mm       | No helper found for module: clock.
                        0|mm       | Initializing new module helper ...
                        0|mm       | Module helper loaded: calendar
                        0|mm       | No helper found for module: currentweather.
                        0|mm       | No helper found for module: weatherforecast.
                        0|mm       | All module helpers loaded.
                        0|mm       | Starting server on port 8080 ...
                        0|mm       | Server started ...
                        0|mm       | Connecting socket for: MMM-ImagesPhotos
                        0|mm       | Starting node helper for: MMM-ImagesPhotos
                        0|mm       | Connecting socket for: updatenotification
                        0|mm       | Connecting socket for: calendar
                        0|mm       | Starting node helper for: calendar
                        0|mm       | Sockets connected & modules started ...
                        0|mm       | Launching application.
                        0|mm       | Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/EDITED%40gmail.com/EDITED/basic.ics - Interval: 900000
                        0|mm       |
                        0|mm       | > magicmirror@2.9.0 start /home/pi/MagicMirror
                        0|mm       | > sh run-start.sh
                        0|mm       |
                        0|mm       | Starting MagicMirror: v2.9.0
                        0|mm       | Loading config ...
                        0|mm       | Loading module helpers ...
                        0|mm       | Initializing new module helper ...
                        0|mm       | Module helper loaded: MMM-ImagesPhotos
                        0|mm       | No helper found for module: alert.
                        0|mm       | Initializing new module helper ...
                        0|mm       | Module helper loaded: updatenotification
                        0|mm       | No helper found for module: clock.
                        0|mm       | Initializing new module helper ...
                        0|mm       | Module helper loaded: calendar
                        0|mm       | No helper found for module: currentweather.
                        0|mm       | No helper found for module: weatherforecast.
                        0|mm       | All module helpers loaded.
                        0|mm       | Starting server on port 8080 ...
                        0|mm       | Server started ...
                        0|mm       | Connecting socket for: MMM-ImagesPhotos
                        0|mm       | Starting node helper for: MMM-ImagesPhotos
                        0|mm       | Connecting socket for: updatenotification
                        0|mm       | Connecting socket for: calendar
                        0|mm       | Starting node helper for: calendar
                        0|mm       | Sockets connected & modules started ...
                        0|mm       | Launching application.
                        0|mm       | Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/EDITED%40gmail.com/EDITED/basic.ics - Interval: 900000
                        0|mm       |
                        0|mm       | > magicmirror@2.9.0 start /home/pi/MagicMirror
                        0|mm       | > sh run-start.sh
                        0|mm       |
                        0|mm       | Starting MagicMirror: v2.9.0
                        0|mm       | Loading config ...
                        0|mm       | Loading module helpers ...
                        0|mm       | Initializing new module helper ...
                        0|mm       | Module helper loaded: MMM-ImagesPhotos
                        0|mm       | No helper found for module: alert.
                        0|mm       | Initializing new module helper ...
                        0|mm       | Module helper loaded: updatenotification
                        0|mm       | No helper found for module: clock.
                        0|mm       | Initializing new module helper ...
                        0|mm       | Module helper loaded: calendar
                        0|mm       | No helper found for module: currentweather.
                        0|mm       | No helper found for module: weatherforecast.
                        0|mm       | All module helpers loaded.
                        0|mm       | Starting server on port 8080 ...
                        0|mm       | Server started ...
                        0|mm       | Connecting socket for: MMM-ImagesPhotos
                        0|mm       | Starting node helper for: MMM-ImagesPhotos
                        0|mm       | Connecting socket for: updatenotification
                        0|mm       | Connecting socket for: calendar
                        0|mm       | Starting node helper for: calendar
                        0|mm       | Sockets connected & modules started ...
                        0|mm       | Launching application.
                        0|mm       | Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/EDITED%40gmail.com/EDITED/basic.ics - Interval: 900000
                        0|mm       | Shutting down server...
                        0|mm       | Stopping module helper: MMM-ImagesPhotos
                        0|mm       | Stopping module helper: updatenotification
                        0|mm       | Stopping module helper: calendar
                        
                        
                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 7
                        • 3 / 7
                        • 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