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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    Nach 2 Jahre Updaten klappt aber nicht

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

      @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 ?

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

        @badplay

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

          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

          Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
          • 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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            1.0k
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

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