Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [SOLVED] Instal.auf FreeBSD funktioniert 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

    [SOLVED] Instal.auf FreeBSD funktioniert nicht.

    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      joehackerz @AlCalzone last edited by

      @AlCalzone putty.log

      Hab grad nochmal dann den kompletten JAil neu gemacht, hier ist das Protokoll der Installation

      AlCalzone 2 Replies Last reply Reply Quote 0
      • AlCalzone
        AlCalzone Developer @joehackerz last edited by

        @joehackerz sagte in Neue Installation auf FreeBSD/FreeNAS 11.2 funktioniert nicht.:

        Illegal variable name.

        Verdammt - das war es dann wohl doch nicht.

        1 Reply Last reply Reply Quote 0
        • AlCalzone
          AlCalzone Developer @joehackerz last edited by

          @joehackerz @mrMuppet
          Bitte nochmal versuchen, diesmal mit einem neuen Branch:

          curl -sL https://raw.githubusercontent.com/ioBroker/ioBroker/freebsd-fix-2/installer.sh | bash -
          
          M 1 Reply Last reply Reply Quote 0
          • M
            mrMuppet @AlCalzone last edited by

            @AlCalzone scheint immer noch der selbe Fehler zu sein.
            Pastebin

            AlCalzone 1 Reply Last reply Reply Quote 0
            • AlCalzone
              AlCalzone Developer @mrMuppet last edited by

              @mrMuppet 😞
              Nochmal bitte

              M 1 Reply Last reply Reply Quote 0
              • M
                mrMuppet @AlCalzone last edited by

                @AlCalzone https://pastebin.com/84MNQsnu

                M 1 Reply Last reply Reply Quote 0
                • M
                  mrMuppet last edited by

                  Hab gerade mal reingeschaut: In Zeile 770 steht was von "su" . Das kommt doch von Linux und das gibt es doch IMO bei FreeBSD nicht, oder?

                  AlCalzone 1 Reply Last reply Reply Quote 0
                  • AlCalzone
                    AlCalzone Developer @mrMuppet last edited by

                    @mrMuppet Doch su müsste es geben. Anscheinend wird NODECMD nicht befüllt, somit versucht diese Zeile eine js-Datei mit Bash auszuführen. Nächster Versuch bitte 😉

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

                      @mrMuppet https://pastebin.com/6sQ6RWRG

                      AlCalzone 1 Reply Last reply Reply Quote 0
                      • AlCalzone
                        AlCalzone Developer @mrMuppet last edited by

                        @mrMuppet Was passiert, wenn du den Befehl von Hand ausführst?

                        su -m iobroker -s /usr/local/bin/bash -c '/usr/local/bin/node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js start'
                        
                        M 1 Reply Last reply Reply Quote 0
                        • M
                          mrMuppet @AlCalzone last edited by

                          @AlCalzone keine Ahnung was da genau passiert ist:

                          root@iobroker_v2:~ # su -m iobroker -s /usr/local/bin/bash -c '/usr/local/bin/node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js start'
                          iobroker@iobroker_v2:~ %
                          
                          AlCalzone 1 Reply Last reply Reply Quote 0
                          • AlCalzone
                            AlCalzone Developer @mrMuppet last edited by

                            @mrMuppet Der hat dich als User iobroker angemeldet und in diesem Kontext iobroker gestartet. Also genau was es tun soll... Warum die Fehlermeldung kommt ist mir schleierhaft.

                            Ich bin übers Wochenende erst mal unterwegs. Kannst du mir solange beschreiben, wie du das Jail aufsetzt? Oder gleich ein Image ohne ioBroker drauf erstellen? Dann versuche ich das in VirtualBox zu reproduzieren. Ist einfacher wenn man selbst testet.

                            H 1 Reply Last reply Reply Quote 0
                            • M
                              mrMuppet last edited by

                              FreeNAS verwendet den Jail-manager "iocage". Deshalb baue ich meine Jails über den Befehl:

                              echo '{"pkgs":["iobroker","ca_root_nss"]}' > /tmp/pkg.json
                              iocage create -n "iobroker" -p /tmp/pkg.json -r 11.2-RELEASE ip4_addr="vnet0|192.168.178.167/24" defaultrouter="192.168.178.1" vnet="on" allow_raw_sockets="1" boot="on" 
                              rm /tmp/pkg.json
                              
                              1 Reply Last reply Reply Quote 0
                              • H
                                Happz0r @AlCalzone last edited by

                                @AlCalzone gibt es hier einen neuen Stand? Ich habe leider auch die oben geschilderten Probleme 😞

                                1 Reply Last reply Reply Quote 0
                                • M
                                  mrMuppet last edited by

                                  Ich habs gerade auch noch einmal probiert. Leider immer noch ohne Erfolg. 😥

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    mrMuppet last edited by

                                    Jetzt habe ich es tatsächlich geschafft den Broker ans laufen zu bekommen. Ich habe (unter FreeNAS) folgende Befehle verwendet:

                                    iocage create -n iobroker_v2 ip4_addr="igb0|192.168.178.167/24" -r 11.2-RELEASE
                                    iocage exec iobroker_v2 pkg install -y npm-node10 grafana git influxdb python bash www/npm-node10
                                    iocage console iobroker_v2 
                                    curl -sL https://iobroker.net/install.sh | bash -
                                    chmod -R 777 /opt/iobroker
                                    

                                    Dann lässt sich mit

                                    iobroker start
                                    

                                    tatsächlich der ioBroker starten. Es scheint also ein Rechte-Problem zu sein. Leider funktioniert der Autostart noch nicht. Genauso wie

                                    iobroker stop
                                    Stopping iobroker controller daemon...
                                    iobroker controller daemon stopped.
                                    No "killall.sh" script found. Just stop.
                                    

                                    noch nicht richtig elegant funktioniert. Wäre also gut, wenn @AlCalzone vielleicht mit diesen Erkenntnissen im Rücken die letzten Fehler ausmerzt. 777 auf alle Files ist ja auch nicht so richtig cool... 😁

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

                                      @mrMuppet wirklich benutzbar ist es noch nicht. Es gibt immer wieder Abstürze etc. Da muss noch mal jemand drüber schauen..

                                      1 Reply Last reply Reply Quote 0
                                      • M
                                        mrMuppet last edited by

                                        Info an alle FreeBSDler: Installation ist jetzt wieder gefixt!

                                        Nun geschlossener Github Issue

                                        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

                                        807
                                        Online

                                        31.9k
                                        Users

                                        80.1k
                                        Topics

                                        1.3m
                                        Posts

                                        freebsd freenas installer
                                        6
                                        74
                                        5108
                                        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