Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Visualisierung
    4. Vis lässt sich nicht mehr starten ! ?

    NEWS

    • Amazon Alexa - ioBroker Skill läuft aus ?

    • Monatsrückblick – September 2025

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    Vis lässt sich nicht mehr starten ! ?

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

      @thomas-braun

      Ich möchte nur node.js von v10.24.1. auf v12.22.1 upgraden:
      Kann ich da bei npm auf 6.14.12 bleiben ?

      Aktuell schaut es bei mir so aus.

      pi@raspberrypi:~ $ which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs
      /usr/bin/nodejs
      /usr/bin/node
      /usr/bin/npm
      v10.24.1
      v10.24.1
      6.14.12
      E: Ungültige Operation policy
      
      

      Liege ich richtig, wenn ich folgende Schritte durchführe ?

      Teil 1.1 Node-Upgrade/ Wechsel der nodejs-Version:
      Vor dem Wechsel der node-Version legen wir mit
      
      iobroker stop
      
      sudo nano /etc/apt/sources.list.d/nodesource.list
      
      deb https://deb.nodesource.com/node_12.x buster main
      deb-src https://deb.nodesource.com/node_12.x buster main
      
      iobroker start
      

      Danke

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

        @goetschhofer
        Im nodejs-Paket < node16 ist immer ein npm6 enthalten.
        npm7 kommt (zumindest im Moment) nur bei node16 mit.

        Mit irritiert allerdings die Meldung
        E: Ungültige Operation policy
        oben bei dir. Das sollte eigentlich nicht sein.
        Gib mal

        apt policy nodejs
        

        separat ein.

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

          @GOETSCHHOFER
          @thomas-braun sagte in Vis lässt sich nicht mehr starten ! ?:

          Mit irritiert allerdings die Meldung
          E: Ungültige Operation policy

          bei apt musst du ein sudo voranstellen

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

            @homoran
            Nein. Nicht bei richtiger Konfiguration:

            pi@raspberrypi:~ $ apt policy nodejs
            nodejs:
              Installiert:           16.0.0-1nodesource1
              Installationskandidat: 16.0.0-1nodesource1
              Versionstabelle:
             *** 16.0.0-1nodesource1 500
                    500 https://deb.nodesource.com/node_16.x buster/main armhf Packages
                    100 /var/lib/dpkg/status
            
            Homoran G 2 Replies Last reply Reply Quote 0
            • Homoran
              Homoran Global Moderator Administrators @Thomas Braun last edited by

              @thomas-braun sagte in Vis lässt sich nicht mehr starten ! ?:

              Nein. Nicht bei richtiger Konfiguration:

              ok!?!?

              kannte ich bisher nicht

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

                @thomas-braun

                pi@raspberrypi:~ $ apt policy nodejs
                E: Ungültige Operation policy
                pi@raspberrypi:~ $ apt policy nodejs
                E: Ungültige Operation policy
                pi@raspberrypi:~ $
                
                
                1 Reply Last reply Reply Quote 0
                • G
                  GOETSCHHOFER @Thomas Braun last edited by

                  @thomas-braun

                  pi@raspberrypi:~ $ sudo apt policy nodejs
                  E: Ungültige Operation policy
                  pi@raspberrypi:~ $ apt policy nodejs
                  E: Ungültige Operation policy
                  pi@raspberrypi:~ $
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @GOETSCHHOFER last edited by Thomas Braun

                    @goetschhofer
                    Merkwürdig...

                    apt-cache policy nodejs
                    

                    bringt?

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

                      @thomas-braun said in Vis lässt sich nicht mehr starten ! ?:

                      apt-cache policy nodejs

                      pi@raspberrypi:~ $ apt-cache policy nodejs
                      nodejs:
                        Installiert:           10.24.1-1nodesource1
                        Installationskandidat: 10.24.1-1nodesource1
                        Versionstabelle:
                       *** 10.24.1-1nodesource1 0
                              100 /var/lib/dpkg/status
                      
                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @GOETSCHHOFER last edited by

                        @goetschhofer
                        Okay. Aber dir fehlt das nodesource-Repo.

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

                          @thomas-braun

                          Ich bin ja Anfänger, was hat dies zu bedeuten ?

                          Wie kann ich dies nachinstallieren ?

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

                            @goetschhofer
                            Na, geh mein HowTo durch.
                            Wäre hier wie eine 'Erstinstallation' zu handhaben. Dann wird das alles eingerichtet.

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

                              @thomas-braun

                              Ja, aber was passiert mit dem bestehenden System, wenn ich eine Neuinstallation mache ?

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

                                @goetschhofer
                                Was soll da passieren?
                                Es wird eine neue Laufzeitumgebung nodeJS installiert und der ioBroker legt sich dann beim Neustart da rein.

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

                                  @thomas-braun

                                  D. h. ich kann dies wie folgt durchführen ?

                                  Liege ich richtig, wenn ich folgende Schritte durchführe ?
                                  
                                  Teil 1.1 Node-Upgrade/ Wechsel der nodejs-Version:
                                  Vor dem Wechsel der node-Version legen wir mit
                                  
                                  iobroker stop
                                  sudo nano /etc/apt/sources.list.d/nodesource.list
                                  deb https://deb.nodesource.com/node_12.x buster main
                                  deb-src https://deb.nodesource.com/node_12.x buster main
                                  iobroker start
                                  
                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @GOETSCHHOFER last edited by Thomas Braun

                                    @goetschhofer

                                    Das setzt voraus, dass es die Datei

                                    /etc/apt/sources.list.d/nodesource.list
                                    

                                    gibt.
                                    Nach deiner Ausgabe von

                                    apt-cache policy nodejs
                                    

                                    gibt es die aber nicht (zumindest nicht mit aktiven Einträgen), sonst sähe die anders aus.

                                    Wobei ich mir dann die Frage stelle, wo bei dir

                                    nodejs 10.24.1-1nodesource1
                                    

                                    her kommt, wenn nicht aus dem Repository (was ja bei dir nicht aktiv ist).

                                    Was sagt denn

                                    sudo apt update
                                    

                                    bei dir?
                                    Ich glaube da ist irgendwas total verfummelt.

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

                                      @thomas-braun

                                      pi@raspberrypi:~ $ sudo apt update
                                      OK   http://archive.raspberrypi.org jessie InRelease
                                      OK   http://mirrordirector.raspbian.org jessie InRelease
                                      Holen: 1 https://repos.influxdata.com jessie InRelease [4.737 B]
                                      Holen: 2 https://repos.influxdata.com jessie/stable armhf Packages [917 B]
                                      OK   http://archive.raspberrypi.org jessie/main armhf Packages
                                      OK   http://archive.raspberrypi.org jessie/ui armhf Packages
                                      Holen: 3 https://repos.influxdata.com jessie/stable Translation-de_AT [151 B]
                                      OK   https://deb.nodesource.com jessie InRelease
                                      Holen: 4 https://deb.nodesource.com jessie/main Sources [20 B]
                                      Holen: 5 https://repos.influxdata.com jessie/stable Translation-de [151 B]
                                      Holen: 6 https://repos.influxdata.com jessie/stable Translation-en [151 B]
                                      Holen: 7 https://repos.influxdata.com jessie/stable Translation-de_AT [151 B]
                                      Holen: 8 https://repos.influxdata.com jessie/stable Translation-de [151 B]
                                      Holen: 9 https://repos.influxdata.com jessie/stable Translation-en [151 B]
                                      Ign http://archive.raspberrypi.org jessie/main Translation-de_AT
                                      Ign http://archive.raspberrypi.org jessie/main Translation-de
                                      Ign http://archive.raspberrypi.org jessie/main Translation-en
                                      Ign http://archive.raspberrypi.org jessie/ui Translation-de_AT
                                      Holen: 10 https://repos.influxdata.com jessie/stable Translation-de_AT [151 B]
                                      Ign http://archive.raspberrypi.org jessie/ui Translation-de
                                      Ign http://archive.raspberrypi.org jessie/ui Translation-en
                                      Holen: 11 https://deb.nodesource.com jessie/main armhf Packages [765 B]
                                      Holen: 12 http://mirrordirector.raspbian.org jessie/main armhf Packages [9.539 k                                                                                                                                                             B]
                                      Holen: 13 https://repos.influxdata.com jessie/stable Translation-de [151 B]
                                      Holen: 14 https://repos.influxdata.com jessie/stable Translation-en [151 B]
                                      Holen: 15 https://repos.influxdata.com jessie/stable Translation-de_AT [151 B]
                                      Holen: 16 https://deb.nodesource.com jessie/main Translation-de_AT [162 B]
                                      Holen: 17 https://repos.influxdata.com jessie/stable Translation-de [151 B]
                                      Holen: 18 https://repos.influxdata.com jessie/stable Translation-en [151 B]
                                      Holen: 19 https://repos.influxdata.com jessie/stable Translation-de_AT [151 B]
                                      Ign https://repos.influxdata.com jessie/stable Translation-de_AT
                                      Holen: 20 http://mirrordirector.raspbian.org jessie/contrib armhf Packages [43,3                                                                                                                                                              kB]
                                      Holen: 21 https://repos.influxdata.com jessie/stable Translation-de [151 B]
                                      Holen: 22 http://mirrordirector.raspbian.org jessie/non-free armhf Packages [88,                                                                                                                                                             2 kB]
                                      Holen: 23 http://mirrordirector.raspbian.org jessie/rpi armhf Packages [1.356 B]
                                      Ign https://repos.influxdata.com jessie/stable Translation-de
                                      Holen: 24 https://repos.influxdata.com jessie/stable Translation-en [151 B]
                                      Holen: 25 https://deb.nodesource.com jessie/main Translation-de [162 B]
                                      Ign https://repos.influxdata.com jessie/stable Translation-en
                                      Ign http://mirrordirector.raspbian.org jessie/contrib Translation-de_AT
                                      Ign http://mirrordirector.raspbian.org jessie/contrib Translation-de
                                      Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
                                      Ign http://mirrordirector.raspbian.org jessie/main Translation-de_AT
                                      Ign http://mirrordirector.raspbian.org jessie/main Translation-de
                                      Ign http://mirrordirector.raspbian.org jessie/main Translation-en
                                      Holen: 26 https://deb.nodesource.com jessie/main Translation-en [162 B]
                                      Ign http://mirrordirector.raspbian.org jessie/non-free Translation-de_AT
                                      Ign http://mirrordirector.raspbian.org jessie/non-free Translation-de
                                      Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
                                      Ign http://mirrordirector.raspbian.org jessie/rpi Translation-de_AT
                                      Ign http://mirrordirector.raspbian.org jessie/rpi Translation-de
                                      Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
                                      Holen: 27 https://deb.nodesource.com jessie/main Translation-de_AT [162 B]
                                      Holen: 28 https://deb.nodesource.com jessie/main Translation-de [162 B]
                                      Holen: 29 https://deb.nodesource.com jessie/main Translation-en [162 B]
                                      Holen: 30 https://deb.nodesource.com jessie/main Translation-de_AT [162 B]
                                      Holen: 31 https://deb.nodesource.com jessie/main Translation-de [162 B]
                                      Holen: 32 https://deb.nodesource.com jessie/main Translation-en [162 B]
                                      Holen: 33 https://deb.nodesource.com jessie/main Translation-de_AT [162 B]
                                      Holen: 34 https://deb.nodesource.com jessie/main Translation-de [162 B]
                                      Holen: 35 https://deb.nodesource.com jessie/main Translation-en [162 B]
                                      Holen: 36 https://deb.nodesource.com jessie/main Translation-de_AT [162 B]
                                      Ign https://deb.nodesource.com jessie/main Translation-de_AT
                                      Holen: 37 https://deb.nodesource.com jessie/main Translation-de [162 B]
                                      Ign https://deb.nodesource.com jessie/main Translation-de
                                      Holen: 38 https://deb.nodesource.com jessie/main Translation-en [162 B]
                                      Ign https://deb.nodesource.com jessie/main Translation-en
                                      Es wurden 9.678 kB in 28 s geholt (343 kB/s).
                                      Paketlisten werden gelesen... Fertig
                                      Abhängigkeitsbaum wird aufgebaut.
                                      Statusinformationen werden eingelesen.... Fertig
                                      Aktualisierung für 1 Paket verfügbar. Führen Sie »apt list --upgradable« aus, um                                                                                                                                                              es anzuzeigen.
                                      pi@raspberrypi:~ $
                                      
                                      
                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @GOETSCHHOFER last edited by Thomas Braun

                                        @goetschhofer
                                        Jessie? Schon lange tot.
                                        Installier eine lebende Distribution. Da lohnen sich weitere Aktionen nicht.
                                        Das erklärt auch das leere nodesource-Repo, die bauen für tote Systeme nichts mehr. Warum auch.

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

                                          @thomas-braun

                                          Wenn ich aber Raspian Jessie neu installiere, kann ich aber mein bisheriges System vergessen oder sehe ich dies falsch ?

                                          https://forum.iobroker.net/topic/2388/neuinstallation-mit-jessie-lite-auf-raspberry-pi3-erfahrungen-und-anleitung?_=1619358025539

                                          3669a979-0609-46e3-a673-0b7886ef3602-image.png

                                          Danke

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

                                            @goetschhofer
                                            Nix Jessie. Lass die da liegen wo sie jetzt liegt...
                                            Aktuell ist Buster / Debian 10.
                                            Wenn die Basis aktuell ist haust du deine Backups wieder rein, fertig.

                                            G 2 Replies Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            1.1k
                                            Online

                                            32.3k
                                            Users

                                            81.1k
                                            Topics

                                            1.3m
                                            Posts

                                            6
                                            95
                                            6573
                                            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