Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Ein Update ist schief gegangen

    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

    Ein Update ist schief gegangen

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators @Thomas Braun last edited by Homoran

      @thomas-braun ausser die sd karte war bereits morsch und hat bei den letzten Schreibvorgängen endgültig alle Viere von sich gestreckt

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

        @homoran

        Das kann natürlich sein. Hat aber auch nicht ursächlich mit dem Skript zu tun.

        Wobei mir da ein paar andere Dinge noch ins Auge springen, die ich mir gerade nicht erklären kann...

        Lenny.CB 1 Reply Last reply Reply Quote 0
        • Lenny.CB
          Lenny.CB Most Active @Thomas Braun last edited by

          @thomas-braun sagte in Ein Update ist schief gegangen:

          @lenny-cb sagte in Ein Update ist schief gegangen:

          nach dem Ausführen von Deinem Script startet der Pi nicht mehr.

          Das kann nicht sein, das greift nur beim nodejs-Paket zu und das wird zum Start des Pi natürlich nicht benötigt.

          leider doch.

          Kann es sein, dass es an der Root-Installation liegt? (Wobei meine Installationen ioBroker-Anfang als root laufen. (ohne das jetzt mal zu werten.)
          Dein Script hatte ich aber mit dem "PI-User" gemacht. Ging ja auch nicht anders.

          1 Reply Last reply Reply Quote 0
          • Lenny.CB
            Lenny.CB Most Active @Thomas Braun last edited by

            @thomas-braun sagte in Ein Update ist schief gegangen:

            Wobei mir da ein paar andere Dinge noch ins Auge springen, die ich mir gerade nicht erklären kann...

            welche wären das?

            Thomas Braun 2 Replies Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @Lenny.CB last edited by

              @lenny-cb sagte in Ein Update ist schief gegangen:

              welche wären das?

              Nur im Diagnose-Teil. Nur Optik.

              Kann es sein, dass es an der Root-Installation liegt?

              Möglich. Als root verfummelt man sich halt eh man es sich versieht irgendwas. Weswegen man halt auch nie als root herumhampelt.

              Lenny.CB 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @Lenny.CB last edited by Thomas Braun

                @lenny-cb

                Kommst du jetzt wieder auf die Kiste?

                sudo apt update
                

                sagt? Da klemmt ja auch guile-2.2-libs irgendwo fest. Offenbar ist dein dist-upgrade nicht richtig durchgelaufen.

                Lenny.CB 1 Reply Last reply Reply Quote 0
                • Lenny.CB
                  Lenny.CB Most Active @Thomas Braun last edited by

                  @thomas-braun sagte in Ein Update ist schief gegangen:

                  @lenny-cb

                  Kommst du jetzt wieder auf die Kiste?

                  sudo apt update
                  

                  sagt? Da klemmt ja auch guile-2.2-libs irgendwo fest. Offenbar ist dein dist-upgrade nicht richtig durchgelaufen.

                  nope, kein ssh-Zugang. Stecke morgen mal einen Monitor dran und schaue ob nur ssh das Problem ist oder ganz tot.

                  Lenny.CB 1 Reply Last reply Reply Quote 0
                  • Lenny.CB
                    Lenny.CB Most Active @Thomas Braun last edited by

                    @thomas-braun sagte in Ein Update ist schief gegangen:

                    @lenny-cb sagte in Ein Update ist schief gegangen:

                    welche wären das?

                    Nur im Diagnose-Teil. Nur Optik.

                    Kann es sein, dass es an der Root-Installation liegt?

                    Möglich. Als root verfummelt man sich halt eh man es sich versieht irgendwas. Weswegen man halt auch nie als root herumhampelt.

                    wie gesagt, ich mache seit Jahren nicht anderes als apt-get update/upgrade und 2x node-Installation (12-->14-->16). da hält sich das "Verfummeln" in Grenzen.

                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @Lenny.CB last edited by

                      @lenny-cb

                      Dann kannst du ja diese zwei-drei Dinge erst Recht ohne root machen.

                      1 Reply Last reply Reply Quote 0
                      • Lenny.CB
                        Lenny.CB Most Active @Lenny.CB last edited by Lenny.CB

                        @lenny-cb sagte in Ein Update ist schief gegangen:

                        @thomas-braun sagte in Ein Update ist schief gegangen:

                        @lenny-cb

                        Kommst du jetzt wieder auf die Kiste?

                        sudo apt update
                        

                        sagt? Da klemmt ja auch guile-2.2-libs irgendwo fest. Offenbar ist dein dist-upgrade nicht richtig durchgelaufen.

                        nope, kein ssh-Zugang. Stecke morgen mal einen Monitor dran und schaue ob nur ssh das Problem ist oder ganz tot.

                        kurze Zusammenfassung:

                        warum startete der PI nicht mehr?
                        Tat er, nur war nach dem Ausführen des Scriptes eth0 weg.

                        Konnte behoben werden indem in /boot/cmdline.txt am Ende der Zeile "net.ifnames=0" angehangen wurde.

                        zur Frage was apt update ergibt:
                        apt update --> apt upgrade
                        guile-2.2-libs -_> wurde zurückgehalten

                        apt full-upgrade
                        Installation erledigt

                        node -v --> v18.17.1
                        npm - v --> 9.6.7

                        keiner der Adapter starten. Im Log kommt immer noch der Fehler (Beispiel Zigbee):

                        host.RPI3
                        2023-09-18 13:39:03.991	info	iobroker npm-install: exit 25
                        host.RPI3
                        2023-09-18 13:39:02.912	error	iobroker npm-install: Could not handle ENOTEMPTY, because no deletable files were foundnpm ERR! code ENOTEMPTYnpm ERR! syscall renamenpm ERR! path /opt/iobroker/node_modules/@alcalzone/jsonl-dbnpm ERR! dest /opt/iobroker/node_modules/@alcalzone/.jsonl-db-koHBLxk9npm ERR! errno -39npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/@alcalzone/jsonl-db' -> '/opt/iobroker/node_modules/@alcalzone/.jsonl-db-koHBLxk9'npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-09-18T11_37_56_021Z-debug-0.loghost.RPI3 Cannot install iobroker.zigbee@1.8.24: 217
                        host.RPI3
                        2023-09-18 13:39:02.903	info	iobroker npm-install: Try to solve ENOTEMPTY error automatically
                        host.RPI3
                        2023-09-18 13:37:52.412	info	iobroker npm-install: Installing iobroker.zigbee@1.8.24... (System call)
                        host.RPI3
                        2023-09-18 13:37:52.406	info	iobroker npm-install: NPM version: 9.6.7
                        host.RPI3
                        2023-09-18 13:37:37.847	info	iobroker install zigbee@1.8.24 using installedFrom
                        host.RPI3
                        2023-09-18 13:37:37.843	warn	startInstance cannot find adapter "zigbee@1.8.24". Try to install it... 1 attempt
                        

                        Controller ist auf Version v5.0.12
                        Alle Adapter in diesem Slave sind auf dem aktuellen Stand.

                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @Lenny.CB last edited by

                          @lenny-cb sagte in Ein Update ist schief gegangen:

                          nur war nach dem Ausführen des Scriptes eth0 weg.

                          Kann aber nicht mit dem nodejs-Skript zusammenhängen, da ist kein Code diesbezüglich drin.

                          Zu

                          Could not handle ENOTEMPTY, because no deletable files were foundnpm ERR! code ENOTEMPTYnpm ERR! syscall renamenpm ERR! path /opt/iobroker/node_modules/@alcalzone/jsonl-dbnpm ERR! dest /opt/iobroker/node_modules/@alcalzone/.jsonl-db-koHBLxk9npm ERR! errno -39npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/@alcalzone/jsonl-db' -> '/opt/iobroker/node_modules/@alcalzone/.jsonl-db-koHBLxk9'npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-09-18T11_37_56_021Z-debug-0.loghost.RPI3 Cannot install iobroker.zigbee@1.8.24: 217
                          

                          jag mal den

                          iob fix
                          

                          über das System.

                          Lenny.CB 1 Reply Last reply Reply Quote 0
                          • Lenny.CB
                            Lenny.CB Most Active @Thomas Braun last edited by Lenny.CB

                            @thomas-braun sagte in Ein Update ist schief gegangen:

                            @lenny-cb sagte in Ein Update ist schief gegangen:

                            nur war nach dem Ausführen des Scriptes eth0 weg.

                            Kann aber nicht mit dem nodejs-Skript zusammenhängen, da ist kein Code diesbezüglich drin.

                            Zu

                            Could not handle ENOTEMPTY, because no deletable files were foundnpm ERR! code ENOTEMPTYnpm ERR! syscall renamenpm ERR! path /opt/iobroker/node_modules/@alcalzone/jsonl-dbnpm ERR! dest /opt/iobroker/node_modules/@alcalzone/.jsonl-db-koHBLxk9npm ERR! errno -39npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/@alcalzone/jsonl-db' -> '/opt/iobroker/node_modules/@alcalzone/.jsonl-db-koHBLxk9'npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-09-18T11_37_56_021Z-debug-0.loghost.RPI3 Cannot install iobroker.zigbee@1.8.24: 217
                            

                            jag mal den

                            iob fix
                            

                            über das System.

                            gemacht:

                            library: loaded
                            Library version=2022-12-09
                            
                            ==========================================================================
                            
                                Welcome to the ioBroker installation fixer!
                                Script version: 2023-04-02
                            
                            ==========================================================================
                            
                            
                            ==========================================================================
                                Installing prerequisites (1/5)
                            ==========================================================================
                            
                            OK:1 http://archive.raspberrypi.org/debian bullseye InRelease
                            OK:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                            OK:3 https://www.pivccu.de/piVCCU stable InRelease
                            OK:4 https://deb.nodesource.com/node_18.x nodistro InRelease
                            Paketlisten werden gelesen… Fertig
                            Installed gcc-c++
                            
                            ==========================================================================
                                Checking ioBroker user and directory permissions (2/5)
                            ==========================================================================
                            
                            Created /etc/sudoers.d/iobroker
                            Fixing directory permissions...
                            
                            ==========================================================================
                                Check and cleanup npm temporary directories (3/5)
                            ==========================================================================
                            
                            Done.
                            
                            ==========================================================================
                                Database maintenance (4/5)
                            ==========================================================================
                            
                            Checking for uncompressed JSONL databases... This might take a while!
                            
                            No relevant JSONL files found to compress, skip
                            
                            ==========================================================================
                                Checking autostart (5/5)
                            ==========================================================================
                            
                            Enabling autostart...
                            Autostart enabled!
                            
                            ==========================================================================
                            
                                Your installation was fixed successfully
                                Run iobroker start to start ioBroker again!
                            
                            ==========================================================================
                            

                            der Slave hat dann auch angefangen die Adapter zu installieren.
                            Zwischenzeitlich war wohl ein Neustart fällig, seit dem ist der nicht mehr mit dem Multi verbunden.
                            Eine ioB-Instanz läuft auf dem Pi, keine Verbindung.

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

                            Support us

                            ioBroker
                            Community Adapters
                            Donate

                            387
                            Online

                            31.8k
                            Users

                            80.0k
                            Topics

                            1.3m
                            Posts

                            4
                            19
                            1862
                            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