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. iob startet nach nodejs-Update nicht mehr

NEWS

  • Neues YouTube-Video: Visualisierung im Devices-Adapter
    BluefoxB
    Bluefox
    5
    1
    52

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

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    11
    1
    755

iob startet nach nodejs-Update nicht mehr

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
35 Beiträge 4 Kommentatoren 2.8k Aufrufe 3 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.
  • CaskstrengtherC Caskstrengther

    @thomas-braun
    Das habe ich gemacht - hat leider nichts verändert.

    @Homoran
    Jetzt wirst Du wahrscheinlich mit den Augen rollen - aber, wie starte ich in einem Putty-Fenster eine 2. Session? 😰

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

    @caskstrengther putty ein zweites mal öffnen und einloggen z.b. oder im Fenster recht maustaste und duplicate session auswählen

    umgestiegen von Proxmox auf Unraid

    1 Antwort Letzte Antwort
    0
    • HomoranH Homoran

      @caskstrengther jetzt bitte 2. Session im Terminal aufmachen und dort iobroker logs --watch eingeben.
      Dann in der ersten Konsole iobroker start admin

      was kommt in beiden Konsolen?

      CaskstrengtherC Offline
      CaskstrengtherC Offline
      Caskstrengther
      schrieb am zuletzt editiert von
      #18

      @homoran
      Im Watch-Fenster hagelt es diese Fehlermeldungen, auch wenn ich den Adminadapter noch gar nicht manuell gestartet habe.

      pi@raspberrypi:~ $ iobroker logs --watch
      2022-07-15 14:33:37.276  - error: host.raspberrypi-Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
      2022-07-15 14:33:41.905  - info: host.raspberrypi iobroker.js-controller version 4.0.23 js-controller starting
      2022-07-15 14:33:41.911  - info: host.raspberrypi Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
      2022-07-15 14:33:41.912  - info: host.raspberrypi hostname: raspberrypi, node: v16.16.0
      2022-07-15 14:33:41.913  - info: host.raspberrypi ip addresses: 192.168.178.67 fd00::d155:2e63:d52a:d39a 2003:f3:570c:8a00:e48b:95ee:ad42:b8f1 fe80::8f98:52a3:156e:d67f
      2022-07-15 14:33:44.027  - error: host.raspberrypi-Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
      2022-07-15 14:35:12.062  - info: host.raspberrypi iobroker.js-controller version 4.0.23 js-controller starting
      2022-07-15 14:35:12.068  - info: host.raspberrypi Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
      2022-07-15 14:35:12.069  - info: host.raspberrypi hostname: raspberrypi, node: v16.16.0
      2022-07-15 14:35:12.070  - info: host.raspberrypi ip addresses: 192.168.178.67 fd00::d155:2e63:d52a:d39a 2003:f3:570c:8a00:e48b:95ee:ad42:b8f1 fe80::8f98:52a3:156e:d67f
      2022-07-15 14:35:42.091  - error: host.raspberrypi No connection to databases possible, restart
      2022-07-15 14:35:42.105  - info: host.raspberrypi iobroker _restart
      2022-07-15 14:35:47.721  - info: host.raspberrypi iobroker.js-controller version 4.0.23 js-controller starting
      2022-07-15 14:35:47.727  - info: host.raspberrypi Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
      2022-07-15 14:35:47.728  - info: host.raspberrypi hostname: raspberrypi, node: v16.16.0
      2022-07-15 14:35:47.729  - info: host.raspberrypi ip addresses: 192.168.178.67 fd00::d155:2e63:d52a:d39a 2003:f3:570c:8a00:e48b:95ee:ad42:b8f1 fe80::8f98:52a3:156e:d67f
      2022-07-15 14:36:17.763  - error: host.raspberrypi No connection to databases possible, restart
      2022-07-15 14:36:17.777  - info: host.raspberrypi iobroker _restart
      2022-07-15 14:36:23.430  - info: host.raspberrypi iobroker.js-controller version 4.0.23 js-controller starting
      2022-07-15 14:36:23.436  - info: host.raspberrypi Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
      2022-07-15 14:36:23.437  - info: host.raspberrypi hostname: raspberrypi, node: v16.16.0
      2022-07-15 14:36:23.438  - info: host.raspberrypi ip addresses: 192.168.178.67 fd00::d155:2e63:d52a:d39a 2003:f3:570c:8a00:e48b:95ee:ad42:b8f1 fe80::8f98:52a3:156e:d67f
      2022-07-15 14:36:53.459  - error: host.raspberrypi No connection to databases possible, restart
      2022-07-15 14:36:53.473  - info: host.raspberrypi iobroker _restart
      2022-07-15 14:36:58.956  - info: host.raspberrypi iobroker.js-controller version 4.0.23 js-controller starting
      2022-07-15 14:36:58.962  - info: host.raspberrypi Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
      2022-07-15 14:36:58.963  - info: host.raspberrypi hostname: raspberrypi, node: v16.16.0
      2022-07-15 14:36:58.964  - info: host.raspberrypi ip addresses: 192.168.178.67 fd00::d155:2e63:d52a:d39a 2003:f3:570c:8a00:e48b:95ee:ad42:b8f1 fe80::8f98:52a3:156e:d67f
      

      Das andere Fenster meldet:

       iobroker start admin
      Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
      
      Thomas BraunT 1 Antwort Letzte Antwort
      0
      • CaskstrengtherC Caskstrengther

        @homoran
        Im Watch-Fenster hagelt es diese Fehlermeldungen, auch wenn ich den Adminadapter noch gar nicht manuell gestartet habe.

        pi@raspberrypi:~ $ iobroker logs --watch
        2022-07-15 14:33:37.276  - error: host.raspberrypi-Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
        2022-07-15 14:33:41.905  - info: host.raspberrypi iobroker.js-controller version 4.0.23 js-controller starting
        2022-07-15 14:33:41.911  - info: host.raspberrypi Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
        2022-07-15 14:33:41.912  - info: host.raspberrypi hostname: raspberrypi, node: v16.16.0
        2022-07-15 14:33:41.913  - info: host.raspberrypi ip addresses: 192.168.178.67 fd00::d155:2e63:d52a:d39a 2003:f3:570c:8a00:e48b:95ee:ad42:b8f1 fe80::8f98:52a3:156e:d67f
        2022-07-15 14:33:44.027  - error: host.raspberrypi-Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
        2022-07-15 14:35:12.062  - info: host.raspberrypi iobroker.js-controller version 4.0.23 js-controller starting
        2022-07-15 14:35:12.068  - info: host.raspberrypi Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
        2022-07-15 14:35:12.069  - info: host.raspberrypi hostname: raspberrypi, node: v16.16.0
        2022-07-15 14:35:12.070  - info: host.raspberrypi ip addresses: 192.168.178.67 fd00::d155:2e63:d52a:d39a 2003:f3:570c:8a00:e48b:95ee:ad42:b8f1 fe80::8f98:52a3:156e:d67f
        2022-07-15 14:35:42.091  - error: host.raspberrypi No connection to databases possible, restart
        2022-07-15 14:35:42.105  - info: host.raspberrypi iobroker _restart
        2022-07-15 14:35:47.721  - info: host.raspberrypi iobroker.js-controller version 4.0.23 js-controller starting
        2022-07-15 14:35:47.727  - info: host.raspberrypi Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
        2022-07-15 14:35:47.728  - info: host.raspberrypi hostname: raspberrypi, node: v16.16.0
        2022-07-15 14:35:47.729  - info: host.raspberrypi ip addresses: 192.168.178.67 fd00::d155:2e63:d52a:d39a 2003:f3:570c:8a00:e48b:95ee:ad42:b8f1 fe80::8f98:52a3:156e:d67f
        2022-07-15 14:36:17.763  - error: host.raspberrypi No connection to databases possible, restart
        2022-07-15 14:36:17.777  - info: host.raspberrypi iobroker _restart
        2022-07-15 14:36:23.430  - info: host.raspberrypi iobroker.js-controller version 4.0.23 js-controller starting
        2022-07-15 14:36:23.436  - info: host.raspberrypi Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
        2022-07-15 14:36:23.437  - info: host.raspberrypi hostname: raspberrypi, node: v16.16.0
        2022-07-15 14:36:23.438  - info: host.raspberrypi ip addresses: 192.168.178.67 fd00::d155:2e63:d52a:d39a 2003:f3:570c:8a00:e48b:95ee:ad42:b8f1 fe80::8f98:52a3:156e:d67f
        2022-07-15 14:36:53.459  - error: host.raspberrypi No connection to databases possible, restart
        2022-07-15 14:36:53.473  - info: host.raspberrypi iobroker _restart
        2022-07-15 14:36:58.956  - info: host.raspberrypi iobroker.js-controller version 4.0.23 js-controller starting
        2022-07-15 14:36:58.962  - info: host.raspberrypi Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
        2022-07-15 14:36:58.963  - info: host.raspberrypi hostname: raspberrypi, node: v16.16.0
        2022-07-15 14:36:58.964  - info: host.raspberrypi ip addresses: 192.168.178.67 fd00::d155:2e63:d52a:d39a 2003:f3:570c:8a00:e48b:95ee:ad42:b8f1 fe80::8f98:52a3:156e:d67f
        

        Das andere Fenster meldet:

         iobroker start admin
        Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
        
        Thomas BraunT Online
        Thomas BraunT Online
        Thomas Braun
        Most Active
        schrieb am zuletzt editiert von
        #19

        @caskstrengther

        systemctl status iobroker
        

        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

        CaskstrengtherC 1 Antwort Letzte Antwort
        0
        • crunchipC Abwesend
          crunchipC Abwesend
          crunchip
          Forum Testing Most Active Developer
          schrieb am zuletzt editiert von
          #20

          @caskstrengther eventuell hilft es https://forum.iobroker.net/post/824315

          umgestiegen von Proxmox auf Unraid

          1 Antwort Letzte Antwort
          0
          • Thomas BraunT Thomas Braun

            @caskstrengther

            systemctl status iobroker
            
            CaskstrengtherC Offline
            CaskstrengtherC Offline
            Caskstrengther
            schrieb am zuletzt editiert von
            #21

            @thomas-braun

            pi@raspberrypi:/opt/iobroker/iobroker-data $ systemctl status iobroker
            ● iobroker.service - ioBroker Server
               Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor preset: enabled)
               Active: active (running) since Sat 2022-07-16 14:11:00 CEST; 22s ago
                 Docs: http://iobroker.net
             Main PID: 16965 (iobroker.js-con)
                Tasks: 11 (limit: 4915)
               CGroup: /system.slice/iobroker.service
                       └─16965 iobroker.js-controller
            
            Jul 16 14:11:00 raspberrypi systemd[1]: Started ioBroker Server.
            
            CaskstrengtherC Thomas BraunT 2 Antworten Letzte Antwort
            0
            • CaskstrengtherC Caskstrengther

              @thomas-braun

              pi@raspberrypi:/opt/iobroker/iobroker-data $ systemctl status iobroker
              ● iobroker.service - ioBroker Server
                 Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor preset: enabled)
                 Active: active (running) since Sat 2022-07-16 14:11:00 CEST; 22s ago
                   Docs: http://iobroker.net
               Main PID: 16965 (iobroker.js-con)
                  Tasks: 11 (limit: 4915)
                 CGroup: /system.slice/iobroker.service
                         └─16965 iobroker.js-controller
              
              Jul 16 14:11:00 raspberrypi systemd[1]: Started ioBroker Server.
              
              CaskstrengtherC Offline
              CaskstrengtherC Offline
              Caskstrengther
              schrieb am zuletzt editiert von
              #22

              @caskstrengther
              Ich habe mir mal die Dateien im iobroker-Verzeichnis angesehen.
              Ist es normal, das "objects.jsonl" sooooo groß ist?

              pi@raspberrypi:/opt/iobroker/iobroker-data $ ls -lisa
              insgesamt 1112584
              395214       4 drwxrwxr-x+  7 iobroker iobroker       4096 Jul 16 14:12 .
              130047       4 drwxrwxr-x+  6 iobroker iobroker       4096 Jul 15 16:52 ..
              390150       4 drwxrwxr-x+  2 iobroker iobroker       4096 Jul 15 02:45 backitup
              395217      12 drwxrwxr-x+  2 iobroker iobroker      12288 Jul 15 14:11 backup-objects
              395265       4 drwxrwxr-x+ 16 iobroker iobroker       4096 Feb 23 11:41 files
              395215       8 -rw-rwxr--+  1 iobroker iobroker       4718 Mai 10 20:18 iobroker.json
              395366       4 -rw-rwxr--+  1 iobroker iobroker          3 Jul 15 14:21 notifications.json
              391718    5432 -rw-rwxr--+  1 iobroker iobroker    5558617 Feb  7 13:11 objects.json.bak.migrated
              391766 1097960 -rw-rwxr--+  1 iobroker iobroker 1124304666 Jul 15 16:39 objects.jsonl
              525495       4 drwxrwxr-x+  2 iobroker iobroker       4096 Jul 16 14:13 objects.jsonl.lock
              389882    5432 -rw-rwxr--+  1 iobroker iobroker    5558617 Feb  7 13:11 objects.json.migrated
              393958     412 -rw-rwxr--+  1 iobroker iobroker     420176 Feb  7 13:10 states.json.bak.migrated
              388621       0 -rw-rwxr--+  1 iobroker iobroker          0 Aug 27  2021 states.json.broken
              388908    2888 -rw-rwxr--+  1 iobroker iobroker    2956555 Jul 15 16:39 states.jsonl
              388622     412 -rw-rwxr--+  1 iobroker iobroker     420205 Feb  7 13:11 states.json.migrated
              396939       4 drwxrwxr-x+  2 iobroker iobroker       4096 Mär 12  2021 yahka.0.hapdata
              
              Thomas BraunT 2 Antworten Letzte Antwort
              0
              • CaskstrengtherC Caskstrengther

                @thomas-braun

                pi@raspberrypi:/opt/iobroker/iobroker-data $ systemctl status iobroker
                ● iobroker.service - ioBroker Server
                   Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor preset: enabled)
                   Active: active (running) since Sat 2022-07-16 14:11:00 CEST; 22s ago
                     Docs: http://iobroker.net
                 Main PID: 16965 (iobroker.js-con)
                    Tasks: 11 (limit: 4915)
                   CGroup: /system.slice/iobroker.service
                           └─16965 iobroker.js-controller
                
                Jul 16 14:11:00 raspberrypi systemd[1]: Started ioBroker Server.
                
                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                schrieb am zuletzt editiert von
                #23

                @caskstrengther sagte in iob startet nach nodejs-Update nicht mehr:

                systemctl status iobroker

                Nicht mehr?
                Das sollte eigentlich mehr ausspucken. Bei mir:

                ● iobroker.service - ioBroker Server
                     Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor preset: enabled)
                     Active: active (running) since Thu 2022-07-14 01:39:03 CEST; 2 days ago
                       Docs: http://iobroker.net
                   Main PID: 535 (iobroker.js-con)
                      Tasks: 370 (limit: 8986)
                        CPU: 12h 54min 54.233s
                     CGroup: /system.slice/iobroker.service
                             ├─   535 iobroker.js-controller
                             ├─   754 io.history.0
                             ├─   968 io.whatsapp-cmb.0
                             ├─  1013 io.mihome-vacuum.0
                             ├─  1028 io.mihome.0
                             ├─  1056 io.rpi2.0
                             ├─  1116 io.tr-064.0
                             ├─  1131 io.zigbee.0
                             ├─  1142 io.backitup.0
                             ├─  1188 io.ble.0
                             ├─  1203 /usr/bin/node /opt/iobroker/node_modules/iobroker.ble/build/scanProcess -s
                             ├─  1210 io.echarts.0
                             ├─  1225 io.followthesun.0
                             ├─  1247 io.govee.0
                             ├─  1262 io.info.0
                             ├─  1285 io.iot.0
                             ├─  1371 io.miio.0
                             ├─  1556 io.nina.0
                             ├─  1877 io.pi-hole.0
                             ├─  1903 io.sainlogic.0
                             ├─  1918 io.simple-api.0
                             ├─  1974 io.socketio.0
                             ├─  1989 io.switchbot-hub.0
                             ├─  2004 io.tado.0
                             ├─  2044 io.tradfri.0
                             ├─  2098 io.web.0
                             ├─  2117 io.ws.0
                             ├─  2132 io.tankerkoenig.0
                             ├─  2256 io.nuki-extended.0
                             ├─ 44628 io.trashschedule.0
                             ├─ 52883 io.admin.0
                             ├─ 60253 io.alexa2.0
                             ├─136025 io.javascript.0
                             └─202094 io.parcel.0
                
                Jul 16 03:43:00 chet sudo[172541]: iobroker : PWD=/opt/iobroker/node_modules/iobroker.backitup ; USER=root ; COMMAND=/usr/bin/umount /opt/iobroker/backups
                Jul 16 03:43:00 chet sudo[172541]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1001)
                Jul 16 03:43:00 chet sudo[172541]: pam_unix(sudo:session): session closed for user root
                

                Und das ist nicht mal die komplette Ausgabe.

                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

                CaskstrengtherC 1 Antwort Letzte Antwort
                0
                • CaskstrengtherC Caskstrengther

                  @caskstrengther
                  Ich habe mir mal die Dateien im iobroker-Verzeichnis angesehen.
                  Ist es normal, das "objects.jsonl" sooooo groß ist?

                  pi@raspberrypi:/opt/iobroker/iobroker-data $ ls -lisa
                  insgesamt 1112584
                  395214       4 drwxrwxr-x+  7 iobroker iobroker       4096 Jul 16 14:12 .
                  130047       4 drwxrwxr-x+  6 iobroker iobroker       4096 Jul 15 16:52 ..
                  390150       4 drwxrwxr-x+  2 iobroker iobroker       4096 Jul 15 02:45 backitup
                  395217      12 drwxrwxr-x+  2 iobroker iobroker      12288 Jul 15 14:11 backup-objects
                  395265       4 drwxrwxr-x+ 16 iobroker iobroker       4096 Feb 23 11:41 files
                  395215       8 -rw-rwxr--+  1 iobroker iobroker       4718 Mai 10 20:18 iobroker.json
                  395366       4 -rw-rwxr--+  1 iobroker iobroker          3 Jul 15 14:21 notifications.json
                  391718    5432 -rw-rwxr--+  1 iobroker iobroker    5558617 Feb  7 13:11 objects.json.bak.migrated
                  391766 1097960 -rw-rwxr--+  1 iobroker iobroker 1124304666 Jul 15 16:39 objects.jsonl
                  525495       4 drwxrwxr-x+  2 iobroker iobroker       4096 Jul 16 14:13 objects.jsonl.lock
                  389882    5432 -rw-rwxr--+  1 iobroker iobroker    5558617 Feb  7 13:11 objects.json.migrated
                  393958     412 -rw-rwxr--+  1 iobroker iobroker     420176 Feb  7 13:10 states.json.bak.migrated
                  388621       0 -rw-rwxr--+  1 iobroker iobroker          0 Aug 27  2021 states.json.broken
                  388908    2888 -rw-rwxr--+  1 iobroker iobroker    2956555 Jul 15 16:39 states.jsonl
                  388622     412 -rw-rwxr--+  1 iobroker iobroker     420205 Feb  7 13:11 states.json.migrated
                  396939       4 drwxrwxr-x+  2 iobroker iobroker       4096 Mär 12  2021 yahka.0.hapdata
                  
                  Thomas BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  schrieb am zuletzt editiert von
                  #24

                  @caskstrengther

                  Wie groß ist die Datei denn?

                  Die lisa heißt besser lisah oder lh
                  Dann ist das auch übersichtlicher.

                  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

                  CaskstrengtherC 1 Antwort Letzte Antwort
                  0
                  • CaskstrengtherC Caskstrengther

                    @caskstrengther
                    Ich habe mir mal die Dateien im iobroker-Verzeichnis angesehen.
                    Ist es normal, das "objects.jsonl" sooooo groß ist?

                    pi@raspberrypi:/opt/iobroker/iobroker-data $ ls -lisa
                    insgesamt 1112584
                    395214       4 drwxrwxr-x+  7 iobroker iobroker       4096 Jul 16 14:12 .
                    130047       4 drwxrwxr-x+  6 iobroker iobroker       4096 Jul 15 16:52 ..
                    390150       4 drwxrwxr-x+  2 iobroker iobroker       4096 Jul 15 02:45 backitup
                    395217      12 drwxrwxr-x+  2 iobroker iobroker      12288 Jul 15 14:11 backup-objects
                    395265       4 drwxrwxr-x+ 16 iobroker iobroker       4096 Feb 23 11:41 files
                    395215       8 -rw-rwxr--+  1 iobroker iobroker       4718 Mai 10 20:18 iobroker.json
                    395366       4 -rw-rwxr--+  1 iobroker iobroker          3 Jul 15 14:21 notifications.json
                    391718    5432 -rw-rwxr--+  1 iobroker iobroker    5558617 Feb  7 13:11 objects.json.bak.migrated
                    391766 1097960 -rw-rwxr--+  1 iobroker iobroker 1124304666 Jul 15 16:39 objects.jsonl
                    525495       4 drwxrwxr-x+  2 iobroker iobroker       4096 Jul 16 14:13 objects.jsonl.lock
                    389882    5432 -rw-rwxr--+  1 iobroker iobroker    5558617 Feb  7 13:11 objects.json.migrated
                    393958     412 -rw-rwxr--+  1 iobroker iobroker     420176 Feb  7 13:10 states.json.bak.migrated
                    388621       0 -rw-rwxr--+  1 iobroker iobroker          0 Aug 27  2021 states.json.broken
                    388908    2888 -rw-rwxr--+  1 iobroker iobroker    2956555 Jul 15 16:39 states.jsonl
                    388622     412 -rw-rwxr--+  1 iobroker iobroker     420205 Feb  7 13:11 states.json.migrated
                    396939       4 drwxrwxr-x+  2 iobroker iobroker       4096 Mär 12  2021 yahka.0.hapdata
                    
                    Thomas BraunT Online
                    Thomas BraunT Online
                    Thomas Braun
                    Most Active
                    schrieb am zuletzt editiert von
                    #25

                    @caskstrengther

                    Schau mal hier rein:

                    https://forum.iobroker.net/topic/56379/zu-viele-objekte/5

                    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
                    • Thomas BraunT Thomas Braun

                      @caskstrengther sagte in iob startet nach nodejs-Update nicht mehr:

                      systemctl status iobroker

                      Nicht mehr?
                      Das sollte eigentlich mehr ausspucken. Bei mir:

                      ● iobroker.service - ioBroker Server
                           Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor preset: enabled)
                           Active: active (running) since Thu 2022-07-14 01:39:03 CEST; 2 days ago
                             Docs: http://iobroker.net
                         Main PID: 535 (iobroker.js-con)
                            Tasks: 370 (limit: 8986)
                              CPU: 12h 54min 54.233s
                           CGroup: /system.slice/iobroker.service
                                   ├─   535 iobroker.js-controller
                                   ├─   754 io.history.0
                                   ├─   968 io.whatsapp-cmb.0
                                   ├─  1013 io.mihome-vacuum.0
                                   ├─  1028 io.mihome.0
                                   ├─  1056 io.rpi2.0
                                   ├─  1116 io.tr-064.0
                                   ├─  1131 io.zigbee.0
                                   ├─  1142 io.backitup.0
                                   ├─  1188 io.ble.0
                                   ├─  1203 /usr/bin/node /opt/iobroker/node_modules/iobroker.ble/build/scanProcess -s
                                   ├─  1210 io.echarts.0
                                   ├─  1225 io.followthesun.0
                                   ├─  1247 io.govee.0
                                   ├─  1262 io.info.0
                                   ├─  1285 io.iot.0
                                   ├─  1371 io.miio.0
                                   ├─  1556 io.nina.0
                                   ├─  1877 io.pi-hole.0
                                   ├─  1903 io.sainlogic.0
                                   ├─  1918 io.simple-api.0
                                   ├─  1974 io.socketio.0
                                   ├─  1989 io.switchbot-hub.0
                                   ├─  2004 io.tado.0
                                   ├─  2044 io.tradfri.0
                                   ├─  2098 io.web.0
                                   ├─  2117 io.ws.0
                                   ├─  2132 io.tankerkoenig.0
                                   ├─  2256 io.nuki-extended.0
                                   ├─ 44628 io.trashschedule.0
                                   ├─ 52883 io.admin.0
                                   ├─ 60253 io.alexa2.0
                                   ├─136025 io.javascript.0
                                   └─202094 io.parcel.0
                      
                      Jul 16 03:43:00 chet sudo[172541]: iobroker : PWD=/opt/iobroker/node_modules/iobroker.backitup ; USER=root ; COMMAND=/usr/bin/umount /opt/iobroker/backups
                      Jul 16 03:43:00 chet sudo[172541]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1001)
                      Jul 16 03:43:00 chet sudo[172541]: pam_unix(sudo:session): session closed for user root
                      

                      Und das ist nicht mal die komplette Ausgabe.

                      CaskstrengtherC Offline
                      CaskstrengtherC Offline
                      Caskstrengther
                      schrieb am zuletzt editiert von
                      #26

                      @thomas-braun
                      Nein - nochmal:

                      pi@raspberrypi:/opt/iobroker/iobroker-data $ systemctl status iobroker
                      ● iobroker.service - ioBroker Server
                         Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor preset: enabled)
                         Active: active (running) since Sat 2022-07-16 14:24:04 CEST; 22s ago
                           Docs: http://iobroker.net
                       Main PID: 17479 (iobroker.js-con)
                          Tasks: 11 (limit: 4915)
                         CGroup: /system.slice/iobroker.service
                                 └─17479 iobroker.js-controller
                      
                      Jul 16 14:24:04 raspberrypi systemd[1]: Started ioBroker Server.
                      pi@raspberrypi:/opt/iobroker/iobroker-data $
                      
                      1 Antwort Letzte Antwort
                      0
                      • Thomas BraunT Thomas Braun

                        @caskstrengther

                        Wie groß ist die Datei denn?

                        Die lisa heißt besser lisah oder lh
                        Dann ist das auch übersichtlicher.

                        CaskstrengtherC Offline
                        CaskstrengtherC Offline
                        Caskstrengther
                        schrieb am zuletzt editiert von
                        #27

                        @thomas-braun
                        Diese Datei ist 1,1GB groß?!?

                        pi@raspberrypi:/opt/iobroker/iobroker-data $ ls -lh
                        insgesamt 1,1G
                        drwxrwxr-x+  2 iobroker iobroker 4,0K Jul 15 02:45 backitup
                        drwxrwxr-x+  2 iobroker iobroker  12K Jul 15 14:11 backup-objects
                        drwxrwxr-x+ 16 iobroker iobroker 4,0K Feb 23 11:41 files
                        -rw-rwxr--+  1 iobroker iobroker 4,7K Mai 10 20:18 iobroker.json
                        -rw-rwxr--+  1 iobroker iobroker    3 Jul 15 14:21 notifications.json
                        -rw-rwxr--+  1 iobroker iobroker 5,4M Feb  7 13:11 objects.json.bak.migrated
                        -rw-rwxr--+  1 iobroker iobroker 1,1G Jul 15 16:39 objects.jsonl
                        drwxrwxr-x+  2 iobroker iobroker 4,0K Jul 16 14:26 objects.jsonl.lock
                        -rw-rwxr--+  1 iobroker iobroker 5,4M Feb  7 13:11 objects.json.migrated
                        -rw-rwxr--+  1 iobroker iobroker 411K Feb  7 13:10 states.json.bak.migrated
                        -rw-rwxr--+  1 iobroker iobroker    0 Aug 27  2021 states.json.broken
                        -rw-rwxr--+  1 iobroker iobroker 2,9M Jul 15 16:39 states.jsonl
                        -rw-rwxr--+  1 iobroker iobroker 411K Feb  7 13:11 states.json.migrated
                        drwxrwxr-x+  2 iobroker iobroker 4,0K Mär 12  2021 yahka.0.hapdata
                        
                        Thomas BraunT 1 Antwort Letzte Antwort
                        0
                        • CaskstrengtherC Caskstrengther

                          @thomas-braun
                          Diese Datei ist 1,1GB groß?!?

                          pi@raspberrypi:/opt/iobroker/iobroker-data $ ls -lh
                          insgesamt 1,1G
                          drwxrwxr-x+  2 iobroker iobroker 4,0K Jul 15 02:45 backitup
                          drwxrwxr-x+  2 iobroker iobroker  12K Jul 15 14:11 backup-objects
                          drwxrwxr-x+ 16 iobroker iobroker 4,0K Feb 23 11:41 files
                          -rw-rwxr--+  1 iobroker iobroker 4,7K Mai 10 20:18 iobroker.json
                          -rw-rwxr--+  1 iobroker iobroker    3 Jul 15 14:21 notifications.json
                          -rw-rwxr--+  1 iobroker iobroker 5,4M Feb  7 13:11 objects.json.bak.migrated
                          -rw-rwxr--+  1 iobroker iobroker 1,1G Jul 15 16:39 objects.jsonl
                          drwxrwxr-x+  2 iobroker iobroker 4,0K Jul 16 14:26 objects.jsonl.lock
                          -rw-rwxr--+  1 iobroker iobroker 5,4M Feb  7 13:11 objects.json.migrated
                          -rw-rwxr--+  1 iobroker iobroker 411K Feb  7 13:10 states.json.bak.migrated
                          -rw-rwxr--+  1 iobroker iobroker    0 Aug 27  2021 states.json.broken
                          -rw-rwxr--+  1 iobroker iobroker 2,9M Jul 15 16:39 states.jsonl
                          -rw-rwxr--+  1 iobroker iobroker 411K Feb  7 13:11 states.json.migrated
                          drwxrwxr-x+  2 iobroker iobroker 4,0K Mär 12  2021 yahka.0.hapdata
                          
                          Thomas BraunT Online
                          Thomas BraunT Online
                          Thomas Braun
                          Most Active
                          schrieb am zuletzt editiert von
                          #28

                          @caskstrengther sagte in iob startet nach nodejs-Update nicht mehr:

                          Diese Datei ist 1,1GB groß?!?

                          Deutlich zu groß um damit umgehen zu können.

                          iobroker list adapters
                          

                          bitte zeigen. Ist da einer der 'üblichen Verdächtigen' wie ble, fronius, withings oder (da war noch irgendein Adapter...) installiert?

                          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

                          CaskstrengtherC 1 Antwort Letzte Antwort
                          0
                          • Thomas BraunT Thomas Braun

                            @caskstrengther sagte in iob startet nach nodejs-Update nicht mehr:

                            Diese Datei ist 1,1GB groß?!?

                            Deutlich zu groß um damit umgehen zu können.

                            iobroker list adapters
                            

                            bitte zeigen. Ist da einer der 'üblichen Verdächtigen' wie ble, fronius, withings oder (da war noch irgendein Adapter...) installiert?

                            CaskstrengtherC Offline
                            CaskstrengtherC Offline
                            Caskstrengther
                            schrieb am zuletzt editiert von
                            #29

                            @thomas-braun
                            Ich hatte vorher einmal das hier gemacht...

                            pi@raspberrypi:/opt/iobroker/iobroker-data $ iobroker list instances
                            Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
                            

                            ... und bei der Größe der Datei ist mir die Fehlermeldung irgendwie auch klar.

                            Jetzt Dein Befehl:

                            pi@raspberrypi:/opt/iobroker/iobroker-data $ iobroker list adapters
                            Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
                            

                            The same...

                            CaskstrengtherC 1 Antwort Letzte Antwort
                            0
                            • CaskstrengtherC Caskstrengther

                              @thomas-braun
                              Ich hatte vorher einmal das hier gemacht...

                              pi@raspberrypi:/opt/iobroker/iobroker-data $ iobroker list instances
                              Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
                              

                              ... und bei der Größe der Datei ist mir die Fehlermeldung irgendwie auch klar.

                              Jetzt Dein Befehl:

                              pi@raspberrypi:/opt/iobroker/iobroker-data $ iobroker list adapters
                              Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
                              

                              The same...

                              CaskstrengtherC Offline
                              CaskstrengtherC Offline
                              Caskstrengther
                              schrieb am zuletzt editiert von
                              #30

                              @caskstrengther
                              Ich Verzeichnis "backup-objects" ist das gepackte GZ-File 1000fach kleiner...

                              Thomas BraunT 1 Antwort Letzte Antwort
                              0
                              • CaskstrengtherC Caskstrengther

                                @caskstrengther
                                Ich Verzeichnis "backup-objects" ist das gepackte GZ-File 1000fach kleiner...

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

                                @caskstrengther

                                Ja, diese Daten kann man ganz gut komprimieren.

                                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

                                CaskstrengtherC 1 Antwort Letzte Antwort
                                0
                                • Thomas BraunT Thomas Braun

                                  @caskstrengther

                                  Ja, diese Daten kann man ganz gut komprimieren.

                                  CaskstrengtherC Offline
                                  CaskstrengtherC Offline
                                  Caskstrengther
                                  schrieb am zuletzt editiert von
                                  #32

                                  @thomas-braun
                                  Soll ich eine Sicherung der Datei aus "backup-objects" einfach mal zurückspielen?

                                  Thomas BraunT 1 Antwort Letzte Antwort
                                  0
                                  • CaskstrengtherC Caskstrengther

                                    @thomas-braun
                                    Soll ich eine Sicherung der Datei aus "backup-objects" einfach mal zurückspielen?

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

                                    @caskstrengther
                                    Die wird sich wieder aufblasen.

                                    Mach es über die Kommandozeile, wenn das noch funktioniert:
                                    https://forum.iobroker.net/topic/56379/zu-viele-objekte/3

                                    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

                                    CaskstrengtherC 1 Antwort Letzte Antwort
                                    0
                                    • Thomas BraunT Thomas Braun

                                      @caskstrengther
                                      Die wird sich wieder aufblasen.

                                      Mach es über die Kommandozeile, wenn das noch funktioniert:
                                      https://forum.iobroker.net/topic/56379/zu-viele-objekte/3

                                      CaskstrengtherC Offline
                                      CaskstrengtherC Offline
                                      Caskstrengther
                                      schrieb am zuletzt editiert von
                                      #34

                                      @thomas-braun
                                      Die Kommandos funktionieren leider nicht - selbe Meldung:

                                      pi@raspberrypi:/opt/iobroker/iobroker-data $ iob list instances
                                      Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
                                      

                                      Was sind das eigentlich für *migrated-Dateien im Verzeichnis? Kann ich die nicht einfach zurückspielen?

                                      pi@raspberrypi:/opt/iobroker/iobroker-data $ ls -lh
                                      insgesamt 1,1G
                                      -rw-rwxr--+  1 pi       pi       6,7M Jul 16 14:48 2022-07-15_08-11_objects.jsonl
                                      drwxrwxr-x+  2 iobroker iobroker 4,0K Jul 15 02:45 backitup
                                      drwxrwxr-x+  2 iobroker iobroker  12K Jul 16 14:44 backup-objects
                                      drwxrwxr-x+ 16 iobroker iobroker 4,0K Feb 23 11:41 files
                                      -rw-rwxr--+  1 iobroker iobroker 4,7K Mai 10 20:18 iobroker.json
                                      -rw-rwxr--+  1 iobroker iobroker    3 Jul 15 14:21 notifications.json
                                      -rw-rwxr--+  1 iobroker iobroker 5,4M Feb  7 13:11 objects.json.bak.migrated
                                      -rw-rwxr--+  1 iobroker iobroker 1,1G Jul 15 16:39 objects.jsonl
                                      -rw-rwxr--+  1 iobroker iobroker 5,4M Feb  7 13:11 objects.json.migrated
                                      -rw-rwxr--+  1 iobroker iobroker 411K Feb  7 13:10 states.json.bak.migrated
                                      -rw-rwxr--+  1 iobroker iobroker    0 Aug 27  2021 states.json.broken
                                      -rw-rwxr--+  1 iobroker iobroker 2,9M Jul 15 16:39 states.jsonl
                                      -rw-rwxr--+  1 iobroker iobroker 411K Feb  7 13:11 states.json.migrated
                                      drwxrwxr-x+  2 iobroker iobroker 4,0K Mär 12  2021 yahka.0.hapdata
                                      

                                      Hier sieht man z.B. auch, dass die "objects.jsonl" von vor dem Update (oberste Datei) eine Größe von 6,7MB hatte.
                                      Die aktuelle ist 1,1GB groß...

                                      CaskstrengtherC 1 Antwort Letzte Antwort
                                      0
                                      • CaskstrengtherC Caskstrengther

                                        @thomas-braun
                                        Die Kommandos funktionieren leider nicht - selbe Meldung:

                                        pi@raspberrypi:/opt/iobroker/iobroker-data $ iob list instances
                                        Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
                                        

                                        Was sind das eigentlich für *migrated-Dateien im Verzeichnis? Kann ich die nicht einfach zurückspielen?

                                        pi@raspberrypi:/opt/iobroker/iobroker-data $ ls -lh
                                        insgesamt 1,1G
                                        -rw-rwxr--+  1 pi       pi       6,7M Jul 16 14:48 2022-07-15_08-11_objects.jsonl
                                        drwxrwxr-x+  2 iobroker iobroker 4,0K Jul 15 02:45 backitup
                                        drwxrwxr-x+  2 iobroker iobroker  12K Jul 16 14:44 backup-objects
                                        drwxrwxr-x+ 16 iobroker iobroker 4,0K Feb 23 11:41 files
                                        -rw-rwxr--+  1 iobroker iobroker 4,7K Mai 10 20:18 iobroker.json
                                        -rw-rwxr--+  1 iobroker iobroker    3 Jul 15 14:21 notifications.json
                                        -rw-rwxr--+  1 iobroker iobroker 5,4M Feb  7 13:11 objects.json.bak.migrated
                                        -rw-rwxr--+  1 iobroker iobroker 1,1G Jul 15 16:39 objects.jsonl
                                        -rw-rwxr--+  1 iobroker iobroker 5,4M Feb  7 13:11 objects.json.migrated
                                        -rw-rwxr--+  1 iobroker iobroker 411K Feb  7 13:10 states.json.bak.migrated
                                        -rw-rwxr--+  1 iobroker iobroker    0 Aug 27  2021 states.json.broken
                                        -rw-rwxr--+  1 iobroker iobroker 2,9M Jul 15 16:39 states.jsonl
                                        -rw-rwxr--+  1 iobroker iobroker 411K Feb  7 13:11 states.json.migrated
                                        drwxrwxr-x+  2 iobroker iobroker 4,0K Mär 12  2021 yahka.0.hapdata
                                        

                                        Hier sieht man z.B. auch, dass die "objects.jsonl" von vor dem Update (oberste Datei) eine Größe von 6,7MB hatte.
                                        Die aktuelle ist 1,1GB groß...

                                        CaskstrengtherC Offline
                                        CaskstrengtherC Offline
                                        Caskstrengther
                                        schrieb am zuletzt editiert von
                                        #35

                                        @caskstrengther
                                        Hallo zusammen,
                                        ich konnte das Problem nun lösen.

                                        Ich habe aus dem Unterverzeichnis "backup-objects" die vor dem Update gesicherten Dateien "objects.jsonl" und "states.jsonl" zurückgespielt, einen "iob fix" laufen lassen - anschließend startete der iobroker wieder.

                                        Danach wieder "iob stop", "iob update", "iob upgrade self" und "iob start" - alles sieht gut aus.

                                        Ich danke Euch allen, die sich so sehr um die Lösung meines Problems gekümmert haben! 💋

                                        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

                                        578

                                        Online

                                        32.9k

                                        Benutzer

                                        83.0k

                                        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