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.

    MMM-ioBroker - it will not show

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    34 Posts 3 Posters 3.2k 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.
    • kusselinK Offline
      kusselin @sdetweil
      last edited by

      @sdetweil Sorry, but I don’t understand what you mean by test run?

      Suddenly the temperature is no longer displayed and I don’t know where the error lies?

      What do I have to do to get it working again?
      thank you thank you thank you

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

        @kusselin my upgrade script is 2 steps

        test, do nothing
        do

        same script, no parms is test
        add apply to the end does

        BUT, it will NOT install upgrades AGAIN if the version matches
        and you loaded the new code

        so you have to use the word
        force
        instead of
        apply

        please translate the page, instead of having trouble with my english

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        kusselinK 1 Reply Last reply Reply Quote 0
        • kusselinK Offline
          kusselin @sdetweil
          last edited by

          @sdetweil
          Hi sdetweil, thanks for your help. Since I am not a Linux expert I do everything with copy&paste…means also the installation of MM everything made by commands…

          Can you please tell me the Linux commands I need to use to get it working again. thank you!
          Or does it have something to do with Iobroker why the temp values are no longer displayed?
          But in iobroker everything works with the Zigbee adapter.

          I have not changed anything else in the config or anywhere else in MM

          Please help me.

          R 1 Reply Last reply Reply Quote 0
          • R Offline
            rkorell @kusselin
            last edited by

            @kusselin said

            Can you please tell me the Linux commands I need to use to get it working again.

            Hi @kusselin , Sam is talking about parameters you can - and should - overhand to his update-script.

            If you call the script - as is - without parameter the script only do a “test-run” and did not change anything.

            The “normal” parameter to DO the upgrade is “apyly” for this the unix command is:

            bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" -apply
            

            Sam is assuming that you already HAVE done some upgrades - for this reason he states “and you loaded the new code” . IF you had already loaded some new versions the above command will “fail” also because you already HAVE the new version.
            So for this case you have to use the “force” parameter.
            The unix command for this is:

            bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" -force 
            

            Good luck!

            Ralf

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

              @rkorell right, but the web page has the copy/paste commands already set up. so you just have to click copy on the correct line, you dont have to type anything

              the ‘problem’ is that you tried the manual update way, which downloaded (git pull) the new MagicMirror version .

              so when my upgrade script checks the version agsinst the github repo they match. oops

              upgrade is so previous because you have a running system. iIdont want to destroy that. so i wont let upgrade run if you are slready at the same level.

              you have to force it

              in this case you take the do copy/paste, which has
              apply
              at the end
              and change the to
              force

              i dont supply a copy/paste for that because i dont want people using it if its not needed,

              iobroker is broken cause MagicMirror is in a weird state

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              R 1 Reply Last reply Reply Quote 0
              • R Offline
                rkorell @sdetweil
                last edited by

                @sdetweil said in MMM-ioBroker - it will not show:

                i dont supply a copy/paste for that because i dont want people using it if its not needed,

                valid point, but @kusselin seems to struggle :-)

                Regards,
                Ralf

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

                  @rkorell i understand.

                  this is exactly why ive added the upgrade script.

                  the base requires system changes. not knowing or understanding can lead to this exact mess

                  but ive made install/upgrade a copy paste so there is no typo problems

                  using force is dangerous,
                  if you use my upgrade script EVERY time, then there will not be problems.

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  R 1 Reply Last reply Reply Quote 0
                  • R Offline
                    rkorell @sdetweil
                    last edited by rkorell

                    @sdetweil :-) For me this is pretty clear and obvious - in addition I do NOT perform every update/upgrade (“never touch a running system”) because I’m checking upfront if a new release brings in anything I potentially need.

                    But the thread opener is at least irritated and asks for commandlines to copy.

                    I assume the thread opener is aware that everything herein is “enter at your own risk”.

                    That you - as the script creator and owner - are even more cautious is appropriate and highly welcome and appreciated!

                    Ralf

                    kusselinK 1 Reply Last reply Reply Quote 0
                    • kusselinK Offline
                      kusselin @rkorell
                      last edited by

                      @rkorell
                      Sorry everyone, I still don’t get it…when I run the upgrade command with -force then node and npm is up to date and I don’t get an error message.

                      Why does Iobroker with the Zigbee adapter suddenly stop displaying anything? Iobroker and the Zigbee adapter are running perfectly.

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

                        @kusselin can you show the output of npm start , or if using pm2

                        pm2 logs --lines=100

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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