Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Node.js 18.x und iobroker (ein Test)

    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

    Node.js 18.x und iobroker (ein Test)

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

      @worxweis sagte in Node.js 18.x und iobroker (ein Test):

      Woher kommt die Version 18.7.0?

      wahrscheinlich

      @worxweis sagte in Node.js 18.x und iobroker (ein Test):

      Ubuntu 22.10

      daher die Frage

      @homoran sagte in Node.js 18.x und iobroker (ein Test):

      Welches OS?

      Hier wird noch v16 geholt
      @worxweis sagte in Node.js 18.x und iobroker (ein Test):

      Get:1 https://deb.nodesource.com/node_16.x kinetic InRelease [4585 B]

      das wäre ein Fall für Sherlock Braun

      @Thomas-Braun

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

        Kinetic bringt aus dem eigenen Stall eine v18 an den Start. Die wird natürlich, da höher als die v16 aus dem iob-Installer dann installiert.
        Sieht man per

        apt policy nodejs
        
        crunchip 1 Reply Last reply Reply Quote 0
        • Segway
          Segway @Homoran last edited by

          @homoran sagte in Node.js 18.x und iobroker (ein Test):

          keine Ahnung! hab kein IPv6.
          Dafür ist dieser Thread um Feedback zu bekommen.

          dirk@IoB:~$ which nodejs node npm && nodejs -v && node -v && npm -v
          /usr/bin/nodejs
          /usr/bin/node
          /usr/bin/npm
          v18.12.1
          v18.12.1
          8.19.2
          

          Auf dem Slave auch noch NodeJS18 drauf machen ?
          Kann ich einfach wieder per Befehl auf 16 zurück ?

          Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators @Segway last edited by

            @segway sagte in Node.js 18.x und iobroker (ein Test):

            Auf dem Slave auch noch NodeJS18 drauf machen ?
            Kann ich einfach wieder per Befehl auf 16 zurück ?

            du fragst mich Sachen 😂

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

              @segway sagte in Node.js 18.x und iobroker (ein Test):

              Kann ich einfach wieder per Befehl auf 16 zurück ?

              Mit deinem Paketmanager.

              1 Reply Last reply Reply Quote 0
              • crunchip
                crunchip Forum Testing Most Active @Thomas Braun last edited by crunchip

                @thomas-braun verstehe ich aber nicht ganz, wenn es sich doch um ein proxmox template handelt, in welchem noch kein nodejs vorhanden und die v16 per Installer gefordert wird, dann ne v18 installiert wird.
                oder is das wieder so ein ubuntu Ding, gab in vergangenen Versionen ja schon hin und wieder Probleme bezüglich nodejs

                Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
                • Segway
                  Segway @Homoran last edited by

                  @homoran sagte in Node.js 18.x und iobroker (ein Test):

                  du fragst mich Sachen 😂

                  Ja logo ... suche noch die Antwort 🙂

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

                    @crunchip

                    Das node18 dürfte aus den ubuntu-Repos kommen.

                    Schau halt mit

                    apt policy nodejs
                    

                    die Rangfolge der Quellen an.

                    W crunchip 2 Replies Last reply Reply Quote 0
                    • W
                      worxweis @Thomas Braun last edited by

                      @thomas-braun

                      Also da kommen folgende Meldungen retour:

                      root@Testserver:~# apt policy nodejs
                      nodejs:
                        Installed: 18.7.0+dfsg-5ubuntu1
                        Candidate: 18.7.0+dfsg-5ubuntu1
                        Version table:
                       *** 18.7.0+dfsg-5ubuntu1 500
                              500 http://archive.ubuntu.com/ubuntu kinetic/universe amd64 Packages
                              100 /var/lib/dpkg/status
                           16.19.0-deb-1nodesource1 500
                              500 https://deb.nodesource.com/node_16.x kinetic/main amd64 Packages
                      root@Testserver:~# 
                      

                      Ist das für euch aussagekräftig?

                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Homoran
                        Homoran Global Moderator Administrators @crunchip last edited by Homoran

                        @crunchip ich denke das wird durch den Befehl

                        @worxweis sagte in Node.js 18.x und iobroker (ein Test):

                        Run **sudo apt-get install -y nodejs**

                        dann aus dem UBUNTU Repo geholt und installiert. das zuvor gecurlte v16 von nodesource wird links liegen gelassen

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

                          @worxweis

                          Wie ich gesagt habe.
                          Ubuntu stellt aus den eigenen Quellen schon eine 18 bereit, die übertrumpft halt die v16 aus dem nachträglich angelegten nodesource-Repo.

                          Jetzt würde ich da mit pinning arbeiten und die Gewichtung auf das nodesource-Repo legen. Dann würde das bevorzugt.

                          Aber grundsätzlich verwendet man bei Ubuntu auch keine Zwischenversionen. Zu kurzlebig.

                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • crunchip
                            crunchip Forum Testing Most Active @Thomas Braun last edited by crunchip

                            @thomas-braun mag ja sein, der curl befehl ist aber v16
                            steht dann in der etc/apt/sources.list.d/nodesource.list dann was?

                            muss ich bei Gelegenheit mal testen

                            @homoran sagte in Node.js 18.x und iobroker (ein Test):

                            das zuvor gecurlte v16 von nodesource wird links liegen gelassen

                            klingt logisch

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

                              @crunchip sagte in Node.js 18.x und iobroker (ein Test):

                              mag ja sein, der curl befehl ist aber v16

                              Ja, und? Dann wird nur das Regal für 16 in die Auslage gerollt, der Kunde greift aber trotzdem in das Regal mit der schöneren Version. Wenn ihm das nicht anders gesagt wird.

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

                                @Homoran
                                Zur Info: Ich hab auf NodeJS18 umgestellt und teste bzw. beobachte die Logs!
                                Irgendwas spezielles was ich nachschauen soll ?

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

                                  Nur so zu Info: Zum Testen würde ich aber die nodesource-Version nehmen. Die dfsg-Variante wird Debian-typisch atomisiert und verteilt sich auf zig Pakete. Macht es nicht einfach damit zu hantieren.

                                  Segway W 2 Replies Last reply Reply Quote 0
                                  • Segway
                                    Segway @Thomas Braun last edited by

                                    @thomas-braun sagte in Node.js 18.x und iobroker (ein Test):

                                    Nur so zu Info: Zum Testen würde ich aber die nodesource-Version nehmen. Die dfsg-Variante wird Debian-typisch atomisiert und verteilt sich auf zig Pakete. Macht es nicht einfach damit zu hantieren.

                                    Heisst dann was ?
                                    Ich hatte ja gefragt einfach per

                                    curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash -
                                    

                                    installieren und das hab ich gemacht. wars jetzt wieder falsch ?

                                    Thomas Braun 1 Reply Last reply Reply Quote 0
                                    • W
                                      worxweis @Thomas Braun last edited by

                                      @thomas-braun
                                      Also die vorhandene deinstallieren und die nodesource-Version installieren?

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

                                        @segway

                                        Ist nur relevant wenn du die dfsg-Variante am Wickel hattest.

                                        apt policy nodejs 
                                        

                                        sagt bei dir?

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

                                          @thomas-braun

                                          nodejs:
                                            Installiert:           18.12.1-deb-1nodesource1
                                            Installationskandidat: 18.12.1-deb-1nodesource1
                                            Versionstabelle:
                                           *** 18.12.1-deb-1nodesource1 500
                                                  500 https://deb.nodesource.com/node_18.x bullseye/main amd64 Packages
                                                  100 /var/lib/dpkg/status
                                               12.22.12~dfsg-1~deb11u1 500
                                                  500 http://security.debian.org/debian-security bullseye-security/main amd64 Packages
                                               12.22.5~dfsg-2~11u1 500
                                                  500 http://deb.debian.org/debian bullseye/main amd64 Packages
                                          
                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @Segway last edited by

                                            @segway

                                            Da hast du kein Problem, die dfsg-Versionen sind alle niedriger priorisiert als deine 18.12.1-deb-1nodesource1

                                            Segway 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

                                            443
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            10
                                            83
                                            4377
                                            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