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.

    Blank screen after a couple of hours

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    19 Posts 2 Posters 3.3k Views 3 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 @bradley1982
      last edited by

      @bradley1982 can you do it another way

      pm2 stop all
      cd ~/MagicMirror
      npm start >somfile.txt 2>&1

      when the black screen happens, ctrl-c on the command window with the npm start in it

      ctrl-q might work on the MM black screen but maybe not

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      B 1 Reply Last reply Reply Quote 0
      • B Offline
        bradley1982 @sdetweil
        last edited by

        @sdetweil Hi Sam

        Nothing seems to happen when i do the control c however when i do the control q on the blank screen on the MM it bring me back to the config file and the terminal window.

        bradley@raspberrypi:~ $ pm2 stop all
        cd ~/MagicMirror
        npm start >somfile.txt 2>&1
        [PM2] Applying action stopProcessId on app [all](ids: [ 0 ])
        [PM2] MagicMirror ✓
        ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
        │ id │ name │ mode │ ↺ │ status │ cpu │ memory │
        ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
        │ 0 │ MagicMirror │ fork │ 1 │ stopped │ 0% │ 0b │
        └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
        bradley@raspberrypi:~/MagicMirror $ ^C

        not really sure what i am looking at here or what to do next?

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

          @bradley1982 and look inside somfile.txt
          nano somfile.txt

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          B 1 Reply Last reply Reply Quote 0
          • B Offline
            bradley1982 @sdetweil
            last edited by

            @sdetweil
            hi Sam,

            had a look an looked for errors?

            15.04.2024 12:15.14.424] [INFO] Newsfeed-Fetcher: Broadcasting 26 items.
            [15.04.2024 12:20.19.728] [ERROR] Newsfeed Error. Could not fetch newsfeed: https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml >
            at NodeHelper.checkFetchStatus (/home/bradley/MagicMirror/js/node_helper.js:116:9)
            at processTicksAndRejections (node:internal/process/task_queues:95:5)

            THEN FURTHER DOWN -

            [16.04.2024 07:02.24.761] [INFO] Newsfeed-Fetcher: Broadcasting 26 items.
            [16.04.2024 07:04.26.190] [ERROR] ERROR! Could not validate main module js file.
            [16.04.2024 07:04.26.205] [ERROR] ReferenceError: defaults is not defined
            at Object. (/home/bradley/MagicMirror/modules/MMM-OpenWeatherMapForecast/MMM-OpenWeatherMapForecast.js:80:22)
            at Module._compile (node:internal/modules/cjs/loader:1271:14)
            at Object…js (node:internal/modules/cjs/loader:1326:10)
            at Module.load (/home/bradley/MagicMirror/modules/MMM-MyScoreboard/node_modules/coffee-script/lib/coffee-script/register.js:45:36)
            at node:internal/modules/cjs/loader:967:12
            at Function._load (node:electron/js2c/node_init:2:13357)
            at Module.require (node:internal/modules/cjs/loader:1150:19)
            at require (node:internal/modules/cjs/helpers:121:18)
            at Class.loadModuleDefaultConfig (/home/bradley/MagicMirror/modules/MMM-Remote-Control/node_helper.js:314:30)
            at /home/bradley/MagicMirror/modules/MMM-Remote-Control/node_helper.js:268:26
            at FSReqCallback.oncomplete (node:fs:211:5)

            [16.04.2024 07:07.25.459] [INFO] Newsfeed-Fetcher: Broadcasting 26 items.
            [16.04.2024 07:10.18.538] [INFO] Update found for module: MMM-NewsFeedTicker
            [16.04.2024 07:12.26.448] [INFO] Newsfeed-Fetcher: Broadcasting 26 items.
            [16.04.2024 07:17.27.421] [INFO] Newsfeed-Fetcher: Broadcasting 26 items.
            [16.04.2024 07:20.27.894] [INFO] Update found for module: MMM-NewsFeedTicker
            [16.04.2024 07:22.28.492] [INFO] Newsfeed-Fetcher: Broadcasting 26 items.
            [16.04.2024 07:27.29.185] [INFO] Newsfeed-Fetcher: Broadcasting 26 items.
            [16.04.2024 07:30.37.179] [INFO] Update found for module: MMM-NewsFeedTicker
            [16.04.2024 07:32.30.111] [INFO] Newsfeed-Fetcher: Broadcasting 26 items.
            [16.04.2024 07:37.31.062] [INFO] Newsfeed-Fetcher: Broadcasting 26 items.
            [16.04.2024 07:40.46.440] [INFO] Update found for module: MMM-NewsFeedTicker
            [16.04.2024 07:42.32.012] [INFO] Newsfeed-Fetcher: Broadcasting 26 items.
            [16.04.2024 07:47.32.954] [INFO] Newsfeed-Fetcher: Broadcasting 26 items.
            [16.04.2024 07:50.55.991] [INFO] Update found for module: MMM-NewsFeedTicker
            [16.04.2024 07:52.33.895] [INFO] Newsfeed-Fetcher: Broadcasting 27 items.
            [16.04.2024 07:57.34.610] [INFO] Newsfeed-Fetcher: Broadcasting 27 items.
            [16.04.2024 08:01.05.664] [INFO] Update found for module: MMM-NewsFeedTicker
            [16.04.2024 08:02.35.562] [INFO] Newsfeed-Fetcher: Broadcasting 27 items.
            [16.04.2024 08:07.36.271] [INFO] Newsfeed-Fetcher: Broadcasting 27 items.
            [16.04.2024 08:11.14.999] [INFO] Update found for module: MMM-NewsFeedTicker
            [16.04.2024 08:12.37.239] [INFO] Newsfeed-Fetcher: Broadcasting 27 items.
            [16.04.2024 08:17.38.199] [INFO] Newsfeed-Fetcher: Broadcasting 27 items.
            [16.04.2024 08:19.26.192] [LOG] Shutting down server…
            [16.04.2024 08:19.26.196] [LOG] Stopping module helper: updatenotification
            [16.04.2024 08:19.26.197] [LOG] Stopping module helper: calendar
            [16.04.2024 08:19.26.199] [LOG] Stopping module helper: MMM-OpenWeatherMapForecast
            [16.04.2024 08:19.26.199] [LOG] Stopping module helper: MMM-MyScoreboard
            [16.04.2024 08:19.26.201] [LOG] Stopping module helper: MMM-Todoist

            IF EASIER CAN SENT THE FULL REPORT.

            thanks so much for your help

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

              @bradley1982 said in Blank screen after a couple of hours:

              [15.04.2024 12:20.19.728] [ERROR] Newsfeed Error. Could not fetch newsfeed: https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml >
              at NodeHelper.checkFetchStatus (/home/bradley/MagicMirror/js/node_helper.js:116:9)
              at processTicksAndRejections (node:internal/process/task_queues:95:5)

              this is probably the killer… network error, and not enough error recovery
              sadly there is no fix for this

              @bradley1982 said in Blank screen after a couple of hours:

              [16.04.2024 07:04.26.190] [ERROR] ERROR! Could not validate main module js file.
              [16.04.2024 07:04.26.205] [ERROR] ReferenceError: defaults is not defined
              at Object. (/home/bradley/MagicMirror/modules/MMM-OpenWeatherMapForecast/MMM-OpenWeatherMapForecast.js:80:22)

              this one is a module problem that should be reported on the module.

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              B S 2 Replies Last reply Reply Quote 0
              • B Offline
                bradley1982 @sdetweil
                last edited by

                @sdetweil oh ok. thanks for your help.

                any recommendation what to do?

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

                  @sdetweil on the second look at the module github page, issues and see if anyone has posted a fix

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    bradley1982 @bradley1982
                    last edited by

                    @bradley1982 ok thanks very much for all you help!

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