Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • 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. ioBroker Allgemein
  4. Objects database error: connect ECONNREFUSED

NEWS

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    8
    1
    347

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    10
    1
    313

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    932

Objects database error: connect ECONNREFUSED

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
9 Beiträge 4 Kommentatoren 753 Aufrufe 4 Beobachtet
  • Ä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.
  • J Offline
    J Offline
    jmyxa
    schrieb am zuletzt editiert von
    #1

    Hallo allerseits,

    seit heute stürtz der Admin-Adapter (und auch alle anderen) ohne "Fremdeinwirkung" permanent ab.
    Die wohl ausschlaggebende Fehlermeldung lautet

    2024-03-28 07:47:33.064  - ^[[31merror^[[39m: admin.0 (5015) Objects database error: connect ECONNREFUSED 0.0.0.0:9001
    2024-03-28 07:47:33.094  - ^[[31merror^[[39m: shelly.0 (5063) Objects database error: connect ECONNREFUSED 0.0.0.0:9001
    2024-03-28 07:47:33.102  - ^[[31merror^[[39m: tuya.0 (5048) Objects database error: connect ECONNREFUSED 0.0.0.0:9001
    2024-03-28 07:47:33.123  - ^[[31merror^[[39m: tuya.0 (5048) States database error: connect ECONNREFUSED 0.0.0.0:9000
    2024-03-28 07:47:33.152  - ^[[31merror^[[39m: zigbee.0 (5033) Objects database error: connect ECONNREFUSED 0.0.0.0:9001
    2024-03-28 07:47:33.183  - ^[[31merror^[[39m: telegram.0 (5022) Objects database error: connect ECONNREFUSED 0.0.0.0:9001
    2024-03-28 07:47:33.199  - ^[[31merror^[[39m: discovery.0 (5081) Objects database error: connect ECONNREFUSED 0.0.0.0:9001
    2024-03-28 07:47:33.192  - ^[[31merror^[[39m: sonos.0 (5070) Objects database error: connect ECONNREFUSED 0.0.0.0:9001
    
    

    Was läuft hier schief?

    arteckA 1 Antwort Letzte Antwort
    0
    • J jmyxa

      Hallo allerseits,

      seit heute stürtz der Admin-Adapter (und auch alle anderen) ohne "Fremdeinwirkung" permanent ab.
      Die wohl ausschlaggebende Fehlermeldung lautet

      2024-03-28 07:47:33.064  - ^[[31merror^[[39m: admin.0 (5015) Objects database error: connect ECONNREFUSED 0.0.0.0:9001
      2024-03-28 07:47:33.094  - ^[[31merror^[[39m: shelly.0 (5063) Objects database error: connect ECONNREFUSED 0.0.0.0:9001
      2024-03-28 07:47:33.102  - ^[[31merror^[[39m: tuya.0 (5048) Objects database error: connect ECONNREFUSED 0.0.0.0:9001
      2024-03-28 07:47:33.123  - ^[[31merror^[[39m: tuya.0 (5048) States database error: connect ECONNREFUSED 0.0.0.0:9000
      2024-03-28 07:47:33.152  - ^[[31merror^[[39m: zigbee.0 (5033) Objects database error: connect ECONNREFUSED 0.0.0.0:9001
      2024-03-28 07:47:33.183  - ^[[31merror^[[39m: telegram.0 (5022) Objects database error: connect ECONNREFUSED 0.0.0.0:9001
      2024-03-28 07:47:33.199  - ^[[31merror^[[39m: discovery.0 (5081) Objects database error: connect ECONNREFUSED 0.0.0.0:9001
      2024-03-28 07:47:33.192  - ^[[31merror^[[39m: sonos.0 (5070) Objects database error: connect ECONNREFUSED 0.0.0.0:9001
      
      

      Was läuft hier schief?

      arteckA Offline
      arteckA Offline
      arteck
      Developer Most Active
      schrieb am zuletzt editiert von
      #2

      @jmyxa platte voll ?

      zigbee hab ich, zwave auch, nuc's genauso und HA auch

      1 Antwort Letzte Antwort
      0
      • J Offline
        J Offline
        jmyxa
        schrieb am zuletzt editiert von
        #3

        @arteck sieht nicht danach aus

        /dev/root       29768136 4255180  24271328  15% /
        devtmpfs          340460       0    340460   0% /dev
        tmpfs             472044       0    472044   0% /dev/shm
        tmpfs             188820     988    187832   1% /run
        tmpfs               5120       4      5116   1% /run/lock
        /dev/mmcblk0p1    261108   51630    209478  20% /boot
        tmpfs              94408       0     94408   0% /run/user/1000
        
        
        arteckA 1 Antwort Letzte Antwort
        0
        • J jmyxa

          @arteck sieht nicht danach aus

          /dev/root       29768136 4255180  24271328  15% /
          devtmpfs          340460       0    340460   0% /dev
          tmpfs             472044       0    472044   0% /dev/shm
          tmpfs             188820     988    187832   1% /run
          tmpfs               5120       4      5116   1% /run/lock
          /dev/mmcblk0p1    261108   51630    209478  20% /boot
          tmpfs              94408       0     94408   0% /run/user/1000
          
          
          arteckA Offline
          arteckA Offline
          arteck
          Developer Most Active
          schrieb am zuletzt editiert von
          #4

          @jmyxa

          iob fix
          

          dann

          iob diag
          

          und Ausgabe posten

          zigbee hab ich, zwave auch, nuc's genauso und HA auch

          J 1 Antwort Letzte Antwort
          0
          • arteckA arteck

            @jmyxa

            iob fix
            

            dann

            iob diag
            

            und Ausgabe posten

            J Offline
            J Offline
            jmyxa
            schrieb am zuletzt editiert von
            #5

            @arteck bei fix:

            ==========================================================================
                Database maintenance (4/5)
            ==========================================================================
            
            Checking for uncompressed JSONL databases... This might take a while!
            
            Compressing /opt/iobroker/iobroker-data/states.jsonl
            Cannot compress states.jsonl: Error: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!
                at JsonlDB.open (/home/iobroker/.npm/_npx/36bee06d4228a674/node_modules/@alcalzone/jsonl-db/build/lib/db.js:185:19)
                at async compressDB (/home/iobroker/.npm/_npx/36bee06d4228a674/node_modules/@iobroker/jsonltool/index.js:37:9)
                at async main (/home/iobroker/.npm/_npx/36bee06d4228a674/node_modules/@iobroker/jsonltool/index.js:78:17)
            Compressing /opt/iobroker/iobroker-data/objects.jsonl
            Cannot compress objects.jsonl: Error: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
                at JsonlDB.open (/home/iobroker/.npm/_npx/36bee06d4228a674/node_modules/@alcalzone/jsonl-db/build/lib/db.js:185:19)
                at async compressDB (/home/iobroker/.npm/_npx/36bee06d4228a674/node_modules/@iobroker/jsonltool/index.js:37:9)
                at async main (/home/iobroker/.npm/_npx/36bee06d4228a674/node_modules/@iobroker/jsonltool/index.js:93:17)
            No relevant JSONL files found to compress, skip
            
            

            bei diag:

            ======================= SUMMARY =======================
            			v.2023-10-10
            
            
               Static hostname: raspberry
                     Icon name: computer
              Operating System: Raspbian GNU/Linux 11 (bullseye)
                        Kernel: Linux 6.1.21-v7+
                  Architecture: arm
            
            Installation: 		native
            Kernel: 		armv7l
            Userland: 		armhf
            Timezone: 		Europe/Berlin (CET, +0100)
            User-ID: 		1000
            X-Server: 		false
            Boot Target: 		multi-user.target
            
            Pending OS-Updates: 	84
            Pending iob updates: 	14
            
            /home/iobroker/.diag.sh: line 486: nodejs: command not found
            Nodejs-Installation: 	 	
            			/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  and npm 
            *** nodejs is NOT correctly installed ***
            Wrong installation path detected. This needs to be fixed.
            
            Please check
            https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian
            for more information on how to fix these errors.
            
            MEMORY: 
                           total        used        free      shared  buff/cache   available
            Mem:            921M        429M         92M        0.0K        399M        428M
            Swap:            99M         14M         85M
            Total:          1.0G        443M        178M
            
            Active iob-Instances: 	8
            Active repo(s): stable
            
            ioBroker Core: 		js-controller 		5.0.19
            			admin 			6.13.16
            
            ioBroker Status: 	iobroker is running on this host.
            
            
            Objects type: jsonl
            States  type: jsonl
            
            Status admin and web instance:
            + system.adapter.admin.0                  : admin                 : raspberry                                -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
              system.adapter.web.0                    : web                   : raspberry                                -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
            
            Objects: 		6710
            States: 		5425
            
            Size of iob-Database:
            
            12M	/opt/iobroker/iobroker-data/objects.jsonl
            36K	/opt/iobroker/iobroker-data/objects.jsonl.old2
            6.8M	/opt/iobroker/iobroker-data/states.jsonl
            
            
            
            =================== END OF SUMMARY ====================
            
            Thomas BraunT 1 Antwort Letzte Antwort
            0
            • J jmyxa

              @arteck bei fix:

              ==========================================================================
                  Database maintenance (4/5)
              ==========================================================================
              
              Checking for uncompressed JSONL databases... This might take a while!
              
              Compressing /opt/iobroker/iobroker-data/states.jsonl
              Cannot compress states.jsonl: Error: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!
                  at JsonlDB.open (/home/iobroker/.npm/_npx/36bee06d4228a674/node_modules/@alcalzone/jsonl-db/build/lib/db.js:185:19)
                  at async compressDB (/home/iobroker/.npm/_npx/36bee06d4228a674/node_modules/@iobroker/jsonltool/index.js:37:9)
                  at async main (/home/iobroker/.npm/_npx/36bee06d4228a674/node_modules/@iobroker/jsonltool/index.js:78:17)
              Compressing /opt/iobroker/iobroker-data/objects.jsonl
              Cannot compress objects.jsonl: Error: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
                  at JsonlDB.open (/home/iobroker/.npm/_npx/36bee06d4228a674/node_modules/@alcalzone/jsonl-db/build/lib/db.js:185:19)
                  at async compressDB (/home/iobroker/.npm/_npx/36bee06d4228a674/node_modules/@iobroker/jsonltool/index.js:37:9)
                  at async main (/home/iobroker/.npm/_npx/36bee06d4228a674/node_modules/@iobroker/jsonltool/index.js:93:17)
              No relevant JSONL files found to compress, skip
              
              

              bei diag:

              ======================= SUMMARY =======================
              			v.2023-10-10
              
              
                 Static hostname: raspberry
                       Icon name: computer
                Operating System: Raspbian GNU/Linux 11 (bullseye)
                          Kernel: Linux 6.1.21-v7+
                    Architecture: arm
              
              Installation: 		native
              Kernel: 		armv7l
              Userland: 		armhf
              Timezone: 		Europe/Berlin (CET, +0100)
              User-ID: 		1000
              X-Server: 		false
              Boot Target: 		multi-user.target
              
              Pending OS-Updates: 	84
              Pending iob updates: 	14
              
              /home/iobroker/.diag.sh: line 486: nodejs: command not found
              Nodejs-Installation: 	 	
              			/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  and npm 
              *** nodejs is NOT correctly installed ***
              Wrong installation path detected. This needs to be fixed.
              
              Please check
              https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian
              for more information on how to fix these errors.
              
              MEMORY: 
                             total        used        free      shared  buff/cache   available
              Mem:            921M        429M         92M        0.0K        399M        428M
              Swap:            99M         14M         85M
              Total:          1.0G        443M        178M
              
              Active iob-Instances: 	8
              Active repo(s): stable
              
              ioBroker Core: 		js-controller 		5.0.19
              			admin 			6.13.16
              
              ioBroker Status: 	iobroker is running on this host.
              
              
              Objects type: jsonl
              States  type: jsonl
              
              Status admin and web instance:
              + system.adapter.admin.0                  : admin                 : raspberry                                -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                system.adapter.web.0                    : web                   : raspberry                                -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
              
              Objects: 		6710
              States: 		5425
              
              Size of iob-Database:
              
              12M	/opt/iobroker/iobroker-data/objects.jsonl
              36K	/opt/iobroker/iobroker-data/objects.jsonl.old2
              6.8M	/opt/iobroker/iobroker-data/states.jsonl
              
              
              
              =================== END OF SUMMARY ====================
              
              Thomas BraunT Online
              Thomas BraunT Online
              Thomas Braun
              Most Active
              schrieb am zuletzt editiert von Thomas Braun
              #6

              @jmyxa sagte in Objects database error: connect ECONNREFUSED:

              Pending OS-Updates: 84
              Pending iob updates: 14

              Dringend ran an den Update-Stau.

              Zuvor:

              iob nodejs-update
              

              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

              J 1 Antwort Letzte Antwort
              0
              • Thomas BraunT Thomas Braun

                @jmyxa sagte in Objects database error: connect ECONNREFUSED:

                Pending OS-Updates: 84
                Pending iob updates: 14

                Dringend ran an den Update-Stau.

                Zuvor:

                iob nodejs-update
                
                J Offline
                J Offline
                jmyxa
                schrieb am zuletzt editiert von
                #7

                @thomas-braun

                Es lag daran, dass der Zugriff auf states.jsonl und objects.jsons durch Locks verhindert war. Lock-Verzeichnisse löschen und rebooten.

                Thomas BraunT W 2 Antworten Letzte Antwort
                0
                • J jmyxa

                  @thomas-braun

                  Es lag daran, dass der Zugriff auf states.jsonl und objects.jsons durch Locks verhindert war. Lock-Verzeichnisse löschen und rebooten.

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

                  @jmyxa

                  Den Update-Stau musst du aber dennoch beseitigen.

                  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

                  1 Antwort Letzte Antwort
                  1
                  • J jmyxa

                    @thomas-braun

                    Es lag daran, dass der Zugriff auf states.jsonl und objects.jsons durch Locks verhindert war. Lock-Verzeichnisse löschen und rebooten.

                    W Online
                    W Online
                    Wildbill
                    schrieb am zuletzt editiert von
                    #9

                    @jmyxa Dennoch hält man seine Installationen auf aktuellem Stand. Und das hier zeigt, dass bei Dir NodeJS eben falsch installiert ist:

                    
                    Recommended versions are nodejs  and npm 
                    *** nodejs is NOT correctly installed ***
                    Wrong installation path detected. This needs to be fixed.
                     
                    
                    

                    @Thomas-Braun hat Dir den nötigen Befehl zum Reparieren ja bereits genannt.

                    Gruss, Jürgen

                    1 Antwort Letzte Antwort
                    0

                    Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.

                    Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.

                    Mit deinem Input könnte dieser Beitrag noch besser werden 💗

                    Registrieren Anmelden
                    Antworten
                    • In einem neuen Thema antworten
                    Anmelden zum Antworten
                    • Älteste zuerst
                    • Neuste zuerst
                    • Meiste Stimmen


                    Support us

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

                    393

                    Online

                    32.8k

                    Benutzer

                    82.8k

                    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