Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Nodejs-Update - ioBroker Installation via cURL nicht 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

    Nodejs-Update - ioBroker Installation via cURL nicht möglich

    This topic has been deleted. Only users with topic management privileges can see it.
    • Elzershark
      Elzershark @maxsc last edited by

      @maxsc

      sudo iptables -F
      sudo reboot
      
      M 1 Reply Last reply Reply Quote 0
      • M
        maxsc @crunchip last edited by

        @crunchip said in Nodejs-Update - ioBroker Installation via cURL nicht möglich:

        wenn du IPv6 wirklich deaktiviert hast, unter Internet-->Zugangsdaten-->IPv6,
        gibt es doch nur noch Ipv4 unter Netzwerkeinstellung als Option.
        Ich kann bei mir leider nicht nachsehen, da ich die Fritzbox nicht mehr als Router/Modem nutze

        ich werde es später noch einmal probieren, ich hatte zunächst noch einmal den Tipp von @Thomas-Braun mit dem ipv6 Tunnelprotokoll getestet.

        weiss ich nicht, ich bin nur davon ausgegangen, das die Installation älteren Semesters ist, (JS-Controller 1.5.x) und die Installation noch zu root Zeiten installiert wurde, als es das (Fixer) Script noch nicht gab.

        Das System wurde im Januar noch einmal komplett neu aufgesetzt. Leider aber auf nodejs 8.x

        1 Reply Last reply Reply Quote 0
        • M
          maxsc @Elzershark last edited by

          @Elzershark said in Nodejs-Update - ioBroker Installation via cURL nicht möglich:

          @maxsc

          sudo iptables -F
          sudo reboot
          

          der iptables-Befehl erzeugt keinen Output. Ist das richtig so?

          Elzershark 1 Reply Last reply Reply Quote 0
          • Elzershark
            Elzershark @maxsc last edited by

            @maxsc jup

            1 Reply Last reply Reply Quote 0
            • Elzershark
              Elzershark @maxsc last edited by Elzershark

              @maxsc Wenne richtig Updaten willst...Vorher Backup machen.

              iobroker stop
              sudo cd /opt/iobroker
              sudo npm cache verify
              sudo chown -R iobroker /opt/iobroker
              sudo apt update
              sudo apt upgrade
              sudo apt-get purge nodejs
              sudo apt-get autoremove
              sudo apt-get autoclean
              sudo curl -sL https://deb.nodesource.com/setup_12.x | bash -
              sudo apt-get install nodejs
              sudo chown -R iobroker /opt/iobroker
              
              iobroker stop
              curl -sL https://iobroker.net/fix.sh | bash -
              npm install -y iobroker.js-controller --unsafe-perm --production --save --prefix
              npm rebuild
              iobroker update
              iobroker upgrade self
              iobroker upgrade
              iobroker start
              

              Falls sudo nicht funzt (sudo kennt dein Linux nicht), du musst die sudo Befehle als root ausführen. Lässt dann das "sudo" weg.

              Wo kein sudo steht, reicht der normale Benutzer

              Thomas Braun M Elzershark 3 Replies Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @Elzershark last edited by

                @Elzershark sagte in Nodejs-Update - ioBroker Installation via cURL nicht möglich:

                sudo apt update -y && apt upgrade -y

                Da fehlt ein sudo nach &&

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

                  @Thomas-Braun jup.. und bei anderen.. grad geändert 🙂 thx

                  1 Reply Last reply Reply Quote 0
                  • M
                    maxsc @Elzershark last edited by

                    @Elzershark

                    vielen Dank für die Anleitung. Die Installation von nodejs funtkioniert einwandfrei und war meiner Meinung nach auch vorher schon korrekt.

                    max@LinuxServer:/opt/iobroker$ node -v && nodejs -v && npm -v
                    v12.18.4
                    v12.18.4
                    6.14.6
                    

                    sobald allerdings der Fix-Befehl von iobroker.net aufgerufen werden muss, gibt es die Probleme mit dem Zugriff (bei iobroker.net/install.sh natürlich auch)

                    max@LinuxServer:/opt/iobroker$ curl -sL -v https://iobroker.net/fix.sh | bash -
                    *   Trying 82.165.135.239...
                    * TCP_NODELAY set
                    * connect to 82.165.135.239 port 443 failed: No route to host
                    * Failed to connect to iobroker.net port 443: No route to host
                    * Closing connection 0
                    

                    @Thomas-Braun hatte ja schon folgende Vermutung Nodejs-Update - ioBroker Installation via cURL nicht möglich:

                    @maxsc
                    Dann ist die Sache klar.
                    Du erreichst keine Server, die nur per IPv4 angebunden sind. Wie iobroker.net oder deb.odroid.in z. B.
                    Die mit beiden Protokollen ausgestatteten Server bekommst du denn über IPv6. Deswegen kannst du dein OS update und nodeJS aktualisieren.

                    Ich weiß nur nicht was man da ggf. in der FritzBox einstellen kann/muss.

                    meine Fritbox scheint sowohl ipv4 und ipv6 zu haben und ich kann vom Rechner auch auf alle Seiten zugreifen. Nur der Linux Server scheint nicht raus zu kommen.

                    Elzershark 1 Reply Last reply Reply Quote 0
                    • Elzershark
                      Elzershark @maxsc last edited by Elzershark

                      @maxsc Das andere hat funktioniert?
                      Das hier sudo curl -sL https://deb.nodesource.com/setup_12.x | bash -
                      ?

                      falls ja, brauchst du den root Benutzer zum installieren.
                      oder halt mit sudo ausführen

                      M 1 Reply Last reply Reply Quote 0
                      • M
                        maxsc @Elzershark last edited by

                        @Elzershark ja der Download und die Installation von deb.nodesource.com hat funktioniert

                        der Zugriff auf iobroker.net leider auch nicht mit dem root-user oder mit sudo

                        odroid@LinuxServer:/opt/iobroker$ curl -sL -v https://iobroker.net/install.sh | bash -
                        *   Trying 82.165.135.239...
                        * TCP_NODELAY set
                        * connect to 82.165.135.239 port 443 failed: No route to host
                        * Failed to connect to iobroker.net port 443: No route to host
                        * Closing connection 0
                        
                        Elzershark 2 Replies Last reply Reply Quote 0
                        • Elzershark
                          Elzershark @maxsc last edited by

                          @maxsc Backup machen.. gib mal sudo vorher ein...
                          sudo curl -sL -v https://iobroker.net/install.sh | bash -

                          Keine Gewähr...

                          M 1 Reply Last reply Reply Quote 0
                          • Elzershark
                            Elzershark @maxsc last edited by

                            @maxsc danach
                            sudo chown -R iobroker /opt/iobroker

                            1 Reply Last reply Reply Quote 0
                            • M
                              maxsc @Elzershark last edited by

                              @Elzershark said in Nodejs-Update - ioBroker Installation via cURL nicht möglich:

                              @maxsc Backup machen.. gib mal sudo vorher ein...
                              sudo curl -sL -v https://iobroker.net/install.sh | bash -

                              Keine Gewähr...

                              ein Backup habe ich gemacht, leider kommt die gleiche Fehlermeldung wie oben

                              Elzershark 1 Reply Last reply Reply Quote 0
                              • Elzershark
                                Elzershark @maxsc last edited by

                                @maxsc wozu brauchst du eigendlich... https://iobroker.net/install.sh ?? gibs das überhaubt?.. sec..

                                M 1 Reply Last reply Reply Quote 0
                                • Elzershark
                                  Elzershark @maxsc last edited by

                                  @maxsc lass mal das "s" weg... also nicht https.. sondern http

                                  1 Reply Last reply Reply Quote 0
                                  • Elzershark
                                    Elzershark @maxsc last edited by

                                    @maxsc Glaube bei dir ist https gesperrt.. hm..

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      maxsc @Elzershark last edited by

                                      @Elzershark said in Nodejs-Update - ioBroker Installation via cURL nicht möglich:

                                      @maxsc wozu brauchst du eigendlich... https://iobroker.net/install.sh ?? gibs das überhaubt?.. sec..

                                      ich habe mich an die Update-Anleitung von nodejs (https://forum.iobroker.net/topic/22867/how-to-node-js-für-iobroker-richtig-updaten/2) und wollte dann iobroker aktualisieren über Punkt "e) Neuinstallation mit Restore"

                                      es hat nichts mit https oder http zu tun. Über Port 80 kann iobroker.net auch nicht erreicht werden

                                      max@LinuxServer:/opt/iobroker$ curl -sL -v http://iobroker.net/install.sh | bash -
                                      *   Trying 82.165.135.239...
                                      * TCP_NODELAY set
                                      * connect to 82.165.135.239 port 80 failed: No route to host
                                      * Failed to connect to iobroker.net port 80: No route to host
                                      * Closing connection 0
                                      

                                      kann es was mit den gateway einstellungen meines LinuxServer zu tun haben?

                                      Elzershark 1 Reply Last reply Reply Quote 0
                                      • Elzershark
                                        Elzershark @maxsc last edited by Elzershark

                                        @maxsc denke ja. ssh freigabe, firewall Einstellung. Port Freigabe. An iobroker liegt es nicht

                                        M 1 Reply Last reply Reply Quote 0
                                        • M
                                          maxsc @Elzershark last edited by

                                          @Elzershark said in Nodejs-Update - ioBroker Installation via cURL nicht möglich:

                                          @maxsc denke ja. firewall Einstellung. Port Freigabe. An iobroker liegt es nicht

                                          Danke, dann muss ich da auf Fehlersuche gehen (leider ohne großes Vorwissen). Kannst du hier etwas erkennen?

                                          max@LinuxServer:~$ ifconfig
                                          eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
                                                  inet 192.168.1.100  netmask 255.255.255.0  broadcast 192.168.1.255
                                                  inet6 fe80::af3c:ed0e:b909:6809  prefixlen 64  scopeid 0x20<link>
                                                  inet6 2002:4dbd:a188:0:947c:d56d:eb3:545e  prefixlen 64  scopeid 0x0<glo           bal>
                                                  ether 00:1e:06:42:24:b9  txqueuelen 1000  (Ethernet)
                                                  RX packets 162735  bytes 11146615 (11.1 MB)
                                                  RX errors 0  dropped 73154  overruns 0  frame 0
                                                  TX packets 3944  bytes 353050 (353.0 KB)
                                                  TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
                                                  device interrupt 22
                                          
                                          lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
                                                  inet 127.0.0.1  netmask 255.0.0.0
                                                  inet6 ::1  prefixlen 128  scopeid 0x10<host>
                                                  loop  txqueuelen 1  (Local Loopback)
                                                  RX packets 849  bytes 78100 (78.1 KB)
                                                  RX errors 0  dropped 0  overruns 0  frame 0
                                                  TX packets 849  bytes 78100 (78.1 KB)
                                                  TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
                                          
                                          max@LinuxServer:~$ netstat -rn
                                          Kernel IP routing table
                                          Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
                                          0.0.0.0         192.168.1.253   0.0.0.0         UG        0 0          0 eth0
                                          169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 eth0
                                          192.168.1.0     0.0.0.0         255.255.255.0   U         0 0          0 eth0
                                          
                                          Elzershark 1 Reply Last reply Reply Quote 0
                                          • Elzershark
                                            Elzershark @maxsc last edited by

                                            @maxsc ssh ist freigegeben?

                                            sudo apt-get install openssh-server

                                            M 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

                                            736
                                            Online

                                            31.8k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            curl iobroker neuinstallation node.js update
                                            4
                                            87
                                            6317
                                            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