Skip to content
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Logo
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Admin-Update per GUI schlägt fehl und führt zu Crash

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.1k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.8k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.0k

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

Scheduled Pinned Locked Moved ioBroker Allgemein
8 Posts 4 Posters 521 Views 2 Watching
  • 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.
  • P Offline
    P Offline
    peer69
    Forum Testing
    wrote on last edited by peer69
    #1

    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! 🙂

    ? HomoranH 2 Replies Last reply
    0
    • P 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! 🙂

      ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      @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
      0
      • T Do not disturb
        T Do not disturb
        ticaki
        wrote on last edited by ticaki
        #3

        @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.

        Weather-Warnings Espresense NSPanel-Lovelace-ui Tagesschau

        Spenden

        ? 1 Reply Last reply
        0
        • P 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! 🙂

          HomoranH Do not disturb
          HomoranH Do not disturb
          Homoran
          Global Moderator Administrators
          wrote on last edited by
          #4

          @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.

          kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

          Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

          der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

          1 Reply Last reply
          0
          • T 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.

            ? Offline
            ? Offline
            A Former User
            wrote on last edited by
            #5

            @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
            0
            • ? A Former User

              @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 Do not disturb
              T Do not disturb
              ticaki
              wrote on last edited by
              #6

              @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.

              Weather-Warnings Espresense NSPanel-Lovelace-ui Tagesschau

              Spenden

              1 Reply Last reply
              0
              • ? A Former User

                @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 Offline
                P Offline
                peer69
                Forum Testing
                wrote on last edited by peer69
                #7

                @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
                0
                • P 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.

                  ? Offline
                  ? Offline
                  A Former User
                  wrote on last edited by
                  #8

                  @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
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  Support us

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

                  586

                  Online

                  32.4k

                  Users

                  81.4k

                  Topics

                  1.3m

                  Posts
                  Community
                  Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                  ioBroker Community 2014-2025
                  logo
                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Recent
                  • Tags
                  • Unread 0
                  • Categories
                  • Unreplied
                  • Popular
                  • GitHub
                  • Docu
                  • Hilfe