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
    483

  • 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

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

    Es könnte sein, dass FreeBSD über eine Variable im Startup-Skript stolpert. Kannst du bitte folgendes mal häppchenweise (Code-Block für Code-Block) ausführen

    Em... klein Frage: wie mache ich denn das? Wenn ich die Zeilen so eingebe, dann kommt nur:

    rcvar=iobroker_enable: Command not found.
    

    oder soll ich jeweils ne .sh datei machen und das reinschreiben? Ich probier das mal eben...

    Edit: Bekomme ich irgendwie nicht hin... Please help!

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

    @mrMuppet Wichtig ist, dass du sie exakt eingibst - am besten kopieren. In deinem Beispiel fehlen die Anführungszeichen. Eine eigene .sh-Datei sollte nicht nötig sein.

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

    M 1 Reply Last reply
    0
    • AlCalzoneA AlCalzone

      @mrMuppet Wichtig ist, dass du sie exakt eingibst - am besten kopieren. In deinem Beispiel fehlen die Anführungszeichen. Eine eigene .sh-Datei sollte nicht nötig sein.

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

      @AlCalzone aber das sind doch immer noch keinen funktionierenden Befehle oder?

      root@iobroker_v2:~ # name="iobroker"
      name=iobroker: Command not found
      

      ioBroker auf NUC (Celeron mit Ubuntu-Server)

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

      M 1 Reply Last reply
      0
      • M mrMuppet

        @AlCalzone aber das sind doch immer noch keinen funktionierenden Befehle oder?

        root@iobroker_v2:~ # name="iobroker"
        name=iobroker: Command not found
        
        M Offline
        M Offline
        mrMuppet
        wrote on last edited by mrMuppet
        #49

        @mrMuppet

        root@iobroker_v2:~ # rcvar="iobroker_enable"
        rcvar=iobroker_enable: Command not found.
        root@iobroker_v2:~ # iobroker_enable=${iobroker_enable-"NO"}
        Missing '}'.
        root@iobroker_v2:~ # iobroker_pidfile=${iobroker_pidfile-"/opt/iobroker/node_modules/iobroker.js-controller/lib/iobroker.pid"}
        Missing '}'.
        
        

        ioBroker auf NUC (Celeron mit Ubuntu-Server)

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

        M 1 Reply Last reply
        0
        • M mrMuppet

          @mrMuppet

          root@iobroker_v2:~ # rcvar="iobroker_enable"
          rcvar=iobroker_enable: Command not found.
          root@iobroker_v2:~ # iobroker_enable=${iobroker_enable-"NO"}
          Missing '}'.
          root@iobroker_v2:~ # iobroker_pidfile=${iobroker_pidfile-"/opt/iobroker/node_modules/iobroker.js-controller/lib/iobroker.pid"}
          Missing '}'.
          
          
          M Offline
          M Offline
          mrMuppet
          wrote on last edited by mrMuppet
          #50

          @mrMuppet

          root@iobroker_v2:~ # PIDF=/opt/iobroker/node_modules/iobroker.js-controller/lib/iobroker.pid
          PIDF=/opt/iobroker/node_modules/iobroker.js-controller/lib/iobroker.pid: Command not found.
          root@iobroker_v2:~ # NODECMD=$(which node)
          Illegal variable name.
          root@iobroker_v2:~ # iobroker_start ()
          Badly placed ()'s.
          root@iobroker_v2:~ # {
          {: Command not found.
          root@iobroker_v2:~ # su -m iobroker -s "/usr/local/bin/bash" -c "${NODECMD} /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js start"
          NODECMD: Undefined variable.
          root@iobroker_v2:~ # }
          }: Command not found.
          

          ioBroker auf NUC (Celeron mit Ubuntu-Server)

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

          M AlCalzoneA 2 Replies Last reply
          0
          • M mrMuppet

            @mrMuppet

            root@iobroker_v2:~ # PIDF=/opt/iobroker/node_modules/iobroker.js-controller/lib/iobroker.pid
            PIDF=/opt/iobroker/node_modules/iobroker.js-controller/lib/iobroker.pid: Command not found.
            root@iobroker_v2:~ # NODECMD=$(which node)
            Illegal variable name.
            root@iobroker_v2:~ # iobroker_start ()
            Badly placed ()'s.
            root@iobroker_v2:~ # {
            {: Command not found.
            root@iobroker_v2:~ # su -m iobroker -s "/usr/local/bin/bash" -c "${NODECMD} /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js start"
            NODECMD: Undefined variable.
            root@iobroker_v2:~ # }
            }: Command not found.
            
            M Offline
            M Offline
            mrMuppet
            wrote on last edited by
            #51

            jetzt hab ich sie glaube ich durch:

            root@iobroker_v2:~ # su -m iobroker -s "/usr/local/bin/bash" -c "${NODECMD} /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js start"
            NODECMD: Undefined variable.
            root@iobroker_v2:~ # }
            }: Command not found.
            root@iobroker_v2:~ # iobroker_stop ()
            Badly placed ()'s.
            root@iobroker_v2:~ # {
            {: Command not found.
            root@iobroker_v2:~ # su -m iobroker -s "/usr/local/bin/bash" -c "${NODECMD} /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js stop"
            NODECMD: Undefined variable.
            root@iobroker_v2:~ # }
            }: Command not found.
            root@iobroker_v2:~ # iobroker_status ()
            Badly placed ()'s.
            root@iobroker_v2:~ # {
            {: Command not found.
            root@iobroker_v2:~ # su -m iobroker -s "/usr/local/bin/bash" -c "${NODECMD} /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js status"
            NODECMD: Undefined variable.
            root@iobroker_v2:~ # }
            }: Command not found.
            root@iobroker_v2:~ # PATH="${PATH}:/usr/local/bin"
            PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin:/usr/local/bin: Command not found.
            root@iobroker_v2:~ # pidfile="${iobroker_pidfile}"
            iobroker_pidfile: Undefined variable.
            root@iobroker_v2:~ # start_cmd=iobroker_start
            start_cmd=iobroker_start: Command not found.
            root@iobroker_v2:~ # stop_cmd=iobroker_stop
            stop_cmd=iobroker_stop: Command not found.
            root@iobroker_v2:~ #  status_cmd=iobroker_status
            status_cmd=iobroker_status: Command not found.
            

            ioBroker auf NUC (Celeron mit Ubuntu-Server)

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

            AlCalzoneA 2 Replies Last reply
            0
            • M mrMuppet

              @mrMuppet

              root@iobroker_v2:~ # PIDF=/opt/iobroker/node_modules/iobroker.js-controller/lib/iobroker.pid
              PIDF=/opt/iobroker/node_modules/iobroker.js-controller/lib/iobroker.pid: Command not found.
              root@iobroker_v2:~ # NODECMD=$(which node)
              Illegal variable name.
              root@iobroker_v2:~ # iobroker_start ()
              Badly placed ()'s.
              root@iobroker_v2:~ # {
              {: Command not found.
              root@iobroker_v2:~ # su -m iobroker -s "/usr/local/bin/bash" -c "${NODECMD} /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js start"
              NODECMD: Undefined variable.
              root@iobroker_v2:~ # }
              }: Command not found.
              
              AlCalzoneA Offline
              AlCalzoneA Offline
              AlCalzone
              Developer
              wrote on last edited by AlCalzone
              #52

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

              Illegal variable name.

              Das ist es möglicherweise!

              aber das sind doch immer noch keinen funktionierenden Befehle oder?

              Die sollten Variablen setzen, aber möglicherweise geht das auf FreeBSD doch nur in Skripten?!

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

              1 Reply Last reply
              0
              • M mrMuppet

                jetzt hab ich sie glaube ich durch:

                root@iobroker_v2:~ # su -m iobroker -s "/usr/local/bin/bash" -c "${NODECMD} /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js start"
                NODECMD: Undefined variable.
                root@iobroker_v2:~ # }
                }: Command not found.
                root@iobroker_v2:~ # iobroker_stop ()
                Badly placed ()'s.
                root@iobroker_v2:~ # {
                {: Command not found.
                root@iobroker_v2:~ # su -m iobroker -s "/usr/local/bin/bash" -c "${NODECMD} /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js stop"
                NODECMD: Undefined variable.
                root@iobroker_v2:~ # }
                }: Command not found.
                root@iobroker_v2:~ # iobroker_status ()
                Badly placed ()'s.
                root@iobroker_v2:~ # {
                {: Command not found.
                root@iobroker_v2:~ # su -m iobroker -s "/usr/local/bin/bash" -c "${NODECMD} /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js status"
                NODECMD: Undefined variable.
                root@iobroker_v2:~ # }
                }: Command not found.
                root@iobroker_v2:~ # PATH="${PATH}:/usr/local/bin"
                PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin:/usr/local/bin: Command not found.
                root@iobroker_v2:~ # pidfile="${iobroker_pidfile}"
                iobroker_pidfile: Undefined variable.
                root@iobroker_v2:~ # start_cmd=iobroker_start
                start_cmd=iobroker_start: Command not found.
                root@iobroker_v2:~ # stop_cmd=iobroker_stop
                stop_cmd=iobroker_stop: Command not found.
                root@iobroker_v2:~ #  status_cmd=iobroker_status
                status_cmd=iobroker_status: Command not found.
                
                AlCalzoneA Offline
                AlCalzoneA Offline
                AlCalzone
                Developer
                wrote on last edited by
                #53

                @mrMuppet

                Ich hab da eine Idee... Das Skript soll mit /bin/sh ausgeführt werden, FreeBSD scheint es möglicherweise mit einer alternativen Shell auszuführen, die $(...befehle...) nicht versteht.

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

                1 Reply Last reply
                0
                • M mrMuppet

                  jetzt hab ich sie glaube ich durch:

                  root@iobroker_v2:~ # su -m iobroker -s "/usr/local/bin/bash" -c "${NODECMD} /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js start"
                  NODECMD: Undefined variable.
                  root@iobroker_v2:~ # }
                  }: Command not found.
                  root@iobroker_v2:~ # iobroker_stop ()
                  Badly placed ()'s.
                  root@iobroker_v2:~ # {
                  {: Command not found.
                  root@iobroker_v2:~ # su -m iobroker -s "/usr/local/bin/bash" -c "${NODECMD} /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js stop"
                  NODECMD: Undefined variable.
                  root@iobroker_v2:~ # }
                  }: Command not found.
                  root@iobroker_v2:~ # iobroker_status ()
                  Badly placed ()'s.
                  root@iobroker_v2:~ # {
                  {: Command not found.
                  root@iobroker_v2:~ # su -m iobroker -s "/usr/local/bin/bash" -c "${NODECMD} /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js status"
                  NODECMD: Undefined variable.
                  root@iobroker_v2:~ # }
                  }: Command not found.
                  root@iobroker_v2:~ # PATH="${PATH}:/usr/local/bin"
                  PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin:/usr/local/bin: Command not found.
                  root@iobroker_v2:~ # pidfile="${iobroker_pidfile}"
                  iobroker_pidfile: Undefined variable.
                  root@iobroker_v2:~ # start_cmd=iobroker_start
                  start_cmd=iobroker_start: Command not found.
                  root@iobroker_v2:~ # stop_cmd=iobroker_stop
                  stop_cmd=iobroker_stop: Command not found.
                  root@iobroker_v2:~ #  status_cmd=iobroker_status
                  status_cmd=iobroker_status: Command not found.
                  
                  AlCalzoneA Offline
                  AlCalzoneA Offline
                  AlCalzone
                  Developer
                  wrote on last edited by AlCalzone
                  #54

                  @mrMuppet Habe die Änderungen gemerged. Bitte mit dem offiziellen Installationsbefehl probieren:

                  curl -sL https://iobroker.net/install.sh | bash -
                  

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

                  J 1 Reply Last reply
                  0
                  • AlCalzoneA AlCalzone

                    @mrMuppet Habe die Änderungen gemerged. Bitte mit dem offiziellen Installationsbefehl probieren:

                    curl -sL https://iobroker.net/install.sh | bash -
                    
                    J Offline
                    J Offline
                    joehackerz
                    wrote on last edited by
                    #55

                    @AlCalzone Hallo, hab die neue routine gerade ausprobiert, es kommt immer noch der fehler mit dem pidfile

                    AlCalzoneA 1 Reply Last reply
                    0
                    • J joehackerz

                      @AlCalzone Hallo, hab die neue routine gerade ausprobiert, es kommt immer noch der fehler mit dem pidfile

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

                      @joehackerz Ok, kannst du bitte einen vollständigen Log der Installation posten?

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

                      J 1 Reply Last reply
                      0
                      • AlCalzoneA AlCalzone

                        @joehackerz Ok, kannst du bitte einen vollständigen Log der Installation posten?

                        J Offline
                        J Offline
                        joehackerz
                        wrote on last edited by
                        #57

                        @AlCalzone putty.log

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

                        AlCalzoneA 2 Replies Last reply
                        0
                        • J joehackerz

                          @AlCalzone putty.log

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

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

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

                          Illegal variable name.

                          Verdammt - das war es dann wohl doch nicht.

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

                          1 Reply Last reply
                          0
                          • J joehackerz

                            @AlCalzone putty.log

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

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

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

                            curl -sL https://raw.githubusercontent.com/ioBroker/ioBroker/freebsd-fix-2/installer.sh | bash -
                            

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

                            M 1 Reply Last reply
                            0
                            • AlCalzoneA AlCalzone

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

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

                              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 scheint immer noch der selbe Fehler zu sein.
                                Pastebin

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

                                @mrMuppet :(
                                Nochmal bitte

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

                                M 1 Reply Last reply
                                0
                                • AlCalzoneA AlCalzone

                                  @mrMuppet :(
                                  Nochmal bitte

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

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

                                  ioBroker auf NUC (Celeron mit Ubuntu-Server)

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

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

                                    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?

                                    ioBroker auf NUC (Celeron mit Ubuntu-Server)

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

                                    AlCalzoneA 1 Reply Last reply
                                    0
                                    • 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
                                          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

                                          319

                                          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