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

  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Server Cannot start inMem-objects on port 9001

NEWS

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

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

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

Server Cannot start inMem-objects on port 9001

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
429 Beiträge 40 Kommentatoren 96.2k Aufrufe 39 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.
  • W woehrer

    Hallo,

    ich habe jetzt hier schon einiges gelesen aber leider war die richtige Lösung für mich noch nicht greifbar. Habe natürlich auch schon das ein oder andere versucht.

    woehrer@iobrokerifa:/opt/iobroker/iobroker-data$ cd ..
    woehrer@iobrokerifa:/opt/iobroker$ iob version
    4.0.23
    woehrer@iobrokerifa:/opt/iobroker$ iob status
    iobroker is running on this host.
    
    
    Objects type: jsonl
    States  type: jsonl
    woehrer@iobrokerifa:/opt/iobroker$ node node_modules/iobroker.js-controller/controller.js --logs
    2022-12-22 08:42:12.631  - info: host.iobrokerifa iobroker.js-controller version 4.0.23 js-controller starting
    2022-12-22 08:42:12.635  - info: host.iobrokerifa Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
    2022-12-22 08:42:12.636  - info: host.iobrokerifa hostname: iobrokerifa, node: v14.21.1
    2022-12-22 08:42:12.636  - info: host.iobrokerifa ip addresses: 192.168.20.70 fe80::11:32ff:fe27:dee
    2022-12-22 08:42:14.720  - error: host.iobrokerifa-Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
    woehrer@iobrokerifa:/opt/iobroker$ node -v
    v14.21.1
    woehrer@iobrokerifa:/opt/iobroker$ npm -v
    6.14.17
    woehrer@iobrokerifa:/opt/iobroker$ sudo ss -tulpn | grep LISTEN
    tcp   LISTEN 0      511             127.0.0.1:9000       0.0.0.0:*    users:(("iobroker.js-con",pid=672,fd=26))
    tcp   LISTEN 0      511             127.0.0.1:9001       0.0.0.0:*    users:(("iobroker.js-con",pid=672,fd=20))
    tcp   LISTEN 0      511               0.0.0.0:50001      0.0.0.0:*    users:(("io.sia.0",pid=1748,fd=26))
    tcp   LISTEN 0      4096        127.0.0.53%lo:53         0.0.0.0:*    users:(("systemd-resolve",pid=654,fd=14))
    tcp   LISTEN 0      128               0.0.0.0:22         0.0.0.0:*    users:(("sshd",pid=720,fd=3))
    tcp   LISTEN 0      511                     *:8082             *:*    users:(("io.web.0",pid=1152,fd=27))
    tcp   LISTEN 0      128                  [::]:22            [::]:*    users:(("sshd",pid=720,fd=4))
    tcp   LISTEN 0      511                     *:8087             *:*    users:(("io.simple-api.0",pid=1863,fd=26))
    

    Wäre echt super wenn mir da noch jemand ein Tipp hätte.

    apollon77A Offline
    apollon77A Offline
    apollon77
    schrieb am zuletzt editiert von
    #283

    @woehrer Also als allererstes:

    • iob stop
    • 1 Minute warten
    • iob fix - dort dann vor allem bitte schauen bei "Step 3" und Ausgabe posten bzw sagen wie lang das bedauert hat
    • iob start

    tuts dann?

    Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

    • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
    • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
    1 Antwort Letzte Antwort
    0
    • W Offline
      W Offline
      woehrer
      schrieb am zuletzt editiert von
      #284

      @apollon77 :

      Der komplette fix ist in ca 15 Sekunden durchgelaufen. Das hatte ich schon versucht. Läuft leider trotzdem nicht.

      woehrer@iobrokerifa:/opt/iobroker$ iobroker fix
      library: loaded
      Library version=2022-12-09
      
      ==========================================================================
      
          Welcome to the ioBroker installation fixer!
          Script version: 2022-12-09
      
          You might need to enter your password a couple of times.
      
      ==========================================================================
      
      
      ==========================================================================
          Installing prerequisites (1/4)
      ==========================================================================
      
      [sudo] password for woehrer:
      OK:1 https://deb.nodesource.com/node_14.x focal InRelease
      OK:2 http://de.archive.ubuntu.com/ubuntu jammy InRelease
      Holen:3 http://de.archive.ubuntu.com/ubuntu jammy-updates InRelease [114 kB]
      Holen:4 http://de.archive.ubuntu.com/ubuntu jammy-backports InRelease [99,8 kB]
      Holen:5 http://de.archive.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
      Es wurden 324 kB in 1 s geholt (501 kB/s).
      Paketlisten werden gelesen… Fertig
      Installed gcc-c++
      
      ==========================================================================
          Checking ioBroker user and directory permissions (2/4)
      ==========================================================================
      
      Created /etc/sudoers.d/iobroker
      Fixing directory permissions...
      
      ==========================================================================
          Database maintenance (3/4)
      ==========================================================================
      
      Checking for uncompressed JSONL databases... This might take a while!
      
      npx: Installierte 12 in 4.456s
      No path given, using /opt/iobroker/iobroker-data
      Compressing /opt/iobroker/iobroker-data/states.jsonl
      Compressing /opt/iobroker/iobroker-data/objects.jsonl
      Compressed 2 JSONL files. Done
      
      ==========================================================================
          Checking autostart (4/4)
      ==========================================================================
      
      Enabling autostart...
      Autostart enabled!
      
      ==========================================================================
      
          Your installation was fixed successfully
          Run iobroker start to start ioBroker again!
      
      ==========================================================================
      
      1 Antwort Letzte Antwort
      0
      • Thomas BraunT Thomas Braun

        @woehrer sagte in Server Cannot start inMem-objects on port 9001:

        ein Tipp hätte.

        NodeJS v16 fahren.

        W Offline
        W Offline
        woehrer
        schrieb am zuletzt editiert von
        #285

        @thomas-braun

        Bin jetzt mal hoch auf v16

        woehrer@iobrokerifa:/opt/iobroker$ node -v
        v16.19.0
        woehrer@iobrokerifa:/opt/iobroker$ npm -v
        8.19.3
        woehrer@iobrokerifa:/opt/iobroker$ iobroker fix
        library: loaded
        Library version=2022-12-09
        
        ==========================================================================
        
            Welcome to the ioBroker installation fixer!
            Script version: 2022-12-09
        
            You might need to enter your password a couple of times.
        
        ==========================================================================
        
        
        ==========================================================================
            Installing prerequisites (1/4)
        ==========================================================================
        
        OK:1 http://de.archive.ubuntu.com/ubuntu jammy InRelease
        Holen:2 http://de.archive.ubuntu.com/ubuntu jammy-updates InRelease [114 kB]
        OK:3 https://deb.nodesource.com/node_16.x jammy InRelease  
        Holen:4 http://de.archive.ubuntu.com/ubuntu jammy-backports InRelease [99,8 kB]
        Holen:5 http://de.archive.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
        Es wurden 324 kB in 1 s geholt (576 kB/s).
        Paketlisten werden gelesen… Fertig
        Installed gcc-c++
        
        ==========================================================================
            Checking ioBroker user and directory permissions (2/4)
        ==========================================================================
        
        Created /etc/sudoers.d/iobroker
        Fixing directory permissions...
        
        ==========================================================================
            Database maintenance (3/4)
        ==========================================================================
        
        Checking for uncompressed JSONL databases... This might take a while!
        
        Compressing /opt/iobroker/iobroker-data/states.jsonl
        Compressing /opt/iobroker/iobroker-data/objects.jsonl
        Compressed 2 JSONL files. Done
        
        ==========================================================================
            Checking autostart (4/4)
        ==========================================================================
        
        Enabling autostart...
        Autostart enabled!
        
        ==========================================================================
        
            Your installation was fixed successfully
            Run iobroker start to start ioBroker again!
        
        ==========================================================================
        

        Bekomme immernoch die Fehlermeldung und der admin Adapter startet weiterhin nicht. Alles andere scheint aber zu laufen

        Thomas BraunT crunchipC W 3 Antworten Letzte Antwort
        0
        • W woehrer

          @thomas-braun

          Bin jetzt mal hoch auf v16

          woehrer@iobrokerifa:/opt/iobroker$ node -v
          v16.19.0
          woehrer@iobrokerifa:/opt/iobroker$ npm -v
          8.19.3
          woehrer@iobrokerifa:/opt/iobroker$ iobroker fix
          library: loaded
          Library version=2022-12-09
          
          ==========================================================================
          
              Welcome to the ioBroker installation fixer!
              Script version: 2022-12-09
          
              You might need to enter your password a couple of times.
          
          ==========================================================================
          
          
          ==========================================================================
              Installing prerequisites (1/4)
          ==========================================================================
          
          OK:1 http://de.archive.ubuntu.com/ubuntu jammy InRelease
          Holen:2 http://de.archive.ubuntu.com/ubuntu jammy-updates InRelease [114 kB]
          OK:3 https://deb.nodesource.com/node_16.x jammy InRelease  
          Holen:4 http://de.archive.ubuntu.com/ubuntu jammy-backports InRelease [99,8 kB]
          Holen:5 http://de.archive.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
          Es wurden 324 kB in 1 s geholt (576 kB/s).
          Paketlisten werden gelesen… Fertig
          Installed gcc-c++
          
          ==========================================================================
              Checking ioBroker user and directory permissions (2/4)
          ==========================================================================
          
          Created /etc/sudoers.d/iobroker
          Fixing directory permissions...
          
          ==========================================================================
              Database maintenance (3/4)
          ==========================================================================
          
          Checking for uncompressed JSONL databases... This might take a while!
          
          Compressing /opt/iobroker/iobroker-data/states.jsonl
          Compressing /opt/iobroker/iobroker-data/objects.jsonl
          Compressed 2 JSONL files. Done
          
          ==========================================================================
              Checking autostart (4/4)
          ==========================================================================
          
          Enabling autostart...
          Autostart enabled!
          
          ==========================================================================
          
              Your installation was fixed successfully
              Run iobroker start to start ioBroker again!
          
          ==========================================================================
          

          Bekomme immernoch die Fehlermeldung und der admin Adapter startet weiterhin nicht. Alles andere scheint aber zu laufen

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

          @woehrer

          iobroker diag
          

          ausführen und Ergebnisse bekannt geben.

          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
          0
          • W woehrer

            @thomas-braun

            Bin jetzt mal hoch auf v16

            woehrer@iobrokerifa:/opt/iobroker$ node -v
            v16.19.0
            woehrer@iobrokerifa:/opt/iobroker$ npm -v
            8.19.3
            woehrer@iobrokerifa:/opt/iobroker$ iobroker fix
            library: loaded
            Library version=2022-12-09
            
            ==========================================================================
            
                Welcome to the ioBroker installation fixer!
                Script version: 2022-12-09
            
                You might need to enter your password a couple of times.
            
            ==========================================================================
            
            
            ==========================================================================
                Installing prerequisites (1/4)
            ==========================================================================
            
            OK:1 http://de.archive.ubuntu.com/ubuntu jammy InRelease
            Holen:2 http://de.archive.ubuntu.com/ubuntu jammy-updates InRelease [114 kB]
            OK:3 https://deb.nodesource.com/node_16.x jammy InRelease  
            Holen:4 http://de.archive.ubuntu.com/ubuntu jammy-backports InRelease [99,8 kB]
            Holen:5 http://de.archive.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
            Es wurden 324 kB in 1 s geholt (576 kB/s).
            Paketlisten werden gelesen… Fertig
            Installed gcc-c++
            
            ==========================================================================
                Checking ioBroker user and directory permissions (2/4)
            ==========================================================================
            
            Created /etc/sudoers.d/iobroker
            Fixing directory permissions...
            
            ==========================================================================
                Database maintenance (3/4)
            ==========================================================================
            
            Checking for uncompressed JSONL databases... This might take a while!
            
            Compressing /opt/iobroker/iobroker-data/states.jsonl
            Compressing /opt/iobroker/iobroker-data/objects.jsonl
            Compressed 2 JSONL files. Done
            
            ==========================================================================
                Checking autostart (4/4)
            ==========================================================================
            
            Enabling autostart...
            Autostart enabled!
            
            ==========================================================================
            
                Your installation was fixed successfully
                Run iobroker start to start ioBroker again!
            
            ==========================================================================
            

            Bekomme immernoch die Fehlermeldung und der admin Adapter startet weiterhin nicht. Alles andere scheint aber zu laufen

            crunchipC Abwesend
            crunchipC Abwesend
            crunchip
            Forum Testing Most Active
            schrieb am zuletzt editiert von
            #287

            @woehrer sagte in Server Cannot start inMem-objects on port 9001:

            und der admin Adapter startet weiterhin nicht

            iob logs --watch
            
            iob list instances
            

            umgestiegen von Proxmox auf Unraid

            1 Antwort Letzte Antwort
            0
            • W woehrer

              @thomas-braun

              Bin jetzt mal hoch auf v16

              woehrer@iobrokerifa:/opt/iobroker$ node -v
              v16.19.0
              woehrer@iobrokerifa:/opt/iobroker$ npm -v
              8.19.3
              woehrer@iobrokerifa:/opt/iobroker$ iobroker fix
              library: loaded
              Library version=2022-12-09
              
              ==========================================================================
              
                  Welcome to the ioBroker installation fixer!
                  Script version: 2022-12-09
              
                  You might need to enter your password a couple of times.
              
              ==========================================================================
              
              
              ==========================================================================
                  Installing prerequisites (1/4)
              ==========================================================================
              
              OK:1 http://de.archive.ubuntu.com/ubuntu jammy InRelease
              Holen:2 http://de.archive.ubuntu.com/ubuntu jammy-updates InRelease [114 kB]
              OK:3 https://deb.nodesource.com/node_16.x jammy InRelease  
              Holen:4 http://de.archive.ubuntu.com/ubuntu jammy-backports InRelease [99,8 kB]
              Holen:5 http://de.archive.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
              Es wurden 324 kB in 1 s geholt (576 kB/s).
              Paketlisten werden gelesen… Fertig
              Installed gcc-c++
              
              ==========================================================================
                  Checking ioBroker user and directory permissions (2/4)
              ==========================================================================
              
              Created /etc/sudoers.d/iobroker
              Fixing directory permissions...
              
              ==========================================================================
                  Database maintenance (3/4)
              ==========================================================================
              
              Checking for uncompressed JSONL databases... This might take a while!
              
              Compressing /opt/iobroker/iobroker-data/states.jsonl
              Compressing /opt/iobroker/iobroker-data/objects.jsonl
              Compressed 2 JSONL files. Done
              
              ==========================================================================
                  Checking autostart (4/4)
              ==========================================================================
              
              Enabling autostart...
              Autostart enabled!
              
              ==========================================================================
              
                  Your installation was fixed successfully
                  Run iobroker start to start ioBroker again!
              
              ==========================================================================
              

              Bekomme immernoch die Fehlermeldung und der admin Adapter startet weiterhin nicht. Alles andere scheint aber zu laufen

              W Offline
              W Offline
              woehrer
              schrieb am zuletzt editiert von woehrer
              #288

              @woehrer

              ======================= SUMMARY =======================
                                      v.2022-12-13
              
              
              Operatingsystem:        Ubuntu 22.04.1 LTS
              Installation:           microsoft
              Timezone:               Europe/Berlin
              User-ID:                1000
              X-Server:               false
              
              Pending OS-Updates:     0
              
              Nodejs-Installation:    /usr/bin/nodejs         v16.19.0
                                      /usr/bin/node           v16.19.0
                                      /usr/bin/npm            8.19.3
              
              ioBroker Core:          js-controller           4.0.23
                                      admin                   6.3.3
              
              ioBroker Status:        iobroker is running on this host.
              
              
              Objects type: jsonl
              States  type: jsonl
              
              Pending iob updates:    2
              
              Active repo(s): stable
              
              Objects:                6726
              States:                 6193
              
              Size of iob-Database:
              
              7.5M    /opt/iobroker/iobroker-data/objects.jsonl
              4.7M    /opt/iobroker/iobroker-data/objects.json.migrated
              4.7M    /opt/iobroker/iobroker-data/objects.json.bak.migrated
              5.0M    /opt/iobroker/iobroker-data/states.jsonl
              1.2M    /opt/iobroker/iobroker-data/states.json.migrated
              1.2M    /opt/iobroker/iobroker-data/states.json.bak.migrated
              
              
              ====================== END OF SUMMARY ==================
              
              
              2022-12-22 09:47:26.773  - info: host.iobrokerifa instance system.adapter.admin.0 started with pid 3788
              2022-12-22 09:47:26.773  - info: host.iobrokerifa instance system.adapter.admin.0 started with pid 3788
              2022-12-22 09:47:27.787  - info: admin.0 (3788) starting. Version 6.3.3 in /opt/iobroker/node_modules/iobroker.admin, node: v16.19.0, js-controller: 4.0.23
              2022-12-22 09:47:27.814  - info: admin.0 (3788) requesting all states
              2022-12-22 09:47:27.816  - info: admin.0 (3788) requesting all objects
              2022-12-22 09:47:27.956  - warn: admin.0 (3788) Cannot check node.js versions: Error: unexpected end of file
              2022-12-22 09:47:28.326  - info: admin.0 (3788) received all objects
              2022-12-22 09:47:28.438  - info: admin.0 (3788) Request actual repository...
              2022-12-22 09:47:28.523  - info: admin.0 (3788) http server listening on port 8081
              2022-12-22 09:47:28.523  - info: admin.0 (3788) Use link "http://localhost:8081" to configure.
              2022-12-22 09:47:28.527  - info: admin.0 (3788) socket.io server listening on port 8081
              2022-12-22 09:47:28.539  - error: admin.0 (3788) uncaught exception: Cannot read properties of null (reading '_acl')
              2022-12-22 09:47:28.539  - error: admin.0 (3788) TypeError: Cannot read properties of null (reading '_acl')
                  at SocketCommandsAdmin.subscribe (/opt/iobroker/node_modules/@iobroker/socket-classes/lib/socketCommands.js:288:117)
                  at SocketAdmin.subscribe (/opt/iobroker/node_modules/@iobroker/socket-classes/lib/socketAdmin.js:181:23)
                  at initSocket (/opt/iobroker/node_modules/iobroker.admin/main.js:499:12)
                  at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.admin/lib/web.js:1048:29)
                  at processImmediate (node:internal/timers:468:21)
              2022-12-22 09:47:28.540  - error: admin.0 (3788) Cannot read properties of null (reading '_acl')
              2022-12-22 09:47:28.556  - info: admin.0 (3788) terminating http server on port 8081
              2022-12-22 09:47:28.560  - info: admin.0 (3788) terminating
              2022-12-22 09:47:28.561  - warn: admin.0 (3788) Terminated (UNCAUGHT_EXCEPTION): Without reason
              2022-12-22 09:47:28.779  - info: host.iobrokerifa Updating repository "stable" under "http://download.iobroker.net/sources-dist.json"
              2022-12-22 09:47:28.814  - error: host.iobrokerifa Caught by controller[0]: TypeError: Cannot read properties of null (reading '_acl')
              2022-12-22 09:47:28.814  - error: host.iobrokerifa Caught by controller[0]:     at SocketCommandsAdmin.subscribe (/opt/iobroker/node_modules/@iobroker/socket-classes/lib/socketCommands.js:288:117)
              2022-12-22 09:47:28.814  - error: host.iobrokerifa Caught by controller[0]:     at SocketAdmin.subscribe (/opt/iobroker/node_modules/@iobroker/socket-classes/lib/socketAdmin.js:181:23)
              2022-12-22 09:47:28.814  - error: host.iobrokerifa Caught by controller[0]:     at initSocket (/opt/iobroker/node_modules/iobroker.admin/main.js:499:12)
              2022-12-22 09:47:28.814  - error: host.iobrokerifa Caught by controller[0]:     at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.admin/lib/web.js:1048:29)
              2022-12-22 09:47:28.814  - error: host.iobrokerifa Caught by controller[0]:     at processImmediate (node:internal/timers:468:21)
              2022-12-22 09:47:28.814  - error: host.iobrokerifa instance system.adapter.admin.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
              2022-12-22 09:47:28.814  - info: host.iobrokerifa Restart adapter system.adapter.admin.0 because enabled
              2022-12-22 09:47:27.787  - info: admin.0 (3788) starting. Version 6.3.3 in /opt/iobroker/node_modules/iobroker.admin, node: v16.19.0, js-controller: 4.0.23
              2022-12-22 09:47:27.814  - info: admin.0 (3788) requesting all states
              2022-12-22 09:47:27.816  - info: admin.0 (3788) requesting all objects
              2022-12-22 09:47:27.956  - warn: admin.0 (3788) Cannot check node.js versions: Error: unexpected end of file
              2022-12-22 09:47:28.326  - info: admin.0 (3788) received all objects
              2022-12-22 09:47:28.438  - info: admin.0 (3788) Request actual repository...
              2022-12-22 09:47:28.523  - info: admin.0 (3788) http server listening on port 8081
              2022-12-22 09:47:28.523  - info: admin.0 (3788) Use link "http://localhost:8081" to configure.
              2022-12-22 09:47:28.527  - info: admin.0 (3788) socket.io server listening on port 8081
              2022-12-22 09:47:28.539  - error: admin.0 (3788) uncaught exception: Cannot read properties of null (reading '_acl')
              2022-12-22 09:47:28.539  - error: admin.0 (3788) TypeError: Cannot read properties of null (reading '_acl')
                  at SocketCommandsAdmin.subscribe (/opt/iobroker/node_modules/@iobroker/socket-classes/lib/socketCommands.js:288:117)
                  at SocketAdmin.subscribe (/opt/iobroker/node_modules/@iobroker/socket-classes/lib/socketAdmin.js:181:23)
                  at initSocket (/opt/iobroker/node_modules/iobroker.admin/main.js:499:12)
                  at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.admin/lib/web.js:1048:29)
                  at processImmediate (node:internal/timers:468:21)
              2022-12-22 09:47:28.540  - error: admin.0 (3788) Cannot read properties of null (reading '_acl')
              2022-12-22 09:47:28.556  - info: admin.0 (3788) terminating http server on port 8081
              2022-12-22 09:47:28.560  - info: admin.0 (3788) terminating
              2022-12-22 09:47:28.561  - warn: admin.0 (3788) Terminated (UNCAUGHT_EXCEPTION): Without reason
              2022-12-22 09:47:28.779  - info: host.iobrokerifa Updating repository "stable" under "http://download.iobroker.net/sources-dist.json"
              2022-12-22 09:47:28.814  - error: host.iobrokerifa Caught by controller[0]: TypeError: Cannot read properties of null (reading '_acl')
              2022-12-22 09:47:28.814  - error: host.iobrokerifa Caught by controller[0]:     at SocketCommandsAdmin.subscribe (/opt/iobroker/node_modules/@iobroker/socket-classes/lib/socketCommands.js:288:117)
              2022-12-22 09:47:28.814  - error: host.iobrokerifa Caught by controller[0]:     at SocketAdmin.subscribe (/opt/iobroker/node_modules/@iobroker/socket-classes/lib/socketAdmin.js:181:23)
              2022-12-22 09:47:28.814  - error: host.iobrokerifa Caught by controller[0]:     at initSocket (/opt/iobroker/node_modules/iobroker.admin/main.js:499:12)
              2022-12-22 09:47:28.814  - error: host.iobrokerifa Caught by controller[0]:     at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.admin/lib/web.js:1048:29)
              2022-12-22 09:47:28.814  - error: host.iobrokerifa Caught by controller[0]:     at processImmediate (node:internal/timers:468:21)
              2022-12-22 09:47:28.814  - error: host.iobrokerifa instance system.adapter.admin.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
              2022-12-22 09:47:28.814  - info: host.iobrokerifa Restart adapter system.adapter.admin.0 because enabled
              
              Thomas BraunT apollon77A 2 Antworten Letzte Antwort
              0
              • W woehrer

                @woehrer

                ======================= SUMMARY =======================
                                        v.2022-12-13
                
                
                Operatingsystem:        Ubuntu 22.04.1 LTS
                Installation:           microsoft
                Timezone:               Europe/Berlin
                User-ID:                1000
                X-Server:               false
                
                Pending OS-Updates:     0
                
                Nodejs-Installation:    /usr/bin/nodejs         v16.19.0
                                        /usr/bin/node           v16.19.0
                                        /usr/bin/npm            8.19.3
                
                ioBroker Core:          js-controller           4.0.23
                                        admin                   6.3.3
                
                ioBroker Status:        iobroker is running on this host.
                
                
                Objects type: jsonl
                States  type: jsonl
                
                Pending iob updates:    2
                
                Active repo(s): stable
                
                Objects:                6726
                States:                 6193
                
                Size of iob-Database:
                
                7.5M    /opt/iobroker/iobroker-data/objects.jsonl
                4.7M    /opt/iobroker/iobroker-data/objects.json.migrated
                4.7M    /opt/iobroker/iobroker-data/objects.json.bak.migrated
                5.0M    /opt/iobroker/iobroker-data/states.jsonl
                1.2M    /opt/iobroker/iobroker-data/states.json.migrated
                1.2M    /opt/iobroker/iobroker-data/states.json.bak.migrated
                
                
                ====================== END OF SUMMARY ==================
                
                
                2022-12-22 09:47:26.773  - info: host.iobrokerifa instance system.adapter.admin.0 started with pid 3788
                2022-12-22 09:47:26.773  - info: host.iobrokerifa instance system.adapter.admin.0 started with pid 3788
                2022-12-22 09:47:27.787  - info: admin.0 (3788) starting. Version 6.3.3 in /opt/iobroker/node_modules/iobroker.admin, node: v16.19.0, js-controller: 4.0.23
                2022-12-22 09:47:27.814  - info: admin.0 (3788) requesting all states
                2022-12-22 09:47:27.816  - info: admin.0 (3788) requesting all objects
                2022-12-22 09:47:27.956  - warn: admin.0 (3788) Cannot check node.js versions: Error: unexpected end of file
                2022-12-22 09:47:28.326  - info: admin.0 (3788) received all objects
                2022-12-22 09:47:28.438  - info: admin.0 (3788) Request actual repository...
                2022-12-22 09:47:28.523  - info: admin.0 (3788) http server listening on port 8081
                2022-12-22 09:47:28.523  - info: admin.0 (3788) Use link "http://localhost:8081" to configure.
                2022-12-22 09:47:28.527  - info: admin.0 (3788) socket.io server listening on port 8081
                2022-12-22 09:47:28.539  - error: admin.0 (3788) uncaught exception: Cannot read properties of null (reading '_acl')
                2022-12-22 09:47:28.539  - error: admin.0 (3788) TypeError: Cannot read properties of null (reading '_acl')
                    at SocketCommandsAdmin.subscribe (/opt/iobroker/node_modules/@iobroker/socket-classes/lib/socketCommands.js:288:117)
                    at SocketAdmin.subscribe (/opt/iobroker/node_modules/@iobroker/socket-classes/lib/socketAdmin.js:181:23)
                    at initSocket (/opt/iobroker/node_modules/iobroker.admin/main.js:499:12)
                    at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.admin/lib/web.js:1048:29)
                    at processImmediate (node:internal/timers:468:21)
                2022-12-22 09:47:28.540  - error: admin.0 (3788) Cannot read properties of null (reading '_acl')
                2022-12-22 09:47:28.556  - info: admin.0 (3788) terminating http server on port 8081
                2022-12-22 09:47:28.560  - info: admin.0 (3788) terminating
                2022-12-22 09:47:28.561  - warn: admin.0 (3788) Terminated (UNCAUGHT_EXCEPTION): Without reason
                2022-12-22 09:47:28.779  - info: host.iobrokerifa Updating repository "stable" under "http://download.iobroker.net/sources-dist.json"
                2022-12-22 09:47:28.814  - error: host.iobrokerifa Caught by controller[0]: TypeError: Cannot read properties of null (reading '_acl')
                2022-12-22 09:47:28.814  - error: host.iobrokerifa Caught by controller[0]:     at SocketCommandsAdmin.subscribe (/opt/iobroker/node_modules/@iobroker/socket-classes/lib/socketCommands.js:288:117)
                2022-12-22 09:47:28.814  - error: host.iobrokerifa Caught by controller[0]:     at SocketAdmin.subscribe (/opt/iobroker/node_modules/@iobroker/socket-classes/lib/socketAdmin.js:181:23)
                2022-12-22 09:47:28.814  - error: host.iobrokerifa Caught by controller[0]:     at initSocket (/opt/iobroker/node_modules/iobroker.admin/main.js:499:12)
                2022-12-22 09:47:28.814  - error: host.iobrokerifa Caught by controller[0]:     at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.admin/lib/web.js:1048:29)
                2022-12-22 09:47:28.814  - error: host.iobrokerifa Caught by controller[0]:     at processImmediate (node:internal/timers:468:21)
                2022-12-22 09:47:28.814  - error: host.iobrokerifa instance system.adapter.admin.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                2022-12-22 09:47:28.814  - info: host.iobrokerifa Restart adapter system.adapter.admin.0 because enabled
                2022-12-22 09:47:27.787  - info: admin.0 (3788) starting. Version 6.3.3 in /opt/iobroker/node_modules/iobroker.admin, node: v16.19.0, js-controller: 4.0.23
                2022-12-22 09:47:27.814  - info: admin.0 (3788) requesting all states
                2022-12-22 09:47:27.816  - info: admin.0 (3788) requesting all objects
                2022-12-22 09:47:27.956  - warn: admin.0 (3788) Cannot check node.js versions: Error: unexpected end of file
                2022-12-22 09:47:28.326  - info: admin.0 (3788) received all objects
                2022-12-22 09:47:28.438  - info: admin.0 (3788) Request actual repository...
                2022-12-22 09:47:28.523  - info: admin.0 (3788) http server listening on port 8081
                2022-12-22 09:47:28.523  - info: admin.0 (3788) Use link "http://localhost:8081" to configure.
                2022-12-22 09:47:28.527  - info: admin.0 (3788) socket.io server listening on port 8081
                2022-12-22 09:47:28.539  - error: admin.0 (3788) uncaught exception: Cannot read properties of null (reading '_acl')
                2022-12-22 09:47:28.539  - error: admin.0 (3788) TypeError: Cannot read properties of null (reading '_acl')
                    at SocketCommandsAdmin.subscribe (/opt/iobroker/node_modules/@iobroker/socket-classes/lib/socketCommands.js:288:117)
                    at SocketAdmin.subscribe (/opt/iobroker/node_modules/@iobroker/socket-classes/lib/socketAdmin.js:181:23)
                    at initSocket (/opt/iobroker/node_modules/iobroker.admin/main.js:499:12)
                    at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.admin/lib/web.js:1048:29)
                    at processImmediate (node:internal/timers:468:21)
                2022-12-22 09:47:28.540  - error: admin.0 (3788) Cannot read properties of null (reading '_acl')
                2022-12-22 09:47:28.556  - info: admin.0 (3788) terminating http server on port 8081
                2022-12-22 09:47:28.560  - info: admin.0 (3788) terminating
                2022-12-22 09:47:28.561  - warn: admin.0 (3788) Terminated (UNCAUGHT_EXCEPTION): Without reason
                2022-12-22 09:47:28.779  - info: host.iobrokerifa Updating repository "stable" under "http://download.iobroker.net/sources-dist.json"
                2022-12-22 09:47:28.814  - error: host.iobrokerifa Caught by controller[0]: TypeError: Cannot read properties of null (reading '_acl')
                2022-12-22 09:47:28.814  - error: host.iobrokerifa Caught by controller[0]:     at SocketCommandsAdmin.subscribe (/opt/iobroker/node_modules/@iobroker/socket-classes/lib/socketCommands.js:288:117)
                2022-12-22 09:47:28.814  - error: host.iobrokerifa Caught by controller[0]:     at SocketAdmin.subscribe (/opt/iobroker/node_modules/@iobroker/socket-classes/lib/socketAdmin.js:181:23)
                2022-12-22 09:47:28.814  - error: host.iobrokerifa Caught by controller[0]:     at initSocket (/opt/iobroker/node_modules/iobroker.admin/main.js:499:12)
                2022-12-22 09:47:28.814  - error: host.iobrokerifa Caught by controller[0]:     at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.admin/lib/web.js:1048:29)
                2022-12-22 09:47:28.814  - error: host.iobrokerifa Caught by controller[0]:     at processImmediate (node:internal/timers:468:21)
                2022-12-22 09:47:28.814  - error: host.iobrokerifa instance system.adapter.admin.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                2022-12-22 09:47:28.814  - info: host.iobrokerifa Restart adapter system.adapter.admin.0 because enabled
                
                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                schrieb am zuletzt editiert von
                #289

                @woehrer

                Das ist WSL2 oder sowas?

                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

                W 1 Antwort Letzte Antwort
                0
                • Thomas BraunT Thomas Braun

                  @woehrer

                  Das ist WSL2 oder sowas?

                  W Offline
                  W Offline
                  woehrer
                  schrieb am zuletzt editiert von
                  #290

                  @thomas-braun
                  Das ist eine virtuelle Maschine in der Ubuntu 22 läuft

                  Thomas BraunT 1 Antwort Letzte Antwort
                  0
                  • W woehrer

                    @thomas-braun
                    Das ist eine virtuelle Maschine in der Ubuntu 22 läuft

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

                    @woehrer sagte in Server Cannot start inMem-objects on port 9001:

                    virtuelle Maschine

                    Welche?

                    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
                    0
                    • crunchipC Abwesend
                      crunchipC Abwesend
                      crunchip
                      Forum Testing Most Active
                      schrieb am zuletzt editiert von
                      #292

                      @woehrer selbiges ist auch hier
                      https://forum.iobroker.net/post/914523

                      umgestiegen von Proxmox auf Unraid

                      1 Antwort Letzte Antwort
                      0
                      • W woehrer

                        @woehrer

                        ======================= SUMMARY =======================
                                                v.2022-12-13
                        
                        
                        Operatingsystem:        Ubuntu 22.04.1 LTS
                        Installation:           microsoft
                        Timezone:               Europe/Berlin
                        User-ID:                1000
                        X-Server:               false
                        
                        Pending OS-Updates:     0
                        
                        Nodejs-Installation:    /usr/bin/nodejs         v16.19.0
                                                /usr/bin/node           v16.19.0
                                                /usr/bin/npm            8.19.3
                        
                        ioBroker Core:          js-controller           4.0.23
                                                admin                   6.3.3
                        
                        ioBroker Status:        iobroker is running on this host.
                        
                        
                        Objects type: jsonl
                        States  type: jsonl
                        
                        Pending iob updates:    2
                        
                        Active repo(s): stable
                        
                        Objects:                6726
                        States:                 6193
                        
                        Size of iob-Database:
                        
                        7.5M    /opt/iobroker/iobroker-data/objects.jsonl
                        4.7M    /opt/iobroker/iobroker-data/objects.json.migrated
                        4.7M    /opt/iobroker/iobroker-data/objects.json.bak.migrated
                        5.0M    /opt/iobroker/iobroker-data/states.jsonl
                        1.2M    /opt/iobroker/iobroker-data/states.json.migrated
                        1.2M    /opt/iobroker/iobroker-data/states.json.bak.migrated
                        
                        
                        ====================== END OF SUMMARY ==================
                        
                        
                        2022-12-22 09:47:26.773  - info: host.iobrokerifa instance system.adapter.admin.0 started with pid 3788
                        2022-12-22 09:47:26.773  - info: host.iobrokerifa instance system.adapter.admin.0 started with pid 3788
                        2022-12-22 09:47:27.787  - info: admin.0 (3788) starting. Version 6.3.3 in /opt/iobroker/node_modules/iobroker.admin, node: v16.19.0, js-controller: 4.0.23
                        2022-12-22 09:47:27.814  - info: admin.0 (3788) requesting all states
                        2022-12-22 09:47:27.816  - info: admin.0 (3788) requesting all objects
                        2022-12-22 09:47:27.956  - warn: admin.0 (3788) Cannot check node.js versions: Error: unexpected end of file
                        2022-12-22 09:47:28.326  - info: admin.0 (3788) received all objects
                        2022-12-22 09:47:28.438  - info: admin.0 (3788) Request actual repository...
                        2022-12-22 09:47:28.523  - info: admin.0 (3788) http server listening on port 8081
                        2022-12-22 09:47:28.523  - info: admin.0 (3788) Use link "http://localhost:8081" to configure.
                        2022-12-22 09:47:28.527  - info: admin.0 (3788) socket.io server listening on port 8081
                        2022-12-22 09:47:28.539  - error: admin.0 (3788) uncaught exception: Cannot read properties of null (reading '_acl')
                        2022-12-22 09:47:28.539  - error: admin.0 (3788) TypeError: Cannot read properties of null (reading '_acl')
                            at SocketCommandsAdmin.subscribe (/opt/iobroker/node_modules/@iobroker/socket-classes/lib/socketCommands.js:288:117)
                            at SocketAdmin.subscribe (/opt/iobroker/node_modules/@iobroker/socket-classes/lib/socketAdmin.js:181:23)
                            at initSocket (/opt/iobroker/node_modules/iobroker.admin/main.js:499:12)
                            at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.admin/lib/web.js:1048:29)
                            at processImmediate (node:internal/timers:468:21)
                        2022-12-22 09:47:28.540  - error: admin.0 (3788) Cannot read properties of null (reading '_acl')
                        2022-12-22 09:47:28.556  - info: admin.0 (3788) terminating http server on port 8081
                        2022-12-22 09:47:28.560  - info: admin.0 (3788) terminating
                        2022-12-22 09:47:28.561  - warn: admin.0 (3788) Terminated (UNCAUGHT_EXCEPTION): Without reason
                        2022-12-22 09:47:28.779  - info: host.iobrokerifa Updating repository "stable" under "http://download.iobroker.net/sources-dist.json"
                        2022-12-22 09:47:28.814  - error: host.iobrokerifa Caught by controller[0]: TypeError: Cannot read properties of null (reading '_acl')
                        2022-12-22 09:47:28.814  - error: host.iobrokerifa Caught by controller[0]:     at SocketCommandsAdmin.subscribe (/opt/iobroker/node_modules/@iobroker/socket-classes/lib/socketCommands.js:288:117)
                        2022-12-22 09:47:28.814  - error: host.iobrokerifa Caught by controller[0]:     at SocketAdmin.subscribe (/opt/iobroker/node_modules/@iobroker/socket-classes/lib/socketAdmin.js:181:23)
                        2022-12-22 09:47:28.814  - error: host.iobrokerifa Caught by controller[0]:     at initSocket (/opt/iobroker/node_modules/iobroker.admin/main.js:499:12)
                        2022-12-22 09:47:28.814  - error: host.iobrokerifa Caught by controller[0]:     at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.admin/lib/web.js:1048:29)
                        2022-12-22 09:47:28.814  - error: host.iobrokerifa Caught by controller[0]:     at processImmediate (node:internal/timers:468:21)
                        2022-12-22 09:47:28.814  - error: host.iobrokerifa instance system.adapter.admin.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                        2022-12-22 09:47:28.814  - info: host.iobrokerifa Restart adapter system.adapter.admin.0 because enabled
                        2022-12-22 09:47:27.787  - info: admin.0 (3788) starting. Version 6.3.3 in /opt/iobroker/node_modules/iobroker.admin, node: v16.19.0, js-controller: 4.0.23
                        2022-12-22 09:47:27.814  - info: admin.0 (3788) requesting all states
                        2022-12-22 09:47:27.816  - info: admin.0 (3788) requesting all objects
                        2022-12-22 09:47:27.956  - warn: admin.0 (3788) Cannot check node.js versions: Error: unexpected end of file
                        2022-12-22 09:47:28.326  - info: admin.0 (3788) received all objects
                        2022-12-22 09:47:28.438  - info: admin.0 (3788) Request actual repository...
                        2022-12-22 09:47:28.523  - info: admin.0 (3788) http server listening on port 8081
                        2022-12-22 09:47:28.523  - info: admin.0 (3788) Use link "http://localhost:8081" to configure.
                        2022-12-22 09:47:28.527  - info: admin.0 (3788) socket.io server listening on port 8081
                        2022-12-22 09:47:28.539  - error: admin.0 (3788) uncaught exception: Cannot read properties of null (reading '_acl')
                        2022-12-22 09:47:28.539  - error: admin.0 (3788) TypeError: Cannot read properties of null (reading '_acl')
                            at SocketCommandsAdmin.subscribe (/opt/iobroker/node_modules/@iobroker/socket-classes/lib/socketCommands.js:288:117)
                            at SocketAdmin.subscribe (/opt/iobroker/node_modules/@iobroker/socket-classes/lib/socketAdmin.js:181:23)
                            at initSocket (/opt/iobroker/node_modules/iobroker.admin/main.js:499:12)
                            at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.admin/lib/web.js:1048:29)
                            at processImmediate (node:internal/timers:468:21)
                        2022-12-22 09:47:28.540  - error: admin.0 (3788) Cannot read properties of null (reading '_acl')
                        2022-12-22 09:47:28.556  - info: admin.0 (3788) terminating http server on port 8081
                        2022-12-22 09:47:28.560  - info: admin.0 (3788) terminating
                        2022-12-22 09:47:28.561  - warn: admin.0 (3788) Terminated (UNCAUGHT_EXCEPTION): Without reason
                        2022-12-22 09:47:28.779  - info: host.iobrokerifa Updating repository "stable" under "http://download.iobroker.net/sources-dist.json"
                        2022-12-22 09:47:28.814  - error: host.iobrokerifa Caught by controller[0]: TypeError: Cannot read properties of null (reading '_acl')
                        2022-12-22 09:47:28.814  - error: host.iobrokerifa Caught by controller[0]:     at SocketCommandsAdmin.subscribe (/opt/iobroker/node_modules/@iobroker/socket-classes/lib/socketCommands.js:288:117)
                        2022-12-22 09:47:28.814  - error: host.iobrokerifa Caught by controller[0]:     at SocketAdmin.subscribe (/opt/iobroker/node_modules/@iobroker/socket-classes/lib/socketAdmin.js:181:23)
                        2022-12-22 09:47:28.814  - error: host.iobrokerifa Caught by controller[0]:     at initSocket (/opt/iobroker/node_modules/iobroker.admin/main.js:499:12)
                        2022-12-22 09:47:28.814  - error: host.iobrokerifa Caught by controller[0]:     at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.admin/lib/web.js:1048:29)
                        2022-12-22 09:47:28.814  - error: host.iobrokerifa Caught by controller[0]:     at processImmediate (node:internal/timers:468:21)
                        2022-12-22 09:47:28.814  - error: host.iobrokerifa instance system.adapter.admin.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                        2022-12-22 09:47:28.814  - info: host.iobrokerifa Restart adapter system.adapter.admin.0 because enabled
                        
                        apollon77A Offline
                        apollon77A Offline
                        apollon77
                        schrieb am zuletzt editiert von
                        #293

                        @woehrer Admin 6.3.5 installieren!

                        Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                        • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                        • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                        1 Antwort Letzte Antwort
                        0
                        • K Offline
                          K Offline
                          Karl 1
                          schrieb am zuletzt editiert von
                          #294

                          Bei mir ist ein ähnliches Problem aufgetreten wie bei bischemer am 14. März 2022 und bei offensichtlich mehreren anderen.
                          Ich habe den RPI mit sudo shutdown -h 0 runtergefahren, die Stromversorgung abgeklemmt und mit Win32DiskImager die SD auf eine Backup Platte kopiert.
                          Nach dem erneuten Einlegen der SD und Anlegen der Versorgungsspannung startet der RPI und auch der ioBroker, der Zugriff über das Web Interface und Vis ist nicht mehr möglich.
                          Den gleichen Effekt hatte ich schon vor einigen Wochen, ich habe mich damit beholfen, dass ich mit einem früheren Backup alle zwischenzeitlichen Änderungen nachgezogen habe (was man einmal machen kann, was aber keine Dauerlösung ist).
                          Da der Effekt m.E. entweder mit dem Shutdown oder dem Abklemmen der Versorgung zu tun hat, kann dieses Problem immer wieder auftauchen, sei es bei einem regulären Backup oder bei einem Spannungsausfall im Versorgungsnetz.
                          Ich habe alles hier Geschriebene gelesen und nachvollzogen aber keine Lösung für mich gefunden!

                          Angefügt einige Infos zu meinem Problem:

                          pi@raspberrypi:~ $ iob info
                          Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
                          
                          
                          2023-01-02 19:09:42.694  - error: host.raspberrypi No connection to databases possible, restart
                          2023-01-02 19:09:42.748  - info: host.raspberrypi iobroker _restart
                          2023-01-02 19:09:48.841  - info: host.raspberrypi iobroker.js-controller version 4.0.23 js-controller starting
                          2023-01-02 19:09:48.862  - info: host.raspberrypi Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
                          2023-01-02 19:09:48.865  - info: host.raspberrypi hostname: raspberrypi, node: v14.19.1
                          2023-01-02 19:09:48.867  - info: host.raspberrypi ip addresses: 192.168.178.43 2003:ea:f10:b800:e3c1:cab5:4a9b:7a32 fe80::78fb:de3d:17ae:be62
                          2023-01-02 19:10:18.939  - error: host.raspberrypi No connection to databases possible, restart
                          
                          pi@raspberrypi:~ $ iob info
                          Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
                          
                          ```pi@raspberrypi:/opt/iobroker/iobroker-data $ ls -l
                          insgesamt 529504
                          drwxrwxrwx+   2 iobroker iobroker      4096 Mai  2  2022 backitup
                          drwxrwxrwx+   2 iobroker iobroker      4096 Jan  2 09:26 backup-objects
                          drwxrwxrwx+  21 iobroker iobroker      4096 Nov 26 11:59 files
                          drwxrwxrwx+ 185 iobroker iobroker     12288 Jan  2 00:02 history
                          -rw-rwxrw-+   1 iobroker iobroker      4715 Mai  2  2022 iobroker.json
                          -rw-rw-rw-+   1 iobroker iobroker         3 Jan  2 11:11 notifications.json
                          -rw-rw-rw-+   1 iobroker iobroker   3715730 Mai  2  2022 objects.json.bak.migrated
                          -rw-rw-rw-+   1 iobroker iobroker 524134421 Jan  2 10:52 objects.jsonl
                          drwxrwxrwx+   2 iobroker iobroker      4096 Jan  2 19:44 objects.jsonl.lock
                          -rw-rw-rw-+   1 iobroker iobroker   3718224 Mai  2  2022 objects.json.migrated
                          -rw-rw-rw-+   1 iobroker iobroker    442833 Mai  2  2022 states.json.bak.migrated
                          -rw-rw-rw-+   1 iobroker iobroker   9691615 Jan  2 11:11 states.jsonl
                          -rw-rw-rw-+   1 iobroker iobroker    442977 Mai  2  2022 states.json.migrated
                          pi@raspberrypi:/opt/iobroker/iobroker-data $
                          
                          apollon77A 1 Antwort Letzte Antwort
                          0
                          • K Karl 1

                            Bei mir ist ein ähnliches Problem aufgetreten wie bei bischemer am 14. März 2022 und bei offensichtlich mehreren anderen.
                            Ich habe den RPI mit sudo shutdown -h 0 runtergefahren, die Stromversorgung abgeklemmt und mit Win32DiskImager die SD auf eine Backup Platte kopiert.
                            Nach dem erneuten Einlegen der SD und Anlegen der Versorgungsspannung startet der RPI und auch der ioBroker, der Zugriff über das Web Interface und Vis ist nicht mehr möglich.
                            Den gleichen Effekt hatte ich schon vor einigen Wochen, ich habe mich damit beholfen, dass ich mit einem früheren Backup alle zwischenzeitlichen Änderungen nachgezogen habe (was man einmal machen kann, was aber keine Dauerlösung ist).
                            Da der Effekt m.E. entweder mit dem Shutdown oder dem Abklemmen der Versorgung zu tun hat, kann dieses Problem immer wieder auftauchen, sei es bei einem regulären Backup oder bei einem Spannungsausfall im Versorgungsnetz.
                            Ich habe alles hier Geschriebene gelesen und nachvollzogen aber keine Lösung für mich gefunden!

                            Angefügt einige Infos zu meinem Problem:

                            pi@raspberrypi:~ $ iob info
                            Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
                            
                            
                            2023-01-02 19:09:42.694  - error: host.raspberrypi No connection to databases possible, restart
                            2023-01-02 19:09:42.748  - info: host.raspberrypi iobroker _restart
                            2023-01-02 19:09:48.841  - info: host.raspberrypi iobroker.js-controller version 4.0.23 js-controller starting
                            2023-01-02 19:09:48.862  - info: host.raspberrypi Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
                            2023-01-02 19:09:48.865  - info: host.raspberrypi hostname: raspberrypi, node: v14.19.1
                            2023-01-02 19:09:48.867  - info: host.raspberrypi ip addresses: 192.168.178.43 2003:ea:f10:b800:e3c1:cab5:4a9b:7a32 fe80::78fb:de3d:17ae:be62
                            2023-01-02 19:10:18.939  - error: host.raspberrypi No connection to databases possible, restart
                            
                            pi@raspberrypi:~ $ iob info
                            Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
                            
                            ```pi@raspberrypi:/opt/iobroker/iobroker-data $ ls -l
                            insgesamt 529504
                            drwxrwxrwx+   2 iobroker iobroker      4096 Mai  2  2022 backitup
                            drwxrwxrwx+   2 iobroker iobroker      4096 Jan  2 09:26 backup-objects
                            drwxrwxrwx+  21 iobroker iobroker      4096 Nov 26 11:59 files
                            drwxrwxrwx+ 185 iobroker iobroker     12288 Jan  2 00:02 history
                            -rw-rwxrw-+   1 iobroker iobroker      4715 Mai  2  2022 iobroker.json
                            -rw-rw-rw-+   1 iobroker iobroker         3 Jan  2 11:11 notifications.json
                            -rw-rw-rw-+   1 iobroker iobroker   3715730 Mai  2  2022 objects.json.bak.migrated
                            -rw-rw-rw-+   1 iobroker iobroker 524134421 Jan  2 10:52 objects.jsonl
                            drwxrwxrwx+   2 iobroker iobroker      4096 Jan  2 19:44 objects.jsonl.lock
                            -rw-rw-rw-+   1 iobroker iobroker   3718224 Mai  2  2022 objects.json.migrated
                            -rw-rw-rw-+   1 iobroker iobroker    442833 Mai  2  2022 states.json.bak.migrated
                            -rw-rw-rw-+   1 iobroker iobroker   9691615 Jan  2 11:11 states.jsonl
                            -rw-rw-rw-+   1 iobroker iobroker    442977 Mai  2  2022 states.json.migrated
                            pi@raspberrypi:/opt/iobroker/iobroker-data $
                            
                            apollon77A Offline
                            apollon77A Offline
                            apollon77
                            schrieb am zuletzt editiert von
                            #295

                            @karl-1 Dann fang doch mal mit "iob fix" an ... danach sollte deine objects.jsonl kleiner sein ... gehts dann besser?

                            Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                            • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                            • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                            K 1 Antwort Letzte Antwort
                            0
                            • apollon77A apollon77

                              @karl-1 Dann fang doch mal mit "iob fix" an ... danach sollte deine objects.jsonl kleiner sein ... gehts dann besser?

                              K Offline
                              K Offline
                              Karl 1
                              schrieb am zuletzt editiert von
                              #296

                              @apollon77 iob fix ändert nichts an der Größe der Daten!
                              iob fix wird innerhalb kürzester Zeit beendet. Kann es sein, dass es überhaupt nicht läuft?

                              Thomas BraunT apollon77A 2 Antworten Letzte Antwort
                              0
                              • K Karl 1

                                @apollon77 iob fix ändert nichts an der Größe der Daten!
                                iob fix wird innerhalb kürzester Zeit beendet. Kann es sein, dass es überhaupt nicht läuft?

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

                                @karl-1 sagte in Server Cannot start inMem-objects on port 9001:

                                iob fix wird innerhalb kürzester Zeit beendet.

                                Mit welchen Meldungen?

                                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

                                K 1 Antwort Letzte Antwort
                                0
                                • K Karl 1

                                  @apollon77 iob fix ändert nichts an der Größe der Daten!
                                  iob fix wird innerhalb kürzester Zeit beendet. Kann es sein, dass es überhaupt nicht läuft?

                                  apollon77A Offline
                                  apollon77A Offline
                                  apollon77
                                  schrieb am zuletzt editiert von
                                  #298

                                  @karl-1 sagte in Server Cannot start inMem-objects on port 9001:

                                  iob fix wird innerhalb kürzester Zeit beendet. Kann es sein, dass es überhaupt nicht läuft?

                                  Das gibt an sich eeeiniges aus .... Alternativ lass mal curl -sLf https://iobroker.net/fix.sh | bash - laufen

                                  Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                                  • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                                  • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                                  K 1 Antwort Letzte Antwort
                                  0
                                  • apollon77A apollon77

                                    @karl-1 sagte in Server Cannot start inMem-objects on port 9001:

                                    iob fix wird innerhalb kürzester Zeit beendet. Kann es sein, dass es überhaupt nicht läuft?

                                    Das gibt an sich eeeiniges aus .... Alternativ lass mal curl -sLf https://iobroker.net/fix.sh | bash - laufen

                                    K Offline
                                    K Offline
                                    Karl 1
                                    schrieb am zuletzt editiert von
                                    #299

                                    @apollon77 sagte in Server Cannot start inMem-objects on port 9001:

                                    curl -sLf https://iobroker.net/fix.sh | bash -

                                    Da scheint nichts zu passieren!

                                    1 Antwort Letzte Antwort
                                    0
                                    • Thomas BraunT Thomas Braun

                                      @karl-1 sagte in Server Cannot start inMem-objects on port 9001:

                                      iob fix wird innerhalb kürzester Zeit beendet.

                                      Mit welchen Meldungen?

                                      K Offline
                                      K Offline
                                      Karl 1
                                      schrieb am zuletzt editiert von
                                      #300

                                      @thomas-braun Es gibt keine Meldungen!

                                      apollon77A 1 Antwort Letzte Antwort
                                      0
                                      • K Karl 1

                                        @thomas-braun Es gibt keine Meldungen!

                                        apollon77A Offline
                                        apollon77A Offline
                                        apollon77
                                        schrieb am zuletzt editiert von
                                        #301

                                        @karl-1 Was sagt "curl https://iobroker.net/fix.sh"?

                                        Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                                        • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                                        • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                                        K 1 Antwort Letzte Antwort
                                        0
                                        • apollon77A apollon77

                                          @karl-1 Was sagt "curl https://iobroker.net/fix.sh"?

                                          K Offline
                                          K Offline
                                          Karl 1
                                          schrieb am zuletzt editiert von
                                          #302

                                          @apollon77

                                          pi@raspberrypi:/ $ curl https://iobroker.net/fix.sh
                                          curl: (60) SSL certificate problem: certificate has expired
                                          More details here: https://curl.haxx.se/docs/sslcerts.html
                                          
                                          curl performs SSL certificate verification by default, using a "bundle"
                                           of Certificate Authority (CA) public keys (CA certs). If the default
                                           bundle file isn't adequate, you can specify an alternate file
                                           using the --cacert option.
                                          If this HTTPS server uses a certificate signed by a CA represented in
                                           the bundle, the certificate verification probably failed due to a
                                           problem with the certificate (it might be expired, or the name might
                                           not match the domain name in the URL).
                                          If you'd like to turn off curl's verification of the certificate, use
                                           the -k (or --insecure) option.
                                          
                                          apollon77A 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
                                          FAQ Cloud / IOT
                                          HowTo: Node.js-Update
                                          HowTo: Backup/Restore
                                          Downloads
                                          BLOG

                                          610

                                          Online

                                          32.4k

                                          Benutzer

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