Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Nach 2 Jahre Updaten klappt aber nicht

    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

    Nach 2 Jahre Updaten klappt aber nicht

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

      @badplay sagte in Nach 2 Jahre Updaten klappt aber nicht:

      @Thomas-Braun
      ok also kein sudo bei iobroker

      wie kann ich denn erkennen ob jetzt nachdem alles durch ist der js-controller die richtige Version hat ?

      Hast du die Befehle , die @Thomas-Braun gepostet hatte ausgeführt , incl. fixer?

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

        @Thomas-Braun iobroker version
        3.1.6

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

          @badplay Ähhh... Das macht man in einem stabilen System.

          1 Reply Last reply Reply Quote 0
          • B
            badplay @Homoran last edited by

            @Homoran ja alles durchgelaufen auch ohne error auch der fixer

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

              @badplay sagte in Nach 2 Jahre Updaten klappt aber nicht:

              Wollte noch schnell meine Sonoff Steckdosen und die philipps hue lampen sowie die yeelight rgb lamp einfügen, aber weiß gar nicht mehr wie ich das immer gemacht habe uff. so lange her

              bleibe doch erst mal bei einer Sache bis das Grundsystem sauber ist.

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

                @badplay

                sudo apt update
                

                Ausgabe zeigen.

                B 1 Reply Last reply Reply Quote 0
                • B
                  badplay @Homoran last edited by

                  @Homoran ich glaube es ist sauber, hab die

                  cd /opt/iobroker
                  iobroker stop
                  iobroker update
                  iobroker upgrade self
                  iobroker upgrade 
                  iobroker start
                  
                  sudo apt update
                  sudo apt dist-upgrade
                  sudo reboot
                  

                  und

                  curl -sL https://iobroker.net/fix.sh | bash -
                  

                  durchlaufen lassen, Admin startet, meldung das js-controller alt ist popt nicht mehr auf, VIs ist Aktuell und alle anderen Adapter auch

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

                    @Thomas-Braun said in Nach 2 Jahre Updaten klappt aber nicht:

                    sudo apt update

                    pi@raspberrypi:~ $ sudo apt update
                    Hit:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease
                    Hit:2 https://deb.nodesource.com/node_10.x stretch InRelease
                    Get:3 http://archive.raspberrypi.org/debian stretch InRelease [25.4 kB]
                    Fetched 25.4 kB in 1s (14.0 kB/s)
                    Reading package lists... Done
                    Building dependency tree
                    Reading state information... Done
                    All packages are up to date.
                    
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @badplay last edited by

                      @badplay
                      Dann würde ich noch auf Node12 gehen.

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

                        @Thomas-Braun wenn du mir sagst bzw schreibst wie 🙂 sehr gerne

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

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

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

                            @Thomas-Braun da gibt es ein fehler vll bin ich im falschen ordner

                            pi@raspberrypi:~ $ curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash –
                            bash: –: No such file or directory
                            
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @badplay last edited by

                              @badplay
                              Versuch mal so:

                              curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash
                              
                              B 1 Reply Last reply Reply Quote 0
                              • B
                                badplay @Thomas Braun last edited by badplay

                                @Thomas-Braun said in Nach 2 Jahre Updaten klappt aber nicht:

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

                                scheint geklappt zu haben

                                
                                pi@raspberrypi:~ $ curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash
                                ## Installing the NodeSource Node.js 12.x repo...
                                
                                
                                ## Populating apt-get cache...
                                
                                + apt-get update
                                Hit:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease
                                Get:2 http://archive.raspberrypi.org/debian stretch InRelease [25.4 kB]
                                Hit:3 https://deb.nodesource.com/node_10.x stretch InRelease
                                Fetched 25.4 kB in 1s (19.6 kB/s)
                                Reading package lists... Done
                                
                                ## Confirming "stretch" is supported...
                                
                                + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_12.x/dists/stretch/Release'
                                
                                ## Adding the NodeSource signing key to your keyring...
                                
                                + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
                                OK
                                
                                ## Creating apt sources list file for the NodeSource Node.js 12.x repo...
                                
                                + echo 'deb https://deb.nodesource.com/node_12.x stretch main' > /etc/apt/sources.list.d/nodesource.list
                                + echo 'deb-src https://deb.nodesource.com/node_12.x stretch main' >> /etc/apt/sources.list.d/nodesource.list
                                
                                ## Running `apt-get update` for you...
                                
                                + apt-get update
                                Get:1 http://archive.raspberrypi.org/debian stretch InRelease [25.4 kB]
                                Hit:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease
                                Get:3 https://deb.nodesource.com/node_12.x stretch InRelease [4,585 B]
                                Get:4 https://deb.nodesource.com/node_12.x stretch/main armhf Packages [775 B]
                                Fetched 30.7 kB in 2s (14.0 kB/s)
                                Reading package lists... Done
                                
                                ## Run `sudo apt-get install -y nodejs` to install Node.js 12.x and npm
                                ## You may also need development tools to build native addons:
                                     sudo apt-get install gcc g++ make
                                ## To install the Yarn package manager, run:
                                     curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
                                     echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
                                     sudo apt-get update && sudo apt-get install yarn
                                
                                

                                bzw muss ich noch

                                sudo apt-get install -y nodejs
                                

                                jetzt ausführen?

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

                                  @badplay
                                  Ich hätte es anders gemacht, aber so geht es auch.

                                  sudo apt update
                                  sudo apt upgrade
                                  

                                  should do the trick

                                  B 2 Replies Last reply Reply Quote 0
                                  • B
                                    badplay @Thomas Braun last edited by

                                    @Thomas-Braun hab nun mit

                                    sudo apt-get install -y nodejs
                                    

                                    pi@raspberrypi:~ $ node -v
                                    v12.19.0
                                    drauf

                                    sudo apt update
                                    sudo apt upgrade
                                    
                                    

                                    hat immer nur ausgegeben das die neuste version 10x installiert war aber ich konnte nicht auf 12x updaten

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

                                      @Thomas-Braun said in Nach 2 Jahre Updaten klappt aber nicht:

                                      sudo apt upgrade

                                      nun geht dein code aber auch:

                                      pi@raspberrypi:~ $ sudo apt update
                                      Hit:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease
                                      Hit:2 https://deb.nodesource.com/node_12.x stretch InRelease
                                      Get:3 http://archive.raspberrypi.org/debian stretch InRelease [25.4 kB]
                                      Fetched 25.4 kB in 1s (15.6 kB/s)
                                      Reading package lists... Done
                                      Building dependency tree
                                      Reading state information... Done
                                      All packages are up to date.
                                      pi@raspberrypi:~ $ sudo apt upgrade
                                      Reading package lists... Done
                                      Building dependency tree
                                      Reading state information... Done
                                      Calculating upgrade... Done
                                      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                                      
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @badplay last edited by Thomas Braun

                                        @badplay sagte in Nach 2 Jahre Updaten klappt aber nicht:

                                        hat immer nur ausgegeben das die neuste version 10x installiert war aber ich konnte nicht auf 12x updaten

                                        Logisch. Das Regal mit der Version 12 stand ja auch gar nicht im Laden. Nur die Version 10.

                                        which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
                                        
                                        B 1 Reply Last reply Reply Quote 0
                                        • B
                                          badplay @Thomas Braun last edited by badplay

                                          @Thomas-Braun aso weil mir geschrieben wurde auf 12 updaten.

                                          so aber ich denke jetzt sollte alles wieder aktuell sein

                                          
                                          pi@raspberrypi:~ $ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
                                          /usr/bin/nodejs
                                          v12.19.0
                                          /usr/bin/node
                                          v12.19.0
                                          /usr/bin/npm
                                          6.14.8
                                          nodejs:
                                            Installed: 12.19.0-1nodesource1
                                            Candidate: 12.19.0-1nodesource1
                                            Version table:
                                           *** 12.19.0-1nodesource1 500
                                                  500 https://deb.nodesource.com/node_12.x stretch/main armhf Packages
                                                  100 /var/lib/dpkg/status
                                               8.11.1~dfsg-2~bpo9+1 500
                                                  500 http://archive.raspberrypi.org/debian stretch/main armhf Packages
                                               4.8.2~dfsg-1 500
                                                  500 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages
                                          pi@raspberrypi:~ $
                                          
                                          
                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @badplay last edited by

                                            @badplay Starte mal durch, die Kiste.
                                            Und dann

                                            iobroker version
                                            

                                            Wenn da was von 3.1.6 kommt, dann

                                            iobroker update
                                            iobroker upgrade
                                            
                                            B 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

                                            825
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            update
                                            4
                                            46
                                            2553
                                            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