Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Nach Update eines Adapters Probleme mit Datenbank

    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

    Nach Update eines Adapters Probleme mit Datenbank

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

      Hallo
      Ich habe seit geraumer Zeit das Problem, dass nach einem Adapter-Update (egal welcher) ich immer einen Restart durchführen muss da ich immer die Fehlermeldung
      Objects database error: connect ECONNREFUSED 0.0.0.0:9001
      States database error: connect ECONNREFUSED 0.0.0.0:9000

      Iobroker läuft unter Docker auf einer Synolgy DS
      Node.js v12.22.6
      NPM 6.14.15
      js. controller v3.3.18

      Sonst läuft alles 1a und nahezu keine Fehler im Log

      Hier ein Auszug aus meiem LOG

      VW Adapter Update durchgeführt und dann der Fehler

      2021-09-21 10:12:25.737  - info: host.iobroker iobroker upload [3] vw-connect.admin /opt/iobroker/node_modules/iobroker.vw-connect/admin/vw-connect.png vw-connect.png image/png
      2021-09-21 10:12:25.812  - info: host.iobroker iobroker upload [2] vw-connect.admin /opt/iobroker/node_modules/iobroker.vw-connect/admin/style.css style.css text/css
      2021-09-21 10:12:25.868  - info: host.iobroker iobroker upload [1] vw-connect.admin /opt/iobroker/node_modules/iobroker.vw-connect/admin/index_m.html index_m.html text/html
      2021-09-21 10:12:25.922  - info: host.iobroker iobroker upload [0] vw-connect.admin /opt/iobroker/node_modules/iobroker.vw-connect/admin/admin.d.ts admin.d.ts video/mp2t
      2021-09-21 10:12:25.976  - info: host.iobroker iobroker Adapter "vw-connect" updated
      2021-09-21 10:12:26.223  - info: host.iobroker instance system.adapter.vw-connect.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
      2021-09-21 10:12:26.991  - info: host.iobroker iobroker exit 0
      2021-09-21 10:12:28.755  - info: host.iobroker instance system.adapter.vw-connect.0 started with pid 5621
      2021-09-21 10:12:30.385  - info: vw-connect.0 (5621) starting. Version 0.0.44 in /opt/iobroker/node_modules/iobroker.vw-connect, node: v12.22.6, js-controller: 3.3.18
      2021-09-21 10:12:50.775  - info: host.iobroker Updating repository "Stable (default)" under "http://download.iobroker.net/sources-dist.json"
      2021-09-21 10:14:04.173  - info: host.iobroker Updating repository "Stable (default)" under "http://download.iobroker.net/sources-dist.json"
      2021-09-21 10:15:00.061  - info: host.iobroker instance system.adapter.mobile-alerts.0 started with pid undefined
      2021-09-21 10:15:00.066  - error: host.iobroker uncaught exception: spawn /usr/bin/node ENOENT
      2021-09-21 10:15:00.066  - error: host.iobroker Error: spawn /usr/bin/node ENOENT
         at Process.ChildProcess._handle.onexit (internal/child_process.js:268:19)
         at onErrorNT (internal/child_process.js:470:16)
         at processTicksAndRejections (internal/process/task_queues.js:84:21)
      2021-09-21 10:15:00.067  - info: host.iobroker stopInstance system.adapter.admin.0 (force=false, process=true)
      2021-09-21 10:15:00.067  - info: host.iobroker stopInstance system.adapter.email.0 (force=false, process=true)
      2021-09-21 10:15:00.068  - info: host.iobroker stopInstance system.adapter.javascript.0 (force=false, process=true)
      2021-09-21 10:15:00.068  - info: host.iobroker stopInstance system.adapter.javascript.1 (force=false, process=true)
      2021-09-21 10:15:00.068  - info: host.iobroker stopInstance system.adapter.node-red.0 (force=false, process=true)
      2021-09-21 10:15:00.068  - info: host.iobroker stopInstance system.adapter.telegram.0 (force=false, process=true)
      2021-09-21 10:15:00.068  - info: host.iobroker stopInstance system.adapter.alexa2.0 (force=false, process=true)
      2021-09-21 10:15:00.069  - info: host.iobroker stopInstance system.adapter.homee.0 (force=false, process=true)
      2021-09-21 10:15:00.069  - info: host.iobroker stopInstance system.adapter.ical.0 (force=false, process=false)
      2021-09-21 10:15:00.069  - info: host.iobroker stopInstance canceled schedule system.adapter.ical.0
      2021-09-21 10:15:00.070  - info: host.iobroker stopInstance system.adapter.ical.1 (force=false, process=false)
      2021-09-21 10:15:00.070  - info: host.iobroker stopInstance canceled schedule system.adapter.ical.1
      2021-09-21 10:15:00.070  - info: host.iobroker stopInstance system.adapter.ical.2 (force=false, process=false)
      2021-09-21 10:15:00.070  - info: host.iobroker stopInstance canceled schedule system.adapter.ical.2
      2021-09-21 10:15:00.070  - info: host.iobroker stopInstance system.adapter.netatmo.0 (force=false, process=true)
      2021-09-21 10:15:00.070  - info: host.iobroker stopInstance system.adapter.nuki-extended.0 (force=false, process=true)
      2021-09-21 10:15:00.070  - info: host.iobroker stopInstance system.adapter.tr-064.0 (force=false, process=true)
      2021-09-21 10:15:00.071  - info: host.iobroker stopInstance system.adapter.weatherunderground.0 (force=false, process=false)
      2021-09-21 10:15:00.071  - info: host.iobroker stopInstance canceled schedule system.adapter.weatherunderground.0
      2021-09-21 10:15:00.071  - info: host.iobroker stopInstance system.adapter.backitup.0 (force=false, process=true)
      2021-09-21 10:15:00.071  - info: host.iobroker stopInstance system.adapter.cloud.0 (force=false, process=true)
      2021-09-21 10:15:00.071  - info: host.iobroker stopInstance system.adapter.fb-checkpresence.0 (force=false, process=false)
      2021-09-21 10:15:00.071  - info: host.iobroker stopInstance system.adapter.fuelpricemonitor.0 (force=false, process=false)
      2021-09-21 10:15:00.071  - info: host.iobroker stopInstance canceled schedule system.adapter.fuelpricemonitor.0
      2021-09-21 10:15:00.071  - info: host.iobroker stopInstance system.adapter.history.0 (force=false, process=true)
      2021-09-21 10:15:00.072  - info: host.iobroker stopInstance system.adapter.husq-automower.0 (force=false, process=true)
      2021-09-21 10:15:00.072  - info: host.iobroker stopInstance system.adapter.info.0 (force=false, process=true)
      2021-09-21 10:15:00.072  - info: host.iobroker stopInstance system.adapter.iot.0 (force=false, process=true)
      2021-09-21 10:15:00.072  - info: host.iobroker stopInstance system.adapter.jarvis.0 (force=false, process=true)
      2021-09-21 10:15:00.072  - info: host.iobroker stopInstance system.adapter.parser.0 (force=false, process=false)
      2021-09-21 10:15:00.072  - info: host.iobroker stopInstance system.adapter.samsung.0 (force=false, process=true)
      2021-09-21 10:15:00.072  - info: host.iobroker stopInstance system.adapter.samsung2016.0 (force=false, process=true)
      2021-09-21 10:15:00.073  - info: host.iobroker stopInstance system.adapter.sayit.0 (force=false, process=true)
      2021-09-21 10:15:00.073  - info: host.iobroker stopInstance system.adapter.sayit.1 (force=false, process=true)
      2021-09-21 10:15:00.073  - info: host.iobroker stopInstance system.adapter.sayit.2 (force=false, process=true)
      2021-09-21 10:15:00.073  - info: host.iobroker stopInstance system.adapter.sayit.3 (force=false, process=true)
      2021-09-21 10:15:00.073  - info: host.iobroker stopInstance system.adapter.sayit.4 (force=false, process=false)
      2021-09-21 10:15:00.073  - info: host.iobroker stopInstance system.adapter.sonos.0 (force=false, process=true)
      2021-09-21 10:15:00.074  - info: host.iobroker stopInstance system.adapter.sql.0 (force=false, process=false)
      2021-09-21 10:15:00.074  - info: host.iobroker stopInstance system.adapter.synology.0 (force=false, process=true)
      2021-09-21 10:15:00.074  - info: host.iobroker stopInstance system.adapter.upnp.0 (force=false, process=true)
      2021-09-21 10:15:00.074  - info: host.iobroker stopInstance system.adapter.vis-map.0 (force=false, process=false)
      2021-09-21 10:15:00.074  - info: host.iobroker stopInstance system.adapter.vis-timeandweather.0 (force=false, process=false)
      2021-09-21 10:15:00.074  - info: host.iobroker stopInstance system.adapter.vis.0 (force=false, process=false)
      2021-09-21 10:15:00.074  - info: host.iobroker stopInstance system.adapter.web.0 (force=false, process=true)
      2021-09-21 10:15:00.074  - info: host.iobroker stopInstance system.adapter.roomba.0 (force=false, process=true)
      2021-09-21 10:15:00.074  - info: host.iobroker stopInstance system.adapter.vw-connect.0 (force=false, process=true)
      2021-09-21 10:15:00.075  - info: host.iobroker stopInstance system.adapter.simple-api.0 (force=false, process=true)
      2021-09-21 10:15:00.075  - info: host.iobroker stopInstance system.adapter.mobile-alerts.0 (force=false, process=true)
      2021-09-21 10:15:00.075  - info: host.iobroker stopInstance canceled schedule system.adapter.mobile-alerts.0
      2021-09-21 10:15:00.075  - info: host.iobroker iobroker _restart
      2021-09-21 10:15:00.142  - info: sayit.0 (24861) stopping...
      2021-09-21 10:15:00.141  - info: sayit.2 (24891) stopping...
      2021-09-21 10:15:00.142  - info: sayit.3 (24918) stopping...
      2021-09-21 10:15:00.141  - info: sayit.1 (24876) stopping...
      2021-09-21 10:15:00.286  - error: sayit.1 (24876) States database error: read ECONNRESET
      2021-09-21 10:15:00.287  - error: sayit.3 (24918) States database error: read ECONNRESET
      2021-09-21 10:15:00.288  - error: sayit.2 (24891) States database error: read ECONNRESET
      2021-09-21 10:15:00.292  - error: sayit.0 (24861) States database error: read ECONNRESET
      2021-09-21 10:15:00.294  - error: sonos.0 (16646) States database error: read ECONNRESET
      2021-09-21 10:15:00.291  - error: jarvis.0 (24803) States database error: read ECONNRESET
      2021-09-21 10:15:00.332  - error: history.0 (24323) States database error: write EPIPE
      2021-09-21 10:15:00.531  - info: history.0 (24323) Terminated (NO_ERROR): Without reason
      2021-09-21 10:15:00.642  - info: sayit.2 (24891) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
      2021-09-21 10:15:00.645  - info: sayit.0 (24861) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
      2021-09-21 10:15:00.646  - info: sayit.1 (24876) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
      2021-09-21 10:15:00.650  - info: sayit.3 (24918) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
      2021-09-21 10:15:05.283  - error: nuki-extended.0 (4811) Objects database error: connect ECONNREFUSED 0.0.0.0:9001
      2021-09-21 10:15:05.284  - error: nuki-extended.0 (4811) States database error: connect ECONNREFUSED 0.0.0.0:9000
      2021-09-21 10:15:05.293  - error: web.0 (24990) Objects database error: connect ECONNREFUSED 0.0.0.0:9001
      2021-09-21 10:15:05.297  - error: samsung2016.0 (1403) States database error: connect ECONNREFUSED 0.0.0.0:9000
      2021-09-21 10:15:05.297  - error: sonos.0 (16646) States database error: connect ECONNREFUSED 0.0.0.0:9000
      2021-09-21 10:15:05.298  - error: sonos.0 (16646) Objects database error: connect ECONNREFUSED 0.0.0.0:9001
      2021-09-21 10:15:05.297  - error: web.0 (24990) States database error: connect ECONNREFUSED 0.0.0.0:9000
      2021-09-21 10:15:05.288  - error: simple-api.0 (25035) Objects database error: connect ECONNREFUSED 0.0.0.0:9001
      2021-09-21 10:15:05.303  - error: sayit.3 (24918) Objects database error: connect ECONNREFUSED 0.0.0.0:9001
      2021-09-21 10:15:05.303  - error: simple-api.0 (25035) States database error: connect ECONNREFUSED 0.0.0.0:9000
      2021-09-21 10:15:05.311  - error: backitup.0 (24260) Objects database error: connect ECONNREFUSED 0.0.0.0:9001
      2021-09-21 10:15:05.319  - error: backitup.0 (24260) States database error: connect ECONNREFUSED 0.0.0.0:9000
      2021-09-21 10:15:05.315  - error: alexa2.0 (24098) Objects database error: connect ECONNREFUSED 0.0.0.0:9001
      2021-09-21 10:15:05.325  - error: alexa2.0 (24098) States database error: connect ECONNREFUSED 0.0.0.0:9000
      2021-09-21 10:15:05.327  - error: email.0 (23938) Objects database error: connect ECONNREFUSED 0.0.0.0:9001
      2021-09-21 10:15:05.345  - error: jarvis.0 (24803) States database error: connect ECONNREFUSED 0.0.0.0:9000
      2021-09-21 10:15:05.345  - error: jarvis.0 (24803) Objects database error: connect ECONNREFUSED 0.0.0.0:9001
      2021-09-21 10:15:05.347  - error: vw-connect.0 (5621) States database error: connect ECONNREFUSED 0.0.0.0:9000
      
      Glasfaser 2 Replies Last reply Reply Quote 0
      • Glasfaser
        Glasfaser @ste_glei last edited by

        @stefan-gleichweit sagte in Nach Update eines Adapters Probleme mit Datenbank:

        2021-09-21 10:15:00.066 - error: host.iobroker uncaught exception: spawn /usr/bin/node
        ENOENT

        diese Meldung sieht komisch aus .
        Zeige mal die Ausgabe von :

        iobroker status
        which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
        
        ste_glei 1 Reply Last reply Reply Quote 0
        • ste_glei
          ste_glei @Glasfaser last edited by

          @glasfaser
          Hier die Ausage

          root@iobroker:/opt/iobroker# iobroker status
          iobroker is running on this host.
          
          
          Objects type: file
          States  type: file
          root@iobroker:/opt/iobroker# which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
          /usr/bin/nodejs
          /usr/bin/node
          /usr/bin/npm
          v12.22.6
          v12.22.6
          sudo: Hostname iobroker kann nicht aufgelöst werden: Der Name oder der Dienst ist nicht bekannt
          6.14.15
          sudo: Hostname iobroker kann nicht aufgelöst werden: Der Name oder der Dienst ist nicht bekannt
          OK:1 http://deb.debian.org/debian buster InRelease
          Holen:2 http://security.debian.org/debian-security buster/updates InRelease [65,4 kB]
          Holen:3 http://deb.debian.org/debian buster-updates InRelease [51,9 kB]
          Holen:4 http://security.debian.org/debian-security buster/updates/main amd64 Packages [305 kB]
          Holen:5 http://deb.debian.org/debian buster-updates/main amd64 Packages.diff/Index [8.116 B]
          Holen:6 http://deb.debian.org/debian buster-updates/main amd64 Packages 2021-09-18-2009.26.pdiff [1.110 B]
          Holen:6 http://deb.debian.org/debian buster-updates/main amd64 Packages 2021-09-18-2009.26.pdiff [1.110 B]
          OK:7 https://deb.nodesource.com/node_12.x buster InRelease
          Es wurden 431 kB in 6 s geholt (77,9 kB/s).        
          Paketlisten werden gelesen... Fertig
          Abhängigkeitsbaum wird aufgebaut.       
          Statusinformationen werden eingelesen.... Fertig
          Aktualisierung für 2 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
          sudo: Hostname iobroker kann nicht aufgelöst werden: Der Name oder der Dienst ist nicht bekannt
          OK:1 http://deb.debian.org/debian buster InRelease
          OK:2 http://security.debian.org/debian-security buster/updates InRelease
          OK:3 https://deb.nodesource.com/node_12.x buster InRelease
          OK:4 http://deb.debian.org/debian buster-updates InRelease
          Paketlisten werden gelesen... Fertig
          Abhängigkeitsbaum wird aufgebaut.       
          Statusinformationen werden eingelesen.... Fertig
          Aktualisierung für 2 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
          nodejs:
            Installiert:           12.22.6-deb-1nodesource1
            Installationskandidat: 12.22.6-deb-1nodesource1
            Versionstabelle:
           *** 12.22.6-deb-1nodesource1 500
                  500 https://deb.nodesource.com/node_12.x buster/main amd64 Packages
                  100 /var/lib/dpkg/status
               10.24.0~dfsg-1~deb10u1 500
                  500 http://deb.debian.org/debian buster/main amd64 Packages
                  500 http://security.debian.org/debian-security buster/updates/main amd64 Packages
          
          1 Reply Last reply Reply Quote 0
          • Glasfaser
            Glasfaser @ste_glei last edited by Glasfaser

            @stefan-gleichweit sagte in Nach Update eines Adapters Probleme mit Datenbank:

            ..... Update durchgeführt und dann der Fehler

            2021-09-21 10:15:00.066  - error: host.iobroker Error: spawn /usr/bin/node ENOENT
            

            Da stürzt immer der ioBroker zusammen .
            Kommt dann bei jedem update diese gleiche Meldung oder auch eine andere ?

            js-controller: 3.3.18

            tritt dieses erst jetzt auf nach dem update auf diese Version ?

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

              @glasfaser said in Nach Update eines Adapters Probleme mit Datenbank:

              Kommt dann bei jedem update diese gleiche Meldung oder auch eine andere ?

              Es ist immer das gleiche Verhalten -> Adapter-Update und gleich darauf der Absturz

              tritt dieses erst jetzt auf nach dem update auf diese Version ?

              Es war auch bei früheren Versionen das gleiche. (bin alle latest Versionen mitgegangen)
              ich bin mir nicht ganz sicher aber ich glaube seit update von 3.2 auf 3.3

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

                @stefan-gleichweit sagte in Nach Update eines Adapters Probleme mit Datenbank:

                Es war auch bei früheren Versionen das gleiche.
                ich glaube seit update von 3.2 auf 3.3

                at onErrorNT (internal/child_process.js:470:16)

                ich vermute mal da ist etwas quer in deinem Docker Container .

                Kannst du nicht einen neuen Docker Container aufsetzen und ein Backup einspielen .

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

                  @glasfaser

                  Zur Info:
                  Habe einen neuen Container aufgesetzt und hatte wieder das selbe Problem.

                  Jetzt habe ich den Container und Docker gänzlich von der Syno gelöscht und alles neu installiert - Backup eingespielt und funktioniert nun seit einer Woche ohne Probleme.

                  danke für die schnellen Antworten.

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

                  Support us

                  ioBroker
                  Community Adapters
                  Donate

                  593
                  Online

                  31.9k
                  Users

                  80.1k
                  Topics

                  1.3m
                  Posts

                  2
                  7
                  474
                  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