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.

    MM screen doesn't start but can access through web browser

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    6 Posts 2 Posters 939 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.
    • D Offline
      DDE12
      last edited by

      On a Win10 machine, MM doesn’t display the screen but I can access it through a web browser. Let me know if I can provide further info that will help troubleshoot this. Thank you for taking a look at this issue.

      let config = {
          address: ["localhost", "192.168.100.11"],
          port: 8080,
          basePath: "/",
          ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.100.0/24"]
      

      $ npm run start

      magicmirror@2.23.0 start
      .\node_modules.bin\electron js\electron.js

      [28.05.2023 23:56.25.585] [LOG] Starting MagicMirror: v2.23.0
      [28.05.2023 23:56.25.593] [LOG] Loading config …
      [28.05.2023 23:56.25.597] [DEBUG] config template file not exists, no envsubst
      [28.05.2023 23:56.25.607] [LOG] Loading module helpers …
      [28.05.2023 23:56.25.607] [LOG] No helper found for module: alert.
      [28.05.2023 23:56.25.627] [LOG] Initializing new module helper …
      [28.05.2023 23:56.25.628] [LOG] Module helper loaded: updatenotification
      [28.05.2023 23:56.25.945] [LOG] Initializing new module helper …
      [28.05.2023 23:56.25.945] [LOG] Module helper loaded: calendar
      [28.05.2023 23:56.26.443] [LOG] Initializing new module helper …
      [28.05.2023 23:56.26.444] [LOG] Module helper loaded: MMM-Wallpaper
      [28.05.2023 23:56.26.447] [LOG] No helper found for module: MMM-CalendarExt3Agenda.
      [28.05.2023 23:56.26.500] [LOG] Initializing new module helper …
      [28.05.2023 23:56.26.501] [LOG] Module helper loaded: MMM-MoonPhase
      [28.05.2023 23:56.26.502] [LOG] No helper found for module: MMM-FlipClock.
      [28.05.2023 23:56.27.283] [LOG] Initializing new module helper …
      [28.05.2023 23:56.27.284] [LOG] Module helper loaded: MMM-Gas
      [28.05.2023 23:56.27.399] [LOG] Initializing new module helper …
      [28.05.2023 23:56.27.399] [LOG] Module helper loaded: MMM-OpenWeatherForecast
      [28.05.2023 23:56.27.400] [LOG] No helper found for module: MMM-CalendarExt3.
      [28.05.2023 23:56.27.401] [LOG] No helper found for module: MMM-Carousel.
      [28.05.2023 23:56.27.401] [LOG] All module helpers loaded.
      [28.05.2023 23:56.27.418] [LOG] Starting server on port 8080 …
      [28.05.2023 23:56.27.441] [LOG] Server started …
      [28.05.2023 23:56.27.442] [LOG] Connecting socket for: updatenotification
      [28.05.2023 23:56.27.443] [LOG] Starting module helper: updatenotification
      [28.05.2023 23:56.27.443] [LOG] Connecting socket for: calendar
      [28.05.2023 23:56.27.443] [LOG] Starting node helper for: calendar
      [28.05.2023 23:56.27.444] [LOG] Connecting socket for: MMM-Wallpaper
      [28.05.2023 23:56.27.444] [LOG] Starting node helper for: MMM-Wallpaper
      [28.05.2023 23:56.27.445] [LOG] Connecting socket for: MMM-MoonPhase
      [28.05.2023 23:56.27.445] [LOG] Starting module helper: MMM-MoonPhase
      [28.05.2023 23:56.27.446] [LOG] Connecting socket for: MMM-Gas
      [28.05.2023 23:56.27.446] [LOG] Starting module: MMM-Gas
      [28.05.2023 23:56.27.446] [LOG] Connecting socket for: MMM-OpenWeatherForecast
      [28.05.2023 23:56.27.446] [LOG] ====================== Starting node_helper for module [MMM-OpenWeatherForecast]
      [28.05.2023 23:56.27.447] [LOG] Sockets connected & modules started …
      [28.05.2023 23:56.27.600] [LOG] Launching application.

      S 1 Reply Last reply Reply Quote 0
      • S Away
        sdetweil @DDE12
        last edited by sdetweil

        @DDE12 see
        https://github.com/MichMich/MagicMirror/issues/3083

        I thought you fixed that already
        https://forum.magicmirror.builders/topic/17807/config-template-file-not-exists-no-ensubst/7?_=1685358870752

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        D 1 Reply Last reply Reply Quote 0
        • D Offline
          DDE12 @sdetweil
          last edited by DDE12

          @sdetweil It looks like electron.js in 2.23.0 already has those changes except for

          let config = await core.start()
          

          https://forum.magicmirror.builders/topic/17807/config-template-file-not-exists-no-ensubst/7?_=1685358870752 had the default settings for address and ipWhitelist. The new problem arises when I add my information.
          Changing config to

          address: "0.0.0.0",
          ipWhitelist: [],
          

          results in a blank electron screen:
          npm run start

          magicmirror@2.23.0 start
          .\node_modules.bin\electron js\electron.js

          [29.05.2023 11:15.38.750] [LOG] Starting MagicMirror: v2.23.0
          [29.05.2023 11:15.38.760] [LOG] Loading config …
          [29.05.2023 11:15.38.764] [DEBUG] config template file not exists, no envsubst
          [29.05.2023 11:15.38.772] [LOG] Loading module helpers …
          [29.05.2023 11:15.38.772] [LOG] No helper found for module: alert.
          [29.05.2023 11:15.38.791] [LOG] Initializing new module helper …
          [29.05.2023 11:15.38.792] [LOG] Module helper loaded: updatenotification
          [29.05.2023 11:15.39.107] [LOG] Initializing new module helper …
          [29.05.2023 11:15.39.107] [LOG] Module helper loaded: calendar
          [29.05.2023 11:15.39.617] [LOG] Initializing new module helper …
          [29.05.2023 11:15.39.618] [LOG] Module helper loaded: MMM-Wallpaper
          [29.05.2023 11:15.39.619] [LOG] No helper found for module: MMM-CalendarExt3Agenda.
          [29.05.2023 11:15.39.623] [LOG] Initializing new module helper …
          [29.05.2023 11:15.39.623] [LOG] Module helper loaded: MMM-MoonPhase
          [29.05.2023 11:15.39.623] [LOG] No helper found for module: MMM-FlipClock.
          [29.05.2023 11:15.40.400] [LOG] Initializing new module helper …
          [29.05.2023 11:15.40.400] [LOG] Module helper loaded: MMM-Gas
          [29.05.2023 11:15.40.515] [LOG] Initializing new module helper …
          [29.05.2023 11:15.40.515] [LOG] Module helper loaded: MMM-OpenWeatherForecast
          [29.05.2023 11:15.40.516] [LOG] No helper found for module: MMM-CalendarExt3.
          [29.05.2023 11:15.40.517] [LOG] No helper found for module: MMM-Carousel.
          [29.05.2023 11:15.40.517] [LOG] All module helpers loaded.
          [29.05.2023 11:15.40.534] [LOG] Starting server on port 8080 …
          [29.05.2023 11:15.40.560] [WARN] You’re using a full whitelist configuration to allow for all IPs
          [29.05.2023 11:15.40.575] [LOG] Server started …
          [29.05.2023 11:15.40.576] [LOG] Connecting socket for: updatenotification
          [29.05.2023 11:15.40.576] [LOG] Starting module helper: updatenotification
          [29.05.2023 11:15.40.576] [LOG] Connecting socket for: calendar
          [29.05.2023 11:15.40.577] [LOG] Starting node helper for: calendar
          [29.05.2023 11:15.40.577] [LOG] Connecting socket for: MMM-Wallpaper
          [29.05.2023 11:15.40.577] [LOG] Starting node helper for: MMM-Wallpaper
          [29.05.2023 11:15.40.578] [LOG] Connecting socket for: MMM-MoonPhase
          [29.05.2023 11:15.40.578] [LOG] Starting module helper: MMM-MoonPhase
          [29.05.2023 11:15.40.578] [LOG] Connecting socket for: MMM-Gas
          [29.05.2023 11:15.40.578] [LOG] Starting module: MMM-Gas
          [29.05.2023 11:15.40.579] [LOG] Connecting socket for: MMM-OpenWeatherForecast
          [29.05.2023 11:15.40.579] [LOG] ====================== Starting node_helper for module [MMM-OpenWeatherForecast]
          [29.05.2023 11:15.40.579] [LOG] Sockets connected & modules started …
          [29.05.2023 11:15.40.708] [LOG] Launching application.
          [29.05.2023 11:15.41.834] [ERROR] (node:6304) electron: Failed to load URL: http://0.0.0.0:8080/ with error: ERR_ADDRESS_INVALID
          (Use electron --trace-warnings ... to show where the warning was created)

          S 1 Reply Last reply Reply Quote 0
          • S Away
            sdetweil @DDE12
            last edited by

            @DDE12 said in MM screen doesn't start but can access through web browser:

            Failed to load URL: http://0.0.0.0:8080/ with error: ERR_ADDRESS_INVALID

            well cool. no idea what’s causing that…

            but I had reported a failure with that setting last year but didn’t get that message…

            will put it on my list of things to look at.

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            D 1 Reply Last reply Reply Quote 0
            • D Offline
              DDE12 @sdetweil
              last edited by

              @sdetweil Thanks! I’ll keep an eye out for a solution.

              S 1 Reply Last reply Reply Quote 0
              • S Away
                sdetweil @DDE12
                last edited by sdetweil

                @DDE12 try this

                edit js/electron.js

                and change this , approx line 70 in the develop branch

                let address = (config.address === void 0) | (config.address === "")  ? (config.address = "localhost") : config.address;
                

                to this

                let address = (config.address === void 0) | (config.address === "") | (config.address === "0.0.0.0") ? (config.address = "localhost") : config.address;
                

                previous issue, reopened

                https://github.com/MichMich/MagicMirror/issues/2550

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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