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 1.2k 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 @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 Offline
          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 Offline
              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