Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Javascript Adapter lässt sich nicht updaten

    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

    Javascript Adapter lässt sich nicht updaten

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mark77 last edited by

      Moin,

      leider scheitert bei meinem iob Master das Update des javascript Adapters:

      $ iobroker upgrade javascript@5.2.21
      Update javascript from @5.2.13 to @5.2.21
      NPM version: 6.14.16
      Installing iobroker.javascript@5.2.21... (System call)
      upload [102] ...
      upload [0]...
      Process exited with code 0
      

      So sieht die Log Ausgabe aus, alles super.

      Leider bleibt der Adapter auf der 5.2.13 und wird wieder als aktualisierbar angezeigt.

      node -v: v14.19.1
      npm -v: 6.14.16

      Gibt es eine Art erweitertes Logging um dem Fehler auf die Spur zu kommen?

      Auch ein Versuch:

      ./iob upgrade javascript@5.2.15
      

      Und er bleibt bei 5.2.13.

      Gruß,
      Mark

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

        @mark77

        sudo ln -s /usr/bin/node /usr/bin/nodejs
        which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
        
        iobroker upload all
        iobroker update
        iobroker upgrade
        

        Und bitte regelmäßiger/häufiger updaten.

        javascript:
        github:	5.4.3
        latest:	5.4.3 for 2 days
        stable:	5.2.21 for 62 days
        
        M 1 Reply Last reply Reply Quote 0
        • M
          mark77 @Thomas Braun last edited by

          @thomas-braun sagte in Javascript Adapter lässt sich nicht updaten:

          iobroker update

          @Thomas-Braun Danke erstmal.

          Habe ich probiert, leider das gleich Ergebnis.

          Kann ich alle Scripte Exportieren und evtl. den Adapter löschen und neu installieren?

          Das mit den regelmäßigen updates werde ich mir merken.

          Ist die Ausgabe wie erwartet?

          /opt/iobroker# which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
          /usr/bin/nodejs
          /usr/bin/node
          /usr/bin/npm
          v14.19.1
          v14.19.1
          6.14.16
          root
          /opt/iobroker
          OK:1 http://security.debian.org/debian-security stretch/updates InRelease
          Ign:2 http://deb.debian.org/debian stretch InRelease
          OK:3 http://deb.debian.org/debian stretch-updates InRelease
          OK:4 http://deb.debian.org/debian stretch Release
          OK:5 https://deb.nodesource.com/node_14.x stretch InRelease
          Paketlisten werden gelesen... Fertig
          Abhängigkeitsbaum wird aufgebaut.
          Statusinformationen werden eingelesen.... Fertig
          Alle Pakete sind aktuell.
          nodejs:
            Installiert:           14.19.1-1nodesource1
            Installationskandidat: 14.19.1-1nodesource1
            Versionstabelle:
           *** 14.19.1-1nodesource1 500
                  500 https://deb.nodesource.com/node_14.x stretch/main amd64 Packages
                  100 /var/lib/dpkg/status
               4.8.2~dfsg-1 500
                  500 http://deb.debian.org/debian stretch/main amd64 Packages
          
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @mark77 last edited by Thomas Braun

            @mark77

            Jein. Die node-Installation ist i.O.

            Aber man hampelt nicht als root herum und fährt auch kein Stretch mehr spazieren. Debian 9 / Stretch hat sein End-of-Life erreicht.

            Habe ich probiert, leider das gleich Ergebnis.

            Geheim? Ich sehe keine Meldungen dazu.

            apt update
            

            sagt?

            1 Reply Last reply Reply Quote 0
            • M
              mark77 last edited by

              @Thomas-Braun apt update alles aktuell.

              Läuft im Docker Container. Werde mal schauen, das auf einen neunen hochzuziehen.

              Ich würde dann vermutlich eh gleich alles neu machen.

              Danke erstmal.

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

                @mark77 sagte in Javascript Adapter lässt sich nicht updaten:

                Ich würde dann vermutlich eh gleich alles neu machen.

                Ja, besser. Und auch im Docker ist man nicht zwangsweise als root unterwegs.

                1 Reply Last reply Reply Quote 0
                • M
                  mark77 last edited by

                  Danke, habe bisher immer so gearbeitet. Werde mal schauen, wie ich anders hereinkomme.

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

                    @mark77 sagte in Javascript Adapter lässt sich nicht updaten:

                    Werde mal schauen, wie ich anders hereinkomme.

                    Mit einem user, der sudo-Rechte hat.

                    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

                    635
                    Online

                    31.7k
                    Users

                    79.9k
                    Topics

                    1.3m
                    Posts

                    2
                    8
                    258
                    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