Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. Admin GUI crashes JS Controller

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    3.9k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.2k

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.5k

Admin GUI crashes JS Controller

Geplant Angeheftet Gesperrt Verschoben Error/Bug
9 Beiträge 3 Kommentatoren 426 Aufrufe 3 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • H Offline
    H Offline
    hioniq42
    schrieb am zuletzt editiert von
    #1
    Systemdata Bitte Ausfüllen
    Hardwaresystem: VM on Synology
    Arbeitsspeicher: 8GB
    Festplattenart: HDD
    Betriebssystem: Ubuntu
    Node-Version: 16.18.1
    Nodejs-Version: 16.18.1
    NPM-Version: 8.19.2
    Installationsart: Skript
    Image genutzt: Nein

    Dear Community,
    I recently updated my system to the latest versions of node, nodeJS, JS-Controller, NPM etc. Since then, whenever I start the admin interface in any browser, it crashes the JS controller. The core system comes up again and everything else works fine (Scripts, IOT Integration, VIS, ...). I tried downgrades of the admin adapter, but it didn't help. I also searched the forum and GitHub but could not find anything similiar. Maybe someone out here has an idea.
    Thank you!
    Florian

    Thomas BraunT 1 Antwort Letzte Antwort
    0
    • H hioniq42
      Systemdata Bitte Ausfüllen
      Hardwaresystem: VM on Synology
      Arbeitsspeicher: 8GB
      Festplattenart: HDD
      Betriebssystem: Ubuntu
      Node-Version: 16.18.1
      Nodejs-Version: 16.18.1
      NPM-Version: 8.19.2
      Installationsart: Skript
      Image genutzt: Nein

      Dear Community,
      I recently updated my system to the latest versions of node, nodeJS, JS-Controller, NPM etc. Since then, whenever I start the admin interface in any browser, it crashes the JS controller. The core system comes up again and everything else works fine (Scripts, IOT Integration, VIS, ...). I tried downgrades of the admin adapter, but it didn't help. I also searched the forum and GitHub but could not find anything similiar. Maybe someone out here has an idea.
      Thank you!
      Florian

      Thomas BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      schrieb am zuletzt editiert von
      #2

      @hioniq42

      iobroker stop
      iobroker fix
      iobroker start
      

      Then please post the output of

      iobroker diag
      

      Linux-Werkzeugkasten:
      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
      NodeJS Fixer Skript:
      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

      H 1 Antwort Letzte Antwort
      0
      • Thomas BraunT Thomas Braun

        @hioniq42

        iobroker stop
        iobroker fix
        iobroker start
        

        Then please post the output of

        iobroker diag
        
        H Offline
        H Offline
        hioniq42
        schrieb am zuletzt editiert von
        #3

        @thomas-braun
        Thank you for the quick response. I did the stop/fix/start several times before with no luck. This is the output from the diganose command (with stop/fix/start executed right before). Problem is still the same.

        ======================= SUMMARY =======================
                                v.2022-12-13
        
        
        Operatingsystem:        Ubuntu 22.04.1 LTS
        Installation:           microsoft
        Timezone:               Europe/Berlin
        User-ID:                1000
        X-Server:               true
        
        Pending OS-Updates:     0
        
        Nodejs-Installation:    /usr/bin/nodejs         v16.18.1
                                /usr/bin/node           v16.18.1
                                /usr/bin/npm            8.19.2
        
        ioBroker Core:          js-controller           4.0.24
                                admin                   6.2.23
        
        ioBroker Status:        iobroker is running on this host.
        
        
        Objects type: jsonl
        States  type: jsonl
        
        Pending iob updates:    1
        
        Active repo(s): stable
        
        Objects:                78677
        States:                 73856
        
        Size of iob-Database:
        
        48M     /opt/iobroker/iobroker-data/objects.jsonl
        17M     /opt/iobroker/iobroker-data/states.jsonl
        
        

        I also had a look into the log messages right after calling the admin UI but for me there is no meaningful information except the fact that everything falls into pieces:

        
        2022-12-19 21:34:45.885  - info: unifi.0 (387391) cleaned everything up...
        2022-12-19 21:34:45.899  - info: fullybrowser.0 (388048) cleaned everything up...
        2022-12-19 21:34:45.911  - info: javascript.0 (384789) Stop script script.js.Aktienkurse
        2022-12-19 21:34:45.882  - error: sonnen.0 (386920) States database error: read ECONNRESET
        2022-12-19 21:34:45.894  - info: admin.1 (384406) terminating http server on port 8080
        2022-12-19 21:34:45.901  - info: simple-api.0 (388366) terminating http server on port 8087
        2022-12-19 21:34:45.931  - info: info.0 (387970) cleaned everything up...
        2022-12-19 21:34:45.923  - info: hm-rpc.2 (386075) binrpc -> 192.168.x.x:8701/ init ["xmlrpc_bin://192.168.x.x:12001",""]
        2022-12-19 21:34:45.900  - info: hm-rpc.3 (386737) binrpc -> 192.168.x.x:2001/ init ["xmlrpc_bin://192.168.x.x:12002",""]
        2022-12-19 21:34:45.903  - error: admin.2 (384556) States database error: read ECONNRESET
        2022-12-19 21:34:45.943  - error: backitup.0 (388528) States database error: read ECONNRESET
        

        I was wondering if there is a way to change the debug level of an instance through CLI?

        thank you so far
        Florian

        HomoranH 1 Antwort Letzte Antwort
        0
        • H hioniq42

          @thomas-braun
          Thank you for the quick response. I did the stop/fix/start several times before with no luck. This is the output from the diganose command (with stop/fix/start executed right before). Problem is still the same.

          ======================= SUMMARY =======================
                                  v.2022-12-13
          
          
          Operatingsystem:        Ubuntu 22.04.1 LTS
          Installation:           microsoft
          Timezone:               Europe/Berlin
          User-ID:                1000
          X-Server:               true
          
          Pending OS-Updates:     0
          
          Nodejs-Installation:    /usr/bin/nodejs         v16.18.1
                                  /usr/bin/node           v16.18.1
                                  /usr/bin/npm            8.19.2
          
          ioBroker Core:          js-controller           4.0.24
                                  admin                   6.2.23
          
          ioBroker Status:        iobroker is running on this host.
          
          
          Objects type: jsonl
          States  type: jsonl
          
          Pending iob updates:    1
          
          Active repo(s): stable
          
          Objects:                78677
          States:                 73856
          
          Size of iob-Database:
          
          48M     /opt/iobroker/iobroker-data/objects.jsonl
          17M     /opt/iobroker/iobroker-data/states.jsonl
          
          

          I also had a look into the log messages right after calling the admin UI but for me there is no meaningful information except the fact that everything falls into pieces:

          
          2022-12-19 21:34:45.885  - info: unifi.0 (387391) cleaned everything up...
          2022-12-19 21:34:45.899  - info: fullybrowser.0 (388048) cleaned everything up...
          2022-12-19 21:34:45.911  - info: javascript.0 (384789) Stop script script.js.Aktienkurse
          2022-12-19 21:34:45.882  - error: sonnen.0 (386920) States database error: read ECONNRESET
          2022-12-19 21:34:45.894  - info: admin.1 (384406) terminating http server on port 8080
          2022-12-19 21:34:45.901  - info: simple-api.0 (388366) terminating http server on port 8087
          2022-12-19 21:34:45.931  - info: info.0 (387970) cleaned everything up...
          2022-12-19 21:34:45.923  - info: hm-rpc.2 (386075) binrpc -> 192.168.x.x:8701/ init ["xmlrpc_bin://192.168.x.x:12001",""]
          2022-12-19 21:34:45.900  - info: hm-rpc.3 (386737) binrpc -> 192.168.x.x:2001/ init ["xmlrpc_bin://192.168.x.x:12002",""]
          2022-12-19 21:34:45.903  - error: admin.2 (384556) States database error: read ECONNRESET
          2022-12-19 21:34:45.943  - error: backitup.0 (388528) States database error: read ECONNRESET
          

          I was wondering if there is a way to change the debug level of an instance through CLI?

          thank you so far
          Florian

          HomoranH Nicht stören
          HomoranH Nicht stören
          Homoran
          Global Moderator Administrators
          schrieb am zuletzt editiert von
          #4

          @hioniq42 warum jetzt hier auf englisch?

          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 -

          H 1 Antwort Letzte Antwort
          0
          • HomoranH Homoran

            @hioniq42 warum jetzt hier auf englisch?

            H Offline
            H Offline
            hioniq42
            schrieb am zuletzt editiert von
            #5

            @homoran
            Entschuldigung, das war reine Gewohnheit. Weiter auf deutsch :)

            @Thomas-Braun
            Mir ist im System-Log (/var/logs/syslog) noch folgendes aufgefallen:

            21:34:45 iobroker systemd[1]: iobroker.service: Main process exited, code=dumped, status=11/SEGV
            
            H 1 Antwort Letzte Antwort
            0
            • H hioniq42

              @homoran
              Entschuldigung, das war reine Gewohnheit. Weiter auf deutsch :)

              @Thomas-Braun
              Mir ist im System-Log (/var/logs/syslog) noch folgendes aufgefallen:

              21:34:45 iobroker systemd[1]: iobroker.service: Main process exited, code=dumped, status=11/SEGV
              
              H Offline
              H Offline
              hioniq42
              schrieb am zuletzt editiert von
              #6

              So, ein paar neue Erkenntnisse, nachdem ich mich durch die Coredumps gearbeitet habe, wo folgendes zu finden ist:

              ProblemType: Crash
              Architecture: amd64
              Date: Tue Dec 20 11:07:29 2022
              DistroRelease: Ubuntu 22.04
              ExecutablePath: /usr/bin/node
              ExecutableTimestamp: 1667561607
              ProcCmdline: iobroker.js-controller
              ProcEnviron: Error: [Errno 13] Permission denied: 'environ'
              ProcMaps: Error: [Errno 13] Permission denied: 'maps'
              ProcStatus:
               Name:  iobroker.js-con
               ...
              

              Dass hier zwei Berechtigungsprobleme (Zeile 8&9) bestehen, überrascht mich. Müsste das nicht genau mit iobroker fix behoben werden?

              Thomas BraunT 1 Antwort Letzte Antwort
              0
              • H hioniq42

                So, ein paar neue Erkenntnisse, nachdem ich mich durch die Coredumps gearbeitet habe, wo folgendes zu finden ist:

                ProblemType: Crash
                Architecture: amd64
                Date: Tue Dec 20 11:07:29 2022
                DistroRelease: Ubuntu 22.04
                ExecutablePath: /usr/bin/node
                ExecutableTimestamp: 1667561607
                ProcCmdline: iobroker.js-controller
                ProcEnviron: Error: [Errno 13] Permission denied: 'environ'
                ProcMaps: Error: [Errno 13] Permission denied: 'maps'
                ProcStatus:
                 Name:  iobroker.js-con
                 ...
                

                Dass hier zwei Berechtigungsprobleme (Zeile 8&9) bestehen, überrascht mich. Müsste das nicht genau mit iobroker fix behoben werden?

                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                schrieb am zuletzt editiert von
                #7

                @hioniq42 sagte in Admin GUI crashes JS Controller:

                überrascht mich.

                Mich nicht, wenn da mit sudo und/oder vollem root-Account herumgefuhrwerkt wurde.

                Linux-Werkzeugkasten:
                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                NodeJS Fixer Skript:
                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                H 1 Antwort Letzte Antwort
                0
                • Thomas BraunT Thomas Braun

                  @hioniq42 sagte in Admin GUI crashes JS Controller:

                  überrascht mich.

                  Mich nicht, wenn da mit sudo und/oder vollem root-Account herumgefuhrwerkt wurde.

                  H Offline
                  H Offline
                  hioniq42
                  schrieb am zuletzt editiert von
                  #8

                  @thomas-braun
                  Dafür habe ich einen Standard-User "iobroker" und sudo nur bei absoluter Notwendigkeit. Und ist doch auch etwas seltsam, dass dann nur bei der Admin GUI Probleme auftreten, sonst aber alles sauber läuft.

                  HomoranH 1 Antwort Letzte Antwort
                  0
                  • H hioniq42

                    @thomas-braun
                    Dafür habe ich einen Standard-User "iobroker" und sudo nur bei absoluter Notwendigkeit. Und ist doch auch etwas seltsam, dass dann nur bei der Admin GUI Probleme auftreten, sonst aber alles sauber läuft.

                    HomoranH Nicht stören
                    HomoranH Nicht stören
                    Homoran
                    Global Moderator Administrators
                    schrieb am zuletzt editiert von
                    #9

                    @hioniq42 sagte in Admin GUI crashes JS Controller:

                    einen Standard-User "iobroker"

                    der Systemuser heisst bereits iobroker

                    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 Antwort Letzte Antwort
                    0
                    Antworten
                    • In einem neuen Thema antworten
                    Anmelden zum Antworten
                    • Älteste zuerst
                    • Neuste zuerst
                    • Meiste Stimmen


                    Support us

                    ioBroker
                    Community Adapters
                    Donate

                    600

                    Online

                    32.7k

                    Benutzer

                    82.4k

                    Themen

                    1.3m

                    Beiträge
                    Community
                    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                    ioBroker Community 2014-2025
                    logo
                    • Anmelden

                    • Du hast noch kein Konto? Registrieren

                    • Anmelden oder registrieren, um zu suchen
                    • Erster Beitrag
                      Letzter Beitrag
                    0
                    • Home
                    • Aktuell
                    • Tags
                    • Ungelesen 0
                    • Kategorien
                    • Unreplied
                    • Beliebt
                    • GitHub
                    • Docu
                    • Hilfe