Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. (Gelöst) Keine Updates mehr möglich

    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

    (Gelöst) Keine Updates mehr möglich

    This topic has been deleted. Only users with topic management privileges can see it.
    • crunchip
      crunchip Forum Testing Most Active @Snatch last edited by

      @snatch du hast auf v16 gewechselt und es gibt schon mehrere Threads dies bezüglich

      S 1 Reply Last reply Reply Quote 0
      • Glasfaser
        Glasfaser @Snatch last edited by

        @snatch sagte in Keine Updates mehr möglich:

        /usr/local/bin/npm

        Wie hast du das geschaft alles im falschen Ordner local zu bringen !?

        Schau mal hier wie due es wieder hin bekommst :

        https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian

        crunchip S 2 Replies Last reply Reply Quote 0
        • S
          Snatch @crunchip last edited by

          @crunchip Ich habe auf V16 gewechselt, weil es mit der 12er nicht ging. Dachte ich versuche es mal so. Hatte aber mit der 12er exakt das gleiche Problem.

          Grüße

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

            @snatch sagte in Keine Updates mehr möglich:

            Kann mir da jemand weiterhelfen?

            Wie wurde da node16 installiert? Bitte genaue Vorgehensweise mal beschreiben.

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

              @glasfaser sagte in Keine Updates mehr möglich:

              Wie hast du das geschaft

              Diese Frage wird wohl nie beantwortet werden und bleibt für immer ein Rätsel 🤣

              Glasfaser 1 Reply Last reply Reply Quote 0
              • Glasfaser
                Glasfaser @crunchip last edited by

                @crunchip sagte in Keine Updates mehr möglich:

                und bleibt für immer ein Rätsel

                Das versuchen wir ja rauszubekommen

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

                  @snatch sagte in Keine Updates mehr möglich:

                  weil es mit der 12er nicht ging

                  Gibt ja auch mittlerweile einige Adapter, welche v12 nicht mehr unterstützen. Min ist v14 und empfohlen mittlerweile v16

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

                    @Snatch

                    @thomas-braun sagte in Keine Updates mehr möglich:

                    @snatch sagte in Keine Updates mehr möglich:

                    Kann mir da jemand weiterhelfen?

                    Wie wurde da node16 installiert? Bitte genaue Vorgehensweise mal beschreiben.

                    Bitte dieses beantworten !

                    1 Reply Last reply Reply Quote 0
                    • S
                      Snatch @Glasfaser last edited by

                      @glasfaser Gute Frage, ich habe es nach einer Anleitung hier im Forum auf die 16er geupdate.

                      Habe nun nach deiner Anleitung folgendes gemacht

                      sudo rm /pfad/zu/der/falschen/datei
                      

                      Gabe ich ausgeführt. (Fehlerfrei)

                      Dann:

                      snatch@iobroker:/opt/iobroker$ sudo apt install nodejs --reinstall
                      Paketlisten werden gelesen... Fertig
                      Abhängigkeitsbaum wird aufgebaut.
                      Statusinformationen werden eingelesen.... Fertig
                      0 aktualisiert, 0 neu installiert, 1 erneut installiert, 0 zu entfernen und 0 nicht aktualisiert.
                      Es müssen 26,5 MB an Archiven heruntergeladen werden.
                      Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
                      Holen:1 https://deb.nodesource.com/node_16.x focal/main amd64 nodejs amd64 16.16.0-deb-1nodesource1 [26,5 MB]
                      Es wurden 26,5 MB in 2 s geholt (16,8 MB/s).
                      (Lese Datenbank ... 131859 Dateien und Verzeichnisse sind derzeit installiert.)
                      Vorbereitung zum Entpacken von .../nodejs_16.16.0-deb-1nodesource1_amd64.deb ...
                      Entpacken von nodejs (16.16.0-deb-1nodesource1) über (16.16.0-deb-1nodesource1) ...
                      nodejs (16.16.0-deb-1nodesource1) wird eingerichtet ...
                      Trigger für man-db (2.9.1-1) werden verarbeitet ...
                      snatch@iobroker:/opt/iobroker$
                      
                      

                      Aber:

                      snatch@iobroker:/opt/iobroker$ uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                      x86_64
                      /usr/bin/nodejs
                      /usr/bin/node
                      /usr/bin/npm
                      -bash: /usr/local/bin/nodejs: No such file or directory
                      
                      
                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Snatch last edited by

                        @snatch sagte in Keine Updates mehr möglich:

                        Gute Frage, ich habe es nach einer Anleitung hier im Forum

                        Welche?!?

                        1 Reply Last reply Reply Quote 0
                        • Glasfaser
                          Glasfaser last edited by

                          @Thomas-Braun

                          @snatch sagte in Keine Updates mehr möglich:
                          https://deb.nodesource.com/node_16.x focal/main amd64

                          Wegen focal hast du mal das dazu geschrieben , vielleicht liegt es daran !?
                          :

                          https://forum.iobroker.net/topic/35505/gelöst-node-js-update-von-v10-auf-v12-was-ist-zu-beachten/49

                          1 Reply Last reply Reply Quote 0
                          • S
                            Snatch last edited by

                            Hallo,

                            Ich habe es nach dieser Anleitung gemacht
                            [https://forum.iobroker.net/topic/22867/how-to-node-js-für-iobroker-richtig-updaten](Link Adresse)

                            Ich hoffe man bekommt das wieder hin... Aber wie gesagt, ich hatte mit der 12er das gleiche Problem. Ein paar Tage davor ging es noch, dann auf einmal waren keine Updates mehr möglich. Daher bin ich auf die 16er.

                            Ich hoffe man bekommt das wieder hin. Wenn nicht muss halt das Backup her.

                            Grüße und Danke

                            Glasfaser 1 Reply Last reply Reply Quote 0
                            • Glasfaser
                              Glasfaser @Snatch last edited by

                              @snatch sagte in Keine Updates mehr möglich:

                              ich hatte mit der 12er das gleiche Problem.

                              war das Verzeichniss local auch dann schon so !?

                              S 1 Reply Last reply Reply Quote 0
                              • S
                                Snatch last edited by Snatch

                                Jetzt sieht es so aus:

                                snatch@iobroker:~$ uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                                x86_64
                                /usr/bin/nodejs
                                /usr/bin/node
                                /usr/bin/npm
                                v16.16.0
                                v16.16.0
                                8.11.0
                                snatch
                                /home/snatch
                                [sudo] password for snatch:
                                OK:1 https://packages.grafana.com/oss/deb stable InRelease
                                OK:2 https://repos.influxdata.com/ubuntu focal InRelease
                                OK:3 https://deb.nodesource.com/node_16.x focal InRelease
                                OK:4 http://archive.ubuntu.com/ubuntu focal InRelease
                                OK:5 http://archive.ubuntu.com/ubuntu focal-updates InRelease
                                Holen:6 http://archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
                                Holen:7 http://archive.ubuntu.com/ubuntu focal-security InRelease [114 kB]
                                Es wurden 222 kB in 2 s geholt (95,4 kB/s).
                                Paketlisten werden gelesen... Fertig
                                Abhängigkeitsbaum wird aufgebaut.
                                Statusinformationen werden eingelesen.... Fertig
                                Alle Pakete sind aktuell.
                                nodejs:
                                  Installiert:           16.16.0-deb-1nodesource1
                                  Installationskandidat: 16.16.0-deb-1nodesource1
                                  Versionstabelle:
                                 *** 16.16.0-deb-1nodesource1 500
                                        500 https://deb.nodesource.com/node_16.x focal/main amd64 Packages
                                        100 /var/lib/dpkg/status
                                     10.19.0~dfsg-3ubuntu1 500
                                        500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages
                                snatch@iobroker:~$
                                
                                

                                Fehler besteht aber immer noch.

                                1 Reply Last reply Reply Quote 0
                                • S
                                  Snatch @Glasfaser last edited by

                                  @glasfaser Das kann ich dir nicht mehr sagen. Sorry!

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

                                    @snatch

                                    iob update -i
                                    
                                    S 1 Reply Last reply Reply Quote 0
                                    • S
                                      Snatch @Thomas Braun last edited by Snatch

                                      @thomas-braun sagte in Keine Updates mehr möglich:

                                      > iob update -i
                                      
                                      snatch@iobroker:~$ iob update -i
                                      node:internal/modules/cjs/loader:936
                                        throw err;
                                        ^
                                      
                                      Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                                          at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
                                          at Function.Module._load (node:internal/modules/cjs/loader:778:27)
                                          at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
                                          at node:internal/main/run_main_module:17:47 {
                                        code: 'MODULE_NOT_FOUND',
                                        requireStack: []
                                      }
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • Glasfaser
                                        Glasfaser @Snatch last edited by Glasfaser

                                        @snatch sagte in Keine Updates mehr möglich:

                                        Update vis-timeandweather from @1.1.7 to @ 1.2.2

                                        Du bist auch im BETA Zweig unterwegs !

                                        S Thomas Braun 2 Replies Last reply Reply Quote 0
                                        • S
                                          Snatch @Glasfaser last edited by

                                          @glasfaser Ja das bin ich.

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

                                            @glasfaser sagte in Keine Updates mehr möglich:

                                            Du bist auch im BETA Zweig unterwegs !

                                            Natürlich...

                                            cd /opt/iobroker
                                            sudo -H -u iobroker npm install iobroker.js-controller
                                            
                                            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

                                            562
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            62
                                            2918
                                            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