Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. [SOLVED] Instal.auf FreeBSD funktioniert nicht.

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    17
    1
    488

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    5.2k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.4k

[SOLVED] Instal.auf FreeBSD funktioniert nicht.

Scheduled Pinned Locked Moved ioBroker Allgemein
freenasfreebsdinstaller
74 Posts 6 Posters 8.5k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M mrMuppet

    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?

    AlCalzoneA Offline
    AlCalzoneA Offline
    AlCalzone
    Developer
    wrote on last edited by
    #64

    @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 ;)

    Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

    1 Reply Last reply
    0
    • M mrMuppet

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

      M Offline
      M Offline
      mrMuppet
      wrote on last edited by
      #65

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

      ioBroker auf NUC (Celeron mit Ubuntu-Server)

      Homematic, HMIP, Hue, Unifi, Plex, Nest, Roborock, Google Assistant

      AlCalzoneA 1 Reply Last reply
      0
      • M mrMuppet

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

        AlCalzoneA Offline
        AlCalzoneA Offline
        AlCalzone
        Developer
        wrote on last edited by
        #66

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

        Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

        M 1 Reply Last reply
        0
        • AlCalzoneA AlCalzone

          @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 Offline
          M Offline
          mrMuppet
          wrote on last edited by
          #67

          @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:~ %
          

          ioBroker auf NUC (Celeron mit Ubuntu-Server)

          Homematic, HMIP, Hue, Unifi, Plex, Nest, Roborock, Google Assistant

          AlCalzoneA 1 Reply Last reply
          0
          • M mrMuppet

            @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:~ %
            
            AlCalzoneA Offline
            AlCalzoneA Offline
            AlCalzone
            Developer
            wrote on last edited by
            #68

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

            Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

            H 1 Reply Last reply
            0
            • M Offline
              M Offline
              mrMuppet
              wrote on last edited by
              #69

              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
              

              ioBroker auf NUC (Celeron mit Ubuntu-Server)

              Homematic, HMIP, Hue, Unifi, Plex, Nest, Roborock, Google Assistant

              1 Reply Last reply
              0
              • AlCalzoneA AlCalzone

                @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 Offline
                H Offline
                Happz0r
                wrote on last edited by
                #70

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

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  mrMuppet
                  wrote on last edited by
                  #71

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

                  ioBroker auf NUC (Celeron mit Ubuntu-Server)

                  Homematic, HMIP, Hue, Unifi, Plex, Nest, Roborock, Google Assistant

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    mrMuppet
                    wrote on last edited by
                    #72

                    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... :grin:

                    ioBroker auf NUC (Celeron mit Ubuntu-Server)

                    Homematic, HMIP, Hue, Unifi, Plex, Nest, Roborock, Google Assistant

                    M 1 Reply Last reply
                    0
                    • M mrMuppet

                      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... :grin:

                      M Offline
                      M Offline
                      mrMuppet
                      wrote on last edited by
                      #73

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

                      ioBroker auf NUC (Celeron mit Ubuntu-Server)

                      Homematic, HMIP, Hue, Unifi, Plex, Nest, Roborock, Google Assistant

                      1 Reply Last reply
                      0
                      • M Offline
                        M Offline
                        mrMuppet
                        wrote on last edited by
                        #74

                        Info an alle FreeBSDler: Installation ist jetzt wieder gefixt!

                        Nun geschlossener Github Issue

                        ioBroker auf NUC (Celeron mit Ubuntu-Server)

                        Homematic, HMIP, Hue, Unifi, Plex, Nest, Roborock, Google Assistant

                        1 Reply Last reply
                        1
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        Support us

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

                        557

                        Online

                        32.7k

                        Users

                        82.5k

                        Topics

                        1.3m

                        Posts
                        Community
                        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                        ioBroker Community 2014-2025
                        logo
                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Home
                        • Recent
                        • Tags
                        • Unread 0
                        • Categories
                        • Unreplied
                        • Popular
                        • GitHub
                        • Docu
                        • Hilfe