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 only server version working due to issues with config file

    Scheduled Pinned Locked Moved Troubleshooting
    33 Posts 3 Posters 11.4k 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.
    • L Offline
      legan @sdetweil
      last edited by

      @sdetweil ok sorry, I am not very familiar with java script yet…

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

        very weird… lets do this

        cd ~/MagicMirror
        npm run config:check 
        

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        L 1 Reply Last reply Reply Quote 0
        • L Offline
          legan @sdetweil
          last edited by

          @sdetweil no syntax errors…

          5.JPG

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

            @legan said in MM only server version working due to issues with config file:

            @sdetweil no syntax errors…

            5.JPG

            thx… as expected…

            can u check the filename , rename config.js and make sure no leading/trailing space

            also can u try with a browser on pi to open

            file:///home/pi/MagicMirror/config/config.js

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • L Offline
              legan
              last edited by

              Yes, I checked the filename several times, its fine. The config file is also accessible via file:///home/pi/MagicMirror/config/config.js

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

                @legan can I see the address: and ipWhitelist: settings from config.js

                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
                  last edited by

                  make them

                  address:"0.0.0.0",
                  ipWhitelist:[],
                  

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  L 1 Reply Last reply Reply Quote 0
                  • L Offline
                    legan @sdetweil
                    last edited by

                    @sdetweil I extended the whitelist and enabled all IP addresses. But still not working

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

                      @legan if u set it to [] that is all

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      L 1 Reply Last reply Reply Quote 0
                      • L Offline
                        legan @sdetweil
                        last edited by

                        @sdetweil said in MM only server version working due to issues with config file:

                        all

                        exactly, that’s what I did

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

                          @legan and address is localhost or 0.0.0.0?

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          1 Reply Last reply Reply Quote 0
                          • L Offline
                            legan
                            last edited by

                            @sdetweil now it’s working! Thank you very much you saved my tech mood though! :D

                            Have a good one! :)

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

                              @legan what did you do ?

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              L 1 Reply Last reply Reply Quote 0
                              • L Offline
                                legan @sdetweil
                                last edited by

                                @sdetweil I followed your instructions, and after changing localhost to 0.0.0.0.
                                I was able to start the mirror

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

                                  @legan weird

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

                                  Mykle1M 1 Reply Last reply Reply Quote 0
                                  • Mykle1M Offline
                                    Mykle1 Project Sponsor Module Developer @sdetweil
                                    last edited by

                                    @sdetweil said in MM only server version working due to issues with config file:

                                    weird

                                    You can’t make this stuff up. :-)

                                    Create a working config
                                    How to add modules

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

                                      @Mykle1 that is what I hear!

                                      Sam

                                      How to add modules

                                      learning how to use browser developers window for css changes

                                      1 Reply Last reply Reply Quote 0

                                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                      With your input, this post could be even better 💗

                                      Register Login
                                      • 1
                                      • 2
                                      • 2 / 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