Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst] iob nodejs-update 18 => curl: no URL specified!

    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] iob nodejs-update 18 => curl: no URL specified!

    This topic has been deleted. Only users with topic management privileges can see it.
    • BananaJoe
      BananaJoe Most Active last edited by

      Wo finde ich denn das Script?

      1 Reply Last reply Reply Quote 0
      • BananaJoe
        BananaJoe Most Active last edited by BananaJoe

        ich spamme hier:

        pi@iobroker2:/opt/iobroker$ cat iobroker
        #!/usr/bin/bash
        if (( $# == 1 )) && ([ "$1" = "start" ] || [ "$1" = "stop" ] || [ "$1" = "restart" ]); then
        sudo systemctl $1 iobroker
        elif [ "$1" = "fix" ]; then
        curl -sL https://iobroker.net/fix.sh | bash -
        elif [ "$1" = "nodejs-update" ]; then
        sudo -u iobroker curl -sLf  --output /home/iobroker/.nodejs-update.sh && bash /home/iobroker/.nodejs-update.sh "$2"
        elif [ "$1" = "diag" ]; then
          sudo -u iobroker curl -sLf https://iobroker.net/diag.sh --output /home/iobroker/.diag.sh && bash /home/iobroker/.diag.sh | sudo -u iobroker tee /home/iobroker/iob_diag.log
        else
        sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js "$@"
        fi
        
        

        wird also dynamisch heruntergeladen. irgendwie fehlt da aber eine URL

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

          @bananajoe

          Das liegt danach im ~ des iobrokers:

          /home/iobroker/.nodejs-update.sh

          1 Reply Last reply Reply Quote 0
          • BananaJoe
            BananaJoe Most Active last edited by

            und die Zeile müsste richtig so aussehen:

            sudo -u iobroker curl -sLf https://iobroker.net/node-update.sh --output /home/iobroker/.nodejs-update.sh && bash /home/iobroker/.nodejs-update.sh "$2"
            

            ich korrigier das mal ...

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

              @bananajoe

              Ah, dann ist das gar nicht im skript selber sondern 'nur' im Aufruf.

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

                @thomas-braun jupp, das war schon das ganze Problem, jetzt geht es

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

                  @bananajoe

                  Aber komisch, wo kommt denn der verstümmelte Eintrag her?
                  Denn auf meinem System steht das ganz korrekt drin.

                  Thomas Braun BananaJoe 2 Replies Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Thomas Braun last edited by Thomas Braun

                    Hoppla, nach einem

                    iob fix
                    

                    ist es bei mir auch kaputt gegangen.

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

                      @thomas-braun Die Installation bei ihm habe ich gemacht, wie immer unter Ubuntu, hier dann 22.04.
                      Installation über das Skript. Er steht auf stable und hat immer brav die Updates der Adapter eingespielt, ich habe ab und zu das Ubuntu gepatcht.

                      Keine Ahnung warum das fehlte, iob fix ändert das doch, oder? den diag hat der mir ja auch hinzugefügt

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

                        @bananajoe

                        Da macht der fixer das kaputt. Warum auch immer.

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

                          @thomas-braun muss jetzt jemand einen Issue eröffnen? Wenn ja wo?

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

                            @bananajoe

                            Ich kümmere mich gerade schon. Alles gut!

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

                              @apollon77

                              Falscher Eintrag in /opt/iobroker/iobroker:

                              sudo -u iobroker curl -sLf  --output /home/iobroker/.nodejs-update.sh && bash /home/iobroker/.nodejs-update.sh "$2"
                              

                              richtig müsste es heißen:

                              sudo -u iobroker curl -sLf https://iobroker.net/node-update.sh --output /home/iobroker/.nodejs-update.sh && bash /home/iobroker/.nodejs-update.sh "$2"
                              
                              1 Reply Last reply Reply Quote 0
                              • apollon77
                                apollon77 last edited by

                                Fix ist da ... ein neues iob fix sollte es dann fixen ...

                                1 Reply Last reply Reply Quote 1
                                • First post
                                  Last post

                                Support us

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

                                659
                                Online

                                31.9k
                                Users

                                80.1k
                                Topics

                                1.3m
                                Posts

                                4
                                21
                                662
                                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