Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Probleme nach Javascript & js-controller update

    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

    Probleme nach Javascript & js-controller update

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

      @schnitter

      iobroker stop 
      iobroker update
      cd /opt/iobroker
      sudo -H -u iobroker npm install iobroker.js-controller
      iobroker start
      
      S 1 Reply Last reply Reply Quote 0
      • S
        SCHNittER @Thomas Braun last edited by

        @thomas-braun vielen Dank, jetzt scheint alles wieder zu funktionieren.
        Kann ich das abschließend auf Konsolenebene noch einmal testen, da er mE Fehlermeldungen brachte?

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

          @schnitter

          Da mal reinschauen, ob alles sauber ist:

          which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
          iobroker update
          iobroker status
          iobroker list instances
          
          S 1 Reply Last reply Reply Quote 0
          • S
            SCHNittER @Thomas Braun last edited by

            @thomas-braun sieht alles soweit gut aus, nur das Repository kann er nicht hinzufügen

            E: Listenverzeichnis /var/lib/apt/lists/partial fehlt. - Acquire (117: Die Struktur muss bereinigt werden)
            Error executing command, exiting
            
            
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @SCHNittER last edited by

              @schnitter

              sudo apt update
              
              S 1 Reply Last reply Reply Quote 0
              • S
                SCHNittER @Thomas Braun last edited by

                @thomas-braun

                sudo apt update
                Paketlisten werden gelesen... Fertig
                E: Listenverzeichnis /var/lib/apt/lists/partial fehlt. - Acquire (117: Die Struktur muss bereinigt werden)
                pi@raspberrypi:/opt/iobroker $ sudo apt upgrade
                Paketlisten werden gelesen... Fertig
                Abhängigkeitsbaum wird aufgebaut.
                Statusinformationen werden eingelesen.... Fertig
                Paketaktualisierung (Upgrade) wird berechnet... Fertig
                0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
                
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @SCHNittER last edited by Thomas Braun

                  @schnitter sagte in Probleme nach Javascript & js-controller update:

                  E: Listenverzeichnis /var/lib/apt/lists/partial fehlt. - Acquire (117: Die Struktur muss bereinigt werden)

                  sudo mkdir -p /var/lib/apt/lists/partial
                  sudo apt update 
                  
                  S 1 Reply Last reply Reply Quote 0
                  • S
                    SCHNittER @Thomas Braun last edited by

                    @thomas-braun er kann das Verzeichnis nicht anlegen, weil die Struktur bereinigt werden muss?

                    sudo mkdir -p /var/lib/apt/lists/partial
                    mkdir: das Verzeichnis „/var/lib/apt/lists/partial“ kann nicht angelegt werden: Die Struktur muss bereinigt werden
                    
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @SCHNittER last edited by

                      @schnitter

                      Was liegt denn drin?

                      ls -la /var/lib/apt/lists/
                      
                      S 1 Reply Last reply Reply Quote 0
                      • S
                        SCHNittER @Thomas Braun last edited by

                        @thomas-braun said in Probleme nach Javascript & js-controller update:

                        ls -la /var/lib/apt/lists/

                        nix, "insgesamt: 0"

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

                          @schnitter

                          Bitte genaue Rückmeldungen aus der Konsole.
                          Inkl. login prompt.
                          Ungefähr so:

                          echad@chet:/opt/iobroker $ ls -la /var/lib/apt/lists/
                          insgesamt 68380
                          drwxr-xr-x 4 root root     4096 24. Aug 13:17 .
                          drwxr-xr-x 5 root root     4096 23. Aug 02:28 ..
                          -rw-r--r-- 1 root root    23502 24. Aug 12:46 archive.raspberrypi.org_debian_dists_bullseye_InRelease
                          -rw-r--r-- 1 root root   411309 24. Aug 12:45 archive.raspberrypi.org_debian_dists_bullseye_main_binary-armhf_Packages
                          drwxr-xr-x 2 _apt root     4096  4. Mär 23:47 auxfiles
                          -rw-r--r-- 1 root root     4586 11. Aug 20:17 deb.nodesource.com_node%5f12.x_dists_bullseye_InRelease
                          -rw-r--r-- 1 root root     1229 11. Aug 20:17 deb.nodesource.com_node%5f12.x_dists_bullseye_main_binary-armhf_Packages
                          -rw-r--r-- 1 root root     4586 11. Aug 20:12 deb.nodesource.com_node%5f14.x_dists_bullseye_InRelease
                          -rw-r--r-- 1 root root     1230 11. Aug 20:12 deb.nodesource.com_node%5f14.x_dists_bullseye_main_binary-armhf_Packages
                          -rw-r--r-- 1 root root     4586 19. Aug 14:16 deb.nodesource.com_node%5f16.x_dists_bullseye_InRelease
                          -rw-r--r-- 1 root root     1228 19. Aug 14:16 deb.nodesource.com_node%5f16.x_dists_bullseye_main_binary-armhf_Packages
                          -rw-r----- 1 root root        0  5. Mär 00:11 lock
                          -rw-r--r-- 1 root root    12110 19. Aug 21:20 packages.grafana.com_oss_deb_dists_stable_InRelease
                          -rw-r--r-- 1 root root   112092 19. Aug 21:20 packages.grafana.com_oss_deb_dists_stable_main_binary-armhf_Packages
                          drwx------ 2 _apt root     4096 24. Aug 14:43 partial
                          

                          Versuch mal ein

                          sudo apt-get clean
                          
                          S 1 Reply Last reply Reply Quote 0
                          • S
                            SCHNittER @Thomas Braun last edited by

                            @thomas-braun

                            pi@raspberrypi:/opt/iobroker $ sudo apt-get clean
                            E: Listenverzeichnis /var/lib/apt/lists/partial fehlt. - Acquire (117: Die Struktur muss bereinigt werden)
                            pi@raspberrypi:/opt/iobroker $ ls -la /var/lib/apt/lists/
                            insgesamt 0
                            
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @SCHNittER last edited by Thomas Braun

                              @schnitter

                              Wie schafft man das? In einem 'leeren' Verzeichnis liegen mindestens die beiden Dateien/Verzeichnisse . und ..

                              echad@chet:/opt/iobroker $ mkdir test
                              echad@chet:/opt/iobroker $ ls -la test/
                              insgesamt 8
                              drwxrwxr-x+ 2 echad    echad    4096 24. Aug 15:36 .
                              drwxrwxr-x+ 7 iobroker iobroker 4096 24. Aug 15:36 ..
                              echad@chet:/opt/iobroker $
                              
                              sudo mkdir /var/lib/apt/lists/
                              

                              Ist eine Ebene höher noch alles okay?

                              ls -la /var/lib/apt
                              
                              1 Reply Last reply Reply Quote 0
                              • S
                                SCHNittER last edited by SCHNittER

                                @thomas-braun das sind die Dinge, die mich als Anfänger dann immer ins Straucheln bringen.
                                Eins höher siehts gut aus (würde ich sagen):

                                ls -la /var/lib/apt
                                insgesamt 48
                                drwxr-xr-x  5 root root  4096 Aug 17 13:27 .
                                drwxr-xr-x 27 root root  4096 Nov 11  2020 ..
                                -rw-r--r--  1 root root     0 Aug 24 14:43 daily_lock
                                -rw-r--r--  1 root root 19026 Aug 17 13:27 extended_states
                                -rw-r--r--  1 root root 12288 Nov  6  2020 listchanges.db
                                drwxr-xr-x  4 root root  4096 Aug 17 13:21 lists
                                drwxr-xr-x  3 root root  4096 Aug 20  2020 mirrors
                                drwxr-xr-x  2 root root  4096 Mai 12  2020 periodic
                                
                                
                                1 Reply Last reply Reply Quote 0
                                • S
                                  SCHNittER last edited by

                                  @thomas-braun besten Dank

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

                                  Support us

                                  ioBroker
                                  Community Adapters
                                  Donate

                                  895
                                  Online

                                  31.9k
                                  Users

                                  80.1k
                                  Topics

                                  1.3m
                                  Posts

                                  2
                                  23
                                  1074
                                  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