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

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    [SOLVED] Instal.auf FreeBSD funktioniert nicht.

    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      bastelstube last edited by

      Hab leider das selbe Problem ☹️

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

        Push!

        Gibts niemanden der helfen kann?

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

          Was genau geht denn nicht? Bis auf 1 Kleinigkeit sieht das für mich gut aus. Bitte auch mal den Inhalt von /opt/iobroker/INSTALLER_INFO.txt posten.

          Die Warnungen kommen von der Kompilierung eines nativen Moduls, das wirkt nur etwas einschüchternd.

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

            @AlCalzone Leider kann ich nicht auf das UI zugreifen.

            Installer_info:

            Installer version: 2019-04-04
            Installation date 2019-05-07
            Platform: freebsd
            Installed as root
            init system: rc.d
            Autostart: rc.d
            
            AlCalzone 1 Reply Last reply Reply Quote 0
            • AlCalzone
              AlCalzone Developer @mrMuppet last edited by

              @mrMuppet Und wenn du iobroker start ausführst?

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

                @AlCalzone

                root@iobroker_v2:~ # cd /opt
                root@iobroker_v2:/opt # cd iobroker
                root@iobroker_v2:/opt/iobroker # iobroker start
                iobroker: Command not found.
                root@iobroker_v2:/opt/iobroker # node iobroker start
                /opt/iobroker/iobroker:2
                sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobro              ker.js $@
                           ^^^^^^^^
                
                SyntaxError: Unexpected identifier
                    at createScript (vm.js:56:10)
                    at Object.runInThisContext (vm.js:97:10)
                    at Module._compile (module.js:549:28)
                    at Object.Module._extensions..js (module.js:586:10)
                    at Module.load (module.js:494:32)
                    at tryModuleLoad (module.js:453:12)
                    at Function.Module._load (module.js:445:3)
                    at Module.runMain (module.js:611:10)
                    at run (bootstrap_node.js:394:7)
                    at startup (bootstrap_node.js:160:9)
                
                
                1 Reply Last reply Reply Quote 0
                • M
                  mrMuppet last edited by

                  Ich habe jetzt einen Weg gefunden: Analog zu dieser Anleitung

                  habe ich

                  npm install iobroker.js-controller
                  npm install iobroker.admin
                  

                  von Hand installiert. Danach klappt der

                  node iobroker start
                  

                  Aber ist das sinnvoll zu vorzugehen? Ich hatte recht viele Warnungen:

                  root@iobroker_v2:/opt/iobroker # npm install iobroker.js-controller
                  
                  > iobroker.js-controller@1.5.9 preinstall /opt/iobroker/node_modules/iobroker.js-controller
                  > node lib/preinstallCheck.js
                  
                  NPM version: 6.9.0
                  npm version >= 5: disabling package-lock
                  
                  > unix-dgram@0.2.3 install /opt/iobroker/node_modules/unix-dgram
                  > node-gyp rebuild
                  
                  gmake: Entering directory '/opt/iobroker/node_modules/unix-dgram/build'
                    CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o
                  ../src/unix_dgram.cc:53:13: warning: unused function 'SetNonBlock' [-Wunused-function]
                  inline void SetNonBlock(int fd) {
                              ^
                  ../src/unix_dgram.cc:65:13: warning: unused function 'SetCloExec' [-Wunused-function]
                  inline void SetCloExec(int fd) {
                              ^
                  2 warnings generated.
                    SOLINK_MODULE(target) Release/obj.target/unix_dgram.node
                    COPY Release/unix_dgram.node
                  gmake: Leaving directory '/opt/iobroker/node_modules/unix-dgram/build'
                  
                  > ursa-optional@0.9.10 install /opt/iobroker/node_modules/ursa-optional
                  > node rebuild.js
                  
                  
                  > diskusage@0.2.6 install /opt/iobroker/node_modules/diskusage
                  > node-gyp rebuild
                  
                  gmake: Entering directory '/opt/iobroker/node_modules/diskusage/build'
                    CXX(target) Release/obj.target/diskusage/src/main.o
                    CXX(target) Release/obj.target/diskusage/src/diskusage_posix.o
                    SOLINK_MODULE(target) Release/obj.target/diskusage.node
                    COPY Release/diskusage.node
                  gmake: Leaving directory '/opt/iobroker/node_modules/diskusage/build'
                  
                  > iobroker.js-controller@1.5.9 install /opt/iobroker/node_modules/iobroker.js-controller
                  > node iobroker.js setup first
                  
                  creating conf/iobroker.json
                  object system.certificates created
                  object system.repositories created
                  object system.config created
                  object enum.functions created
                  object enum.rooms created
                  object system.group.user created
                  object system.group.administrator created
                  object _design/system created
                  object system.user.admin created
                  host.iobroker_v2 install adapter admin
                  object system.meta.uuid created: 4816af3f-b9c0-a627-638c-43a3e3bfa2e0
                  npm install --production (System call) in "/opt/iobroker/node_modules/iobroker.admin"
                  npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
                  npm notice created a lockfile as package-lock.json. You should commit this file.
                  got /opt/iobroker/node_modules/iobroker.admin/admin
                  upload [3] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/words.js words.js application/javascript
                  upload [2] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/index_m.html index_m.html text/html
                  upload [1] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/index.html index.html text/html
                  upload [0] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/admin.png admin.png image/png
                  host.iobroker_v2 object system.adapter.admin created
                  host.iobroker_v2 create instance admin
                  host.iobroker_v2 object admin.0.connected created
                  host.iobroker_v2 object admin.0 created
                  host.iobroker_v2 object admin.0.info created
                  host.iobroker_v2 object system.adapter.admin.upload created
                  host.iobroker_v2 object system.adapter.admin.0.outputCount created
                  host.iobroker_v2 object system.adapter.admin.0.inputCount created
                  host.iobroker_v2 object system.adapter.admin.0.uptime created
                  host.iobroker_v2 object system.adapter.admin.0.memRss created
                  host.iobroker_v2 object system.adapter.admin.0.memHeapTotal created
                  host.iobroker_v2 object system.adapter.admin.0.memHeapUsed created
                  host.iobroker_v2 object system.adapter.admin.0.cputime created
                  host.iobroker_v2 object system.adapter.admin.0.cpu created
                  host.iobroker_v2 object system.adapter.admin.0.connected created
                  host.iobroker_v2 object system.adapter.admin.0.alive created
                  host.iobroker_v2 object system.adapter.admin.0 created
                  npm WARN saveError ENOENT: no such file or directory, open '/opt/iobroker/package.json'
                  npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'
                  npm WARN iobroker No description
                  npm WARN iobroker No repository field.
                  npm WARN iobroker No README data
                  npm WARN iobroker No license field.
                  
                  + iobroker.js-controller@1.5.9
                  added 344 packages from 279 contributors and audited 855 packages in 70.532s
                  found 27 vulnerabilities (19 low, 8 high)
                    run `npm audit fix` to fix them, or `npm audit` for details
                  root@iobroker_v2:/opt/iobroker # npm install iobroker.admin
                  npm WARN saveError ENOENT: no such file or directory, open '/opt/iobroker/package.json'
                  npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'
                  npm WARN iobroker No description
                  npm WARN iobroker No repository field.
                  npm WARN iobroker No README data
                  npm WARN iobroker No license field.
                  
                  + iobroker.admin@3.6.2
                  removed 177 packages, updated 1 package and audited 2650 packages in 3.835s
                  found 64 vulnerabilities (43 low, 21 high)
                    run `npm audit fix` to fix them, or `npm audit` for details
                  
                  
                  1 Reply Last reply Reply Quote 0
                  • AlCalzone
                    AlCalzone Developer last edited by

                    Auch die Warnungen sind vollkommen normal. Aber manuell per npm nachzuinstallieren, sollte nicht nötig sein. Das Blöde ist, dass keiner von uns FreeBSD zum Testen hat. Da hängen wir maßgeblich vom Feedback ab, daher würde ich dich bitten, hier noch etwas Unterstützung zu leisten.

                    node iobroker start ist aber nicht das richtige Kommando. iobroker start sollte funktionieren. Kannst du mal den Inhalt deiner PATH-Variable posten?
                    echo "$PATH"

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

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

                      echo "$PATH"

                      Ich bin froh wenn ich mal was beitragen kann: 🙂

                      root@iobroker_v2:/ # echo "$PATH"
                      /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
                      
                      
                      AlCalzone 1 Reply Last reply Reply Quote 0
                      • AlCalzone
                        AlCalzone Developer @mrMuppet last edited by AlCalzone

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

                        /usr/local/bin

                        Das ist schon mal gut, da wird nämlich die Executable hingeschrieben. ls -la /usr/local/bin bitte.

                        EDIT: Und am besten noch ls -la /opt/iobroker

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

                          root@iobroker_v2:/ # ls -la /usr/local/bin
                          total 84788
                          drwxr-xr-x    2 root  wheel       194 May  7 21:13 .
                          drwxr-xr-x   14 root  wheel        14 May  7 21:12 ..
                          lrwxr-xr-x    1 root  wheel         6 Apr  4 02:35 2to3 -> 2to3-2
                          lrwxr-xr-x    1 root  wheel         8 Apr  2 21:32 2to3-2 -> 2to3-2.7
                          -rwxr-xr-x    1 root  wheel       101 Apr  2 03:16 2to3-2.7
                          -rwxr-xr-x    1 root  wheel       101 Apr  2 03:17 2to3-3.6
                          -r-xr-xr-x    1 root  wheel     20384 Apr  2 03:14 acountry
                          -r-xr-xr-x    1 root  wheel   5279360 Apr  2 03:46 addr2line
                          -r-xr-xr-x    1 root  wheel     20816 Apr  2 03:14 adig
                          -r-xr-xr-x    1 root  wheel     11384 Apr  2 03:14 ahost
                          -r-xr-xr-x    2 root  wheel   5309416 Apr  2 03:46 ar
                          -r-xr-xr-x    2 root  wheel   6053840 Apr  2 03:46 as
                          -rwxr-xr-x    1 root  wheel     24120 Apr  2 08:06 avahi-browse
                          lrwxr-xr-x    1 root  wheel        12 Apr  2 08:06 avahi-browse-domains -> avahi-browse
                          -rwxr-xr-x    1 root  wheel     17336 Apr  2 08:06 avahi-publish
                          lrwxr-xr-x    1 root  wheel        13 Apr  2 08:06 avahi-publish-address -> avahi-publish
                          lrwxr-xr-x    1 root  wheel        13 Apr  2 08:06 avahi-publish-service -> avahi-publish
                          -rwxr-xr-x    1 root  wheel     14440 Apr  2 08:06 avahi-resolve
                          lrwxr-xr-x    1 root  wheel        13 Apr  2 08:06 avahi-resolve-address -> avahi-resolve
                          lrwxr-xr-x    1 root  wheel        13 Apr  2 08:06 avahi-resolve-host-name -> avahi-resolve
                          -rwxr-xr-x    1 root  wheel     11472 Apr  2 08:06 avahi-set-host-name
                          -rwxr-xr-x    1 root  wheel   1157192 Apr  2 03:26 bash
                          -r-xr-xr-x    1 root  wheel      6774 Apr  2 03:26 bashbug
                          -rwxr-xr-x    4 root  wheel   1052008 Apr 28 07:06 c++8
                          -r-xr-xr-x    1 root  wheel   5281696 Apr  2 03:46 c++filt
                          -rwxr-xr-x    1 root  wheel     15100 Apr  2 03:20 corelist
                          -rwxr-xr-x    1 root  wheel      8168 Apr  2 03:20 cpan
                          -rwxr-xr-x    1 root  wheel   1048456 Apr 28 07:06 cpp8
                          -rwxr-xr-x    1 root  wheel    192528 Apr  2 03:27 curl
                          -r-xr-xr-x    1 root  wheel      7334 Apr  2 03:27 curl-config
                          -r-xr-xr-x    1 root  wheel     69576 Feb  7 02:07 cvsps
                          -rwxr-xr-x    1 root  wheel    244744 Apr  2 03:14 cvtsudoers
                          -rwxr-xr-x    1 root  wheel     91560 Apr  2 03:33 dbus-binding-tool
                          -rwxr-xr-x    1 root  wheel     11360 Apr  2 03:31 dbus-cleanup-sockets
                          -rwxr-xr-x    1 root  wheel    196096 Apr  2 03:31 dbus-daemon
                          -rwxr-xr-x    1 root  wheel     25672 Apr  2 03:31 dbus-launch
                          -rwxr-xr-x    1 root  wheel     21640 Apr  2 03:31 dbus-monitor
                          -rwxr-xr-x    1 root  wheel     11368 Apr  2 03:31 dbus-run-session
                          -rwxr-xr-x    1 root  wheel     22776 Apr  2 03:31 dbus-send
                          -rwxr-xr-x    1 root  wheel     18616 Apr  2 03:31 dbus-test-tool
                          -rwxr-xr-x    1 root  wheel     10472 Apr  2 03:31 dbus-update-activation-environment
                          -rwxr-xr-x    1 root  wheel      7840 Apr  2 03:31 dbus-uuidgen
                          -rwxr-xr-x    1 root  wheel     24640 Apr 20 03:25 derb
                          -r-xr-xr-x    1 root  wheel   2381144 Apr  2 03:46 dwp
                          -r-xr-xr-x    1 root  wheel     37200 Apr  2 03:46 elfedit
                          -rwxr-xr-x    1 root  wheel     42056 Apr  2 03:20 enc2xs
                          -rwxr-xr-x    1 root  wheel      3078 Apr  2 03:20 encguess
                          -rwxr-xr-x    1 root  wheel     40432 Feb  7 02:07 envsubst
                          -r-xr-xr-x    1 root  wheel     27720 Feb  7 05:14 funzip
                          lrwxr-xr-x    1 root  wheel         4 Apr 28 07:13 g++ -> g++8
                          -rwxr-xr-x    4 root  wheel   1052008 Apr 28 07:06 g++8
                          -r-xr-xr-x    1 root  wheel      2269 Apr  2 08:02 g-ir-annotation-tool
                          -rwxr-xr-x    1 root  wheel    169472 Apr  2 08:02 g-ir-compiler
                          -rwxr-xr-x    1 root  wheel     37296 Apr  2 08:02 g-ir-generate
                          -rwxr-xr-x    1 root  wheel      8392 Apr  2 08:02 g-ir-inspect
                          -r-xr-xr-x    1 root  wheel      2260 Apr  2 08:02 g-ir-scanner
                          -rwxr-xr-x    1 root  wheel     16064 Apr  2 03:33 gapplication
                          lrwxr-xr-x    1 root  wheel         4 Apr 28 07:13 gcc -> gcc8
                          -rwxr-xr-x    2 root  wheel     26160 Apr 28 07:06 gcc-ar8
                          -rwxr-xr-x    2 root  wheel     26128 Apr 28 07:06 gcc-nm8
                          -rwxr-xr-x    2 root  wheel     26128 Apr 28 07:06 gcc-ranlib8
                          -rwxr-xr-x    3 root  wheel   1047912 Apr 28 07:06 gcc8
                          -rwxr-xr-x    1 root  wheel    508240 Apr 28 07:06 gcov-dump8
                          -rwxr-xr-x    1 root  wheel    532880 Apr 28 07:06 gcov-tool8
                          -rwxr-xr-x    1 root  wheel    660880 Apr 28 07:06 gcov8
                          -rwxr-xr-x    1 root  wheel     20080 Feb  7 02:13 gdbm_dump
                          -rwxr-xr-x    1 root  wheel     22272 Feb  7 02:13 gdbm_load
                          -rwxr-xr-x    1 root  wheel     99088 Feb  7 02:13 gdbmtool
                          -rwxr-xr-x    1 root  wheel     38584 Apr  2 03:33 gdbus
                          -r-xr-xr-x    1 root  wheel      2065 Apr  2 03:33 gdbus-codegen
                          -rwxr-xr-x    1 root  wheel     12264 Apr 20 03:25 genbrk
                          -rwxr-xr-x    1 root  wheel     10456 Apr 20 03:25 gencfu
                          -rwxr-xr-x    1 root  wheel     20232 Apr 20 03:25 gencnval
                          -rwxr-xr-x    1 root  wheel     24408 Apr 20 03:25 gendict
                          -rwxr-xr-x    1 root  wheel    163800 Apr 20 03:25 genrb
                          -rwxr-xr-x    1 root  wheel     40416 Feb  7 02:07 gettext
                          -r-xr-xr-x    1 root  wheel      4629 Feb  7 02:07 gettext.sh
                          lrwxr-xr-x    1 root  wheel         9 Apr 28 07:13 gfortran -> gfortran8
                          -rwxr-xr-x    2 root  wheel   1052008 Apr 28 07:06 gfortran8
                          -rwxr-xr-x    1 root  wheel     70360 Apr  2 03:33 gio
                          -rwxr-xr-x    1 root  wheel     10248 Apr  2 03:33 gio-querymodules
                          -rwxr-xr-x  127 root  wheel   2568208 Apr  2 03:35 git
                          -rwxr-xr-x    2 root  wheel    162751 Apr  2 03:35 git-cvsserver
                          -r-xr-xr-x    1 root  wheel    156977 Apr  2 03:35 git-p4.py
                          -rwxr-xr-x  127 root  wheel   2568208 Apr  2 03:35 git-receive-pack
                          -rwxr-xr-x    2 root  wheel   1461608 Apr  2 03:35 git-shell
                          -rwxr-xr-x  127 root  wheel   2568208 Apr  2 03:35 git-upload-archive
                          -rwxr-xr-x  127 root  wheel   2568208 Apr  2 03:35 git-upload-pack
                          -rwxr-xr-x    1 root  wheel     37880 Apr  2 03:33 glib-compile-resources
                          -rwxr-xr-x    1 root  wheel     42336 Apr  2 03:33 glib-compile-schemas
                          -r-xr-xr-x    1 root  wheel     40933 Apr  2 03:33 glib-genmarshal
                          -r-xr-xr-x    1 root  wheel      5381 Apr  2 03:33 glib-gettextize
                          -r-xr-xr-x    1 root  wheel     27808 Apr  2 03:33 glib-mkenums
                          -r-xr-xr-x    1 root  wheel    221600 Feb  7 02:08 gmake
                          -rwxr-xr-x    1 root  wheel      8736 Apr  2 03:33 gobject-query
                          -r-xr-xr-x    1 root  wheel   5344720 Apr  2 03:46 gprof
                          -rwxr-xr-x    1 root  wheel     15832 Apr  2 03:33 gresource
                          -rwxr-xr-x    1 root  wheel     21880 Apr  2 03:33 gsettings
                          -rwxr-xr-x    1 root  wheel     20728 Apr  2 03:33 gtester
                          -rwxr-xr-x    1 root  wheel     18839 Apr  2 03:33 gtester-report
                          -rwxr-xr-x    1 root  wheel     29236 Apr  2 03:20 h2ph
                          -rwxr-xr-x    1 root  wheel     60878 Apr  2 03:20 h2xs
                          -rwxr-xr-x    1 root  wheel     24912 Feb  7 02:07 iconv
                          -r-xr-xr-x    1 root  wheel     22122 Apr 20 03:25 icu-config
                          -rwxr-xr-x    1 root  wheel      9048 Apr 20 03:25 icuinfo
                          lrwxr-xr-x    1 root  wheel         5 Apr  4 02:35 idle -> idle2
                          lrwxr-xr-x    1 root  wheel         7 Apr  2 21:32 idle2 -> idle2.7
                          -rwxr-xr-x    1 root  wheel        99 Apr  2 03:16 idle2.7
                          -rwxr-xr-x    1 root  wheel        99 Apr  2 03:17 idle3.6
                          -rwxr-xr-x    1 root  wheel     11496 Feb  7 02:07 indexinfo
                          -rwxr-xr-x    1 root  wheel      4299 Apr  2 03:20 instmodsh
                          lrwxr-xr-x    1 root  wheel        22 May  7 21:13 iob -> /opt/iobroker/iobroker
                          lrwxr-xr-x    1 root  wheel        22 May  7 21:13 iobroker -> /opt/iobroker/iobroker
                          -rwxr-xr-x    1 root  wheel      4391 Apr  2 03:20 json_pp
                          -r-xr-xr-x    4 root  wheel  11461040 Apr  2 03:46 ld
                          -r-xr-xr-x    4 root  wheel  11461040 Apr  2 03:46 ld.bfd
                          -r-xr-xr-x    2 root  wheel   4478752 Apr  2 03:46 ld.gold
                          -rwxr-xr-x    1 root  wheel     15787 Apr  2 03:20 libnetcfg
                          -rwxr-xr-x    1 root  wheel     53536 Apr 20 03:25 makeconv
                          -rwxr-xr-x    1 root  wheel     40424 Feb  7 02:07 ngettext
                          -r-xr-xr-x    2 root  wheel   5291408 Apr  2 03:46 nm
                          -rwxr-xr-x    1 root  wheel  22650048 Apr 20 04:06 node
                          lrwxr-xr-x    1 root  wheel        38 Mar  7 16:09 npm -> ../lib/node_modules/npm/bin/npm-cli.js
                          lrwxr-xr-x    1 root  wheel        38 Mar  7 16:09 npx -> ../lib/node_modules/npm/bin/npx-cli.js
                          -r-xr-xr-x    2 root  wheel   5421952 Apr  2 03:46 objcopy
                          -r-xr-xr-x    2 root  wheel  18191336 Apr  2 03:46 objdump
                          -r-xr-xr-x    1 root  wheel      2367 Apr  2 03:17 pcre-config
                          -rwxr-xr-x    1 root  wheel     38144 Apr  2 03:17 pcregrep
                          -rwxr-xr-x    1 root  wheel    110424 Apr  2 03:17 pcretest
                          -rwxr-xr-x    1 root  wheel      7800 Apr  2 03:21 perl
                          lrwxr-xr-x    1 root  wheel         4 Apr  2 03:21 perl5 -> perl
                          lrwxr-xr-x    1 root  wheel         4 Apr  2 03:21 perl5.28.1 -> perl
                          -rwxr-xr-x    2 root  wheel     46374 Apr  2 03:20 perlbug
                          -rwxr-xr-x    1 root  wheel       274 Apr  2 03:20 perldoc
                          -rwxr-xr-x    1 root  wheel     10831 Apr  2 03:20 perlivp
                          -rwxr-xr-x    2 root  wheel     46374 Apr  2 03:20 perlthanks
                          -rwxr-xr-x    1 root  wheel      8369 Apr  2 03:20 piconv
                          -rwxr-xr-x    1 root  wheel     45624 Apr 20 03:25 pkgdata
                          -rwxr-xr-x    1 root  wheel      4545 Apr  2 03:20 pl2pm
                          -rwxr-xr-x    1 root  wheel      4146 Apr  2 03:20 pod2html
                          -rwxr-xr-x    1 root  wheel     15225 Apr  2 03:20 pod2man
                          -rwxr-xr-x    1 root  wheel     11122 Apr  2 03:20 pod2text
                          -rwxr-xr-x    1 root  wheel      3954 Apr  2 03:20 pod2usage
                          -rwxr-xr-x    1 root  wheel      3664 Apr  2 03:20 podchecker
                          -rwxr-xr-x    1 root  wheel      2533 Apr  2 03:20 podselect
                          -rwxr-xr-x    1 root  wheel     13667 Apr  2 03:20 prove
                          -rwxr-xr-x    1 root  wheel      3561 Apr  2 03:20 ptar
                          -rwxr-xr-x    1 root  wheel      2640 Apr  2 03:20 ptardiff
                          -rwxr-xr-x    1 root  wheel      4404 Apr  2 03:20 ptargrep
                          lrwxr-xr-x    1 root  wheel         6 Apr  4 02:35 pydoc -> pydoc2
                          lrwxr-xr-x    1 root  wheel         8 Apr  2 21:32 pydoc2 -> pydoc2.7
                          -rwxr-xr-x    1 root  wheel        84 Apr  2 03:16 pydoc2.7
                          -rwxr-xr-x    1 root  wheel        84 Apr  2 03:17 pydoc3.6
                          lrwxr-xr-x    1 root  wheel         7 Apr  4 02:35 python -> python2
                          lrwxr-xr-x    1 root  wheel        14 Apr  4 02:35 python-config -> python2-config
                          lrwxr-xr-x    1 root  wheel         9 Apr  2 21:32 python2 -> python2.7
                          lrwxr-xr-x    1 root  wheel        16 Apr  2 21:32 python2-config -> python2.7-config
                          -r-xr-xr-x    1 root  wheel      5600 Apr  2 03:15 python2.7
                          -r-xr-xr-x    1 root  wheel      1769 Apr  2 03:16 python2.7-config
                          -r-xr-xr-x    2 root  wheel      7304 Apr  2 03:17 python3.6
                          lrwxr-xr-x    1 root  wheel        17 Apr  2 03:17 python3.6-config -> python3.6m-config
                          -r-xr-xr-x    2 root  wheel      7304 Apr  2 03:17 python3.6m
                          -r-xr-xr-x    1 root  wheel      3120 Apr  2 03:17 python3.6m-config
                          -rwxr-xr-x    1 root  wheel       441 Apr  2 03:17 pyvenv-3.6
                          -r-xr-xr-x    2 root  wheel   5309432 Apr  2 03:46 ranlib
                          lrwxr-xr-x    1 root  wheel         4 Apr  2 03:26 rbash -> bash
                          -r-xr-xr-x    2 root  wheel    633248 Apr  2 03:46 readelf
                          -rwxr-xr-x    1 root  wheel      9988 Apr  2 03:20 shasum
                          -r-xr-xr-x    1 root  wheel   5280816 Apr  2 03:46 size
                          -rwxr-xr-x    1 root  wheel     19162 Apr  2 03:20 splain
                          -r-xr-xr-x    1 root  wheel   5280480 Apr  2 03:46 strings
                          -r-xr-xr-x    2 root  wheel   5421968 Apr  2 03:46 strip
                          -rwsr-xr-x    1 root  wheel    128872 Apr  2 03:14 sudo
                          lrwxr-xr-x    1 root  wheel         4 Apr  2 03:14 sudoedit -> sudo
                          -rwxr-xr-x    1 root  wheel     57376 Apr  2 03:14 sudoreplay
                          -rwxr-xr-x    1 root  wheel     49504 Apr 20 03:25 uconv
                          -r-xr-xr-x    1 root  wheel    154560 Feb  7 05:14 unzip
                          -r-xr-xr-x    1 root  wheel     70304 Feb  7 05:14 unzipsfx
                          -rwxr-xr-x    4 root  wheel   1052008 Apr 28 07:06 x86_64-portbld-freebsd11.2-c++8
                          -rwxr-xr-x    4 root  wheel   1052008 Apr 28 07:06 x86_64-portbld-freebsd11.2-g++8
                          -rwxr-xr-x    3 root  wheel   1047912 Apr 28 07:06 x86_64-portbld-freebsd11.2-gcc-8.3.0
                          -rwxr-xr-x    2 root  wheel     26160 Apr 28 07:06 x86_64-portbld-freebsd11.2-gcc-ar8
                          -rwxr-xr-x    2 root  wheel     26128 Apr 28 07:06 x86_64-portbld-freebsd11.2-gcc-nm8
                          -rwxr-xr-x    2 root  wheel     26128 Apr 28 07:06 x86_64-portbld-freebsd11.2-gcc-ranlib8
                          -rwxr-xr-x    3 root  wheel   1047912 Apr 28 07:06 x86_64-portbld-freebsd11.2-gcc8
                          -rwxr-xr-x    2 root  wheel   1052008 Apr 28 07:06 x86_64-portbld-freebsd11.2-gfortran8
                          -r-xr-xr-x    1 root  wheel      1735 Apr  2 03:15 xml2-config
                          -rwxr-xr-x    1 root  wheel     15984 Apr  2 03:15 xmlcatalog
                          -rwxr-xr-x    1 root  wheel     61384 Apr  2 03:15 xmllint
                          -rwxr-xr-x    1 root  wheel     28480 Feb  7 02:07 xmlwf
                          -rwxr-xr-x    1 root  wheel      5176 Apr  2 03:20 xsubpp
                          -rwxr-xr-x    1 root  wheel     48509 Apr  2 03:20 zipdetails
                          -r-xr-xr-x    1 root  wheel      2953 Feb  7 05:14 zipgrep
                          lrwxr-xr-x    1 root  wheel         5 Feb  7 05:14 zipinfo -> unzip
                          
                          
                          AlCalzone 1 Reply Last reply Reply Quote 0
                          • M
                            mrMuppet last edited by

                            root@iobroker_v2:/ # ls -la /opt/iobroker
                            total 134
                            drwxr-xr-x    5 root  wheel     12 May 21 16:40 .
                            drwxr-xr-x    3 root  wheel      3 May  7 21:12 ..
                            -rw-r--r--    1 root  wheel     19 May 21 16:38 .npmrc
                            -rwxrwxrwx    1 root  wheel    129 May  7 21:13 INSTALLER_INFO.txt
                            lrwxr-xr-x    1 root  wheel     22 May  7 21:13 iob -> /opt/iobroker/iobroker
                            -rwxr-xr-x    1 root  wheel    102 May  7 21:13 iobroker
                            drwxr-xr-x    4 root  wheel      9 May 21 16:41 iobroker-data
                            drwxr-xr-x    2 root  wheel      3 May 21 16:40 log
                            drwxr-xr-x  306 root  wheel    306 May 21 16:39 node_modules
                            -rw-r--r--    1 root  wheel  94547 May 21 16:39 package-lock.json
                            -rw-rw-rw-    1 root  wheel     70 May 21 16:40 package.json
                            -rw-r--r--    1 root  wheel   5868 May 21 16:40 reinstall.js
                            
                            1 Reply Last reply Reply Quote 0
                            • AlCalzone
                              AlCalzone Developer @mrMuppet last edited by AlCalzone

                              Danke, das sieht soweit alles gut aus.
                              Kannst du bitte mal zum Testen die Executable bearbeiten:

                              nano /opt/iobroker/iobroker
                              

                              Und die erste Zeile ändern zu

                              #!/usr/local/bin/bash
                              

                              Danach funktioniert iobroker start hoffentlich

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

                                @AlCalzone

                                root@iobroker_v2:/ # iobroker start
                                Starting iobroker controller daemon...
                                iobroker controller daemon failed to start:  Failed to write pidfile (EACCES)
                                Error: Failed to write pidfile (EACCES)
                                
                                
                                
                                AlCalzone 1 Reply Last reply Reply Quote 0
                                • AlCalzone
                                  AlCalzone Developer @mrMuppet last edited by

                                  @mrMuppet Schon besser. Jetzt stimmen nur die Rechte nicht mehr, weil du als root die Module installiert hast 😆
                                  Ich passe mal den Installer an, dann darfst du wieder testen. Dauert ein paar Minuten, kannst ja schon mal das System neu aufsetzen.

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

                                    Ok. Wird gemacht. Ich installiere schon mal die Pakete wie oben beschrieben.

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

                                      Ok, neue Version ist zum Testen online. Bis sie gemerged ist, kannst du diese per

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

                                      installieren.

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

                                        @AlCalzone Super! Danke. Ich melde mich sobald ich soweit bin. Aktuell hänge ich bei Paket 4/38 ... dauert also noch ... (vielleicht 30 min.?)

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

                                          @mrMuppet Prima, kein Stress...

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

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

                                            @mrMuppet Prima, kein Stress...

                                            Das war es noch nicht ganz:

                                            root@iobroker_v2:~ # curl -sL https://raw.githubusercontent.com/ioBroker/ioBroker/freebsd-fix/installer.sh | bash -
                                            
                                            ==========================================================================
                                            
                                                Welcome to the ioBroker installer!
                                                Installer version: 2019-05-21
                                            
                                                You might need to enter your password a couple of times.
                                            
                                            ==========================================================================
                                            
                                            
                                            ==========================================================================
                                                Installing prerequisites (1/4)
                                            ==========================================================================
                                            
                                            Installed sudo
                                            Installed unzip
                                            Installed avahi-libdns
                                            Installed nss_mdns
                                            Installed gcc
                                            dbus_enable:  -> YES
                                            avahi_daemon_enable:  -> YES
                                            Starting dbus.
                                            Starting avahi-daemon.
                                            
                                            ==========================================================================
                                                Creating ioBroker user and directory (2/4)
                                            ==========================================================================
                                            
                                            tty:*:4
                                            Directory /opt/iobroker created
                                            
                                            ==========================================================================
                                                Installing ioBroker (3/4)
                                            ==========================================================================
                                            
                                            ../src/unix_dgram.cc:53:13: warning: unused function 'SetNonBlock' [-Wunused-function]
                                            inline void SetNonBlock(int fd) {
                                                        ^
                                            ../src/unix_dgram.cc:65:13: warning: unused function 'SetCloExec' [-Wunused-function]
                                            inline void SetCloExec(int fd) {
                                                        ^
                                            2 warnings generated.
                                            ../src/serialport.cpp:95:18: warning: 'Call' is deprecated [-Wdeprecated-declarations]
                                              data->callback.Call(2, argv);
                                                             ^
                                            ../../nan/nan.h:1739:3: note: 'Call' has been explicitly marked deprecated here
                                              NAN_DEPRECATED inline v8::Local<v8::Value>
                                              ^
                                            ../../nan/nan.h:104:40: note: expanded from macro 'NAN_DEPRECATED'
                                            # define NAN_DEPRECATED __attribute__((deprecated))
                                                                                   ^
                                            ../src/serialport.cpp:150:18: warning: 'Call' is deprecated [-Wdeprecated-declarations]
                                              data->callback.Call(1, argv);
                                                             ^
                                            ../../nan/nan.h:1739:3: note: 'Call' has been explicitly marked deprecated here
                                              NAN_DEPRECATED inline v8::Local<v8::Value>
                                              ^
                                            ../../nan/nan.h:104:40: note: expanded from macro 'NAN_DEPRECATED'
                                            # define NAN_DEPRECATED __attribute__((deprecated))
                                                                                   ^
                                            ../src/serialport.cpp:188:18: warning: 'Call' is deprecated [-Wdeprecated-declarations]
                                              data->callback.Call(1, argv);
                                                             ^
                                            ../../nan/nan.h:1739:3: note: 'Call' has been explicitly marked deprecated here
                                              NAN_DEPRECATED inline v8::Local<v8::Value>
                                              ^
                                            ../../nan/nan.h:104:40: note: expanded from macro 'NAN_DEPRECATED'
                                            # define NAN_DEPRECATED __attribute__((deprecated))
                                                                                   ^
                                            ../src/serialport.cpp:231:18: warning: 'Call' is deprecated [-Wdeprecated-declarations]
                                              data->callback.Call(1, argv);
                                                             ^
                                            ../../nan/nan.h:1739:3: note: 'Call' has been explicitly marked deprecated here
                                              NAN_DEPRECATED inline v8::Local<v8::Value>
                                              ^
                                            ../../nan/nan.h:104:40: note: expanded from macro 'NAN_DEPRECATED'
                                            # define NAN_DEPRECATED __attribute__((deprecated))
                                                                                   ^
                                            ../src/serialport.cpp:285:18: warning: 'Call' is deprecated [-Wdeprecated-declarations]
                                              data->callback.Call(1, argv);
                                                             ^
                                            ../../nan/nan.h:1739:3: note: 'Call' has been explicitly marked deprecated here
                                              NAN_DEPRECATED inline v8::Local<v8::Value>
                                              ^
                                            ../../nan/nan.h:104:40: note: expanded from macro 'NAN_DEPRECATED'
                                            # define NAN_DEPRECATED __attribute__((deprecated))
                                                                                   ^
                                            ../src/serialport.cpp:336:18: warning: 'Call' is deprecated [-Wdeprecated-declarations]
                                              data->callback.Call(2, argv);
                                                             ^
                                            ../../nan/nan.h:1739:3: note: 'Call' has been explicitly marked deprecated here
                                              NAN_DEPRECATED inline v8::Local<v8::Value>
                                              ^
                                            ../../nan/nan.h:104:40: note: expanded from macro 'NAN_DEPRECATED'
                                            # define NAN_DEPRECATED __attribute__((deprecated))
                                                                                   ^
                                            ../src/serialport.cpp:383:18: warning: 'Call' is deprecated [-Wdeprecated-declarations]
                                              data->callback.Call(2, argv);
                                                             ^
                                            ../../nan/nan.h:1739:3: note: 'Call' has been explicitly marked deprecated here
                                              NAN_DEPRECATED inline v8::Local<v8::Value>
                                              ^
                                            ../../nan/nan.h:104:40: note: expanded from macro 'NAN_DEPRECATED'
                                            # define NAN_DEPRECATED __attribute__((deprecated))
                                                                                   ^
                                            ../src/serialport.cpp:424:18: warning: 'Call' is deprecated [-Wdeprecated-declarations]
                                              data->callback.Call(1, argv);
                                                             ^
                                            ../../nan/nan.h:1739:3: note: 'Call' has been explicitly marked deprecated here
                                              NAN_DEPRECATED inline v8::Local<v8::Value>
                                              ^
                                            ../../nan/nan.h:104:40: note: expanded from macro 'NAN_DEPRECATED'
                                            # define NAN_DEPRECATED __attribute__((deprecated))
                                                                                   ^
                                            8 warnings generated.
                                            ../src/serialport_unix.cpp:384:20: warning: variable 'outbaud' is uninitialized when used here
                                                  [-Wuninitialized]
                                              data->baudRate = outbaud;
                                                               ^~~~~~~
                                            ../src/serialport_unix.cpp:369:14: note: initialize the variable 'outbaud' to silence this
                                                  warning
                                              int outbaud;
                                                         ^
                                                          = 0
                                            1 warning generated.
                                            ../src/poller.cpp:69:17: warning: 'Call' is deprecated [-Wdeprecated-declarations]
                                              obj->callback.Call(2, argv);
                                                            ^
                                            ../../nan/nan.h:1739:3: note: 'Call' has been explicitly marked deprecated here
                                              NAN_DEPRECATED inline v8::Local<v8::Value>
                                              ^
                                            ../../nan/nan.h:104:40: note: expanded from macro 'NAN_DEPRECATED'
                                            # define NAN_DEPRECATED __attribute__((deprecated))
                                                                                   ^
                                            1 warning generated.
                                            
                                            ==========================================================================
                                                Finalizing installation (4/4)
                                            ==========================================================================
                                            
                                            Enabling autostart...
                                            iobroker_enable:  -> YES
                                            platform: Undefined variable.
                                            Autostart enabled!
                                            root@iobroker_v2:~ # iobroker start
                                            Starting iobroker controller daemon...
                                            iobroker controller daemon failed to start:  Failed to write pidfile (EACCES)
                                            Error: Failed to write pidfile (EACCES)
                                            
                                            
                                            AlCalzone 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

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

                                            870
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

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