Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. help please - iobroker läuft nicht

    NEWS

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    help please - iobroker läuft nicht

    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      Pahan @Thomas Braun last edited by

      @thomas-braun sagte in help please - iobroker läuft nicht:

      @pahan

      ncdu
      

      ist installiert? Dann schau damit nach.

      
      --- /opt/iobroker ------------------------------------------------------------------------------------
          6.6 GiB [##########] /log
        755.2 MiB [#         ] /node_modules
        346.8 MiB [          ] /iobroker-data
         80.8 MiB [          ] /backups
        436.0 KiB [          ]  package-lock.json
          8.0 KiB [          ]  reinstall.js
          4.0 KiB [          ]  package.json
          4.0 KiB [          ]  INSTALLER_INFO.txt
          4.0 KiB [          ]  .npmrc
      @   0.0   B [          ]  iob
          0.0   B [          ]  iobroker
      
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @Pahan last edited by

        @pahan

        Wie erwartet sind dir da die Log Files um die Ohren geflogen. Lösch die mal. Zumindest die ältesten. Und dann musst du mal reinschauen was dein System da so treibt.

        P 1 Reply Last reply Reply Quote 0
        • P
          Pahan @Thomas Braun last edited by

          @thomas-braun sagte in help please - iobroker läuft nicht:

          @pahan

          Wie erwartet sind dir da die Log Files um die Ohren geflogen. Lösch die mal. Zumindest die ältesten. Und dann musst du mal reinschauen was dein System da so treibt.

          sieht so ja, ja...
          wie lösche ich am besten eine bestimmte Datei und welche hiervon würde sich hierzu eignen?

          
          pi@raspberrypi:/opt/iobroker/log $ ls -l
          total 6893644
          -rw-rwxr--+ 1 iobroker iobroker      90160 Jan 16 00:00 iobroker.2022-01-15.log.gz
          -rw-rwxr--+ 1 iobroker iobroker      87270 Jan 17 00:00 iobroker.2022-01-16.log.gz
          -rw-rwxr--+ 1 iobroker iobroker      96656 Jan 18 00:00 iobroker.2022-01-17.log.gz
          -rw-rwxr--+ 1 iobroker iobroker      98687 Jan 19 00:00 iobroker.2022-01-18.log.gz
          -rw-rwxr--+ 1 iobroker iobroker     143200 Jan 20 00:00 iobroker.2022-01-19.log.gz
          -rw-rwxr--+ 1 iobroker iobroker     136465 Jan 21 00:00 iobroker.2022-01-20.log.gz
          -rw-rwxr--+ 1 iobroker iobroker 3811752771 Jan 21 23:59 iobroker.2022-01-21.log
          -rw-rwxr--+ 1 iobroker iobroker   73853799 Jan 22 00:06 iobroker.2022-01-21.log.gz
          -rw-rwxr--+ 1 iobroker iobroker 3172790272 Jan 22 23:59 iobroker.2022-01-22.log
          -rw-rwxr--+ 1 iobroker iobroker          0 Jan 23 23:59 iobroker.2022-01-23.log
          -rw-rwxr--+ 1 iobroker iobroker          0 Jan 24 23:59 iobroker.2022-01-24.log
          -rw-rwxr--+ 1 iobroker iobroker          0 Jan 25 23:59 iobroker.2022-01-25.log
          -rw-rwxr--+ 1 iobroker iobroker          0 Jan 26 21:25 iobroker.2022-01-26.log
          -rw-rwxr--+ 1 iobroker iobroker          0 Jan 23 00:00 iobroker-audit.json
          lrwxrwxrwx  1 iobroker iobroker         23 Jan 26 21:25 iobroker.current.log -> iobroker.2022-01-26.log
          
          

          wahrscheinlich die mit 3811752771 bytes?

          Und was kann ich danach machen? Wieder wie damals "iobroker add admin" ?

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

            @pahan

            Lösch das dickste Ding.

            sudo -u iobroker rm /opt/iobroker/log/iobroker.2022-01-21.log
            

            An dem Tag ist dir da was um die Ohren geflogen.
            Schau dann in das iobroker.2022-01-21.log.gz rein. Da steht der Verlauf drin.

            Danach musste die Kiste auch wieder Luft zum Atmen haben. Mal neu starten.

            Homoran 1 Reply Last reply Reply Quote 0
            • Homoran
              Homoran Global Moderator Administrators @Thomas Braun last edited by

              @thomas-braun sagte in help please - iobroker läuft nicht:

              Lösch das dickste Ding.

              @Pahan
              ab dem 21. ist dein log explodiert. Hast fuvda ein paar Instanzen auf debug gestellt.
              stell sie wieder zurück. Ab dem 23. war wohl die Karte voll, dass die logs nicht mehr drauf passten

              1 Reply Last reply Reply Quote 0
              • P
                Pahan last edited by

                Hallo Leute,

                habe die größte log-Datei gelöscht, Pi rebootet,
                jedoch keine Änderung spürbar. Ich bin nach wie vor bei Schritt 1:
                Alle diese Eingaben :

                iobroker fix
                iobroker add admin
                iobroker restart
                iobroker list adapters
                iobroker list instances
                iobroker status
                

                liefern absolut keine Reaktion

                d.h. ich bin wohl noch weit entfernt, etwas von debug wegzustellen 😞

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

                  @pahan

                  cd /opt/iobroker
                  sudo -H -u iobroker npm install iobroker.js-controller
                  
                  P 1 Reply Last reply Reply Quote 0
                  • P
                    Pahan @Thomas Braun last edited by

                    @thomas-braun sagte in help please - iobroker läuft nicht:

                    @pahan

                    cd /opt/iobroker
                    sudo -H -u iobroker npm install iobroker.js-controller
                    

                    sorry, hatte ich vergessen. Klar, hattest du ja oben schon erwähnt.
                    Diese Eingabe liefert folgendes:

                    
                    pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller
                    
                    > iobroker.js-controller@3.3.22 preinstall /opt/iobroker/node_modules/iobroker.js-controller
                    > node lib/preinstallCheck.js
                    
                    NPM version: 6.14.15
                    
                    > iobroker.js-controller@3.3.22 install /opt/iobroker/node_modules/iobroker.js-controller
                    > node iobroker.js setup first
                    
                    object _design/custom updated
                    object _design/system updated
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents):
                    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.7 (node_modules/osx-temperature-sensor):
                    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                    
                    + iobroker.js-controller@3.3.22
                    updated 4 packages in 103.877s
                    
                    111 packages are looking for funding
                      run `npm fund` for details
                    
                    pi@raspberrypi:/opt/iobroker $
                    
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @Pahan last edited by

                      @pahan

                      systemctl status iobroker
                      
                      P 1 Reply Last reply Reply Quote 0
                      • P
                        Pahan @Thomas Braun last edited by Pahan

                        @thomas-braun sagte in help please - iobroker läuft nicht:

                        @pahan

                        systemctl status iobroker
                        

                        liefert :

                        pi@raspberrypi:/opt/iobroker $ systemctl status iobroker
                        ● iobroker.service
                           Loaded: masked (Reason: Unit iobroker.service is masked.)
                           Active: inactive (dead)
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @Pahan last edited by Thomas Braun

                          @pahan

                          systemctl unmask iobroker.service
                          

                          Wenn das nicht geht mit

                          sudo systemctl unmask iobroker.service
                          

                          probieren.

                          P 1 Reply Last reply Reply Quote 0
                          • P
                            Pahan @Thomas Braun last edited by

                            @thomas-braun sagte in help please - iobroker läuft nicht:

                            @pahan

                            systemctl unmask iobroker.service
                            

                            Wenn das nicht geht mit

                            sudo systemctl unmask iobroker.service
                            

                            probieren.

                            beides probiert, das Ergebnis scheint das Gleiche zu sein. "dead"

                            ==== AUTHENTICATING FOR org.freedesktop.systemd1.reload-daemon ===
                            Authentication is required to reload the systemd state.
                            Authenticating as: ,,, (pi)
                            Password:
                            ==== AUTHENTICATION COMPLETE ===
                            pi@raspberrypi:~ $ systemctl status iobroker
                            ● iobroker.service
                               Loaded: masked (Reason: Unit iobroker.service is masked.)
                               Active: inactive (dead)
                            pi@raspberrypi:~ $ sudo systemctl unmask iobroker.service
                            pi@raspberrypi:~ $ systemctl status iobroker
                            ● iobroker.service
                               Loaded: masked (Reason: Unit iobroker.service is masked.)
                               Active: inactive (dead)
                            pi@raspberrypi:~ $
                            
                            
                            1 Reply Last reply Reply Quote 0
                            • P
                              Pahan last edited by Pahan

                              keine weitere Idee?

                              ich könnte auch damit leben...wenn es ginge....iobroker neu zu installieren, aber mir ist wichtig, dass ich Grafana beibehalte.

                              Oder kann man in meinem Fall doch noch was retten?

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

                                @pahan

                                Gib bitte nochmal die Ausgabe auf

                                sudo systemctl daemon-reload
                                systemctl status iobroker.service
                                ls -l /lib/systemd/system/iobroker.service
                                sudo systemctl daemon-reload
                                
                                P 1 Reply Last reply Reply Quote 1
                                • P
                                  Pahan @Thomas Braun last edited by

                                  @thomas-braun sagte in help please - iobroker läuft nicht:

                                  @pahan

                                  Gib bitte nochmal die Ausgabe auf

                                  sudo systemctl daemon-reload
                                  systemctl status iobroker.service
                                  ls -l /lib/systemd/system/iobroker.service
                                  sudo systemctl daemon-reload
                                  

                                  Habe die Befehle einzeln eingegeben, anbei die Ausgabe, meist springt der Kursor einfach in die nächste Zeile, ohne etwas zu kommentieren:

                                  pi@raspberrypi:~ $ sudo systemctl daemon-reload
                                  pi@raspberrypi:~ $ systemctl status iobroker.service
                                  ● iobroker.service
                                     Loaded: masked (Reason: Unit iobroker.service is masked.)
                                     Active: inactive (dead)
                                  pi@raspberrypi:~ $ ls -l /lib/systemd/system/iobroker.service
                                  -rw-r--r-- 1 root root 0 Jan 26 21:29 /lib/systemd/system/iobroker.service
                                  pi@raspberrypi:~ $ sudo systemctl daemon-reload
                                  pi@raspberrypi:~ $
                                  
                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @Pahan last edited by

                                    @pahan sagte in help please - iobroker läuft nicht:

                                    sudo systemctl unmask iobroker.service
                                    systemctl status iobroker.service
                                    
                                    P 1 Reply Last reply Reply Quote 1
                                    • P
                                      Pahan @Thomas Braun last edited by

                                      @thomas-braun sagte in help please - iobroker läuft nicht:

                                      @pahan sagte in help please - iobroker läuft nicht:

                                      sudo systemctl unmask iobroker.service
                                      systemctl status iobroker.service
                                      

                                      liefert folgende Ausgabe:

                                      pi@raspberrypi:~ $ sudo systemctl unmask iobroker.service
                                      pi@raspberrypi:~ $ systemctl status iobroker.service
                                      ● iobroker.service
                                         Loaded: masked (Reason: Unit iobroker.service is masked.)
                                         Active: inactive (dead)
                                      pi@raspberrypi:~ $
                                      
                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @Pahan last edited by

                                        @pahan

                                        Dann fällt mir auch nichts mehr dazu ein.

                                        P crunchip 2 Replies Last reply Reply Quote 0
                                        • P
                                          Pahan @Thomas Braun last edited by

                                          @thomas-braun sagte in help please - iobroker läuft nicht:

                                          @pahan

                                          Dann fällt mir auch nichts mehr dazu ein.

                                          könntest du mir ggf. hiermit helfen?

                                          "ich könnte auch damit leben...wenn es ginge....iobroker neu zu installieren, aber mir ist wichtig, dass ich Grafana beibehalte."

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

                                            @pahan

                                            Ich hab kein Grafana laufen. Aber ein Backup haben hilft.

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

                                            Support us

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

                                            603
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            78
                                            3058
                                            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