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.

    no /etc/kbd/config Folder/File

    Scheduled Pinned Locked Moved Solved Troubleshooting
    31 Posts 2 Posters 13.1k Views 2 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 @Miked180
      last edited by

      @Miked180 ok, the black screen means that the UI portion of MM has died… usually due to some coding error or unexpected error…

      Sam

      How to add modules

      learning how to use browser developers window for css changes

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

        I found this in Log File:

        pm2 log MagicMirror

        [TAILING] Tailing last 15 lines for [MagicMirror] process (change the value with --lines option)
        /home/pi/.pm2/logs/MagicMirror-error.log last 15 lines:
        0|MagicMir | at Module.load (internal/modules/cjs/loader.js:620:32)
        0|MagicMir | at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
        0|MagicMir | at Function.Module._load (internal/modules/cjs/loader.js:551:3)
        0|MagicMir | at Module.require (internal/modules/cjs/loader.js:658:17)
        0|MagicMir | at require (internal/modules/cjs/helpers.js:20:18)
        0|MagicMir | npm ERR! code ELIFECYCLE
        0|MagicMir | npm ERR! errno 1
        0|MagicMir | npm ERR! magicmirror@2.10.1 start: ./run-start.sh
        0|MagicMir | npm ERR! Exit status 1
        0|MagicMir | npm ERR!
        0|MagicMir | npm ERR! Failed at the magicmirror@2.10.1 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-03-11T17_05_15_894Z-debug.log

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

          @Miked180 do

          pm2 logs --lines=100

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            See Link. I cant post log here

            Log File

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

              @Miked180 for calendar error

              change http://calendar to https://calendar

              don’t see the error listed above

              pm2 stop 0
              pm2 flush
              pm2 start 0
              
              after error
              pm2 logs --lines=100
              

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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

                pi@raspberrypi:~/MagicMirror/config $ pm2 logs --lines=100
                [TAILING] Tailing last 100 lines for [all] processes (change the value with --lines option)
                /home/pi/.pm2/pm2.log last 100 lines:
                PM2 | 2020-03-11T18:29:32: PM2 log: App [MagicMirror:0] starting in -fork mode-
                PM2 | 2020-03-11T18:29:32: PM2 log: App [MagicMirror:0] online

                /home/pi/.pm2/logs/MagicMirror-error.log last 100 lines:
                /home/pi/.pm2/logs/MagicMirror-out.log last 100 lines:
                0|MagicMir |
                0|MagicMir | > magicmirror@2.10.1 start /home/pi/MagicMirror
                0|MagicMir | > ./run-start.sh
                0|MagicMir |
                0|MagicMir | [18:29:37.650] [LOG] Starting MagicMirror: v2.10.1
                0|MagicMir | [18:29:37.659] [LOG] Loading config …
                0|MagicMir | [18:29:37.664] [LOG] Loading module helpers …
                0|MagicMir | [18:29:37.666] [LOG] No helper found for module: alert.
                0|MagicMir | [18:29:37.713] [LOG] Initializing new module helper …
                0|MagicMir | [18:29:37.714] [LOG] Module helper loaded: updatenotification
                0|MagicMir | [18:29:37.715] [LOG] No helper found for module: clock.
                0|MagicMir | [18:29:38.184] [LOG] Initializing new module helper …
                0|MagicMir | [18:29:38.185] [LOG] Module helper loaded: calendar
                0|MagicMir | [18:29:38.185] [LOG] No helper found for module: compliments.
                0|MagicMir | [18:29:38.186] [LOG] No helper found for module: currentweather.
                0|MagicMir | [18:29:38.187] [LOG] No helper found for module: weatherforecast.
                0|MagicMir | [18:29:38.218] [LOG] Initializing new module helper …
                0|MagicMir | [18:29:38.218] [LOG] Module helper loaded: newsfeed
                0|MagicMir | [18:29:38.222] [LOG] Initializing new module helper …
                0|MagicMir | [18:29:38.222] [LOG] Module helper loaded: MMM-WienerLinien
                0|MagicMir | [18:29:38.224] [LOG] Initializing new module helper …
                0|MagicMir | [18:29:38.225] [LOG] Module helper loaded: MMM-RandomYouTubePlayer
                0|MagicMir | [18:29:38.226] [LOG] No helper found for module: MMM-EyeCandy.
                0|MagicMir | [18:29:38.226] [LOG] All module helpers loaded.
                0|MagicMir | [18:29:38.227] [LOG] Starting server on port 8080 …
                0|MagicMir | [18:29:38.241] [LOG] Server started …
                0|MagicMir | [18:29:38.242] [LOG] Connecting socket for: updatenotification
                0|MagicMir | [18:29:38.243] [LOG] Connecting socket for: calendar
                0|MagicMir | [18:29:38.244] [LOG] Starting node helper for: calendar
                0|MagicMir | [18:29:38.245] [LOG] Connecting socket for: newsfeed
                0|MagicMir | [18:29:38.245] [LOG] Starting module: newsfeed
                0|MagicMir | [18:29:38.246] [LOG] Connecting socket for: MMM-WienerLinien
                0|MagicMir | [18:29:38.247] [LOG] Starting module helper: MMM-WienerLinien
                0|MagicMir | [18:29:38.248] [LOG] Connecting socket for: MMM-RandomYouTubePlayer
                0|MagicMir | [18:29:38.248] [LOG] Starting module helper: MMM-RandomYouTubePlayer
                0|MagicMir | [18:29:38.249] [LOG] Sockets connected & modules started …
                0|MagicMir | [18:29:38.404] [LOG] Launching application.
                0|MagicMir | [18:29:40.761] [LOG] Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/vaios2k%40gmail.com/public/basic.ics - Interval: 120000
                0|MagicMir | [18:29:40.873] [LOG] Create new news fetcher for url: https://rss.orf.at/science.xml - Interval: 300000

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

                  @Miked180 did it black screen?

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

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

                    now i see the mirror, i wait few minutes

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

                      Now i got a black screen.

                      /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.10.1 start: ./run-start.sh
                      0|MagicMir | npm ERR! Exit status 1
                      0|MagicMir | npm ERR!
                      0|MagicMir | npm ERR! Failed at the magicmirror@2.10.1 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-03-11T17_47_10_283Z-debug.log

                      from 283Z-debug.log :

                      /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.10.1 start: ./run-start.sh
                      0|MagicMir | npm ERR! Exit status 1
                      0|MagicMir | npm ERR!
                      0|MagicMir | npm ERR! Failed at the magicmirror@2.10.1 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-03-11T17_47_10_283Z-debug.log

                      after restart raspberry i see the mirror

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

                        @Miked180 before restart pi, do with keyboard on pi…

                        alt-spacebar, n

                        see if MM window will minimize

                        also, setup ssh on pi, and ssh from windows to pi to examine…

                        xset q
                        setterm -blank 0 -powerdown 0
                        

                        from here https://wiki.archlinux.org/index.php/Display_Power_Management_Signaling

                        in ssh terminal session, may have to do export DISPLAY=:0

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 4 / 4
                        • 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