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. [gelöst]iobroker auf FreeNAS (FreeBSD)

NEWS

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

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.3k

[gelöst]iobroker auf FreeNAS (FreeBSD)

Scheduled Pinned Locked Moved ioBroker Allgemein
11 Posts 3 Posters 3.1k Views
  • 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 Offline
    M Offline
    mrMuppet
    wrote on last edited by
    #1

    Nachdem ich den ccu.io auf meinem FreeNAS laufen habe, versuchte ich heute den Nachfolger ans Laufen zu bekommen.

    "npm install iobroker" produziert leider folgende Meldung

    > > iobroker@0.7.1 install /node_modules/iobroker
    > node lib/setup.js
    
    npm install iobroker.js-controller --production --prefix ""
    npm WARN deprecated graceful-fs@3.0.8: graceful-fs version 3 and before will fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as possible.
    npm ERR! FreeBSD 9.3-RELEASE-p31
    npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "iobroker.js-controller" "--production" "--prefix" ""
    npm ERR! node v5.9.0
    npm ERR! npm  v3.8.2
    
    npm ERR! Cannot read property 'target' of null
    npm ERR!
    npm ERR! If you need help, you may report this error at:
    npm ERR!     <https: github.com/npm/issues="">npm ERR! Please include the following file with any support request:
    npm ERR!     /node_modules/iobroker/npm-debug.log
    npm install iobroker.admin --production --prefix ""
    npm ERR! FreeBSD 9.3-RELEASE-p31
    npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "iobroker.admin" "--production" "--prefix" ""
    npm ERR! node v5.9.0
    npm ERR! npm  v3.8.2
    
    npm ERR! Cannot read property 'target' of null
    npm ERR!
    npm ERR! If you need help, you may report this error at:
    npm ERR!     <https: github.com/npm/issues="">npm ERR! Please include the following file with any support request:
    npm ERR!     /node_modules/iobroker/npm-debug.log
    Could not find "/node_modules/iobroker/lib/../../iobroker.js-controller/conf/iobroker-dist.json". Possible iobroker.js-controller was not installed
    /
    `-- iobroker@0.7.1
    
    npm WARN enoent ENOENT: no such file or directory, open '/package.json'
    npm WARN !invalid#1 No description
    npm WARN !invalid#1 No repository field.
    npm WARN !invalid#1 No README data
    npm WARN !invalid#1 No license field.</https:></https:> 
    

    Was kann ich tun?

    ioBroker auf NUC (Celeron mit Ubuntu-Server)

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

    1 Reply Last reply
    0
    • BluefoxB Offline
      BluefoxB Offline
      Bluefox
      wrote on last edited by
      #2

      @mrMuppet:

      Nachdem ich den ccu.io auf meinem FreeNAS laufen habe, versuchte ich heute den Nachfolger ans Laufen zu bekommen.

      "npm install iobroker" produziert leider folgende Meldung

      > > iobroker@0.7.1 install /node_modules/iobroker
      > node lib/setup.js
      
      npm install iobroker.js-controller --production --prefix ""
      npm WARN deprecated graceful-fs@3.0.8: graceful-fs version 3 and before will fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as possible.
      npm ERR! FreeBSD 9.3-RELEASE-p31
      npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "iobroker.js-controller" "--production" "--prefix" ""
      npm ERR! node v5.9.0
      npm ERR! npm  v3.8.2
      
      npm ERR! Cannot read property 'target' of null
      npm ERR!
      npm ERR! If you need help, you may report this error at:
      npm ERR!     <https: github.com/npm/issues="">npm ERR! Please include the following file with any support request:
      npm ERR!     /node_modules/iobroker/npm-debug.log
      npm install iobroker.admin --production --prefix ""
      npm ERR! FreeBSD 9.3-RELEASE-p31
      npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "iobroker.admin" "--production" "--prefix" ""
      npm ERR! node v5.9.0
      npm ERR! npm  v3.8.2
      
      npm ERR! Cannot read property 'target' of null
      npm ERR!
      npm ERR! If you need help, you may report this error at:
      npm ERR!     <https: github.com/npm/issues="">npm ERR! Please include the following file with any support request:
      npm ERR!     /node_modules/iobroker/npm-debug.log
      Could not find "/node_modules/iobroker/lib/../../iobroker.js-controller/conf/iobroker-dist.json". Possible iobroker.js-controller was not installed
      /
      `-- iobroker@0.7.1
      
      npm WARN enoent ENOENT: no such file or directory, open '/package.json'
      npm WARN !invalid#1 No description
      npm WARN !invalid#1 No repository field.
      npm WARN !invalid#1 No README data
      npm WARN !invalid#1 No license field.</https:></https:> 
      

      Was kann ich tun? `

      /node_modules/iobroker/npm-debug.log ??

      Da sollte am Ende ein Fehler stehen

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

        Hier ist meine http://pastebin.com/Xnjtcjut

        Wäre spitze wenn da mal einer drüber gucken könnte.

        Vielen Dank!

        ioBroker auf NUC (Celeron mit Ubuntu-Server)

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

        1 Reply Last reply
        0
        • BluefoxB Offline
          BluefoxB Offline
          Bluefox
          wrote on last edited by
          #4

          @mrMuppet:

          Hier ist meine http://pastebin.com/Xnjtcjut

          Wäre spitze wenn da mal einer drüber gucken könnte.

          Vielen Dank! `
          Ich kann aus dem log nicht nachvollziehen, was schiff gelaufen ist.

          Ich sehe nur, dass ioBroker.admin kann nicht installiert werden.

          Es gibt noch die Möglichkeit das ganze einzeln zu installieren:

          mkdir /opt/iobroker
          sudo chmod 777 /opt/iobroker
          cd /opt/iobroker
          sudo npm install iobroker.js-controller
          sudo npm install iobroker.admin
          sudo chmod -R 777 /opt/iobroker
          cd /opt/iobroker/node_modules/iobroker.js-controller
          node iobroker setup first
          node iobroker start
          
          

          Danach sollte man autostart Problem lösen. Aber est ist danach. ;)

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

            @Bluefox:

            Es gibt noch die Möglichkeit das ganze einzeln zu installieren:

            mkdir /opt/iobroker
            sudo chmod 777 /opt/iobroker
            cd /opt/iobroker
            sudo npm install iobroker.js-controller
            sudo npm install iobroker.admin
            sudo chmod 777 /opt/iobroker/*.* -R
            cd /opt/iobroker/node_modules/iobroker.js-controller
            node iobroker setup first
            node iobroker start
            
            ```` `  
            

            Vielen Dank! Werde ich nachher mal ausprobieren!

            ioBroker auf NUC (Celeron mit Ubuntu-Server)

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

            1 Reply Last reply
            0
            • N Offline
              N Offline
              nobody
              wrote on last edited by
              #6

              Hallo Bluefox,

              sollte die Installation denn mittlerweile mit node v5.9.0 ohne Fehler funktionieren? :?

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

                Super! Vielen Dank. Ich habe Node 012 benutzt und die Schritte von Bluefox. Und prompt läuft es! Vielen Dank! Sobald ich auch den Autostart hinbekommen habe werde ich auch ein HowTo für FreeNAS schreiben…

                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
                  #8

                  Wo kann ich denn eigentlich die ioBroker kommandozeilenbefehle eingeben? Ich kann bei mir nur in "/opt/iobroker/node_modules/iobroker.js-controller" mit node den broker starten, aber zum beispiel der Upload-befehl klappen da nicht, weil er im falschen verzeichnis sucht.

                  Was kann ich tun?

                  ioBroker auf NUC (Celeron mit Ubuntu-Server)

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

                  1 Reply Last reply
                  0
                  • N Offline
                    N Offline
                    nobody
                    wrote on last edited by
                    #9

                    normalerweise legt die Installation des npm Pakets für iobroker eine Datei mit dem Namen iobroker im Verzeichnis /usr/bin an.

                    Diese Datei ist ausführbar und enthält die folgende Code-Zeile:

                    node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js $1 $2 $3 $4 $5
                    
                    

                    Das Verzeichnis /usr/bin liegt normalerweise im Pfad des Benutzer-Envrionments.

                    Prüfe mal, ob die Datei da und ausführbar ist und ob das Verzeichnis im Suchpfad ist.

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

                      @nobody:

                      normalerweise legt die Installation des npm Pakets für iobroker eine Datei mit dem Namen iobroker im Verzeichnis /usr/bin an.

                      Diese Datei ist ausführbar und enthält die folgende Code-Zeile:

                      node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js $1 $2 $3 $4 $5
                      
                      

                      Das Verzeichnis /usr/bin liegt normalerweise im Pfad des Benutzer-Envrionments.

                      Prüfe mal, ob die Datei da und ausführbar ist und ob das Verzeichnis im Suchpfad ist. `

                      Die Datei ist leider nicht vorhanden, aber immerhin kann ich jetzt auch mal ein paar kommandorzeilen-parameter mit eingeben…

                      ioBroker auf NUC (Celeron mit Ubuntu-Server)

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

                      1 Reply Last reply
                      0
                      • N Offline
                        N Offline
                        nobody
                        wrote on last edited by
                        #11

                        Dann lege die Datei noch einfach mit nano an, kopiere die eine Zeile code rein und ändere die Rechte mit chmod auf ausführbar. Dann sollte es gehen.

                        Gesendet von meinem GT-N8000 mit Tapatalk

                        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

                        306

                        Online

                        32.6k

                        Users

                        82.3k

                        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