Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Installation
    5. Hilfe! js-controller und javascript Problem

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Hilfe! js-controller und javascript Problem

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

      @ionewbie sagte in Hilfe! js-controller und javascript Problem:

      Auch das Wiederholen deiner vier Befehle änderte daran nichts.

      Die wären auch statt dessen was du da jetzt gemacht hast (Was genau hast du überhaupt gemacht?) erforderlich gewesen. Vermutlich ist da jetzt das defekte udev angeschwemmt worden.

      apt policy udev
      

      sagt?

      Der Stromausfall am Mittwoch passt dann zum Zeitstempel des Reboots:

      [Wed Sep 13 18:57:06 2023] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
      
      I 1 Reply Last reply Reply Quote 0
      • I
        ioNewbie @Thomas Braun last edited by ioNewbie

        @thomas-braun
        udev sagt:

        pi@iobroker:~ $ apt policy udev
        udev:
          Installed: 247.3-7+rpi1+deb11u2
          Candidate: 247.3-7+rpi1+deb11u2
          Version table:
         *** 247.3-7+rpi1+deb11u2 500
                500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                100 /var/lib/dpkg/status
        

        Stromausfall: oha, vielen Dank für das Aufmerksam-Machen auf den Punkt. Da werde ich nachher die USV anklemmen.

        Ansonsten ist der Status im System anscheinend unverändert. Kein Update vom js-controller und javascript rebuild fails.

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

          @ionewbie

          Dann kannst du direkt hier weiterlesen:

          https://forum.iobroker.net/topic/65017/zigbee-conbee2-funktioniert-nach-update-nicht-mehr-udev/

          Insbesondere die letzte Ergänzung ist für dein 32Bit-System wichtig.
          Wenn das alles richtig drin ist:

          iob diag
          

          in der Langfassung.

          I 1 Reply Last reply Reply Quote 0
          • I
            ioNewbie @Thomas Braun last edited by ioNewbie

            @thomas-braun said in Hilfe! js-controller und javascript Problem:

            https://forum.iobroker.net/topic/65017/zigbee-conbee2-funktioniert-nach-update-nicht-mehr-udev/

            klappt nicht, "Repository is not signed"

            pi@iobroker:/etc/apt/sources.list.d $ sudo nano bullseye-proposed-updates.list
            pi@iobroker:/etc/apt/sources.list.d $ sudo apt update
            Get:1 http://deb.debian.org/debian bullseye-proposed-updates InRelease [54.0 kB]
            Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
            Get:3 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15.0 kB]
            Hit:4 https://deb.nodesource.com/node_18.x bullseye InRelease
            Err:1 http://deb.debian.org/debian bullseye-proposed-updates InRelease
              The following signatures couldn't be verified because the public key is not av                    ailable: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131
            Reading package lists... Done
            W: GPG error: http://deb.debian.org/debian bullseye-proposed-updates InRelease:                     The following signatures couldn't be verified because the public key is not avai                    lable: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131
            E: The repository 'http://deb.debian.org/debian bullseye-proposed-updates InRele                    ase' is not signed.
            N: Updating from such a repository can't be done securely, and is therefore disa                    bled by default.
            N: See apt-secure(8) manpage for repository creation and user configuration deta                    ils.
            pi@iobroker:/etc/apt/sources.list.d $ sudo apt -t bullseye-proposed-updates install udev
            Reading package lists... Done
            E: The value 'bullseye-proposed-updates' is invalid for APT::Default-Release as such a release is not available in the sources
            pi@iobroker:/etc/apt/sources.list.d $
            

            In die Datei hatte ich gemäß dem verlinkten Artikel geschrieben:

            deb http://deb.debian.org/debian bullseye-proposed-updates main
            
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @ioNewbie last edited by

              @ionewbie sagte in Hilfe! js-controller und javascript Problem:

              klappt nicht, "Repository is not signed"

              Die keys sind glaube ich auch genannt.

              I 1 Reply Last reply Reply Quote 0
              • I
                ioNewbie @Thomas Braun last edited by

                @thomas-braun sorry, was genau soll ich jetzt tun?

                Aus dieser Anleitung alle Schritte im Kapitel "TEIL 1 Installation und Update von nodejs" durchgehen, angefangen bei Löschen der alten Installiation?

                Also ab hier?

                sudo apt purge --autoremove nodejs* npm node-* libnode*
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @ioNewbie last edited by

                  @ionewbie

                  Nein.

                  Erst udev richtig installieren.
                  Keys reinholen:

                  ===================================================================================

                  EDIT 09.06.2023
                  Wenn beim Udate festgestellt wird, dass keys - Schlüssel fehlen, dann bitte folgende Befehle eingeben:

                  sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 648ACFD622F3D138

                  sudo apt update

                  ===================================================================================

                  I 1 Reply Last reply Reply Quote 0
                  • I
                    ioNewbie @Thomas Braun last edited by

                    @thomas-braun said in Hilfe! js-controller und javascript Problem:

                    sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 648ACFD622F3D138

                    sieht nach demselben Fehler aus:

                    pi@iobroker:/etc/apt/sources.list.d $ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 648ACFD622F3D138
                    Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
                    Executing: /tmp/apt-key-gpghome.KIQN2h7mCD/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 648ACFD622F3D138
                    gpg: key DC30D7C23CBBABEE: public key "Debian Archive Automatic Signing Key (10/buster) <ftpmaster@debian.org>" imported
                    gpg: Total number processed: 1
                    gpg:               imported: 1
                    pi@iobroker:/etc/apt/sources.list.d $ sudo apt update
                    Get:1 http://deb.debian.org/debian bullseye-proposed-updates InRelease [54.0 kB]
                    Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                    Hit:3 http://archive.raspberrypi.org/debian bullseye InRelease
                    Hit:4 https://deb.nodesource.com/node_18.x bullseye InRelease
                    Err:1 http://deb.debian.org/debian bullseye-proposed-updates InRelease
                      The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131
                    Reading package lists... Done
                    W: GPG error: http://deb.debian.org/debian bullseye-proposed-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131
                    E: The repository 'http://deb.debian.org/debian bullseye-proposed-updates InRelease' is not signed.
                    N: Updating from such a repository can't be done securely, and is therefore disabled by default.
                    N: See apt-secure(8) manpage for repository creation and user configuration details.
                    pi@iobroker:/etc/apt/sources.list.d $ sudo apt -t bullseye-proposed-updates install udev
                    Reading package lists... Done
                    E: The value 'bullseye-proposed-updates' is invalid for APT::Default-Release as such a release is not available in the sources
                    pi@iobroker:/etc/apt/sources.list.d $
                    
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @ioNewbie last edited by

                      @ionewbie sagte in Hilfe! js-controller und javascript Problem:

                      6ED0E7B82643E131

                      Transferleistung gefragt...
                      Der fehlende Key heißt 6ED0E7B82643E131...

                      I 1 Reply Last reply Reply Quote 0
                      • I
                        ioNewbie @Thomas Braun last edited by

                        @thomas-braun said in Hilfe! js-controller und javascript Problem:

                        6ED0E7B82643E131

                        omg, ja verstehe. habe nur die 314 Postings in dem von dir verlinkten Thread gesehen und Textsuche auf keys gemacht und als ich nichts gefunden habe, bin ich ausgestiegen, weil Wald und Bäume und so...

                        Also der Schlüssel ist jetzt drin, und sudo apt update ergab folgendes Ergebnis:

                        pi@iobroker:/etc/apt/sources.list.d $ sudo apt update
                        Get:1 http://deb.debian.org/debian bullseye-proposed-updates InRelease [54.0 kB]
                        Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                        Hit:3 http://archive.raspberrypi.org/debian bullseye InRelease
                        Hit:4 https://deb.nodesource.com/node_18.x bullseye InRelease
                        Get:5 http://deb.debian.org/debian bullseye-proposed-updates/main armhf Packages [152 kB]
                        Get:6 http://deb.debian.org/debian bullseye-proposed-updates/main Translation-en [94.8 kB]
                        Fetched 247 kB in 1s (212 kB/s)
                        Reading package lists... Done
                        Building dependency tree... Done
                        Reading state information... Done
                        23 packages can be upgraded. Run 'apt list --upgradable' to see them.
                        pi@iobroker:/etc/apt/sources.list.d $ apt list --upgradable
                        

                        Ich nehme an, die 23 Pakete ziehe ich jetzt mal mit dem dort angegebenen Befehl herein?

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

                          @ionewbie sagte in Hilfe! js-controller und javascript Problem:

                          Ich nehme an, die 23 Pakete ziehe ich jetzt mal mit dem dort angegebenen Befehl herein?

                          Nein, nur das udev-Paket.
                          Und dann löschst du die gerade angelegte .list-Datei auch wieder.

                          I 1 Reply Last reply Reply Quote 0
                          • I
                            ioNewbie @Thomas Braun last edited by

                            @thomas-braun
                            ok, das udev war wohl vorher schon drin? und die bullseye Datei darf ich nicht löschen.

                            pi@iobroker:/etc/apt/sources.list.d $ sudo apt -t bullseye-proposed-updates install udev
                            Reading package lists... Done
                            Building dependency tree... Done
                            Reading state information... Done
                            udev is already the newest version (247.3-7+rpi1+deb11u2).
                            The following package was automatically installed and is no longer required:
                              raspinfo
                            Use 'sudo apt autoremove' to remove it.
                            0 upgraded, 0 newly installed, 0 to remove and 33 not upgraded.
                            pi@iobroker:/etc/apt/sources.list.d $ ls
                            bullseye-proposed-updates.list  nodesource.list  raspi.list
                            pi@iobroker:/etc/apt/sources.list.d $ rm bullseye-proposed-updates.list
                            rm: remove write-protected regular file 'bullseye-proposed-updates.list'? y
                            rm: cannot remove 'bullseye-proposed-updates.list': Permission denied
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @ioNewbie last edited by

                              @ionewbie

                              sudo apt update
                              apt policy udev
                              
                              I 1 Reply Last reply Reply Quote 0
                              • I
                                ioNewbie @Thomas Braun last edited by

                                @thomas-braun es bleibt bei u2

                                pi@iobroker:/etc/apt/sources.list.d $ sudo apt update
                                Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
                                Hit:2 http://deb.debian.org/debian bullseye-proposed-updates InRelease
                                Hit:3 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                                Hit:4 https://deb.nodesource.com/node_18.x bullseye InRelease
                                Reading package lists... Done
                                Building dependency tree... Done
                                Reading state information... Done
                                23 packages can be upgraded. Run 'apt list --upgradable' to see them.
                                pi@iobroker:/etc/apt/sources.list.d $ apt policy udev
                                udev:
                                  Installed: 247.3-7+rpi1+deb11u2
                                  Candidate: 247.3-7+rpi1+deb11u2
                                  Version table:
                                 *** 247.3-7+rpi1+deb11u2 500
                                        500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                                        100 /var/lib/dpkg/status
                                     247.3-7+deb11u4 500
                                        500 http://deb.debian.org/debian bullseye-proposed-updates/main armhf Packages
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @ioNewbie last edited by

                                  @ionewbie

                                  Dann wie in der Anleitung beschrieben:

                                  sudo apt install udev=247.3-7+deb11u4 libudev1=247.3-7+deb11u4
                                  sudo apt-mark hold udev
                                  sudo rm /etc/apt/sources.list.d/bullseye-proposed-updates.list
                                  sudo apt update
                                  
                                  I 1 Reply Last reply Reply Quote 0
                                  • I
                                    ioNewbie @Thomas Braun last edited by

                                    @thomas-braun said in Hilfe! js-controller und javascript Problem:

                                    sudo rm /etc/apt/sources.list.d/bullseye-proposed-updates.list

                                    das kam jetzt dabei heraus:

                                    pi@iobroker:~ $ sudo apt install udev=247.3-7+deb11u4 libudev1=247.3-7+deb11u4
                                    Reading package lists... Done
                                    Building dependency tree... Done
                                    Reading state information... Done
                                    The following package was automatically installed and is no longer required:
                                      raspinfo
                                    Use 'sudo apt autoremove' to remove it.
                                    The following packages will be REMOVED:
                                      libudev-dev
                                    The following held packages will be changed:
                                      udev
                                    The following packages will be DOWNGRADED:
                                      libudev1 udev
                                    0 upgraded, 0 newly installed, 2 downgraded, 1 to remove and 23 not upgraded.
                                    Need to get 1,602 kB of archives.
                                    After this operation, 573 kB disk space will be freed.
                                    Do you want to continue? [Y/n] y
                                    Get:1 http://deb.debian.org/debian bullseye-proposed-updates/main armhf udev armhf 247.3-7+deb11u4 [1,440 kB]
                                    Get:2 http://deb.debian.org/debian bullseye-proposed-updates/main armhf libudev1 armhf 247.3-7+deb11u4 [162 kB]
                                    Fetched 1,602 kB in 0s (9,808 kB/s)
                                    (Reading database ... 55082 files and directories currently installed.)
                                    Removing libudev-dev:armhf (247.3-7+rpi1+deb11u2) ...
                                    dpkg: warning: downgrading udev from 247.3-7+rpi1+deb11u2 to 247.3-7+deb11u4
                                    (Reading database ... 55007 files and directories currently installed.)
                                    Preparing to unpack .../udev_247.3-7+deb11u4_armhf.deb ...
                                    Unpacking udev (247.3-7+deb11u4) over (247.3-7+rpi1+deb11u2) ...
                                    dpkg: warning: downgrading libudev1:armhf from 247.3-7+rpi1+deb11u2 to 247.3-7+deb11u4
                                    Preparing to unpack .../libudev1_247.3-7+deb11u4_armhf.deb ...
                                    Unpacking libudev1:armhf (247.3-7+deb11u4) over (247.3-7+rpi1+deb11u2) ...
                                    Setting up libudev1:armhf (247.3-7+deb11u4) ...
                                    Setting up udev (247.3-7+deb11u4) ...
                                    Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u5) ...
                                    Processing triggers for man-db (2.9.4-2) ...
                                    Processing triggers for initramfs-tools (0.140) ...
                                    pi@iobroker:~ $ sudo apt-mark hold udev
                                    udev set on hold.
                                    pi@iobroker:~ $ sudo rm /etc/apt/sources.list.d/bullseye-proposed-updates.list
                                    pi@iobroker:~ $ sudo apt update
                                    Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
                                    Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                                    Hit:3 https://deb.nodesource.com/node_18.x bullseye InRelease
                                    Reading package lists... Done
                                    Building dependency tree... Done
                                    Reading state information... Done
                                    2 packages can be upgraded. Run 'apt list --upgradable' to see them.
                                    pi@iobroker:~ $ apt policy udev
                                    udev:
                                      Installed: 247.3-7+deb11u4
                                      Candidate: 247.3-7+rpi1+deb11u2
                                      Version table:
                                         247.3-7+rpi1+deb11u2 500
                                            500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                                     *** **247.3-7+deb11u4** 100
                                            100 /var/lib/dpkg/status
                                    
                                    Thomas Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @ioNewbie last edited by

                                      @ionewbie

                                      Jetzt passt es.

                                      I 1 Reply Last reply Reply Quote 0
                                      • I
                                        ioNewbie @Thomas Braun last edited by ioNewbie

                                        @thomas-braun und diese Schritte als nächstes? der JSController ist ja immer noch der alte

                                        Diese hier?
                                        cd /opt/iobroker/
                                        sudo iobroker stop
                                        sudo iobroker update
                                        sudo iobroker upgrade self
                                        sudo iobroker start

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

                                          @ionewbie

                                          NEIN!
                                          iobroker wird NIE mit sudo angepackt.

                                          I 1 Reply Last reply Reply Quote 0
                                          • I
                                            ioNewbie @Thomas Braun last edited by ioNewbie

                                            @thomas-braun sorry. Also diese hier:

                                            iobroker stop
                                            iobroker update
                                            iobroker fix oder wenn das nicht funktioniert: curl -sL https://iobroker.net/fix.sh | bash -
                                            iobroker upgrade self
                                            iobroker start

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            1.1k
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            2
                                            75
                                            3255
                                            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