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 @Thomas Braun last edited by

      @thomas-braun

      pi@DELO0150:~ $ sudo systemctl disable iobroker.service
      Removed /etc/systemd/system/multi-user.target.wants/iobroker.service.
      
      1 Reply Last reply Reply Quote 0
      • M
        Magnus 0 @Thomas Braun last edited by

        @thomas-braun

        Ich hab jetzt mal noch

        iobroker stop
        

        ausgeführt.... nun startet er laut Log nicht mehr neu.

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

          @magnus-0

          Okay. Und

          iobroker status 
          iobroker start
          

          sagt?

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

            @thomas-braun sagte in ioBroker startet nicht mehr:

            iobroker status

            hab nur mal folgendes ausgeführt:

            pi@DELO0150:~ $ iobroker status
            No connection to databases possible ...
            
            1 Reply Last reply Reply Quote 0
            • M
              Magnus 0 @Thomas Braun last edited by

              @thomas-braun

              Ich will nicht nerven, aber hast du für heute noch eine Idee?

              Oder sollen wir es auf die kommenden Tage verschieben?

              Gibt es einen Plan B?

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

                @magnus-0

                iobroker fix
                
                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 fix

                  und dann

                  iobroker start
                  

                  ?

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

                    @magnus-0

                    Läuft der fix überhaupt?

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

                    sagt?

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

                      @thomas-braun

                      Ergebnis von Fix:

                      pi@DELO0150:/opt/iobroker/iobroker-data $ iobroker fix
                      library: loaded
                      Library version=2022-06-15
                      
                      ==========================================================================
                      
                          Welcome to the ioBroker installation fixer!
                          Script version: 2022-06-03
                      
                          You might need to enter your password a couple of times.
                      
                      ==========================================================================
                      
                      
                      ==========================================================================
                          Installing prerequisites (1/3)
                      ==========================================================================
                      
                      OK:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
                      OK:2 http://archive.raspberrypi.org/debian buster InRelease
                      OK:3 https://deb.nodesource.com/node_16.x buster InRelease
                      Paketlisten werden gelesen... Fertig
                      Installed gcc-c++
                      
                      ==========================================================================
                          Checking ioBroker user and directory permissions (2/3)
                      ==========================================================================
                      
                      Created /etc/sudoers.d/iobroker
                      Fixing directory permissions...
                      
                      ==========================================================================
                          Checking autostart (3/3)
                      ==========================================================================
                      
                      Enabling autostart...
                      Created symlink /etc/systemd/system/multi-user.target.wants/iobroker.service → /lib/systemd/system/iobroker.service.
                      Autostart enabled!
                      
                      ==========================================================================
                      
                          Your installation was fixed successfully
                          Run iobroker start to start ioBroker again!
                      
                      ==========================================================================
                      
                      

                      Ergebnis von dem zweiten Befehl:

                      pi@DELO0150:/opt/iobroker/iobroker-data $ getfacl /opt/iobroker/iobroker-data/objects.jsonl
                      getfacl: Entferne führende '/' von absoluten Pfadnamen
                      # file: opt/iobroker/iobroker-data/objects.jsonl
                      # owner: iobroker
                      # group: iobroker
                      user::rw-
                      group::r-x
                      group:iobroker:rwx
                      mask::rwx
                      other::r--
                      
                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Magnus 0 last edited by

                        @magnus-0
                        Hmmm. Meine Rechte sehen anders aus:

                        echad@chet:~ $ getfacl /opt/iobroker/iobroker-data/objects.jsonl
                        getfacl: Removing leading '/' from absolute path names
                        # file: opt/iobroker/iobroker-data/objects.jsonl
                        # owner: iobroker
                        # group: iobroker
                        user::rw-
                        group::r-x                      #effective:r--
                        group:iobroker:rwx              #effective:rw-
                        mask::rw-
                        other::r--
                        
                        M 2 Replies Last reply Reply Quote 0
                        • M
                          Magnus 0 @Thomas Braun last edited by

                          @thomas-braun

                          nur bei mask:: gibt es ja einen Unterschied, richtig?

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

                            @thomas-braun

                            Kann man evtl. ein Backup wiederherstellen?

                            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:

                              nur bei mask:: gibt es ja einen Unterschied, richtig?

                              Ja, meine mask nimmt den usern und den Gruppen das x-bit.
                              Deine mask macht gar nix...

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

                                @thomas-braun

                                Hast du noch eine Idee was ich machen kann oder muss ich ein Backup versuchen einzuspielen oder neuinstallieren?

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

                                  @magnus-0

                                  Was sagt denn jetzt

                                  iobroker status
                                  

                                  Und wie bist du da sonst unterwegs?

                                  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

                                    Einmal folgende Ausgabe

                                    pi@DELO0150:~ $ iobroker status
                                     Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                                     Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                                     Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                                     Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                                     Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                                     Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                                    iobroker is not running on this host.
                                    
                                    
                                    Objects type: jsonl
                                    States  type: jsonl
                                    

                                    Danach nochmal ausgeführt, dann folgende Ausgabe:

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

                                    Zweiter Befehl:

                                    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 sagte in ioBroker startet nicht mehr:

                                      Objects database error: connect ECONNREFUSED 127.0.0.1:9001

                                      Keine Idee.
                                      @Glasfaser evtl?

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

                                        @thomas-braun

                                        Ich habe gerade einen restore versucht, das klappt auch nicht, auch hier erscheint folgender Fehler:

                                        pi@DELO0150:/opt/iobroker $ iobroker restore /opt/iobroker/backups/iobroker_2022_09_30-02_40_10_backupiobroker.tar.gz
                                        No connection to databases possible ...
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • Glasfaser
                                          Glasfaser last edited by Glasfaser

                                          @magnus-0 sagte in ioBroker startet nicht mehr:

                                          Setze mal die Zeit auf .. Beispiel : 30000

                                          https://forum.iobroker.net/post/716453

                                          EDIT :
                                          Wert auf 30000

                                          und ein

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

                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          590
                                          Online

                                          31.9k
                                          Users

                                          80.1k
                                          Topics

                                          1.3m
                                          Posts

                                          3
                                          46
                                          1679
                                          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