Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Kein Update von Adapter möglich

    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

    UNSOLVED Kein Update von Adapter möglich

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

      Danke! Damit konnte ich alles stoppen und das "iobroker fix" lief durch.

      Seitdem ich vorhin aber die node.js Version angepasst habe startet die GUI gar nicht mehr 😞

      Glasfaser 1 Reply Last reply Reply Quote 0
      • Glasfaser
        Glasfaser @igloh last edited by Glasfaser

        @igloh sagte in Kein Update von Adapter möglich:

        startet die GUI gar nicht mehr

        Das heißt ... ?
        hast du ein Log davon

        1 Reply Last reply Reply Quote 0
        • I
          igloh last edited by

          Erst mal nur das Protokoll vom Docker und das sieht auf den ersten Bick fehlerfrei aus.

          Die Webseiten vom Admin oder Vis lassen sich halt nicht öffnet.

          2020-05-27 18:49:50
          stdout
          host.buanet-iobroker1 check instance "system.adapter.systeminfo.0" for host "buanet-iobroker1" 
          2020-05-27 18:49:50
          stdout
          host.buanet-iobroker1 check instance "system.adapter.synology.0" for host "buanet-iobroker1" 
          2020-05-27 18:49:50
          stdout
          host.buanet-iobroker1 check instance "system.adapter.fritzdect.0" for host "buanet-iobroker1" 
          2020-05-27 18:49:50
          stdout
          host.buanet-iobroker1 check instance "system.adapter.vis-justgage.0" for host "buanet-iobroker1" 
          2020-05-27 18:49:50
          stdout
          host.buanet-iobroker1 check instance "system.adapter.firetv.0" for host "buanet-iobroker1" 
          2020-05-27 18:49:50
          stdout
          host.buanet-iobroker1 check instance "system.adapter.javascript.0" for host "buanet-iobroker1" 
          2020-05-27 18:49:50
          stdout
          host.buanet-iobroker1 check instance "system.adapter.alexa2.0" for host "buanet-iobroker1" 
          2020-05-27 18:49:50
          stdout
          host.buanet-iobroker1 check instance "system.adapter.tr-064.0" for host "buanet-iobroker1" 
          2020-05-27 18:49:50
          stdout
          host.buanet-iobroker1 check instance "system.adapter.hm-rpc.2" for host "buanet-iobroker1" 
          2020-05-27 18:49:50
          stdout
          host.buanet-iobroker1 check instance "system.adapter.ical.0" for host "buanet-iobroker1" 
          2020-05-27 18:49:50
          stdout
          host.buanet-iobroker1 check instance "system.adapter.fritzbox.0" for host "buanet-iobroker1" 
          2020-05-27 18:49:50
          stdout
          host.buanet-iobroker1 check instance "system.adapter.daswetter.0" for host "buanet-iobroker1" 
          2020-05-27 18:49:50
          stdout
          host.buanet-iobroker1 check instance "system.adapter.terminal.0" for host "buanet-iobroker1" 
          2020-05-27 18:49:50
          stdout
          host.buanet-iobroker1 check instance "system.adapter.vis-timeandweather.0" for host "buanet-iobroker1" 
          2020-05-27 18:49:50
          stdout
          host.buanet-iobroker1 check instance "system.adapter.vis.0" for host "buanet-iobroker1" 
          2020-05-27 18:49:50
          stdout
          host.buanet-iobroker1 check instance "system.adapter.web.0" for host "buanet-iobroker1" 
          2020-05-27 18:49:50
          stdout
          host.buanet-iobroker1 check instance "system.adapter.hm-rpc.1" for host "buanet-iobroker1" 
          2020-05-27 18:49:50
          stdout
          host.buanet-iobroker1 check instance "system.adapter.hm-rega.0" for host "buanet-iobroker1" 
          2020-05-27 18:49:50
          stdout
          host.buanet-iobroker1 check instance "system.adapter.hm-rpc.0" for host "buanet-iobroker1" 
          2020-05-27 18:49:50
          stdout
          host.buanet-iobroker1 check instance "system.adapter.hue.0" for host "buanet-iobroker1" 
          2020-05-27 18:49:50
          stdout
          host.buanet-iobroker1 check instance "system.adapter.info.0" for host "buanet-iobroker1" 
          2020-05-27 18:49:50
          stdout
          host.buanet-iobroker1 check instance "system.adapter.discovery.0" for host "buanet-iobroker1" 
          2020-05-27 18:49:50
          stdout
          host.buanet-iobroker1 check instance "system.adapter.admin.0" for host "buanet-iobroker1" 
          2020-05-27 18:49:49
          stdout
            
          2020-05-27 18:49:49
          stdout
          Starting ioBroker... 
          2020-05-27 18:49:49
          stdout
            
          2020-05-27 18:49:49
          stdout
          ------------------------------------------------------------ 
          2020-05-27 18:49:49
          stdout
          -----          Step 5 of 5: ioBroker startup           ----- 
          2020-05-27 18:49:49
          stdout
          ------------------------------------------------------------ 
          2020-05-27 18:49:44
          stdout
            
          2020-05-27 18:49:44
          stdout
          For more information take a look at readme.md on Github! 
          2020-05-27 18:49:44
          stdout
          Some adapters have special requirements/ settings which can be activated by the use of environment variables. 
          2020-05-27 18:49:44
          stdout
            
          2020-05-27 18:49:44
          stdout
          ------------------------------------------------------------ 
          2020-05-27 18:49:44
          stdout
          -----      Step 4 of 5: Applying special settings      ----- 
          2020-05-27 18:49:44
          stdout
          ------------------------------------------------------------ 
          2020-05-27 18:49:40
          stdout
            
          2020-05-27 18:49:40
          stdout
          Done. 
          2020-05-27 18:49:40
          stdout
          Fixing "sudo-bug" by replacing sudo in iobroker with gosu... 
          2020-05-27 18:49:40
          stdout
            
          2020-05-27 18:49:40
          stdout
          Done. 
          2020-05-27 18:49:40
          stdout
          (Re)Setting folder permissions (This might take a while! Please be patient!)... 
          2020-05-27 18:49:40
          stdout
            
          2020-05-27 18:49:40
          stdout
          ------------------------------------------------------------ 
          2020-05-27 18:49:40
          stdout
          -----   Step 3 of 5: Checking ioBroker installation    ----- 
          2020-05-27 18:49:40
          stdout
          ------------------------------------------------------------ 
          2020-05-27 18:49:40
          stdout
            
          2020-05-27 18:49:40
          stdout
          Existing installation of ioBroker detected in /opt/iobroker. 
          2020-05-27 18:49:39
          stdout
            
          2020-05-27 18:49:39
          stdout
          ------------------------------------------------------------ 
          2020-05-27 18:49:39
          stdout
          -----   Step 2 of 5: Detecting ioBroker installation   ----- 
          2020-05-27 18:49:39
          stdout
          ------------------------------------------------------------ 
          2020-05-27 18:49:39
          stdout
            
          2020-05-27 18:49:39
          stdout
          Done. 
          2020-05-27 18:49:39
          stdout
          E: Paket vi kann nicht gefunden werden. 
          2020-05-27 18:49:34
          stdout
          The following packages will be installed: vi... 
          2020-05-27 18:49:34
          stdout
          Installing additional packages is set by ENV. 
          2020-05-27 18:49:34
          stdout
            
          2020-05-27 18:49:34
          stdout
          ------------------------------------------------------------ 
          2020-05-27 18:49:34
          stdout
          -----         Step 1 of 5: Preparing container         ----- 
          2020-05-27 18:49:34
          stdout
          ------------------------------------------------------------ 
          2020-05-27 18:49:34
          stdout
            
          2020-05-27 18:49:34
          stdout
          ------------------------------------------------------------ 
          2020-05-27 18:49:34
          stdout
          -----               SETUID:    1000                    ----- 
          2020-05-27 18:49:34
          stdout
          -----               SETGID:    1000                    ----- 
          2020-05-27 18:49:34
          stdout
          -----               PACKAGES:  vi                      ----- 
          2020-05-27 18:49:34
          stdout
          -----                       ENV                        ----- 
          2020-05-27 18:49:34
          stdout
          -----                                                  ----- 
          2020-05-27 18:49:34
          stdout
          -----               npm:       6.14.4                  ----- 
          2020-05-27 18:49:33
          stdout
          -----               node:      v12.16.3                ----- 
          2020-05-27 18:49:33
          stdout
          -----               image:     v4.2.0                  ----- 
          2020-05-27 18:49:33
          stdout
          -----                     Versions                     ----- 
          2020-05-27 18:49:33
          stdout
          -----                                                  ----- 
          2020-05-27 18:49:33
          stdout
          -----               arch:      x86_64                  ----- 
          2020-05-27 18:49:33
          stdout
          -----                      System                      ----- 
          2020-05-27 18:49:33
          stdout
          -----                                                  ----- 
          2020-05-27 18:49:33
          stdout
          -----              Debugging information               ----- 
          2020-05-27 18:49:33
          stdout
          ------------------------------------------------------------ 
          2020-05-27 18:49:33
          stdout
            
          2020-05-27 18:49:33
          stdout
          ------------------------------------------------------------ 
          2020-05-27 18:49:33
          stdout
          -----                Please be patient!                ----- 
          2020-05-27 18:49:33
          stdout
          -----          Startupscript is now running.           ----- 
          2020-05-27 18:49:33
          stdout
          -----       Welcome to your ioBroker-container!        ----- 
          2020-05-27 18:49:33
          stdout
          ------------------------------------------------------------ 
          2020-05-27 18:49:33
          stdout
            
          2020-05-27 18:49:33
          stdout
          ------------------------------------------------------------ 
          2020-05-27 18:49:33
          stdout
          ---------------     2020-05-27 20:49:33      --------------- 
          2020-05-27 18:49:33
          stdout
          ------------------------------------------------------------ 
          2020-05-27 18:49:33
          stdout
            
          2020-05-27 18:43:03
          stdout
          
          2020-05-27 18:38:26
          stdout
          
          Glasfaser 1 Reply Last reply Reply Quote 0
          • Glasfaser
            Glasfaser @igloh last edited by

            @igloh

            Zeige mal

            iobroker status
            iobroker list instances
            
            1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @igloh last edited by Thomas Braun

              @igloh Da ist node aber nicht sauber installiert, wenn du da mit symlinks arbeiten musst.

              apt policy nodejs
              which nodejs && which node && which npm
              
              1 Reply Last reply Reply Quote 0
              • I
                igloh last edited by

                Danke das hat geholfen!

                Genau die Module die ich vorhin von Hand gestoppt habe, waren immer noch gestoppt.
                Auch Admin und Web.
                Dachte sie kommen zumindest bei einen Neustart wieder mit hoch, das ist aber anscheinend nicht so.

                OK.
                Nun läuft wieder alles, die Node Version stimmt, das ursprüngliche Problem besteht aber leider immer noch.

                Beim Versuch des Updates kommt wieder der genannte Fehler.

                Für heute ist aber erst mal Schluss, schon mal vielen Dank für die lehrreichen Tipps!

                Glasfaser 1 Reply Last reply Reply Quote 0
                • Glasfaser
                  Glasfaser @igloh last edited by

                  @igloh

                  siehe oben von @Thomas-Braun

                  1 Reply Last reply Reply Quote 0
                  • I
                    igloh last edited by

                    Könnte gut sein, da steht wieder die 10er Version...

                    root@buanet-iobroker1:/opt/iobroker# apt policy nodejs                                                                         
                    nodejs:                                                                                                                        
                      Installiert:           10.20.1-1nodesource1                                                                                  
                      Installationskandidat: 10.20.1-1nodesource1                                                                                  
                      Versionstabelle:                                                                                                             
                     *** 10.20.1-1nodesource1 100                                                                                                  
                            100 /var/lib/dpkg/status                                                                                               
                    root@buanet-iobroker1:/opt/iobroker# which nodejs && which node && which npm                                                   
                    /usr/bin/nodejs                                                                                                                
                    /usr/local/bin/node                                                                                                            
                    /usr/local/bin/npm                                                                                                             
                    
                    
                    Thomas Braun 2 Replies Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @igloh last edited by

                      @igloh Siehste...

                      1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @igloh last edited by

                        @igloh

                        rm /usr/local/bin/node
                        rm /usr/local/bin/npm
                        curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
                        apt update
                        apt dist-upgrade
                        apt install nodejs --reinstall
                        

                        Das sollte ein node 12 richtig auf das System spülen.

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

                          ich würde es erstmal so machen wie Thomas Braun schon geschrieben hat die node sauber neu zu Installieren.

                          dann nochmals prüfen.

                          node -v
                          nodejs -v
                          

                          und die pfade

                          which node
                          /usr/bin/node
                          
                          which nodejs
                          /usr/bin/nodejs
                          

                          lg

                          1 Reply Last reply Reply Quote 0
                          • I
                            igloh last edited by

                            Danke, habe node nun richtig installiert:

                            oot@buanet-iobroker1:/opt/iobroker# node -v                                                                                   
                            v12.17.0                                                                                                                       
                            root@buanet-iobroker1:/opt/iobroker# nodejs -v                                                                                 
                            v12.17.0                                                                                                                       
                                                                    
                            root@buanet-iobroker1:/opt/iobroker# apt policy nodejs                                                                         
                            nodejs:                                                                                                                        
                              Installiert:           12.17.0-1nodesource1                                                                                  
                              Installationskandidat: 12.17.0-1nodesource1                                                                                  
                              Versionstabelle:                                                                                                             
                             *** 12.17.0-1nodesource1 500                                                                                                  
                                    500 https://deb.nodesource.com/node_12.x buster/main amd64 Packages                                                    
                                    100 /var/lib/dpkg/status                                                                                               
                                 10.19.0~dfsg1-1 500                                                                                                       
                                    500 http://deb.debian.org/debian buster/main amd64 Packages                                                            
                                    500 http://security.debian.org/debian-security buster/updates/main amd64 Packages 
                            

                            Aber dem eigentlichen Problem hat das leider nicht geholfen.
                            Ich kann weder die 4 Adatper noch den Controller (update self) upgraden.
                            Es kommt weiterhin die Fehlermeldung mit dem "3.12.1","istanbu"

                            code_text$ ./iobroker upgrade socketio
                            Update socketio from @3.0.6 to @3.0.7
                            NPM version: 6.14.4
                            npm install iobroker.socketio@3.0.7 --loglevel error --prefix "/opt/iobroker" (System call)
                            npm ERR! Unexpected end of JSON input while parsing near '..."^3.12.1","istanbul":'
                            npm ERR! A complete log of this run can be found in:npm ERR!     /opt/iobroker/.npm/_logs/2020-05-28T06_11_16_609Z-debug.log
                            upload [3] socketio.admin /opt/iobroker/node_modules/iobroker.socketio/admin/words.js words.js application/javascript
                            upload [2] socketio.admin /opt/iobroker/node_modules/iobroker.socketio/admin/socketio.png socketio.png image/png
                            upload [1] socketio.admin /opt/iobroker/node_modules/iobroker.socketio/admin/index_m.html index_m.html text/html
                            upload [0] socketio.admin /opt/iobroker/node_modules/iobroker.socketio/admin/index.html index.html text/html
                            Adapter "socketio" updated
                            process exited with code 0
                            
                            1 Reply Last reply Reply Quote 0
                            • I
                              igloh last edited by

                              Problem gelöst!

                              Ein "npm cache clean --force" hat geholfen, danach konnte ich alle Adapter problemlos updaten.

                              Das war ja einfach..... 😉

                              Was ist noch gemerkt habe ist das zusätzlich zum "iobroker stop" das "pkill io" nicht reicht, die Module laufen trotzdem weiter. Ich habe dann letztendlich rausgefunden das man mit einen "iobroker stop all" wirklich alles stoppen kann. Man muss sie am Ende aber trotzdem wieder mit "iobroker start all" manuell starten, sonst kann man lange warten.

                              Ich kam da noch drauf weil ich den Adapter auf V3 hochziehen wollte.
                              Aber egal wo ist gucke oder was ich mache (z.B. iobroker upgrade self), er sagt das der aktuelle installiert ist.
                              Auch nach der manuellen Installation im o.g. Link wird noch mal die 2.9.9 installiert.

                              Falls mir noch einer sagen kann wie ich den V3 installieren kann wäre ich dankbar.

                              Ansonsten läuft jetzt alles bei mir.
                              Vielen Dank für die tolle Hilfe, ich habe zumindest auch viel dabei gelernt.

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post

                              Support us

                              ioBroker
                              Community Adapters
                              Donate

                              448
                              Online

                              31.9k
                              Users

                              80.1k
                              Topics

                              1.3m
                              Posts

                              adapter update
                              4
                              18
                              1916
                              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