Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. HILFE Admin nicht erreichbar Befehle im Terminal ohne Effekt

    NEWS

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    HILFE Admin nicht erreichbar Befehle im Terminal ohne Effekt

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

      @thomas-braun

      pi@iobroker-pi:~ $ iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh
      -bash: iob_diag:: Kommando nicht gefunden.
      pi@iobroker-pi:~ $ curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh
      pi@iobroker-pi:~ $ 
      

      Keine Reaktion

      1 Reply Last reply Reply Quote 0
      • D
        Dellishelly @Thomas Braun last edited by

        @thomas-braun

        Ich hatte das Ding vorhin schonmal gemacht.
        da kam das hier bei raus

        ======================= SUMMARY =======================
        			v.2023-10-25
        
        
           Static hostname: iobroker-pi
                 Icon name: computer
          Operating System: Raspbian GNU/Linux 10 (buster)
                    Kernel: Linux 5.10.103-v7l+
              Architecture: arm
        
        Installation: 		native
        Kernel: 		armv7l
        Userland: 		armhf
        Timezone: 		Europe/Berlin (CET, +0100)
        User-ID: 		1000
        X-Server: 		false
        Boot Target: 		multi-user.target
        
        Pending OS-Updates: 	21
        Pending iob updates: 	0
        
        Nodejs-Installation: 	/usr/bin/nodejs 	v18.18.0
        			/usr/bin/node 		v18.18.0
        npm ERR! code ENOSPC
        npm ERR! syscall write
        npm ERR! errno -28
        npm ERR! nospc ENOSPC: no space left on device, write
        npm ERR! nospc There appears to be insufficient space on your system to finish.
        npm ERR! nospc Clear up some disk space and try again.
        
        npm ERR! A complete log of this run can be found in: /home/pi/.npm/_logs/2023-10-31T08_30_09_951Z-debug-0.log
        			/usr/bin/npm 		
        npm ERR! code ENOSPC
        npm ERR! syscall write
        npm ERR! errno -28
        npm ERR! nospc ENOSPC: no space left on device, write
        npm ERR! nospc There appears to be insufficient space on your system to finish.
        npm ERR! nospc Clear up some disk space and try again.
        
        npm ERR! A complete log of this run can be found in: /home/pi/.npm/_logs/2023-10-31T08_30_11_154Z-debug-0.log
        			/usr/bin/npx 		
        			/usr/bin/corepack 	0.19.0
        
        Recommended versions are nodejs  and npm 
        Your nodejs installation is correct
        
        MEMORY: 
                      total        used        free      shared  buff/cache   available
        Mem:           3.9G         50M        3.4G        8.0M        443M        3.7G
        Swap:           12M          0B         12M
        Total:         3.9G         50M        3.4G
        
        Active iob-Instances: 	0
        
        ioBroker Core: 		js-controller 		
        			admin 			
        
        ioBroker Status: 	
        
        Status admin and web instance:
        
        Objects: 		0
        States: 		0
        
        Size of iob-Database:
        
        29M	/opt/iobroker/iobroker-data/objects.jsonl
        2.7M	/opt/iobroker/iobroker-data/objects.json.migrated
        2.7M	/opt/iobroker/iobroker-data/objects.json.bak.migrated
        88M	/opt/iobroker/iobroker-data/states.jsonl
        16K	/opt/iobroker/iobroker-data/states.json.migrated
        16K	/opt/iobroker/iobroker-data/states.json.bak.migrated
        
        
        
        =================== END OF SUMMARY ====================
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Dellishelly last edited by Thomas Braun

          @dellishelly

          Der Datenträger ist voll. Und Buster tot.

          Installier es neu unter Bookworm. 64Bit, kein Desktop.

          D 1 Reply Last reply Reply Quote 0
          • D
            Dellishelly @Thomas Braun last edited by

            @thomas-braun
            habe wir hier dazu eine Anleitung ?

            Bookworm 64 bit kein Desktop - da verstehe ich leider nicht was du damit meinst.

            Neuinstallation bedeutet dass die Skripts, Visus und Adaptereinistellungen alle weg sind ? Oder komm ich da noch irgendwie dran ?

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

              @dellishelly sagte in HILFE Admin nicht erreichbar Befehle im Terminal ohne Effekt:

              Oder komm ich da noch irgendwie dran ?

              Du hast doch ein Backup.
              Das spielst du ein, nachdem die aktuellste Version des Betriebssystems installiert wurde.

              https://forum.iobroker.net/topic/51869/installation-auf-raspi-einfacher-geht-s-nicht

              D 1 Reply Last reply Reply Quote 0
              • D
                Dellishelly @Thomas Braun last edited by Dellishelly

                @thomas-braun

                ich glaube ich steh leider auf dem Schlauch.

                Also ich nehm mir ne neue SD Karte und folge 1:1 deiner Installationsanleitung ? Was ist hier mit Bookworm gemeint ?

                Wie fahre ich dann fort ? wie bekomme ich das Backup von der alten Karte auf die neue ?

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

                  @dellishelly sagte in HILFE Admin nicht erreichbar Befehle im Terminal ohne Effekt:

                  wie bekomme ich das Backup von der alten Karte auf die neue ?

                  Backups liegen immer extern. Auf einem NAS oder einem externen Hoster. Ein Backup auf dem gleichen Datenträger nützt dir ja nix, wenn der einen Defekt hat.
                  Also hast du kein gescheites Backup?

                  D 1 Reply Last reply Reply Quote 0
                  • D
                    Dellishelly @Thomas Braun last edited by

                    @thomas-braun

                    Jetzt wo du es sagst, lautet ein...

                    leider nur auf dem gleichen Datenträger.......

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

                      @dellishelly

                      sudo apt clean 
                      

                      Danach solltest du wieder rein kommen.

                      sudo systemctl restart iobroker
                      

                      vielleicht noch. Dann Backup ordentlich einrichten und mit dem Kram in ein aktuelles System umziehen.

                      D 1 Reply Last reply Reply Quote 0
                      • D
                        Dellishelly @Thomas Braun last edited by Dellishelly

                        @thomas-braun

                        pi@iobroker-pi:~ $ sudo apt clean
                        -bash: /usr/bin/sudo: Input/output error
                        pi@iobroker-pi:~ $ 
                        

                        der Befehl klappt leider auch nicht glaub ich

                        ----- War disconnected........ moment

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

                          @dellishelly

                          Das ist schlecht.

                          sudo su -
                          

                          dann vermutlich auch nicht mehr?

                          D Thomas Braun 2 Replies Last reply Reply Quote 0
                          • D
                            Dellishelly @Thomas Braun last edited by

                            @thomas-braun

                            pi@iobroker-pi:~ $ sudo apt clean
                            pi@iobroker-pi:~ $ sudo su -
                            root@iobroker-pi:~# apt clean
                            root@iobroker-pi:~# sudo systemctl restart iobroker
                            Failed to restart iobroker.service: Unit iobroker.service has a bad unit file setting.
                            See system logs and 'systemctl status iobroker.service' for details.
                            root@iobroker-pi:~# 
                            
                            
                            
                            1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @Thomas Braun last edited by

                              @thomas-braun

                              ls -lah /opt/iobroker/backups/
                              

                              sagt?

                              D 1 Reply Last reply Reply Quote 0
                              • D
                                Dellishelly @Thomas Braun last edited by

                                @thomas-braun

                                root@iobroker-pi:~# ls -lah /opt/iobroker/backups/
                                insgesamt 401M
                                drwxrwxr-x+ 2 iobroker iobroker 4,0K Okt 29 02:41 .
                                drwxrwxr-x+ 7 iobroker iobroker 4,0K Okt 31 08:55 ..
                                -rw-rwxr--+ 1 iobroker iobroker  42M Sep 21 02:41 iobroker_2023_09_21-02_40_11_backupiobroker.tar.gz
                                -rw-rwxr--+ 1 iobroker iobroker  42M Sep 29 02:41 iobroker_2023_09_29-02_40_11_backupiobroker.tar.gz
                                -rw-rwxr--+ 1 iobroker iobroker  41M Okt  1 02:41 iobroker_2023_10_01-02_40_11_backupiobroker.tar.gz
                                -rw-rwxr--+ 1 iobroker iobroker  42M Okt  5 02:41 iobroker_2023_10_05-02_40_11_backupiobroker.tar.gz
                                -rw-rwxr--+ 1 iobroker iobroker  40M Okt  9 02:41 iobroker_2023_10_09-02_40_11_backupiobroker.tar.gz
                                -rw-rwxr--+ 1 iobroker iobroker  37M Okt 13 02:41 iobroker_2023_10_13-02_40_13_backupiobroker.tar.gz
                                -rw-rwxr--+ 1 iobroker iobroker  40M Okt 17 02:41 iobroker_2023_10_17-02_40_11_backupiobroker.tar.gz
                                -rw-rwxr--+ 1 iobroker iobroker  41M Okt 21 02:41 iobroker_2023_10_21-02_40_11_backupiobroker.tar.gz
                                -rw-rwxr--+ 1 iobroker iobroker  40M Okt 25 02:41 iobroker_2023_10_25-02_40_11_backupiobroker.tar.gz
                                -rw-rwxr--+ 1 iobroker iobroker  40M Okt 29 02:41 iobroker_2023_10_29-02_40_11_backupiobroker.tar.gz
                                root@iobroker-pi:~# 
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @Dellishelly last edited by

                                  @dellishelly

                                  exit
                                  df -h
                                  

                                  sagt nun?

                                  D 2 Replies Last reply Reply Quote 0
                                  • D
                                    Dellishelly @Thomas Braun last edited by Dellishelly

                                    @thomas-braun said in HILFE Admin nicht erreichbar Befehle im Terminal ohne Effekt:

                                    exit
                                    df -h

                                    pi@iobroker-pi:~ $ df -h
                                    Dateisystem    Größe Benutzt Verf. Verw% Eingehängt auf
                                    /dev/root        15G     14G  653M   96% /
                                    devtmpfs        1,8G       0  1,8G    0% /dev
                                    tmpfs           1,9G       0  1,9G    0% /dev/shm
                                    tmpfs           1,9G    8,4M  1,9G    1% /run
                                    tmpfs           5,0M    4,0K  5,0M    1% /run/lock
                                    tmpfs           1,9G       0  1,9G    0% /sys/fs/cgroup
                                    /dev/mmcblk0p1  247M     50M  197M   21% /boot
                                    tmpfs           389M       0  389M    0% /run/user/1000
                                    pi@iobroker-pi:~ $
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • D
                                      Dellishelly @Thomas Braun last edited by

                                      @thomas-braun

                                      ich lese grad nebenbei noch einen topic in dem der admin nicht erreichbar war....

                                      Das Thema mqtt Logfile....

                                      Ich glaube ich hab mir den Speicher mit debug Logfiles zugespamt... kann das sein ?

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

                                        @dellishelly

                                        Schau per

                                        sudo ncdu /
                                        

                                        nach den dicken Dingern.

                                        D 1 Reply Last reply Reply Quote 0
                                        • D
                                          Dellishelly @Thomas Braun last edited by Dellishelly

                                          @thomas-braun said in HILFE Admin nicht erreichbar Befehle im Terminal ohne Effekt:

                                          sudo ncdu /

                                                                   /..
                                              3,1 GiB [##########]  iobroker.2023-10-30.log
                                            319,6 MiB [#         ]  iobroker.2023-10-24.log.gz
                                            315,2 MiB [#         ]  iobroker.2023-10-23.log.gz                            
                                            289,0 MiB [          ]  iobroker.2023-10-25.log.gz
                                            273,3 MiB [          ]  iobroker.2023-10-28.log.gz
                                            259,7 MiB [          ]  iobroker.2023-10-29.log.gz
                                            233,6 MiB [          ]  iobroker.2023-10-27.log.gz
                                            216,3 MiB [          ]  iobroker.2023-10-26.log.gz
                                            177,4 MiB [          ]  iobroker.2023-10-30.log.gz
                                             26,6 MiB [          ]  iobroker.2023-10-31.log
                                              4,0 KiB [          ]  iobroker-audit.json
                                          @   0,0   B [          ]  iobroker.current.log
                                          

                                          wie lösch ich das Moped ?

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

                                            @dellishelly

                                            cd /opt/iobroker/logs
                                            > iobroker.2023-10-30.log
                                            

                                            Und dann schaust du per

                                            zless iobroker.2023-10-30.log.gz
                                            

                                            in die Datei rein und guckst was da so ausgetickt ist.

                                            D 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

                                            538
                                            Online

                                            32.0k
                                            Users

                                            80.5k
                                            Topics

                                            1.3m
                                            Posts

                                            2
                                            34
                                            1145
                                            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