Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Kein zurück? Möchte wieder auf node 6.x

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Kein zurück? Möchte wieder auf node 6.x

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

      Kann ich nicht zurück auf node 6.x? Habe es versucht, aber dann lässt sich ioBroker nicht installieren.

      Die aktuelle node 8.x abhängige Version funktioniert leider nicht.

      zB läuft reinstall.sh nicht, sondern gibt folgende Fehler:

      ! > unix-dgram@0.2.3 install /opt/iobroker/node_modules/unix-dgram
      ! > node-gyp rebuild
      ! make: Entering directory '/opt/iobroker/node_modules/unix-dgram/build'
      ! CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o
      ! In file included from /usr/include/errno.h:28:0,
      ! from /home/admin/.node-gyp/8.14.0/include/node/uv/errno.h:25,
      ! from /home/admin/.node-gyp/8.14.0/include/node/uv.h:48,
      ! from ../node_modules/nan/nan.h:46,
      ! from ../src/unix_dgram.cc:5:
      ! /usr/include/features.h:367:25: fatal error: sys/cdefs.h: No such file or directory
      ! compilation terminated.
      ! unix_dgram.target.mk:101: recipe for target 'Release/obj.target/unix_dgram/src/unix_dgram.o' failed
      ! make: *** [Release/obj.target/unix_dgram/src/unix_dgram.o] Error 1
      ! make: Leaving directory '/opt/iobroker/node_modules/unix-dgram/build'
      ! gyp ERR! build error
      ! gyp ERR! stack Error: make failed with exit code: 2
      ! gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
      ! gyp ERR! stack at emitTwo (events.js:126:13)
      ! gyp ERR! stack at ChildProcess.emit (events.js:214:7)
      ! gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
      ! gyp ERR! System Linux 4.2.8
      ! gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
      ! gyp ERR! cwd /opt/iobroker/node_modules/unix-dgram
      ! gyp ERR! node -v v8.14.0
      ! gyp ERR! node-gyp -v v3.8.0
      ! gyp ERR! not ok
      ! > ursa-optional@0.9.10 install /opt/iobroker/node_modules/ursa-optional
      ! > node rebuild.js
      ! ursaNative bindings compilation fail. This is not an issue. Modules that depend on it will use fallbacks.
      ! > iobroker.js-controller@1.4.2 install /opt/iobroker/node_modules/iobroker.js-controller
      ! > node iobroker.js setup first
      ! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 (node_modules/unix-dgram):
      ! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 install: node-gyp rebuild
      ! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
      ! + iobroker.js-controller@1.4.2
      ! added 158 packages from 126 contributors and audited 1648 packages in 24.422s
      ! found 23 vulnerabilities (17 low, 6 high)
      ! run npm audit fix to fix them, or npm audit for details
      ! DONE iobroker.js-controller
      ! got /opt/iobroker/node_modules/iobroker.discovery/admin
      ! upload [5] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/words.js words.js application/javascript
      ! upload [4] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/settings_m.html settings_m.html text/html
      ! upload [3] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/settings.html settings.html text/html
      ! upload [2] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/index_m.html index_m.html text/html
      ! upload [1] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/index.html index.html text/html
      ! upload [0] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/discovery.png discovery.png image/png
      ! 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
      ! ./reinstall.sh: line 34: unexpected EOF while looking for matching `"'
      ! ./reinstall.sh: line 37: syntax error: unexpected end of file

      Habe heute sieben mal das Betriebssystem neu installiert. Irgendwie nicht so lustig. Somit aktuell kein ioBroker mehr. Schade….

      Kann irgendjemand helfen? Bitte!

      1 Reply Last reply Reply Quote 0
      • lobomau
        lobomau last edited by

        welche hard- und software?

        Bei linux musst du dich nur an die Anleitung halten. Bei frischem Betriebssystem eigentlich kein Problem:

        http://www.iobroker.net/docu/?page_id=8323&lang=de

        1 Reply Last reply Reply Quote 0
        • T
          tgirard last edited by

          habe ich versucht…..

          Ist eine Linus Station auf QNAP, hat bisher problemlos funktioniert. Ubuntu ist 16.04 (neuer geht nicht wegen QNAP).

          Habe bei der Installation unter anderem bekommen:

          ! > unix-dgram@0.2.3 install /opt/iobroker/node_modules/unix-dgram
          ! > node-gyp rebuild
          ! make: Entering directory '/opt/iobroker/node_modules/unix-dgram/build'
          ! CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o
          ! In file included from /usr/include/errno.h:28:0,
          ! from /root/.node-gyp/8.14.0/include/node/uv/errno.h:25,
          ! from /root/.node-gyp/8.14.0/include/node/uv.h:48,
          ! from ../node_modules/nan/nan.h:46,
          ! from ../src/unix_dgram.cc:5:
          ! /usr/include/features.h:367:25: fatal error: sys/cdefs.h: No such file or directory
          ! compilation terminated.

          danke schon mal für die Hilfe!

          1 Reply Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators last edited by

            Hast du denn die build essentials drauf?

            Gruß

            Rainer

            1 Reply Last reply Reply Quote 0
            • T
              tgirard last edited by

              Danke Homoran, darauf bin ich vor 70 Sekunden gestossen… Werde das gleich mal kontrollieren und melde mich!

              1 Reply Last reply Reply Quote 0
              • T
                tgirard last edited by

                ja…. sind (leider) installiert.

                aber der Fehler: usr/include/features.h:367:25: fatal error: sys/cdefs.h: No such file or directory

                => habe Folgendes versucht:

                sudo apt-get --reinstall install libc6 libc6-dev

                werde berichten.

                1 Reply Last reply Reply Quote 0
                • T
                  tgirard last edited by

                  keine Chance…

                  sudo iobroker start

                  Starting iobroker controller daemon...

                  iobroker controller daemon failed to start: 2

                  Error: 2

                  Wenn ich nur wüsste, wie ich auf ioBroker mit node 6.x zurück könnte. Dort lief es so schön stabil. Jetzt alles tot. schade, sehr.

                  1 Reply Last reply Reply Quote 0
                  • C
                    ChristianF last edited by

                    Hi tigard,

                    wenn Du die Linux Station laufen lassen kannst, sollte Dein NAS auch für die Virtualization Station freigegeben sein. Prüf das doch mal, oder sag hier, welches NAS du hast.

                    In der Virtualization Station kannst Du jede beliebige Linux Distri nutzen, die auf Deiner Architektur läuft. Das ist auch wesentlich ressourcensparender als die Linux Station, die ja m.W. immer ein fully fledged Ubuntu nutzt, oder?

                    Auf meinem NAS laufen vier Debian VMs und eine UTM ohne jede Probleme (mal von dem abgesehen was ich im iobroker so selbst zerhaue).

                    Viele Grüße

                    Christian

                    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

                    519
                    Online

                    31.7k
                    Users

                    79.7k
                    Topics

                    1.3m
                    Posts

                    4
                    8
                    452
                    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