Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Einsteigerfragen
  4. Installation
  5. Keine Updates trotz Exit Code 0

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    15
    1
    654

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    1.9k

Keine Updates trotz Exit Code 0

Geplant Angeheftet Gesperrt Verschoben Installation
24 Beiträge 3 Kommentatoren 173 Aufrufe 3 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • HomoranH Homoran

    @Mark sagte in Keine Updates trotz Exit Code 0:

    Hab das diag aber oben geposte

    war das von vor dem Restore?

    M Offline
    M Offline
    Mark
    schrieb am zuletzt editiert von
    #15

    @Homoran
    nein, jetzt aktuell

    HomoranH 1 Antwort Letzte Antwort
    0
    • M Mark

      @Homoran
      nein, jetzt aktuell

      HomoranH Nicht stören
      HomoranH Nicht stören
      Homoran
      Global Moderator Administrators
      schrieb am zuletzt editiert von
      #16

      @Mark aber es geht auch darum wann es zu den Problemen kommt.

      @Mark sagte in Keine Updates trotz Exit Code 0:

      das Hauptproblem

      wo kommt denn das log her?
      ...und von wann?

      kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

      Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

      der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

      M 1 Antwort Letzte Antwort
      0
      • HomoranH Homoran

        @Mark aber es geht auch darum wann es zu den Problemen kommt.

        @Mark sagte in Keine Updates trotz Exit Code 0:

        das Hauptproblem

        wo kommt denn das log her?
        ...und von wann?

        M Offline
        M Offline
        Mark
        schrieb am zuletzt editiert von
        #17

        @Homoran
        ist auch aktuell.
        Die Fehler entstehen, weil die Adapter nicht richtig funktionieren. (Smartmeter und Modbus). Sind aber die gleichen einstellungen wie am alten System und da hat es funktioniert. Hab die Adapter jetzt gestoppt.

        Im protokoll kommt aber immer wieder:

        	iobroker npm-install: npm error code 1npm error path /opt/iobroker/node_modules/node-snap7npm error command failednpm error command sh -c prebuild-install || node-gyp rebuildnpm error (node:8282) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.npm error (Use `node --trace-deprecation ...` to show where the warning was created)npm error Traceback (most recent call last):npm error File "/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py", line 42, in <module>npm error import gyp # noqa: E402npm error ^^^^^^^^^^npm error File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 9, in <module>npm error import gyp.inputnpm error File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 19, in <module>npm error from distutils.version import StrictVersionnpm error ModuleNotFoundError: No module named 'distutils'npm error gyp ERR! configure error npm error gyp ERR! stack Error: `gyp` failed with exit code: 1npm error gyp ERR! stack at ChildProcess.onCpExit (/opt/iobroker/node_modules/node-gyp/lib/configure.js:259:16)npm error gyp ERR! stack at ChildProcess.emit (node:events:519:28)npm error gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:293:12)npm error gyp ERR! System Linux 6.12.47+rpt-rpi-v8npm error gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild"npm error gyp ERR! cwd /opt/iobroker/node_modules/node-snap7npm error gyp ERR! node -v v22.21.0npm error gyp ERR! node-gyp -v v8.4.1npm error gyp ERR! not oknpm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-12-31T11_31_33_580Z-debug-0.log
        
        HomoranH 2 Antworten Letzte Antwort
        0
        • M Mark

          @Homoran
          ist auch aktuell.
          Die Fehler entstehen, weil die Adapter nicht richtig funktionieren. (Smartmeter und Modbus). Sind aber die gleichen einstellungen wie am alten System und da hat es funktioniert. Hab die Adapter jetzt gestoppt.

          Im protokoll kommt aber immer wieder:

          	iobroker npm-install: npm error code 1npm error path /opt/iobroker/node_modules/node-snap7npm error command failednpm error command sh -c prebuild-install || node-gyp rebuildnpm error (node:8282) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.npm error (Use `node --trace-deprecation ...` to show where the warning was created)npm error Traceback (most recent call last):npm error File "/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py", line 42, in <module>npm error import gyp # noqa: E402npm error ^^^^^^^^^^npm error File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 9, in <module>npm error import gyp.inputnpm error File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 19, in <module>npm error from distutils.version import StrictVersionnpm error ModuleNotFoundError: No module named 'distutils'npm error gyp ERR! configure error npm error gyp ERR! stack Error: `gyp` failed with exit code: 1npm error gyp ERR! stack at ChildProcess.onCpExit (/opt/iobroker/node_modules/node-gyp/lib/configure.js:259:16)npm error gyp ERR! stack at ChildProcess.emit (node:events:519:28)npm error gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:293:12)npm error gyp ERR! System Linux 6.12.47+rpt-rpi-v8npm error gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild"npm error gyp ERR! cwd /opt/iobroker/node_modules/node-snap7npm error gyp ERR! node -v v22.21.0npm error gyp ERR! node-gyp -v v8.4.1npm error gyp ERR! not oknpm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-12-31T11_31_33_580Z-debug-0.log
          
          HomoranH Nicht stören
          HomoranH Nicht stören
          Homoran
          Global Moderator Administrators
          schrieb am zuletzt editiert von
          #18

          @Mark sagte in Keine Updates trotz Exit Code 0:

          Im protokoll kommt aber immer wieder:

          in welchem Protokoll?

          Das iobroker Protokoll ist gänzlich anders formatiert

          kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

          Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

          der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

          M 1 Antwort Letzte Antwort
          0
          • M Mark

            @Homoran
            ist auch aktuell.
            Die Fehler entstehen, weil die Adapter nicht richtig funktionieren. (Smartmeter und Modbus). Sind aber die gleichen einstellungen wie am alten System und da hat es funktioniert. Hab die Adapter jetzt gestoppt.

            Im protokoll kommt aber immer wieder:

            	iobroker npm-install: npm error code 1npm error path /opt/iobroker/node_modules/node-snap7npm error command failednpm error command sh -c prebuild-install || node-gyp rebuildnpm error (node:8282) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.npm error (Use `node --trace-deprecation ...` to show where the warning was created)npm error Traceback (most recent call last):npm error File "/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py", line 42, in <module>npm error import gyp # noqa: E402npm error ^^^^^^^^^^npm error File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 9, in <module>npm error import gyp.inputnpm error File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 19, in <module>npm error from distutils.version import StrictVersionnpm error ModuleNotFoundError: No module named 'distutils'npm error gyp ERR! configure error npm error gyp ERR! stack Error: `gyp` failed with exit code: 1npm error gyp ERR! stack at ChildProcess.onCpExit (/opt/iobroker/node_modules/node-gyp/lib/configure.js:259:16)npm error gyp ERR! stack at ChildProcess.emit (node:events:519:28)npm error gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:293:12)npm error gyp ERR! System Linux 6.12.47+rpt-rpi-v8npm error gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild"npm error gyp ERR! cwd /opt/iobroker/node_modules/node-snap7npm error gyp ERR! node -v v22.21.0npm error gyp ERR! node-gyp -v v8.4.1npm error gyp ERR! not oknpm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-12-31T11_31_33_580Z-debug-0.log
            
            HomoranH Nicht stören
            HomoranH Nicht stören
            Homoran
            Global Moderator Administrators
            schrieb am zuletzt editiert von
            #19

            @Mark sagte in Keine Updates trotz Exit Code 0:

            Die Fehler entstehen, weil die Adapter nicht richtig funktionieren

            eher anders rum:
            wegen Fehlern laufen die Adapter nicht.

            um das herauszufinden muss man aber auch wissen wann was wie genau zu welchen exakten Meldungen führt.

            Wie lwnge hast du nach dem Restore gewartet?
            Der Bau der Adapter fängt dann erst an und sollte nicht gestört werden

            kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

            Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

            der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

            1 Antwort Letzte Antwort
            0
            • HomoranH Homoran

              @Mark sagte in Keine Updates trotz Exit Code 0:

              Im protokoll kommt aber immer wieder:

              in welchem Protokoll?

              Das iobroker Protokoll ist gänzlich anders formatiert

              M Offline
              M Offline
              Mark
              schrieb am zuletzt editiert von
              #20

              @Homoran
              sorry, ich hab nur die Fehlermeldung rauskopiert. Hier mal der heutige Log:

              iobroker.current.htm

              Ist also vom ersten starten bis jetzt

              Thomas BraunT 1 Antwort Letzte Antwort
              0
              • M Mark

                @Homoran
                sorry, ich hab nur die Fehlermeldung rauskopiert. Hier mal der heutige Log:

                iobroker.current.htm

                Ist also vom ersten starten bis jetzt

                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                schrieb am zuletzt editiert von
                #21

                @Mark

                Aber ich glaube das Hauptproblem ist folgendes:

                Installier python3-setuptools nach.

                sudo apt install python3-setuptools
                

                Linux-Werkzeugkasten:
                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                NodeJS Fixer Skript:
                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                M 1 Antwort Letzte Antwort
                0
                • Thomas BraunT Thomas Braun

                  @Mark

                  Aber ich glaube das Hauptproblem ist folgendes:

                  Installier python3-setuptools nach.

                  sudo apt install python3-setuptools
                  
                  M Offline
                  M Offline
                  Mark
                  schrieb am zuletzt editiert von
                  #22

                  @Thomas-Braun
                  hab ich gemacht.

                  host.raspberrypi
                  	2025-12-31 14:03:00.697	info	iobroker exit 25
                  host.raspberrypi
                  	2025-12-31 14:02:59.649	error	iobroker host.raspberrypi Cannot install iobroker.rpi2@2.4.0: 1
                  host.raspberrypi
                  	2025-12-31 14:02:59.645	error	iobroker npm error code 1npm error path /opt/iobroker/node_modules/opengpionpm error command failednpm error command sh -c node-gyp rebuildnpm error make: Entering directory '/opt/iobroker/node_modules/opengpio/build'npm error CXX(target) Release/obj.target/opengpio/cpp/opengpio.onpm error make: Leaving directory '/opt/iobroker/node_modules/opengpio/build'npm error (node:10247) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.npm error (Use `node --trace-deprecation ...` to show where the warning was created)npm error ../cpp/opengpio.cpp: In function ‘Napi::Array GpioInput(const Napi::CallbackInfo&)’:npm error ../cpp/opengpio.cpp:14:17: error: expected primary-expression before ‘line’npm error 14 | gpiod::line line = chip.get_line(lineNumber);npm error | ^~~~npm error ../cpp/opengpio.cpp:19:9: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 19 | line.request({resourceName, gpiod::line_request::DIRECTION_INPUT, 0});npm error | ^~~~npm error | gpiod::linenpm error In file included from /usr/include/gpiodcxx/chip.hpp:21,npm error from /usr/include/gpiod.hpp:27,npm error from ../cpp/opengpio.cpp:3:npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp:19:58: error: ‘DIRECTION_INPUT’ is not a member of ‘gpiod::line_request’npm error 19 | line.request({resourceName, gpiod::line_request::DIRECTION_INPUT, 0});npm error | ^~~~~~~~~~~~~~~npm error ../cpp/opengpio.cpp:28:62: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 28 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error | gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:30:22: error: ‘line’ is not capturednpm error 30 | bool value = line.get_value();npm error | ^~~~npm error ../cpp/opengpio.cpp:28:66: note: the lambda has no capture-defaultnpm error 28 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^npm error ../cpp/opengpio.cpp:28:62: note: ‘<typeprefixerror>line’ declared herenpm error 28 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:34:52: error: ‘line’ is not capturednpm error 34 | { line.release(); });npm error | ^~~~npm error ../cpp/opengpio.cpp:33:67: note: the lambda has no capture-defaultnpm error 33 | Napi::Function cleanup = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^npm error ../cpp/opengpio.cpp:28:62: note: ‘<typeprefixerror>line’ declared herenpm error 28 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error ../cpp/opengpio.cpp: In function ‘Napi::Array GpioOutput(const Napi::CallbackInfo&)’:npm error ../cpp/opengpio.cpp:49:17: error: expected primary-expression before ‘line’npm error 49 | gpiod::line line = chip.get_line(lineNumber);npm error | ^~~~npm error ../cpp/opengpio.cpp:54:9: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 54 | line.request({resourceName, gpiod::line_request::DIRECTION_OUTPUT, 0}, 1);npm error | ^~~~npm error | gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp:54:58: error: ‘DIRECTION_OUTPUT’ is not a member of ‘gpiod::line_request’npm error 54 | line.request({resourceName, gpiod::line_request::DIRECTION_OUTPUT, 0}, 1);npm error | ^~~~~~~~~~~~~~~~npm error ../cpp/opengpio.cpp:63:62: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 63 | Napi::Function setter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error | gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:66:9: error: ‘line’ is not capturednpm error 66 | line.set_value(value); });npm error | ^~~~npm error ../cpp/opengpio.cpp:63:66: note: the lambda has no capture-defaultnpm error 63 | Napi::Function setter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^npm error ../cpp/opengpio.cpp:63:62: note: ‘<typeprefixerror>line’ declared herenpm error 63 | Napi::Function setter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:69:52: error: ‘line’ is not capturednpm error 69 | { line.release(); });npm error | ^~~~npm error ../cpp/opengpio.cpp:68:67: note: the lambda has no capture-defaultnpm error 68 | Napi::Function cleanup = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^npm error ../cpp/opengpio.cpp:63:62: note: ‘<typeprefixerror>line’ declared herenpm error 63 | Napi::Function setter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error ../cpp/opengpio.cpp: At global scope:npm error ../cpp/opengpio.cpp:81:12: error: ‘line’ in namespace ‘gpiod’ does not name a typenpm error 81 | gpiod::line line;npm error | ^~~~npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp: In function ‘Napi::Array GpioWatch(const Napi::CallbackInfo&)’:npm error ../cpp/opengpio.cpp:92:17: error: expected primary-expression before ‘line’npm error 92 | gpiod::line line = chip.get_line(lineNumber);npm error | ^~~~npm error ../cpp/opengpio.cpp:100:9: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 100 | line.request({resourceName, gpiod::line_request::EVENT_BOTH_EDGES, 0}, 0);npm error | ^~~~npm error | gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp:100:58: error: ‘EVENT_BOTH_EDGES’ is not a member of ‘gpiod::line_request’npm error 100 | line.request({resourceName, gpiod::line_request::EVENT_BOTH_EDGES, 0}, 0);npm error | ^~~~~~~~~~~~~~~~npm error ../cpp/opengpio.cpp:109:62: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 109 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error | gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:111:22: error: ‘line’ is not capturednpm error 111 | bool value = line.get_value();npm error | ^~~~npm error ../cpp/opengpio.cpp:109:66: note: the lambda has no capture-defaultnpm error 109 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^npm error ../cpp/opengpio.cpp:109:62: note: ‘<typeprefixerror>line’ declared herenpm error 109 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error ../cpp/opengpio.cpp: In function ‘Napi::Array GpioWatch(const Napi::CallbackInfo&)’:npm error ../cpp/opengpio.cpp:115:11: error: ‘struct WatchContext’ has no member named ‘line’npm error 115 | data->line = line;npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:127:25: error: expected primary-expression before ‘line’npm error 127 | gpiod::line line = data->line;npm error | ^~~~npm error ../cpp/opengpio.cpp:131:33: error: ‘line’ is not capturednpm error 131 | bool hasEvent = line.event_wait(chrono::milliseconds(1));npm error | ^~~~npm error ../cpp/opengpio.cpp:124:10: note: the lambda has no capture-defaultnpm error 124 | [](uv_work_t *req)npm error | ^npm error ../cpp/opengpio.cpp:109:62: note: ‘<typeprefixerror>line’ declared herenpm error 109 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error ../cpp/opengpio.cpp:134:28: error: ‘line_event’ is not a member of ‘gpiod’; did you mean ‘info_event’?npm error 134 | gpiod::line_event event = line.event_read();npm error | ^~~~~~~~~~npm error | info_eventnpm error ../cpp/opengpio.cpp:135:34: error: ‘event’ was not declared in this scope; did you mean ‘servent’?npm error 135 | bool value = event.event_type == gpiod::line_event::RISING_EDGE ? true : false;npm error | ^~~~~npm error | serventnpm error ../cpp/opengpio.cpp:135:61: error: ‘gpiod::line_event’ has not been declarednpm error 135 | bool value = event.event_type == gpiod::line_event::RISING_EDGE ? true : false;npm error | ^~~~~~~~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:147:19: error: ‘struct WatchContext’ has no member named ‘line’npm error 147 | data->line.release();npm error | ^~~~npm error ../cpp/opengpio.cpp: At global scope:npm error ../cpp/opengpio.cpp:168:12: error: ‘line’ in namespace ‘gpiod’ does not name a typenpm error 168 | gpiod::line line;npm error | ^~~~npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp: In function ‘Napi::Array GpioPwm(const Napi::CallbackInfo&)’:npm error ../cpp/opengpio.cpp:196:17: error: expected primary-expression before ‘line’npm error 196 | gpiod::line line = chip.get_line(lineNumber);npm error | ^~~~npm error ../cpp/opengpio.cpp:201:9: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 201 | line.request({resourceName, gpiod::line_request::DIRECTION_OUTPUT, 0}, 1);npm error | ^~~~npm error | gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp:201:58: error: ‘DIRECTION_OUTPUT’ is not a member of ‘gpiod::line_request’npm error 201 | line.request({resourceName, gpiod::line_request::DIRECTION_OUTPUT, 0}, 1);npm error | ^~~~~~~~~~~~~~~~npm error ../cpp/opengpio.cpp:213:11: error: ‘struct PwmContext’ has no member named ‘line’npm error 213 | data->line = line;npm error | ^~~~npm error ../cpp/opengpio.cpp:213:18: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 213 | data->line = line;npm error | ^~~~npm error | gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:224:25: error: expected primary-expression before ‘line’npm error 224 | gpiod::line line = data->line;npm error | ^~~~npm error ../cpp/opengpio.cpp:264:17: error: ‘line’ is not capturednpm error 264 | line.set_value(true);npm error | ^~~~npm error ../cpp/opengpio.cpp:221:10: note: the lambda has no capture-defaultnpm error 221 | [](uv_work_t *req)npm error | ^npm error ../cpp/opengpio.cpp:213:18: note: ‘<typeprefixerror>line’ declared herenpm error 213 | data->line = line;npm error | ^~~~npm error ../cpp/opengpio.cpp:278:17: error: ‘line’ is not capturednpm error 278 | line.set_value(false);npm error | ^~~~npm error ../cpp/opengpio.cpp:221:10: note: the lambda has no capture-defaultnpm error 221 | [](uv_work_t *req)npm error | ^npm error ../cpp/opengpio.cpp:213:18: note: ‘<typeprefixerror>line’ declared herenpm error 213 | data->line = line;npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:327:25: error: expected primary-expression before ‘line’npm error 327 | gpiod::line line = data->line;npm error | ^~~~npm error ../cpp/opengpio.cpp:328:13: error: ‘line’ is not capturednpm error 328 | line.release();npm error | ^~~~npm error ../cpp/opengpio.cpp:324:10: note: the lambda has no capture-defaultnpm error 324 | [](uv_work_t *req, int status)npm error | ^npm error ../cpp/opengpio.cpp:213:18: note: ‘<typeprefixerror>line’ declared herenpm error 213 | data->line = line;npm error | ^~~~npm error make: *** [opengpio.target.mk:108: Release/obj.target/opengpio/cpp/opengpio.o] Error 1npm error gyp ERR! build error npm error gyp ERR! stack Error: `make` failed with exit code: 2npm error gyp ERR! stack at ChildProcess.onExit (/opt/iobroker/node_modules/node-gyp/lib/build.js:194:23)npm error gyp ERR! stack at ChildProcess.emit (node:events:519:28)npm error gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:293:12)npm error gyp ERR! System Linux 6.12.47+rpt-rpi-v8npm error gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild"npm error gyp ERR! cwd /opt/iobroker/node_modules/opengpionpm error gyp ERR! node -v v22.21.0npm error gyp ERR! node-gyp -v v8.4.1npm error gyp ERR! not oknpm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-12-31T13_02_43_012Z-debug-0.log
                  host.raspberrypi
                  	2025-12-31 14:02:42.780	info	iobroker Installing iobroker.rpi2@2.4.0... (System call)
                  host.raspberrypi
                  	2025-12-31 14:02:42.778	info	iobroker NPM version: 10.9.4
                  host.raspberrypi
                  	2025-12-31 14:02:39.067	info	iobroker add rpi2 --host raspberrypi
                  host.raspberrypi
                  	2025-12-31 14:02:14.259	info	iobroker exit 25
                  host.raspberrypi
                  	2025-12-31 14:02:13.187	error	iobroker host.raspberrypi Cannot install iobroker.rpi2@2.4.0: 1
                  
                  Thomas BraunT 1 Antwort Letzte Antwort
                  0
                  • M Mark

                    @Thomas-Braun
                    hab ich gemacht.

                    host.raspberrypi
                    	2025-12-31 14:03:00.697	info	iobroker exit 25
                    host.raspberrypi
                    	2025-12-31 14:02:59.649	error	iobroker host.raspberrypi Cannot install iobroker.rpi2@2.4.0: 1
                    host.raspberrypi
                    	2025-12-31 14:02:59.645	error	iobroker npm error code 1npm error path /opt/iobroker/node_modules/opengpionpm error command failednpm error command sh -c node-gyp rebuildnpm error make: Entering directory '/opt/iobroker/node_modules/opengpio/build'npm error CXX(target) Release/obj.target/opengpio/cpp/opengpio.onpm error make: Leaving directory '/opt/iobroker/node_modules/opengpio/build'npm error (node:10247) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.npm error (Use `node --trace-deprecation ...` to show where the warning was created)npm error ../cpp/opengpio.cpp: In function ‘Napi::Array GpioInput(const Napi::CallbackInfo&)’:npm error ../cpp/opengpio.cpp:14:17: error: expected primary-expression before ‘line’npm error 14 | gpiod::line line = chip.get_line(lineNumber);npm error | ^~~~npm error ../cpp/opengpio.cpp:19:9: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 19 | line.request({resourceName, gpiod::line_request::DIRECTION_INPUT, 0});npm error | ^~~~npm error | gpiod::linenpm error In file included from /usr/include/gpiodcxx/chip.hpp:21,npm error from /usr/include/gpiod.hpp:27,npm error from ../cpp/opengpio.cpp:3:npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp:19:58: error: ‘DIRECTION_INPUT’ is not a member of ‘gpiod::line_request’npm error 19 | line.request({resourceName, gpiod::line_request::DIRECTION_INPUT, 0});npm error | ^~~~~~~~~~~~~~~npm error ../cpp/opengpio.cpp:28:62: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 28 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error | gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:30:22: error: ‘line’ is not capturednpm error 30 | bool value = line.get_value();npm error | ^~~~npm error ../cpp/opengpio.cpp:28:66: note: the lambda has no capture-defaultnpm error 28 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^npm error ../cpp/opengpio.cpp:28:62: note: ‘<typeprefixerror>line’ declared herenpm error 28 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:34:52: error: ‘line’ is not capturednpm error 34 | { line.release(); });npm error | ^~~~npm error ../cpp/opengpio.cpp:33:67: note: the lambda has no capture-defaultnpm error 33 | Napi::Function cleanup = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^npm error ../cpp/opengpio.cpp:28:62: note: ‘<typeprefixerror>line’ declared herenpm error 28 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error ../cpp/opengpio.cpp: In function ‘Napi::Array GpioOutput(const Napi::CallbackInfo&)’:npm error ../cpp/opengpio.cpp:49:17: error: expected primary-expression before ‘line’npm error 49 | gpiod::line line = chip.get_line(lineNumber);npm error | ^~~~npm error ../cpp/opengpio.cpp:54:9: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 54 | line.request({resourceName, gpiod::line_request::DIRECTION_OUTPUT, 0}, 1);npm error | ^~~~npm error | gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp:54:58: error: ‘DIRECTION_OUTPUT’ is not a member of ‘gpiod::line_request’npm error 54 | line.request({resourceName, gpiod::line_request::DIRECTION_OUTPUT, 0}, 1);npm error | ^~~~~~~~~~~~~~~~npm error ../cpp/opengpio.cpp:63:62: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 63 | Napi::Function setter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error | gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:66:9: error: ‘line’ is not capturednpm error 66 | line.set_value(value); });npm error | ^~~~npm error ../cpp/opengpio.cpp:63:66: note: the lambda has no capture-defaultnpm error 63 | Napi::Function setter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^npm error ../cpp/opengpio.cpp:63:62: note: ‘<typeprefixerror>line’ declared herenpm error 63 | Napi::Function setter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:69:52: error: ‘line’ is not capturednpm error 69 | { line.release(); });npm error | ^~~~npm error ../cpp/opengpio.cpp:68:67: note: the lambda has no capture-defaultnpm error 68 | Napi::Function cleanup = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^npm error ../cpp/opengpio.cpp:63:62: note: ‘<typeprefixerror>line’ declared herenpm error 63 | Napi::Function setter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error ../cpp/opengpio.cpp: At global scope:npm error ../cpp/opengpio.cpp:81:12: error: ‘line’ in namespace ‘gpiod’ does not name a typenpm error 81 | gpiod::line line;npm error | ^~~~npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp: In function ‘Napi::Array GpioWatch(const Napi::CallbackInfo&)’:npm error ../cpp/opengpio.cpp:92:17: error: expected primary-expression before ‘line’npm error 92 | gpiod::line line = chip.get_line(lineNumber);npm error | ^~~~npm error ../cpp/opengpio.cpp:100:9: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 100 | line.request({resourceName, gpiod::line_request::EVENT_BOTH_EDGES, 0}, 0);npm error | ^~~~npm error | gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp:100:58: error: ‘EVENT_BOTH_EDGES’ is not a member of ‘gpiod::line_request’npm error 100 | line.request({resourceName, gpiod::line_request::EVENT_BOTH_EDGES, 0}, 0);npm error | ^~~~~~~~~~~~~~~~npm error ../cpp/opengpio.cpp:109:62: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 109 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error | gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:111:22: error: ‘line’ is not capturednpm error 111 | bool value = line.get_value();npm error | ^~~~npm error ../cpp/opengpio.cpp:109:66: note: the lambda has no capture-defaultnpm error 109 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^npm error ../cpp/opengpio.cpp:109:62: note: ‘<typeprefixerror>line’ declared herenpm error 109 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error ../cpp/opengpio.cpp: In function ‘Napi::Array GpioWatch(const Napi::CallbackInfo&)’:npm error ../cpp/opengpio.cpp:115:11: error: ‘struct WatchContext’ has no member named ‘line’npm error 115 | data->line = line;npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:127:25: error: expected primary-expression before ‘line’npm error 127 | gpiod::line line = data->line;npm error | ^~~~npm error ../cpp/opengpio.cpp:131:33: error: ‘line’ is not capturednpm error 131 | bool hasEvent = line.event_wait(chrono::milliseconds(1));npm error | ^~~~npm error ../cpp/opengpio.cpp:124:10: note: the lambda has no capture-defaultnpm error 124 | [](uv_work_t *req)npm error | ^npm error ../cpp/opengpio.cpp:109:62: note: ‘<typeprefixerror>line’ declared herenpm error 109 | Napi::Function getter = Napi::Function::New(info.Env(), [line](const Napi::CallbackInfo &info)npm error | ^~~~npm error ../cpp/opengpio.cpp:134:28: error: ‘line_event’ is not a member of ‘gpiod’; did you mean ‘info_event’?npm error 134 | gpiod::line_event event = line.event_read();npm error | ^~~~~~~~~~npm error | info_eventnpm error ../cpp/opengpio.cpp:135:34: error: ‘event’ was not declared in this scope; did you mean ‘servent’?npm error 135 | bool value = event.event_type == gpiod::line_event::RISING_EDGE ? true : false;npm error | ^~~~~npm error | serventnpm error ../cpp/opengpio.cpp:135:61: error: ‘gpiod::line_event’ has not been declarednpm error 135 | bool value = event.event_type == gpiod::line_event::RISING_EDGE ? true : false;npm error | ^~~~~~~~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:147:19: error: ‘struct WatchContext’ has no member named ‘line’npm error 147 | data->line.release();npm error | ^~~~npm error ../cpp/opengpio.cpp: At global scope:npm error ../cpp/opengpio.cpp:168:12: error: ‘line’ in namespace ‘gpiod’ does not name a typenpm error 168 | gpiod::line line;npm error | ^~~~npm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp: In function ‘Napi::Array GpioPwm(const Napi::CallbackInfo&)’:npm error ../cpp/opengpio.cpp:196:17: error: expected primary-expression before ‘line’npm error 196 | gpiod::line line = chip.get_line(lineNumber);npm error | ^~~~npm error ../cpp/opengpio.cpp:201:9: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 201 | line.request({resourceName, gpiod::line_request::DIRECTION_OUTPUT, 0}, 1);npm error | ^~~~npm error | gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp:201:58: error: ‘DIRECTION_OUTPUT’ is not a member of ‘gpiod::line_request’npm error 201 | line.request({resourceName, gpiod::line_request::DIRECTION_OUTPUT, 0}, 1);npm error | ^~~~~~~~~~~~~~~~npm error ../cpp/opengpio.cpp:213:11: error: ‘struct PwmContext’ has no member named ‘line’npm error 213 | data->line = line;npm error | ^~~~npm error ../cpp/opengpio.cpp:213:18: error: ‘line’ was not declared in this scope; did you mean ‘gpiod::line’?npm error 213 | data->line = line;npm error | ^~~~npm error | gpiod::linenpm error /usr/include/gpiodcxx/line.hpp:24:11: note: ‘gpiod::line’ declared herenpm error 24 | namespace line {npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:224:25: error: expected primary-expression before ‘line’npm error 224 | gpiod::line line = data->line;npm error | ^~~~npm error ../cpp/opengpio.cpp:264:17: error: ‘line’ is not capturednpm error 264 | line.set_value(true);npm error | ^~~~npm error ../cpp/opengpio.cpp:221:10: note: the lambda has no capture-defaultnpm error 221 | [](uv_work_t *req)npm error | ^npm error ../cpp/opengpio.cpp:213:18: note: ‘<typeprefixerror>line’ declared herenpm error 213 | data->line = line;npm error | ^~~~npm error ../cpp/opengpio.cpp:278:17: error: ‘line’ is not capturednpm error 278 | line.set_value(false);npm error | ^~~~npm error ../cpp/opengpio.cpp:221:10: note: the lambda has no capture-defaultnpm error 221 | [](uv_work_t *req)npm error | ^npm error ../cpp/opengpio.cpp:213:18: note: ‘<typeprefixerror>line’ declared herenpm error 213 | data->line = line;npm error | ^~~~npm error ../cpp/opengpio.cpp: In lambda function:npm error ../cpp/opengpio.cpp:327:25: error: expected primary-expression before ‘line’npm error 327 | gpiod::line line = data->line;npm error | ^~~~npm error ../cpp/opengpio.cpp:328:13: error: ‘line’ is not capturednpm error 328 | line.release();npm error | ^~~~npm error ../cpp/opengpio.cpp:324:10: note: the lambda has no capture-defaultnpm error 324 | [](uv_work_t *req, int status)npm error | ^npm error ../cpp/opengpio.cpp:213:18: note: ‘<typeprefixerror>line’ declared herenpm error 213 | data->line = line;npm error | ^~~~npm error make: *** [opengpio.target.mk:108: Release/obj.target/opengpio/cpp/opengpio.o] Error 1npm error gyp ERR! build error npm error gyp ERR! stack Error: `make` failed with exit code: 2npm error gyp ERR! stack at ChildProcess.onExit (/opt/iobroker/node_modules/node-gyp/lib/build.js:194:23)npm error gyp ERR! stack at ChildProcess.emit (node:events:519:28)npm error gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:293:12)npm error gyp ERR! System Linux 6.12.47+rpt-rpi-v8npm error gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild"npm error gyp ERR! cwd /opt/iobroker/node_modules/opengpionpm error gyp ERR! node -v v22.21.0npm error gyp ERR! node-gyp -v v8.4.1npm error gyp ERR! not oknpm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-12-31T13_02_43_012Z-debug-0.log
                    host.raspberrypi
                    	2025-12-31 14:02:42.780	info	iobroker Installing iobroker.rpi2@2.4.0... (System call)
                    host.raspberrypi
                    	2025-12-31 14:02:42.778	info	iobroker NPM version: 10.9.4
                    host.raspberrypi
                    	2025-12-31 14:02:39.067	info	iobroker add rpi2 --host raspberrypi
                    host.raspberrypi
                    	2025-12-31 14:02:14.259	info	iobroker exit 25
                    host.raspberrypi
                    	2025-12-31 14:02:13.187	error	iobroker host.raspberrypi Cannot install iobroker.rpi2@2.4.0: 1
                    
                    Thomas BraunT Online
                    Thomas BraunT Online
                    Thomas Braun
                    Most Active
                    schrieb am zuletzt editiert von
                    #23

                    @Mark sagte in Keine Updates trotz Exit Code 0:

                    iobroker.rpi2@2.4.0

                    Zu alt. Da muss eine Version 3 (z. Zt. noch Beta) installiert werden.

                    Linux-Werkzeugkasten:
                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                    NodeJS Fixer Skript:
                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                    1 Antwort Letzte Antwort
                    0
                    • M Offline
                      M Offline
                      Mark
                      schrieb am zuletzt editiert von
                      #24

                      Danke. Hab den Adapter gelöscht (hab ihn sowieso nicht mehr benutzt)
                      Der Rest läuft jetzt.

                      1 Antwort Letzte Antwort
                      0
                      Antworten
                      • In einem neuen Thema antworten
                      Anmelden zum Antworten
                      • Älteste zuerst
                      • Neuste zuerst
                      • Meiste Stimmen


                      Support us

                      ioBroker
                      Community Adapters
                      Donate

                      937

                      Online

                      32.6k

                      Benutzer

                      81.9k

                      Themen

                      1.3m

                      Beiträge
                      Community
                      Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                      ioBroker Community 2014-2025
                      logo
                      • Anmelden

                      • Du hast noch kein Konto? Registrieren

                      • Anmelden oder registrieren, um zu suchen
                      • Erster Beitrag
                        Letzter Beitrag
                      0
                      • Home
                      • Aktuell
                      • Tags
                      • Ungelesen 0
                      • Kategorien
                      • Unreplied
                      • Beliebt
                      • GitHub
                      • Docu
                      • Hilfe