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.

    Magic Mirror updated now doesnt work

    Scheduled Pinned Locked Moved Solved Troubleshooting
    36 Posts 2 Posters 14.3k 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.
    • B Offline
      bachoo786 @sdetweil
      last edited by

      @sdetweil do I have to do that? I never did update the modules after I upgraded the mirror.

      S 1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @bachoo786
        last edited by

        @bachoo786 said in Magic Mirror updated now doesnt work:

        do I have to do that? I never did update the modules after I upgraded the mirror.

        yes… if the base dependencies change, then u should update the dependencies of the modules

        my automated upgrade script does all this.

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

          @sdetweil nope its only one version

          S 1 Reply Last reply Reply Quote 0
          • S Do not disturb
            sdetweil @bachoo786
            last edited by

            @bachoo786 version = instance… sorry

            pm2 status

            if something is running, shut it down

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              @sdetweil ok so what shall I do now? I am lost. I always avoid updating my magicmirror as the new update always breaks it.

              S 1 Reply Last reply Reply Quote 0
              • S Do not disturb
                sdetweil @bachoo786
                last edited by

                @bachoo786

                please read my posts

                do

                pm2 status
                

                if anything is running, not stopped then do

                pm2 stop ??
                where xx is the name or number of the item running
                

                once u have nothing running, then redo the npm start from the MagicMirror folder so we can diagnose the rest of the problem

                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
                  bachoo786 @sdetweil
                  last edited by

                  @sdetweil ok I have done that and here is the result:

                  pi@raspberrypi:~/MagicMirror $ npm start
                  
                  > magicmirror@2.10.0 start /home/pi/MagicMirror
                  > ./run-start.sh
                  
                  + ./untrack-css.sh
                  + '[' -z '' ']'
                  + export DISPLAY=:0
                  + DISPLAY=:0
                  ++ uname -m
                  + arch=armv7l
                  + false=false
                  ++ grep -v '^\s//' config/config.js
                  ++ grep -i serveronly:
                  ++ awk '{print tolower($2)}'
                  ++ tr -d ',"'\'''
                  + serveronly=
                  + serveronly=false
                  ++ pgrep Xorg
                  + xorg=519
                  ++ uname
                  + mac=Linux
                  + '[' false. '!=' false. -o armv7l == armv6l ']'
                  + '[' 519. == . -a Linux '!=' Darwin ']'
                  + electron js/electron.js
                  [15:51:26.871] [LOG]    Starting MagicMirror: v2.10.0
                  [15:51:26.879] [LOG]    Loading config ...
                  [15:51:26.884] [LOG]    Loading module helpers ...
                  [15:51:26.924] [LOG]    Initializing new module helper ...
                  [15:51:26.925] [LOG]    Module helper loaded: updatenotification
                  [15:51:26.926] [LOG]    No helper found for module: clock.
                  [15:51:27.306] [LOG]    Initializing new module helper ...
                  [15:51:27.306] [LOG]    Module helper loaded: MMM-SystemStats
                  [15:51:27.307] [LOG]    No helper found for module: currentweather.
                  [15:51:27.308] [LOG]    No helper found for module: weatherforecast.
                  [15:51:27.308] [LOG]    No helper found for module: random_quotes.
                  [15:51:27.310] [LOG]    Initializing new module helper ...
                  [15:51:27.311] [LOG]    Module helper loaded: MMM-homeassistant-sensors
                  [15:51:27.697] [LOG]    Initializing new module helper ...
                  [15:51:27.698] [LOG]    Module helper loaded: MMM-UKNationalRail
                  [15:51:27.699] [LOG]    No helper found for module: MMM-TFL.
                  [15:51:27.735] [LOG]    Initializing new module helper ...
                  [15:51:27.735] [LOG]    Module helper loaded: newsfeed
                  [15:51:27.736] [LOG]    All module helpers loaded.
                  [15:51:27.737] [LOG]    Starting server on port 8181 ...
                  [15:51:27.744] [INFO]   You're using a full whitelist configuration to allow for all IPs
                  [15:51:27.750] [LOG]    Server started ...
                  [15:51:27.751] [LOG]    Connecting socket for: updatenotification
                  [15:51:27.752] [LOG]    Connecting socket for: MMM-SystemStats
                  [15:51:27.753] [LOG]    Connecting socket for: MMM-homeassistant-sensors
                  [15:51:27.754] [LOG]    Connecting socket for: MMM-UKNationalRail
                  [15:51:27.754] [LOG]    MMM-UKNationalRail helper started ...
                  [15:51:27.755] [LOG]    Connecting socket for: newsfeed
                  [15:51:27.756] [LOG]    Starting module: newsfeed
                  [15:51:27.756] [LOG]    Sockets connected & modules started ...
                  [15:51:27.943] [LOG]    Launching application.
                  [15:51:29.943] [LOG]    Create new news fetcher for url: http://feeds.bbci.co.uk/news/england/rss.xml - Interval: 300000
                  [15:51:29.984] [LOG]    Create new news fetcher for url: http://feeds.skynews.com/feeds/rss/world.xml - Interval: 300000
                  
                  S 1 Reply Last reply Reply Quote 0
                  • S Do not disturb
                    sdetweil @bachoo786
                    last edited by

                    @bachoo786 ok, so the node_helper side is working ok…

                    now open the developers window, ctrl-shift-i, select the console tab, and scroll up to see any errors

                    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
                      bachoo786 @sdetweil
                      last edited by

                      @sdetweil I dont have access to the mirror now as I am not home. The thing that stopped working was when I updated MM I cannot access it anymore remotely. Before updating mm I could as my ports are also forwarded.

                      S 1 Reply Last reply Reply Quote 0
                      • S Do not disturb
                        sdetweil @bachoo786
                        last edited by sdetweil

                        @bachoo786 said in Magic Mirror updated now doesnt work:

                        The thing that stopped working was when I updated MM I cannot access it anymore remotely.

                        i don’t understand that. update app has nothing to do with ssh type access…

                        if u mean MMM-remotecontrol type access, correct, the mirror app is down for some reason… that is what we are debugging

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        B 1 Reply Last reply Reply Quote 0
                        • S Do not disturb
                          sdetweil
                          last edited by

                          from the prior message, the backend is happy (node_helpers, web server)

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

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

                            @sdetweil I mean when I updated my to 2.10 that’s when all the problem started. Before updating my I installed mmm remote control now I don’t know if that module has caused this issue of me not being able to access magic mirror remotely.

                            S 1 Reply Last reply Reply Quote 0
                            • S Do not disturb
                              sdetweil @bachoo786
                              last edited by

                              @bachoo786 ok. we need to see the front end console log thru the dev window

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

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

                                @sdetweil ok I can conclude one thing is that I cannot access my mirror from another device at home. My mirror is working but it’s not accessible from a different device. Something is blocking it or stopping it within the mirror.

                                My config hasn’t changed and its after the update that I cannot access it from another device.

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

                                  @sdetweil any idea?

                                  1 Reply Last reply Reply Quote 0
                                  • S Do not disturb
                                    sdetweil @bachoo786
                                    last edited by

                                    @bachoo786 said in Magic Mirror updated now doesnt work:

                                    I cannot access my mirror from another device at home

                                    i’m not sure I understand what you said…

                                    access is a vague term

                                    ssh is part of access
                                    load mirror on browser is part of access
                                    ftp files is part of access

                                    I THINK what you meant was

                                    the mirror app is running, and u can see it.
                                    but you cannot use a browser on another machine to pull up the the same view…

                                    so, can we see your config.js.

                                    I ‘think’ this is the change to address: “”,
                                    which is supposed to default to “localhost”,
                                    but DID default to 0.0.0.0

                                    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
                                      bachoo786 @sdetweil
                                      last edited by

                                      @sdetweil there you go:

                                      var config = {
                                              address: "", // Address to listen on, can be:
                                                                    // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
                                                                    // - another specific IPv4/6 to listen on a specific interface
                                                                    // - "", "0.0.0.0", "::" to listen on any interface
                                                                    // Default, when address config is left out, is "localhost"
                                              port: 8181,
                                              ipWhitelist: [], // Set [] to allow all IP addresses
                                                                                                     // or add a specific IPv4 of 192.168.1.5 :
                                                                                                     // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"$
                                                                                                     // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format$
                                                                                                     // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/$
                                      
                                              language: "en",
                                              timeFormat: 24,
                                              units: "metric",
                                      //        customCss: 'css/custom.css',
                                      
                                              modules: [
                                      //              {
                                      //                      module: "alert",
                                      //              },
                                      
                                      S 1 Reply Last reply Reply Quote 0
                                      • S Do not disturb
                                        sdetweil @bachoo786
                                        last edited by sdetweil

                                        @bachoo786 said in Magic Mirror updated now doesnt work:

                                        address: “”, < — means ONLY the local system can connect

                                        change to
                                        address: “0.0.0.0”,

                                        means whitelist controls who can connect

                                        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
                                          bachoo786 @sdetweil
                                          last edited by

                                          @sdetweil omg that worked !!! I remember before there was no need to put any thing. How come its changed?

                                          Anyway I have another problem, my home assistant module keeps on turning on and off like rapidly. It never used to do that before.

                                          S 1 Reply Last reply Reply Quote 0
                                          • S Do not disturb
                                            sdetweil @bachoo786
                                            last edited by

                                            @bachoo786 we found a security gap. The doc says, if not specified, it is localhost. But we allowed anyone.

                                            Home assistant on/off what does that mean? Show me the two logs.

                                            I will be away for a few hours

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

                                            B 2 Replies 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