Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Update Funktion im Admin geht nicht

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Update Funktion im Admin geht nicht

    This topic has been deleted. Only users with topic management privileges can see it.
    • rantanplan
      rantanplan last edited by

      Hallo

      Könnte jemand so freundlich sein, mir eine Schritt für Schritt Erklärung für die Updates zu geben.

      Aus aus den aktuellen Themen zum Update habe einiges ausprobiert. Alles ohne Erfolg.

      ioBroker auf Win10 64bit

      Mein Host hat immer noch die 0.11.2

      Admin 1.5.3

      Vis 0.10.7

      Web Adapter 1.5.3

      Update vom js-controler ergibt folgende Fehler.

      ! iobroker 2016-09-06 21:06:33.478 info ursa@0.9.4
      ! iobroker 2016-09-06 21:06:33.478 info optional dep failed, continuing
      ! iobroker 2016-09-06 21:06:33.478 info
      ! iobroker 2016-09-06 21:06:33.462 info WARN
      ! iobroker 2016-09-06 21:06:33.462 info
      ! iobroker 2016-09-06 21:06:33.462 info npm
      ! iobroker 2016-09-06 21:06:32.369 info
      ! iobroker 2016-09-06 21:06:32.369 info not ok
      ! iobroker 2016-09-06 21:06:32.369 info
      ! iobroker 2016-09-06 21:06:32.353 info ERR!
      ! iobroker 2016-09-06 21:06:32.353 info
      ! iobroker 2016-09-06 21:06:32.353 info gyp
      ! iobroker 2016-09-06 21:06:32.353 info v3.0.3
      ! iobroker 2016-09-06 21:06:32.353 info node-gyp -v
      ! iobroker 2016-09-06 21:06:32.353 info
      ! iobroker 2016-09-06 21:06:32.337 info ERR!
      ! iobroker 2016-09-06 21:06:32.337 info
      ! iobroker 2016-09-06 21:06:32.337 info gyp
      ! iobroker 2016-09-06 21:06:32.337 info v4.3.1
      ! iobroker 2016-09-06 21:06:32.337 info node -v
      ! iobroker 2016-09-06 21:06:32.337 info
      ! iobroker 2016-09-06 21:06:32.337 info ERR!
      ! iobroker 2016-09-06 21:06:32.337 info
      ! iobroker 2016-09-06 21:06:32.322 info gyp
      ! iobroker 2016-09-06 21:06:32.322 info C:\ioBroker\node_modules\iobroker.js-controller\node_modules\letsencrypt\node_modules\rsa-compat\node_modules\ursa
      ! iobroker 2016-09-06 21:06:32.322 info cwd
      ! iobroker 2016-09-06 21:06:32.322 info
      ! iobroker 2016-09-06 21:06:32.322 info ERR!
      ! iobroker 2016-09-06 21:06:32.306 info
      ! iobroker 2016-09-06 21:06:32.306 info gyp
      ! iobroker 2016-09-06 21:06:32.306 info "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
      ! iobroker 2016-09-06 21:06:32.306 info command
      ! iobroker 2016-09-06 21:06:32.306 info
      ! iobroker 2016-09-06 21:06:32.306 info ERR!
      ! iobroker 2016-09-06 21:06:32.306 info
      ! iobroker 2016-09-06 21:06:32.306 info gyp
      ! iobroker 2016-09-06 21:06:32.290 info Windows_NT 10.0.10586
      ! iobroker 2016-09-06 21:06:32.290 info System
      ! iobroker 2016-09-06 21:06:32.290 info
      ! iobroker 2016-09-06 21:06:32.290 info ERR!
      ! iobroker 2016-09-06 21:06:32.290 info
      ! iobroker 2016-09-06 21:06:32.290 info gyp
      ! iobroker 2016-09-06 21:06:32.290 info at FSReqWrap.oncomplete (fs.js:82:15)
      ! iobroker 2016-09-06 21:06:32.290 info stack
      ! iobroker 2016-09-06 21:06:32.290 info
      ! iobroker 2016-09-06 21:06:32.290 info ERR!
      ! iobroker 2016-09-06 21:06:32.275 info
      ! iobroker 2016-09-06 21:06:32.275 info gyp
      ! iobroker 2016-09-06 21:06:32.275 info at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:71:11
      ! iobroker 2016-09-06 21:06:32.275 info stack
      ! iobroker 2016-09-06 21:06:32.275 info
      ! iobroker 2016-09-06 21:06:32.275 info ERR!
      ! iobroker 2016-09-06 21:06:32.275 info
      ! iobroker 2016-09-06 21:06:32.275 info gyp
      ! iobroker 2016-09-06 21:06:32.275 info at failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:116:14)
      ! iobroker 2016-09-06 21:06:32.275 info stack
      ! iobroker 2016-09-06 21:06:32.259 info
      ! iobroker 2016-09-06 21:06:32.259 info ERR!
      ! iobroker 2016-09-06 21:06:32.259 info
      ! iobroker 2016-09-06 21:06:32.259 info gyp
      ! iobroker 2016-09-06 21:06:32.259 info Error: Can't find Python executable "python", you can set the PYTHON env variable.
      ! iobroker 2016-09-06 21:06:32.259 info stack
      ! iobroker 2016-09-06 21:06:32.259 info
      ! iobroker 2016-09-06 21:06:32.259 info ERR!
      ! iobroker 2016-09-06 21:06:32.259 info
      ! iobroker 2016-09-06 21:06:32.244 info gyp
      ! iobroker 2016-09-06 21:06:32.244 info
      ! iobroker 2016-09-06 21:06:32.244 info configure error
      ! iobroker 2016-09-06 21:06:32.244 info
      ! iobroker 2016-09-06 21:06:32.244 info ERR!
      ! iobroker 2016-09-06 21:06:32.244 info
      ! iobroker 2016-09-06 21:06:32.165 info gyp

      Ich habe keine Idee mehr.

      Grüße

      1 Reply Last reply Reply Quote 0
      • F
        Fitti last edited by

        @Homoran:

        Da war heute morgen noch alles drin.

        Im Reiter Hosts ist nichts zu sehen?

        Dann geh mal auf die Konsole und mach

        cd /opt/iobroker
        iobroker stop
        iobroker update self
        reboot
        
        

        Gruß

        Rainer `

        Mit

        1.) cd /opt/iobroker

        2.) iobroker stop

        3.) iobroker update self

        4.) reboot

        5.) warten 😛

        6.) cd /opt/iobroker

        7.) iobroker stop

        8.) iobroker <u>upgrade</u> self

        9.) iobroker start

        ging es dann. Habe jetzt 0.12.2 drauf. Die anderen Updates kann ich jetzt anwählen.

        1 Reply Last reply Reply Quote 0
        • F
          Fitti last edited by

          Dafür geht admin nach Update nicht mehr…. :evil:

          1 Reply Last reply Reply Quote 0
          • rantanplan
            rantanplan last edited by

            Hi Fitti

            Update und Upgrade habe ich wohl nicht hintereinder gemacht.
            @Fitti:

            Dafür geht admin nach Update nicht mehr…. :evil: `
            Aber ich warte besser noch etwas. 😢

            Grüße

            1 Reply Last reply Reply Quote 0
            • nieIP
              nieIP last edited by

              Hallo

              kleiner Hinweis zum js-controller bzw. zum Admin

              Auf der Karteikarte Hosts ist das Updatesymbol nicht sichtbar (schon seit einigen Versionen)

              Wenn man mit der Maus ein wenig rechts neben der Versionsnummer klickt, wird das Update aber ausgeführt.

              1 Reply Last reply Reply Quote 0
              • rantanplan
                rantanplan last edited by

                Simsalabim ich habe den js-controller 0.12.2 drauf 🙂

                Hat sich über Nacht wohl selbst aktualisiert.

                Nun kann ich auch die anderen Updates anwählen.

                Jetzt erstmal ein Snapshot vom System und dann gehts weiter.

                Grüße

                1 Reply Last reply Reply Quote 0
                • G
                  Griesemer last edited by

                  Hallo zusammen,

                  habe leichtfertig ein admin update in der GUI angestoßen, ohne zuvor den js-controller (von 12.0 auf 12.2) zu updaten. Nach zwei Stunden und mehreren Backup-Versuchen habe ich immerhin wieder den Stand von gestern Abend.

                  Ich bekomme es einfach nicht hin, js-controller zu aktualisieren. Auf der Console bekomme ich immer folgende Fehler:

                  ! root@ioBroker:/opt/iobroker# npm cache clean
                  ! root@ioBroker:/opt/iobroker# npm install iobroker.js-controller –production
                  ! npm ERR! Linux 4.4.17-v7+
                  ! npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.js-controller" "--production"
                  ! npm ERR! node v4.5.0
                  ! npm ERR! npm v2.15.9
                  ! npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller
                  ! npm ERR! code EISGIT
                  ! npm ERR! git Appears to be a git repo or submodule.
                  ! npm ERR! git /opt/iobroker/node_modules/iobroker.js-controller
                  ! npm ERR! git Refusing to remove it. Update manually,
                  ! npm ERR! git or move it out of the way first.
                  ! npm ERR! Please include the following file with any support request:
                  ! npm ERR! /opt/iobroker/npm-debug.log

                  Würde mich freuen, wenn mir jemand einen Tipp geben kann 😄

                  1 Reply Last reply Reply Quote 0
                  • rantanplan
                    rantanplan last edited by

                    Hallo Griesemer

                    Bei mir läuft es jetzt.

                    Meine manuellen Versuche sind vorher auch alle gescheitert.

                    Das "wundersame" Update meines js-controllers kann ich mir nur so erklären.

                    Ich hatte im Admin-Adapter "aktiver Verwahrungsort" auf "online" gestellt. (rechts oben das Zahnrädchen)

                    Grüße

                    1 Reply Last reply Reply Quote 0
                    • G
                      Griesemer last edited by

                      @Griesemer:

                      Hallo zusammen,

                      habe leichtfertig ein admin update in der GUI angestoßen, ohne zuvor den js-controller (von 12.0 auf 12.2) zu updaten. Nach zwei Stunden und mehreren Backup-Versuchen habe ich immerhin wieder den Stand von gestern Abend.

                      Ich bekomme es einfach nicht hin, js-controller zu aktualisieren. Auf der Console bekomme ich immer folgende Fehler:

                      ! root@ioBroker:/opt/iobroker# npm cache clean
                      ! root@ioBroker:/opt/iobroker# npm install iobroker.js-controller –production
                      ! npm ERR! Linux 4.4.17-v7+
                      ! npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.js-controller" "--production"
                      ! npm ERR! node v4.5.0
                      ! npm ERR! npm v2.15.9
                      ! npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller
                      ! npm ERR! code EISGIT
                      ! npm ERR! git Appears to be a git repo or submodule.
                      ! npm ERR! git /opt/iobroker/node_modules/iobroker.js-controller
                      ! npm ERR! git Refusing to remove it. Update manually,
                      ! npm ERR! git or move it out of the way first.
                      ! npm ERR! Please include the following file with any support request:
                      ! npm ERR! /opt/iobroker/npm-debug.log

                      Würde mich freuen, wenn mir jemand einen Tipp geben kann 😄 `
                      Habe es hinbekommen. Dazu habe ich das Verzeichnis

                      /opt/iobroker/node_modules/iobroker.js-controller

                      umbenannt und danach mit

                      npm install iobroker.js-controller –production

                      das update erfolgreich durchgeführt.

                      1 Reply Last reply Reply Quote 0
                      • F
                        Fitti last edited by

                        Hat jemand noch eine Idee, wie ich den admin zum laufen bekommen kann? Läuft seit vorgestern nicht mehr. Vis läuft aber.

                        habe mit

                        iobroker update admin

                        iobroker upgrade admin

                        npm install iobroker.admin

                        versucht. Vorher stop und danach start, reboot - dad dingens will nicht. Sehe ab und wann das Zahnrad. Auch werden 1000ende von Zeilen im Debugger angezeigt.

                        Irgendwann kommt der Fehler:

                        TypeError: this.main is undefined                           adminEnums.js:302
                        Enums/this.init()                                           adminEnums.js:3
                        
                        1 Reply Last reply Reply Quote 0
                        • Bluefox
                          Bluefox last edited by

                          Auch so was nicht hilft?

                          cd /opt/iobroker
                          npm install ioBroker/ioBroker.admin --production
                          iobroker restart admin
                          
                          
                          1 Reply Last reply Reply Quote 0
                          • F
                            Fitti last edited by

                            Dann kommt das hier:

                             /opt/iobroker>npm install iobroker/iobroker.admin --production
                            npm WARN addRemoteGit Error: not found: git
                            npm WARN addRemoteGit     at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:14:12)
                            npm WARN addRemoteGit     at F (/usr/lib/node_modules/npm/node_modules/which/which.js:69:19)
                            npm WARN addRemoteGit     at E (/usr/lib/node_modules/npm/node_modules/which/which.js:81:29)
                            npm WARN addRemoteGit     at /usr/lib/node_modules/npm/node_modules/which/which.js:90:16
                            npm WARN addRemoteGit     at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
                            npm WARN addRemoteGit     at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
                            npm WARN addRemoteGit     at FSReqWrap.oncomplete (fs.js:82:15)
                            npm WARN addRemoteGit  iobroker/iobroker.admin resetting remote /root/.npm/_git-remotes/git-github-com-iobroker-iobroker-admin-git-6dd618fc because of error: { [Error: not found: git] code: 'ENOGIT' }
                            npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror git://github.com/iobroker/iobroker.admin.git /root/.npm/_git-remotes/git-github-com-iobroker-iobroker-admin-git-6dd618fc: undefined
                            npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror git://github.com/iobroker/iobroker.admin.git /root/.npm/_git-remotes/git-github-com-iobroker-iobroker-admin-git-6dd618fc: undefined
                            npm WARN addRemoteGit Error: not found: git
                            npm WARN addRemoteGit     at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:14:12)
                            npm WARN addRemoteGit     at F (/usr/lib/node_modules/npm/node_modules/which/which.js:69:19)
                            npm WARN addRemoteGit     at E (/usr/lib/node_modules/npm/node_modules/which/which.js:81:29)
                            npm WARN addRemoteGit     at /usr/lib/node_modules/npm/node_modules/which/which.js:90:16
                            npm WARN addRemoteGit     at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
                            npm WARN addRemoteGit     at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
                            npm WARN addRemoteGit     at FSReqWrap.oncomplete (fs.js:82:15)
                            npm WARN addRemoteGit  iobroker/iobroker.admin resetting remote /root/.npm/_git-remotes/https-github-com-iobroker-iobroker-admin-git-acd05b01 because of error: { [Error: not found: git] code: 'ENOGIT' }
                            npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/iobroker/iobroker.admin.git /root/.npm/_git-remotes/https-github-com-iobroker-iobroker-admin-git-acd05b01: undefined
                            npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/iobroker/iobroker.admin.git /root/.npm/_git-remotes/https-github-com-iobroker-iobroker-admin-git-acd05b01: undefined
                            npm WARN addRemoteGit Error: not found: git
                            npm WARN addRemoteGit     at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:14:12)
                            npm WARN addRemoteGit     at F (/usr/lib/node_modules/npm/node_modules/which/which.js:69:19)
                            npm WARN addRemoteGit     at E (/usr/lib/node_modules/npm/node_modules/which/which.js:81:29)
                            npm WARN addRemoteGit     at /usr/lib/node_modules/npm/node_modules/which/which.js:90:16
                            npm WARN addRemoteGit     at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
                            npm WARN addRemoteGit     at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
                            npm WARN addRemoteGit     at FSReqWrap.oncomplete (fs.js:82:15)
                            npm WARN addRemoteGit  iobroker/iobroker.admin resetting remote /root/.npm/_git-remotes/git-github-com-iobroker-iobroker-admin-git-5684d19d because of error: { [Error: not found: git] code: 'ENOGIT' }
                            npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror git@github.com:iobroker/iobroker.admin.git /root/.npm/_git-remotes/git-github-com-iobroker-iobroker-admin-git-5684d19d: undefined
                            npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror git@github.com:iobroker/iobroker.admin.git /root/.npm/_git-remotes/git-github-com-iobroker-iobroker-admin-git-5684d19d: undefined
                            npm ERR! Linux 3.4.39
                            npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker/iobroker.admin" "--production"
                            npm ERR! node v4.4.7
                            npm ERR! npm  v2.15.8
                            npm ERR! code ENOGIT
                            
                            npm ERR! not found: git
                            npm ERR!
                            npm ERR! Failed using git.
                            npm ERR! This is most likely not a problem with npm itself.
                            npm ERR! Please check if you have git installed and in your PATH.
                            
                            npm ERR! Please include the following file with any support request:
                            npm ERR!     /opt/iobroker/npm-debug.log
                            root@galcubebroker:/opt/iobroker# npm install ioBroker/ioBroker.admin --production
                            npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror git@github.com:iobroker/ioBroker.admin.git /root/.npm/_git-remotes/git-github-com-iobroker-ioBroker-admin-git-1d2186b9: undefined
                            npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror git@github.com:iobroker/ioBroker.admin.git /root/.npm/_git-remotes/git-github-com-iobroker-ioBroker-admin-git-1d2186b9: undefined
                            npm ERR! Linux 3.4.39
                            npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "ioBroker/ioBroker.admin" "--production"
                            npm ERR! node v4.4.7
                            npm ERR! npm  v2.15.8
                            npm ERR! code ENOGIT
                            
                            npm ERR! not found: git
                            npm ERR!
                            npm ERR! Failed using git.
                            npm ERR! This is most likely not a problem with npm itself.
                            npm ERR! Please check if you have git installed and in your PATH.
                            
                            npm ERR! Please include the following file with any support request:
                            npm ERR!     /opt/iobroker/npm-debug.log
                            
                            
                            1 Reply Last reply Reply Quote 0
                            • Bluefox
                              Bluefox last edited by

                              Na ja. Ok. Du hast kein git. Dann aber:

                              cd /opt/iobroker
                              npm install https://github.com/ioBroker/ioBroker.admin/tarball/master --production
                              iobroker restart admin
                              
                              
                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post

                              Support us

                              ioBroker
                              Community Adapters
                              Donate
                              FAQ Cloud / IOT
                              HowTo: Node.js-Update
                              HowTo: Backup/Restore
                              Downloads
                              BLOG

                              766
                              Online

                              31.9k
                              Users

                              80.3k
                              Topics

                              1.3m
                              Posts

                              12
                              28
                              4206
                              Loading More Posts
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes
                              Reply
                              • Reply as topic
                              Log in to reply
                              Community
                              Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                              The ioBroker Community 2014-2023
                              logo