Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Admin-Update per GUI schlägt fehl und führt zu Crash

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    Admin-Update per GUI schlägt fehl und führt zu Crash

    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      peer69 Forum Testing last edited by peer69

      Seit einiger Zeit kann ich den Admin-Adapter nicht mehr über die GUI updaten, ich erhalte folgende Meldung:

      SyntaxError: Unexpected token '<', "<!doctype "... is not valid JSON
      

      Anschließend crasht offenbar der Controller und alle Adapter-Instanzen starten neu.
      Workaround ist das Update über das CLI, das klappt problemlos, ich klicke bei jedem zweiten Update des Admin-Adapters aber versehentlich in der GUI auf Update und starte damit alle Instanzen neu.
      Hat jemand eine Ahnung woran das liegt? Die Suche hat nicht viel ergeben, so weit verbreitet scheint das also nicht zu sein.

      Edit: Habs natürlich im falschen Forum gepostet, falls das jemand in "Error/Bug" verschieben könnte, Danke! 🙂

      ? Homoran 2 Replies Last reply Reply Quote 0
      • ?
        A Former User @peer69 last edited by

        @peer69 sagte in Admin-Update per GUI schlägt fehl und führt zu Crash:

        ich erhalte folgende Meldung:

        Moin,

        das ist ein bisschen wenig an Information, auch schneidet man aus Logs nichts aus, sondern zitiert ganze Zeilen und auch Zeilen die davor oder danach kommen!

        Worauf läuft das ganz, was ist da in welcher Version installiert.

        Zeig doch mal den langen Output von

        # iob diag
        

        VG
        Bernd

        P.S.: hier mal was zum Lesen -> https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge

        P 1 Reply Last reply Reply Quote 0
        • T
          ticaki Developer last edited by ticaki

          @dp20eic

          Hatte das Problem auch mit dem letzten Update. Sowohl auf dem dev-Server als auch mit dem produktiven Iobroker. Ohne den Thread hätte ich aber noch 2 Versionen gewartet bevor ich um Rat gefragt hätte, meist hat sich nur was verschluckt.

          ? 1 Reply Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators @peer69 last edited by

            @peer69 sagte in Admin-Update per GUI schlägt fehl und führt zu Crash:

            Edit: Habs natürlich im falschen Forum gepostet, falls das jemand in "Error/Bug" verschieben könnte, Danke!

            nöö!
            ist hier richtig.

            Erst wenn es reproduzierbar bestätigt ist, dass es ein bug von iobroker ist, gehört es dort rein.

            1 Reply Last reply Reply Quote 0
            • ?
              A Former User @ticaki last edited by

              @ticaki sagte in Admin-Update per GUI schlägt fehl und führt zu Crash:

              Hatte das Problem auch mit dem letzten Update.

              Moin,

              dann sollte man aber auch die Informationen liefern, um welche Version es geht, also von - nach.
              So wird das, wie in so vielen Thread, ein Frage - Antwort Spiel 🙂

              VG
              Bernd

              T 1 Reply Last reply Reply Quote 0
              • T
                ticaki Developer @Guest last edited by

                @dp20eic
                habs auf dem Handy geschrieben, da hatte ich die Daten nicht 🙂

                Admin v6.10.5 auf v6.10.7

                Auf v6.10.8 lief wieder ohne Probleme.

                1 Reply Last reply Reply Quote 0
                • P
                  peer69 Forum Testing @Guest last edited by peer69

                  @dp20eic

                  Das war genau das, was mir im Update-Fenster angezeigt wurde. Insofern gibt mir das Update jedenfalls keine weiteren Infos.

                  Output von iob diag:

                  Copy text starting here:
                  ======================= SUMMARY =======================
                                          v.2023-10-10
                  
                  
                     Static hostname: iob.dummyhost.com
                           Icon name: computer-vm
                             Chassis: vm
                      Virtualization: kvm
                    Operating System: Ubuntu 20.04.6 LTS
                              Kernel: Linux 5.4.0-164-generic
                        Architecture: x86-64
                  
                  Installation:           kvm
                  Kernel:                 x86_64
                  Userland:               amd64
                  Timezone:               Europe/Berlin (CEST, +0200)
                  User-ID:                1001
                  X-Server:               false
                  Boot Target:            graphical.target
                  
                  Pending OS-Updates:     0
                  Pending iob updates:    1
                  
                  Nodejs-Installation:    /usr/bin/nodejs         v18.17.1
                                          /usr/bin/node           v18.17.1
                                          /usr/bin/npm            9.6.7
                                          /usr/bin/npx            9.6.7
                                          /usr/bin/corepack       0.18.0
                  
                  Recommended versions are nodejs 18.18.1 and npm 9.8.1
                  Your nodejs installation is correct
                  
                  MEMORY:
                                total        used        free      shared  buff/cache   available
                  Mem:           5.9G        3.6G        585M        0.0K        1.7G        2.0G
                  Swap:          3.9G         26M        3.9G
                  Total:         9.9G        3.6G        4.5G
                  
                  Active iob-Instances:   43
                  Active repo(s): beta
                  
                  ioBroker Core:          js-controller           5.0.13
                                          admin                   6.10.8
                  
                  ioBroker Status:        iobroker is running on this host.
                  
                  
                  Objects type: jsonl
                  States  type: redis
                  
                  Status admin and web instance:
                  + system.adapter.admin.0                  : admin                 : iob.dummyhost.com                       -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
                    system.adapter.admin.1                  : admin                 : iob.dummyhost.com                       - disabled, port: 8083, bind: 0.0.0.0, run as: admin
                  + system.adapter.web.0                    : web                   : iob.dummyhost.com                       -  enabled, port: 8082, bind: 0.0.0.0 (SSL), run as: admin
                  
                  Objects:                15845
                  States:                 15343
                  
                  Size of iob-Database:
                  
                  68M     /opt/iobroker/iobroker-data/objects.jsonl
                  2.1M    /opt/iobroker/iobroker-data/states.jsonl
                  

                  Das iobroker log zeigt mir beim Update aus der GUI folgendes:

                  
                  2023-10-13 16:48:10.354  - ESC[32minfoESC[39m: host.iob.dummyhost.com "system.adapter.admin.0" disabled
                  2023-10-13 16:48:10.354  - ESC[32minfoESC[39m: host.iob.dummyhost.com stopInstance system.adapter.admin.0 (force=false, process=true)
                  2023-10-13 16:48:10.357  - ESC[32minfoESC[39m: host.iob.dummyhost.com stopInstance system.adapter.admin.0 send kill signal
                  2023-10-13 16:48:10.362  - ESC[32minfoESC[39m: admin.0 (286822) Got terminate signal TERMINATE_YOURSELF
                  2023-10-13 16:48:10.363  - ESC[32minfoESC[39m: admin.0 (286822) terminating https server on port 8081
                  2023-10-13 16:48:10.364  - ESC[32minfoESC[39m: admin.0 (286822) terminating
                  2023-10-13 16:48:10.364  - ESC[32minfoESC[39m: admin.0 (286822) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                  2023-10-13 16:48:10.865  - ESC[32minfoESC[39m: admin.0 (286822) terminating
                  2023-10-13 16:48:10.917  - ESC[32minfoESC[39m: host.iob.dummyhost.com instance system.adapter.admin.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                  2023-10-13 16:48:13.413  - ESC[31merrorESC[39m: host.iob.dummyhost.com uncaught exception: error:0480006C:PEM routines::no start line
                  2023-10-13 16:48:13.413  - ESC[31merrorESC[39m: host.iob.dummyhost.com Error: error:0480006C:PEM routines::no start line
                      at node:internal/tls/secure-context:70:13
                      at Array.forEach (<anonymous>)
                      at setCerts (node:internal/tls/secure-context:68:3)
                      at configSecureContext (node:internal/tls/secure-context:157:5)
                      at Object.createSecureContext (node:_tls_common:117:3)
                      at Server.setSecureContext (node:_tls_wrap:1362:27)
                      at Server (node:_tls_wrap:1226:8)
                      at new Server (node:https:74:3)
                      at Object.createServer (node:https:112:10)
                      at AdapterUpgradeManager.startSecureWebServer (/opt/iobroker/node_modules/iobroker.js-controller/src/lib/adapterUpgradeManager.ts:309:29)
                  2023-10-13 16:48:13.415  - ESC[32minfoESC[39m: host.iob.dummyhost.com stopInstance system.adapter.admin.0 (force=false, process=false)
                  2023-10-13 16:48:13.415  - ESC[32minfoESC[39m: host.iob.dummyhost.com stopInstance system.adapter.admin.1 (force=false, process=false)
                  2023-10-13 16:48:13.415  - ESC[32minfoESC[39m: host.iob.dummyhost.com stopInstance system.adapter.email.0 (force=false, process=true)
                  2023-10-13 16:48:13.415  - ESC[32minfoESC[39m: host.iob.dummyhost.com stopInstance system.adapter.javascript.0 (force=false, process=true)
                  2023-10-13 16:48:13.416  - ESC[32minfoESC[39m: host.iob.dummyhost.com stopInstance system.adapter.pushover.0 (force=false, process=true)
                  
                  

                  Ein Update über das CLI funktioniert. Sieht so aus, als würde er sich an Zertifikaten stören. Ich nutze tatsächlich von einer internen CA ausgestellte Zertifikate, die CA ist auf dem Host aber hinterlegt und der Adapter verwendet sie auch wie erwartet für die Gui.

                  ? 1 Reply Last reply Reply Quote 0
                  • ?
                    A Former User @peer69 last edited by

                    @peer69 sagte in Admin-Update per GUI schlägt fehl und führt zu Crash:

                    Moin,

                    zu aller erst, anscheinend, gab es da tatsächlich ein Problem mit dem Admin und scheint mit der Version 6.10.8 behoben zu sein, siehe Post von @ticaki.

                    Output von iob diag:

                    Das ist leider nur die Summery und nicht der lange Output. Sollte aber jetzt ja so weit geklärt sein.

                    VG
                    Bernd

                    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

                    896
                    Online

                    31.6k
                    Users

                    79.5k
                    Topics

                    1.3m
                    Posts

                    4
                    8
                    303
                    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