Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. ioBroker startet nicht mehr

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    ioBroker startet nicht mehr

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

      Nach einem Neustart meines Raspberry Pi startet ioBroker nicht mehr.

      Vor dem Neustart lief ioBroker ohne Probleme.

      Folgende meine Versionen:

      node -v
      v16.17.1
      
      nodejs -v
      v16.17.1
      
      npm -v
      8.15.0
      
      iobroker -v
      4.0.23
      

      Wenn ich den Befehl "iobroker logs" ausführe, erscheint immer wieder folgender Fehler:

      2022-09-30 20:33:48.748  - info: host.DELO0150 iobroker _restart
      2022-09-30 20:33:49.603  - info: host.DELO0150 connected to Objects and States
      2022-09-30 20:33:49.633  - info: host.DELO0150 added notifications configuration of host
      2022-09-30 20:33:49.642  - info: host.DELO0150 Node.js version has changed from 16.16.0 to 16.17.1
      2022-09-30 20:33:49.731  - info: host.DELO0150 Successfully updated capabilities "cap_net_admin, cap_net_bind_service, cap_net_raw" for /usr/bin/node
      2022-09-30 20:33:54.238  - info: host.DELO0150 iobroker.js-controller version 4.0.23 js-controller starting
      2022-09-30 20:33:54.245  - info: host.DELO0150 Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
      2022-09-30 20:33:54.246  - info: host.DELO0150 hostname: DELO0150, node: v16.17.1
      2022-09-30 20:33:54.247  - info: host.DELO0150 ip addresses: 192.168.178.150 fe80::5068:6694:ad08:cc79
      2022-09-30 20:34:24.266  - error: host.DELO0150 No connection to databases possible, restart
      2022-09-30 20:34:24.276  - info: host.DELO0150 iobroker _restart
      2022-09-30 20:34:24.863  - info: host.DELO0150 connected to Objects and States
      2022-09-30 20:34:24.892  - info: host.DELO0150 added notifications configuration of host
      2022-09-30 20:34:24.901  - info: host.DELO0150 Node.js version has changed from 16.16.0 to 16.17.1
      2022-09-30 20:34:24.972  - info: host.DELO0150 Successfully updated capabilities "cap_net_admin, cap_net_bind_service, cap_net_raw" for /usr/bin/node
      2022-09-30 20:34:25.048  - info: host.DELO0150 Plugin sentry Sentry Plugin disabled for this process because sending of statistic data is disabled for the system
      2022-09-30 20:34:25.160  - info: host.DELO0150 7 instances found
      2022-09-30 20:34:25.191  - info: host.DELO0150 starting 7 instances
      2022-09-30 20:34:25.295  - info: host.DELO0150 instance system.adapter.admin.0 started with pid 3390
      2022-09-30 20:34:29.967  - info: host.DELO0150 iobroker.js-controller version 4.0.23 js-controller starting
      2022-09-30 20:34:29.974  - info: host.DELO0150 Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
      2022-09-30 20:34:29.975  - info: host.DELO0150 hostname: DELO0150, node: v16.17.1
      2022-09-30 20:34:29.976  - info: host.DELO0150 ip addresses: 192.168.178.150 fe80::5068:6694:ad08:cc79
      

      Ich habe nun schon einige Beiträge im Forum durchgelesen, aber kam bisher noch zu keiner Lösung.

      Weiß jemand, was ich hier machen kann?

      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @Magnus 0 last edited by

        @magnus-0

        systemctl status iobroker.service
        
        M 1 Reply Last reply Reply Quote 0
        • M
          Magnus 0 @Thomas Braun last edited by

          @thomas-braun sagte in ioBroker startet nicht mehr:

          systemctl status iobroker.service

          pi@DELO0150:~ $ systemctl status iobroker.service
          ● iobroker.service - ioBroker Server
             Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor preset: enabled)
             Active: active (running) since Fri 2022-09-30 20:38:37 CEST; 9s ago
               Docs: http://iobroker.net
           Main PID: 3646 (iobroker.js-con)
              Tasks: 11 (limit: 4915)
             CGroup: /system.slice/iobroker.service
                     └─3646 iobroker.js-controller
          
          Sep 30 20:38:37 DELO0150 systemd[1]: Started ioBroker Server.
          
          
          1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active last edited by Thomas Braun

            @magnus-0 sagte in ioBroker startet nicht mehr:

            sudo systemctl stop iobroker.service
            iobroker status
            
            M 1 Reply Last reply Reply Quote 0
            • M
              Magnus 0 @Thomas Braun last edited by

              @thomas-braun sagte in ioBroker startet nicht mehr:

              iobroker status

              pi@DELO0150:~ $ sudo systemctl stop iobroker.service
              pi@DELO0150:~ $ iobroker status
              No connection to databases possible ...
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @Magnus 0 last edited by

                @magnus-0

                ps aux | grep ^io
                
                M 1 Reply Last reply Reply Quote 0
                • M
                  Magnus 0 @Thomas Braun last edited by

                  @thomas-braun

                  pi@DELO0150:~ $ ps aux | grep ^io
                  pi@DELO0150:~ $
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Magnus 0 last edited by

                    @magnus-0

                    sudo ln -s /usr/bin/node /usr/bin/nodejs
                    
                    uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                    
                    M 1 Reply Last reply Reply Quote 0
                    • M
                      Magnus 0 @Thomas Braun last edited by

                      @thomas-braun

                      pi@DELO0150:~ $ sudo ln -s /usr/bin/node /usr/bin/nodejs
                      ln: die symbolische Verknüpfung '/usr/bin/nodejs' konnte nicht angelegt werden: Die Datei existiert bereits
                      pi@DELO0150:~ $ uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                      armv7l
                      /usr/bin/nodejs
                      /usr/bin/node
                      /usr/bin/npm
                      v16.17.1
                      v16.17.1
                      8.15.0
                      4.0.23
                      pi
                      pi adm dialout cdrom sudo audio video plugdev games users input netdev gpio i2c spi iobroker
                      /home/pi
                      OK:1 http://archive.raspberrypi.org/debian buster InRelease
                      OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
                      OK:3 https://deb.nodesource.com/node_16.x buster InRelease
                      Paketlisten werden gelesen... Fertig
                      Abhängigkeitsbaum wird aufgebaut.
                      Statusinformationen werden eingelesen.... Fertig
                      Alle Pakete sind aktuell.
                      nodejs:
                        Installiert:           16.17.1-deb-1nodesource1
                        Installationskandidat: 16.17.1-deb-1nodesource1
                        Versionstabelle:
                       *** 16.17.1-deb-1nodesource1 500
                              500 https://deb.nodesource.com/node_16.x buster/main armhf Packages
                              100 /var/lib/dpkg/status
                           10.24.0~dfsg-1~deb10u1 500
                              500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                      
                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Magnus 0 last edited by

                        @magnus-0

                        Starte die Kiste mal sauber durch.

                        M 1 Reply Last reply Reply Quote 0
                        • M
                          Magnus 0 @Thomas Braun last edited by

                          @thomas-braun

                          also "sudo reboot"?

                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @Magnus 0 last edited by

                            @magnus-0

                            Ja.

                            M 2 Replies Last reply Reply Quote 0
                            • M
                              Magnus 0 @Thomas Braun last edited by

                              @thomas-braun

                              Gleiches Problem immer noch.

                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @Magnus 0 last edited by

                                @magnus-0

                                iobroker status
                                iobroker update -i
                                
                                M 1 Reply Last reply Reply Quote 0
                                • M
                                  Magnus 0 @Thomas Braun last edited by

                                  @thomas-braun

                                  pi@DELO0150:~ $ iobroker status
                                  Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
                                  
                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • M
                                    Magnus 0 @Thomas Braun last edited by

                                    @thomas-braun

                                    pi@DELO0150:~ $ iobroker update -i
                                    Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @Magnus 0 last edited by

                                      @magnus-0

                                      systemctl status iobroker.service
                                      iobroker status
                                      sudo systemctl stop iobroker.service
                                      iobroker start
                                      
                                      M 1 Reply Last reply Reply Quote 0
                                      • M
                                        Magnus 0 @Thomas Braun last edited by

                                        @thomas-braun sagte in ioBroker startet nicht mehr:

                                        iobroker start

                                        pi@DELO0150:~ $ systemctl status iobroker.service
                                        ● iobroker.service - ioBroker Server
                                           Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor preset: enabled)
                                           Active: active (running) since Fri 2022-09-30 20:56:19 CEST; 28s ago
                                             Docs: http://iobroker.net
                                         Main PID: 882 (iobroker.js-con)
                                            Tasks: 11 (limit: 4915)
                                           CGroup: /system.slice/iobroker.service
                                                   └─882 iobroker.js-controller
                                        
                                        Sep 30 20:56:19 DELO0150 systemd[1]: Started ioBroker Server.
                                        pi@DELO0150:~ $ iobroker status
                                        Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
                                        pi@DELO0150:~ $ sudo systemctl stop iobroker.service
                                        pi@DELO0150:~ $ iobroker start
                                        
                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @Magnus 0 last edited by

                                          @magnus-0 sagte in ioBroker startet nicht mehr:

                                          /opt/iobroker/iobroker-data/objects.jsonl

                                          sudo apt install lsof
                                          sudo lsof /opt/iobroker/iobroker-data/objects.jsonl
                                          
                                          M 1 Reply Last reply Reply Quote 0
                                          • M
                                            Magnus 0 @Thomas Braun last edited by Magnus 0

                                            @thomas-braun sagte in ioBroker startet nicht mehr:

                                            sudo lsof /opt/iobroker/iobroker-data/objects.jsonl

                                            pi@DELO0150:~ $ sudo apt install lsof
                                            Paketlisten werden gelesen... Fertig
                                            Abhängigkeitsbaum wird aufgebaut.
                                            Statusinformationen werden eingelesen.... Fertig
                                            Die folgenden NEUEN Pakete werden installiert:
                                              lsof
                                            0 aktualisiert, 1 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
                                            Es müssen 307 kB an Archiven heruntergeladen werden.
                                            Nach dieser Operation werden 447 kB Plattenplatz zusätzlich benutzt.
                                            Holen:1 http://mirror1.hs-esslingen.de/pub/Mirrors/archive.raspbian.org/raspbian buster/main armhf lsof armhf 4.91+dfsg-1 [307 kB]
                                            Es wurden 307 kB in 2 s geholt (196 kB/s).
                                            Vormals nicht ausgewähltes Paket lsof wird gewählt.
                                            (Lese Datenbank ... 53671 Dateien und Verzeichnisse sind derzeit installiert.)
                                            Vorbereitung zum Entpacken von .../lsof_4.91+dfsg-1_armhf.deb ...
                                            Entpacken von lsof (4.91+dfsg-1) ...
                                            lsof (4.91+dfsg-1) wird eingerichtet ...
                                            Trigger für man-db (2.8.5-2) werden verarbeitet ...
                                            pi@DELO0150:~ $ sudo lsof /opt/iobroker/iobroker-data/objects.jsonl
                                            COMMAND    PID     USER   FD   TYPE DEVICE  SIZE/OFF   NODE NAME
                                            iobroker. 1226 iobroker   19u   REG  179,2 972533859 261398 /opt/iobroker/iobroker-data/objects.jsonl
                                            
                                            
                                            Thomas Braun 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            701
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            3
                                            46
                                            1665
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo