Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. ioBroker auf neuer Maschine aufgesetzt und Adapter Probleme

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    ioBroker auf neuer Maschine aufgesetzt und Adapter Probleme

    This topic has been deleted. Only users with topic management privileges can see it.
    • crunchip
      crunchip Forum Testing Most Active @Gismoh last edited by crunchip

      @gismoh in der admin Instanz...IP- Adresse
      sollte eigentlich auf 0.0.0.0 stehen

      G 2 Replies Last reply Reply Quote 1
      • G
        Gismoh @crunchip last edited by

        ioBroker wurde mit dem frischen Backup gefüttert, nun mit :8081 kein Zugriff.
        Dann update & upgrade abgesetzt, danach noch den fix.
        Kein Zugriff aufs Interface.

        G 1 Reply Last reply Reply Quote 0
        • G
          Gismoh @Gismoh last edited by

          iobroker list instances
          

          liefert:

          root@ioBrokerVM:~# iobroker list instances
          + system.adapter.admin.0                  : admin                 : ioBrokerVM                               -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
            system.adapter.alarm.0                  : alarm                 : ioBrokerVM                               - disabled
            system.adapter.alexa2.0                 : alexa2                : ioBrokerVM                               - disabled
          + system.adapter.backitup.0               : backitup              : ioBrokerVM                               -  enabled
            system.adapter.ble.0                    : ble                   : ioBrokerVM                               - disabled
            system.adapter.daikin-cloud.0           : daikin-cloud          : ioBrokerVM                               - disabled
            system.adapter.daswetter.0              : daswetter             : ioBrokerVM                               - disabled
            system.adapter.deconz.0                 : deconz                : ioBrokerVM                               - disabled, port: 8090
            system.adapter.device-reminder.0        : device-reminder       : ioBrokerVM                               - disabled
            system.adapter.discovery.0              : discovery             : ioBrokerVM                               - disabled
            system.adapter.ecovacs-deebot.0         : ecovacs-deebot        : ioBrokerVM                               - disabled
            system.adapter.enigma2.0                : enigma2               : ioBrokerVM                               - disabled
            system.adapter.fb-checkpresence.0       : fb-checkpresence      : ioBrokerVM                               - disabled
            system.adapter.fiat.0                   : fiat                  : ioBrokerVM                               - disabled
            system.adapter.flot.0                   : flot                  : ioBrokerVM                               - disabled
            system.adapter.fullybrowser.0           : fullybrowser          : ioBrokerVM                               - disabled
            system.adapter.go-e.0                   : go-e                  : ioBrokerVM                               - disabled
            system.adapter.go-e.1                   : go-e                  : ioBrokerVM                               - disabled
            system.adapter.ham.0                    : ham                   : ioBrokerVM                               - disabled
            system.adapter.harmony.0                : harmony               : ioBrokerVM                               - disabled
            system.adapter.hue-extended.0           : hue-extended          : ioBrokerVM                               - disabled
            system.adapter.hue.0                    : hue                   : ioBrokerVM                               - disabled, port: 443
            system.adapter.icons-mfd-svg.0          : icons-mfd-svg         : ioBrokerVM                               - disabled
            system.adapter.influxdb.0               : influxdb              : ioBrokerVM                               - disabled, port: 8086
            system.adapter.info.0                   : info                  : ioBrokerVM                               - disabled
            system.adapter.iot.0                    : iot                   : ioBrokerVM                               - disabled
            system.adapter.javascript.0             : javascript            : ioBrokerVM                               - disabled
            system.adapter.meross.0                 : meross                : ioBrokerVM                               - disabled
            system.adapter.mihome-vacuum.0          : mihome-vacuum         : ioBrokerVM                               - disabled, port: 54321
            system.adapter.mihome-vacuum.2          : mihome-vacuum         : ioBrokerVM                               - disabled, port: 54321
            system.adapter.mobile.0                 : mobile                : ioBrokerVM                               - disabled
            system.adapter.openweathermap.0         : openweathermap        : ioBrokerVM                               - disabled
            system.adapter.pi-hole.0                : pi-hole               : ioBrokerVM                               - disabled
            system.adapter.pushover.0               : pushover              : ioBrokerVM                               - disabled
            system.adapter.pvforecast.0             : pvforecast            : ioBrokerVM                               - disabled
            system.adapter.radar2.0                 : radar2                : ioBrokerVM                               - disabled
            system.adapter.shelly.0                 : shelly                : ioBrokerVM                               - disabled, port: 1882, bind: 0.0.0.0
            system.adapter.shelly.1                 : shelly                : ioBrokerVM                               - disabled, port: 1882, bind: 0.0.0.0
            system.adapter.smartcontrol.0           : smartcontrol          : ioBrokerVM                               - disabled
            system.adapter.socketio.0               : socketio              : ioBrokerVM                               - disabled, port: 8084, bind: 0.0.0.0, run as: admin
            system.adapter.sonoff.0                 : sonoff                : ioBrokerVM                               - disabled, port: 1883, bind: 0.0.0.0
            system.adapter.tado.0                   : tado                  : ioBrokerVM                               - disabled
            system.adapter.telegram.0               : telegram              : ioBrokerVM                               - disabled, port: 8443, bind: 0.0.0.0
            system.adapter.tibberlink.0             : tibberlink            : ioBrokerVM                               - disabled
            system.adapter.vis-hqwidgets.0          : vis-hqwidgets         : ioBrokerVM                               - disabled
            system.adapter.vis-jqui-mfd.0           : vis-jqui-mfd          : ioBrokerVM                               - disabled
            system.adapter.vis-material-advanced.0  : vis-material-advanced : ioBrokerVM                               - disabled
            system.adapter.vis-metro.0              : vis-metro             : ioBrokerVM                               - disabled
            system.adapter.vis-timeandweather.0     : vis-timeandweather    : ioBrokerVM                               - disabled
            system.adapter.vis.0                    : vis                   : ioBrokerVM                               - disabled
            system.adapter.weatherunderground.0     : weatherunderground    : ioBrokerVM                               - disabled
            system.adapter.web.0                    : web                   : ioBrokerVM                               - disabled, port: 8082, bind: 0.0.0.0, run as: admin
            system.adapter.worx.0                   : worx                  : ioBrokerVM                               - disabled
          
          + instance is alive
          
          G 1 Reply Last reply Reply Quote 0
          • G
            Gismoh @Gismoh last edited by Gismoh

            Ah, mit https:// komme ich drauf 😉
            vorher war ohne .... argh (schäm)
            Mal sehen, was nun die anderen Adapter sagen.

            G 1 Reply Last reply Reply Quote 0
            • G
              Gismoh @Gismoh last edited by Gismoh

              sehe bereits, das einige adapter laufen, aber manche auch nicht (habe noch nicht alle ausprobiert).
              ble ist z.B. rot:
              verbunden mit host = rot
              lebenszeichen = rot
              Verbunden mit gerät oder dienst = grün.

              Komme nicht in die Einstellungen des Adapters rein, es wird 404, File Index_m.html not found angezeigt.

              bei VIS, ebenso 404.

              Werde nun mal die Konfiguration über Backitup einspielen, mal sehen ob es daran liegt. (mache aber vorher eine Sicherung der VM)

              crunchip 1 Reply Last reply Reply Quote 0
              • G
                Gismoh @crunchip last edited by

                @crunchip
                Leider auch keine Änderung, außer das ich nun ohne zweiten admin adapter reinkomme (mit https) ansonsten keine Änderung .

                1 Reply Last reply Reply Quote 0
                • crunchip
                  crunchip Forum Testing Most Active @Gismoh last edited by

                  @gismoh sagte in ioBroker auf neuer Maschine aufgesetzt und Adapter Probleme:

                  Komme nicht in die Einstellungen des Adapters rein, es wird 404, File Index_m.html not found angezeigt.
                  bei VIS, ebenso 404.

                  wenn du das backup einspielst, musst du schon ne weile warten, alles Adapter müssen erst wieder neu gebaut werden.

                  vis muss vor dem backup einspielen, schon manuell installiert werden

                  G 1 Reply Last reply Reply Quote 0
                  • G
                    Gismoh @crunchip last edited by Gismoh

                    @crunchip
                    Hatte die Auslastung beobachtet, die VM war quasi im Ruhezustand, bevor ich einen Neustart gemacht hatte. Im Backitup adapter stand schon lange , das das Backup erfolgreich war.

                    Sieht so aus, wie beim letzen mal, wo ich iobroker über Nacht zeitgegeben hatte.

                    Vis muss ich vorher einspielen? dachte das macht der Backitup adapter.

                    Muss ich dann später nochmal erneut machen, aber solange ich nicht weis wie ich den ble nach dem "restore" wieder zum laufen bringe, dürfte das nun auch (noch) nichts bringen.

                    Hätte nicht gedacht das es so kompliziert ist, die Werte/Daten zu übertragen, war schon fast ne Woche selber dran, bevor ich hier nachfragte.
                    Möchte nur ungern alle bisherigen Einstellungen/daten von vorher verlieren, hoffe das ich noch irgendwie diese in die neue Installation übertragen kann.

                    Gibt es denn evtl. noch einen anderen Adapter zum Sichern/Einspielen als den Backitup Adapter, welcher zu empfehlen ist ? (bin langsam verzweifelt)

                    G crunchip 2 Replies Last reply Reply Quote 0
                    • G
                      Gismoh @Gismoh last edited by Gismoh

                      Nachtrag: Vis klappte mit dem bisherigen "projekt", habe es nur neu installiert und alles ist da - muss also scheinbar nicht vorher bereits manuell installiert werden. Scheint auf dem ersten Blick alles da zu sein.

                      1 Reply Last reply Reply Quote 0
                      • crunchip
                        crunchip Forum Testing Most Active @Gismoh last edited by crunchip

                        @gismoh sagte in ioBroker auf neuer Maschine aufgesetzt und Adapter Probleme:

                        Vis muss ich vorher einspielen? dachte das macht der Backitup adapter.

                        theoretisch ja, jedoch seit geraumer Zeit gibt es einen bug der noch nicht gefixt werden konnte, daher diese Vorgehensweise

                        @gismoh sagte in ioBroker auf neuer Maschine aufgesetzt und Adapter Probleme:

                        Hatte die Auslastung beobachtet, die VM war quasi im Ruhezustand

                        besser ins log sehen

                        @gismoh sagte in ioBroker auf neuer Maschine aufgesetzt und Adapter Probleme:

                        Im Backitup adapter stand schon lange , das das Backup erfolgreich war.

                        mit dem backup ja, aber dann beginnt ja erst die eigentliche Arbeit

                        @gismoh sagte in ioBroker auf neuer Maschine aufgesetzt und Adapter Probleme:

                        Muss ich dann später nochmal erneut machen, aber solange ich nicht weis wie ich den ble nach dem "restore" wieder zum laufen bringe, dürfte das nun auch (noch) nichts bringen.

                        der sollte bei Ordentlicher Installation eigentlich laufen, falls nicht, sollte es Meldungen im Log geben(Beim Adapter neu bauen), sollte es nicht eigenständig klappen, kann man manuell nachhelfen

                        @gismoh sagte in ioBroker auf neuer Maschine aufgesetzt und Adapter Probleme:

                        Nachtrag: Vis klappte mit dem bisherigen "projekt", habe es nur neu installiert und alles ist da - muss also scheinbar nicht vorher bereits manuell installiert werden.

                        dann wärst du jetzt seit langem der Erste bei dem es so klappt

                        G 2 Replies Last reply Reply Quote 0
                        • G
                          Gismoh @crunchip last edited by

                          @crunchip
                          Vis, siehe oben - hat geklappt.

                          Aber ble klappt weiterhin nicht.

                          crunchip 1 Reply Last reply Reply Quote 0
                          • crunchip
                            crunchip Forum Testing Most Active @Gismoh last edited by crunchip

                            @gismoh sagte in ioBroker auf neuer Maschine aufgesetzt und Adapter Probleme:

                            Vis, siehe oben - hat geklappt.

                            liegt vllt an

                            @gismoh sagte in ioBroker auf neuer Maschine aufgesetzt und Adapter Probleme:

                            habe diesmal alle Instanzen außer "admin" und "backitup" auf der Zielmaschine vorher deinstalliert.

                            @gismoh sagte in ioBroker auf neuer Maschine aufgesetzt und Adapter Probleme:

                            Aber ble klappt weiterhin nicht.

                            dann muss es auch eine Meldung im Log geben beim restore

                            G 1 Reply Last reply Reply Quote 0
                            • G
                              Gismoh @crunchip last edited by

                              @crunchip said in ioBroker auf neuer Maschine aufgesetzt und Adapter Probleme:

                              dann wärst du jetzt seit langem der Erste bei dem es so klappt

                              Screenshot 2023-11-08 004654.png

                              Vielleicht muss man auch mal Glück haben , habe nun zwar noch nicht mit gearbeitet, sieht aber auf dem ersten Blick für mich ok aus.

                              crunchip 1 Reply Last reply Reply Quote 0
                              • crunchip
                                crunchip Forum Testing Most Active @Gismoh last edited by crunchip

                                @gismoh sagte in ioBroker auf neuer Maschine aufgesetzt und Adapter Probleme:

                                Vielleicht muss man auch mal Glück haben

                                ne, wie gerade schon geschrieben, du hattest keine frische Installation, sondern die Adapter gelöscht(iobroker leer gemacht)

                                @gismoh sagte in ioBroker auf neuer Maschine aufgesetzt und Adapter Probleme:

                                ble klappt weiterhin nicht.

                                iob del ble
                                

                                danach

                                iob add ble --debug
                                
                                G 1 Reply Last reply Reply Quote 0
                                • G
                                  Gismoh @crunchip last edited by

                                  @crunchip said in ioBroker auf neuer Maschine aufgesetzt und Adapter Probleme:

                                  dann muss es auch eine Meldung im Log geben beim restore

                                  im Backitup adapter wurde angezeigt das der restore erfolgreich war, was weiters habe ich leider nicht gesehen - den Inhalt des Fensters (also komplette meldung) konnte ich nicht kopieren.

                                  crunchip 1 Reply Last reply Reply Quote 0
                                  • crunchip
                                    crunchip Forum Testing Most Active @Gismoh last edited by

                                    @gismoh na im log nachsehen, da wird jeder adapter neu gebaut nach dem erfolgreichen restore

                                    1 Reply Last reply Reply Quote 0
                                    • G
                                      Gismoh @crunchip last edited by

                                      @crunchip

                                      Delete adapter "ble"
                                      host.ioBrokerVM Counted 1 instances of ble
                                      host.ioBrokerVM Counted 1 meta of ble
                                      host.ioBrokerVM Counted 1 adapter for ble
                                      host.ioBrokerVM Counted 35 devices of ble
                                      host.ioBrokerVM Counted 37 channels of ble
                                      host.ioBrokerVM Counted 91 states of ble
                                      host.ioBrokerVM Counted 14 states of system.adapter.ble
                                      host.ioBrokerVM Counted 92 states (io.ble.*) from states
                                      host.ioBrokerVM Counted 13 states (system.adapter.ble.*) from states
                                      host.ioBrokerVM object ble deleted
                                      host.ioBrokerVM object ble.admin deleted
                                      host.ioBrokerVM Deleting 180 object(s).
                                      host.ioBrokerVM Deleting 105 state(s).
                                      Error deleting adapter ble from disk: Cannot find module 'iobroker.ble/io-package.json'
                                      Require stack:
                                      - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/setupInstall.js
                                      - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/setupUpgrade.js
                                      - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/index.js
                                      - /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js
                                      You might have to delete it yourself!
                                      
                                      root@ioBrokerVM:~# iob add ble --debug
                                      NPM version: 9.8.1
                                      Installing iobroker.ble@0.13.4... (System call)
                                      npm ERR! code 1
                                      npm ERR! path /opt/iobroker/node_modules/@abandonware/noble
                                      npm ERR! command failed
                                      npm ERR! command sh -c node-gyp-build
                                      npm ERR! gyp info it worked if it ends with ok
                                      npm ERR! gyp info using node-gyp@7.1.2
                                      npm ERR! gyp info using node@18.18.2 | linux | x64
                                      npm ERR! gyp info find Python using Python version 3.11.2 found at "/usr/bin/python3"
                                      npm ERR! (node:3048) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only.
                                      npm ERR! (Use `node --trace-deprecation ...` to show where the warning was created)
                                      npm ERR! gyp info spawn /usr/bin/python3
                                      npm ERR! gyp info spawn args [
                                      npm ERR! gyp info spawn args   '/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py',
                                      npm ERR! gyp info spawn args   'binding.gyp',
                                      npm ERR! gyp info spawn args   '-f',
                                      npm ERR! gyp info spawn args   'make',
                                      npm ERR! gyp info spawn args   '-I',
                                      npm ERR! gyp info spawn args   '/opt/iobroker/node_modules/@abandonware/noble/build/config.gypi',
                                      npm ERR! gyp info spawn args   '-I',
                                      npm ERR! gyp info spawn args   '/opt/iobroker/node_modules/node-gyp/addon.gypi',
                                      npm ERR! gyp info spawn args   '-I',
                                      npm ERR! gyp info spawn args   '/home/iobroker/.cache/node-gyp/18.18.2/include/node/common.gypi',
                                      npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
                                      npm ERR! gyp info spawn args   '-Dvisibility=default',
                                      npm ERR! gyp info spawn args   '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/18.18.2',
                                      npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/opt/iobroker/node_modules/node-gyp',
                                      npm ERR! gyp info spawn args   '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/18.18.2/<(target_arch)/node.lib',
                                      npm ERR! gyp info spawn args   '-Dmodule_root_dir=/opt/iobroker/node_modules/@abandonware/noble',
                                      npm ERR! gyp info spawn args   '-Dnode_engine=v8',
                                      npm ERR! gyp info spawn args   '--depth=.',
                                      npm ERR! gyp info spawn args   '--no-parallel',
                                      npm ERR! gyp info spawn args   '--generator-output',
                                      npm ERR! gyp info spawn args   'build',
                                      npm ERR! gyp info spawn args   '-Goutput_dir=.'
                                      npm ERR! gyp info spawn args ]
                                      npm ERR! Traceback (most recent call last):
                                      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py", line 51, in <module>
                                      npm ERR!     sys.exit(gyp.script_main())
                                      npm ERR!              ^^^^^^^^^^^^^^^^^
                                      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 670, in script_main
                                      npm ERR!     return main(sys.argv[1:])
                                      npm ERR!            ^^^^^^^^^^^^^^^^^^
                                      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 662, in main
                                      npm ERR!     return gyp_main(args)
                                      npm ERR!            ^^^^^^^^^^^^^^
                                      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 629, in gyp_main
                                      npm ERR!     [generator, flat_list, targets, data] = Load(
                                      npm ERR!                                             ^^^^^
                                      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 150, in Load
                                      npm ERR!     result = gyp.input.Load(
                                      npm ERR!              ^^^^^^^^^^^^^^^
                                      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 3021, in Load
                                      npm ERR!     LoadTargetBuildFile(
                                      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 411, in LoadTargetBuildFile
                                      npm ERR!     build_file_data = LoadOneBuildFile(
                                      npm ERR!                       ^^^^^^^^^^^^^^^^^
                                      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 239, in LoadOneBuildFile
                                      npm ERR!     build_file_contents = open(build_file_path, "rU").read()
                                      npm ERR!                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                      npm ERR! ValueError: invalid mode: 'rU' while trying to load binding.gyp
                                      npm ERR! gyp ERR! configure error 
                                      npm ERR! gyp ERR! stack Error: `gyp` failed with exit code: 1
                                      npm ERR! gyp ERR! stack     at ChildProcess.onCpExit (/opt/iobroker/node_modules/node-gyp/lib/configure.js:351:16)
                                      npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:517:28)
                                      npm ERR! gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:292:12)
                                      npm ERR! gyp ERR! System Linux 6.1.0-13-amd64
                                      npm ERR! gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                                      npm ERR! gyp ERR! cwd /opt/iobroker/node_modules/@abandonware/noble
                                      npm ERR! gyp ERR! node -v v18.18.2
                                      npm ERR! gyp ERR! node-gyp -v v7.1.2
                                      npm ERR! gyp ERR! not ok
                                      
                                      npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-11-07T23_56_22_185Z-debug-0.log
                                      npm ERR! code 1
                                      npm ERR! path /opt/iobroker/node_modules/@abandonware/noble
                                      npm ERR! command failed
                                      npm ERR! command sh -c node-gyp-build
                                      npm ERR! gyp info it worked if it ends with ok
                                      npm ERR! gyp info using node-gyp@7.1.2
                                      npm ERR! gyp info using node@18.18.2 | linux | x64
                                      npm ERR! gyp info find Python using Python version 3.11.2 found at "/usr/bin/python3"
                                      npm ERR! (node:3048) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only.
                                      npm ERR! (Use `node --trace-deprecation ...` to show where the warning was created)
                                      npm ERR! gyp info spawn /usr/bin/python3
                                      npm ERR! gyp info spawn args [
                                      npm ERR! gyp info spawn args   '/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py',
                                      npm ERR! gyp info spawn args   'binding.gyp',
                                      npm ERR! gyp info spawn args   '-f',
                                      npm ERR! gyp info spawn args   'make',
                                      npm ERR! gyp info spawn args   '-I',
                                      npm ERR! gyp info spawn args   '/opt/iobroker/node_modules/@abandonware/noble/build/config.gypi',
                                      npm ERR! gyp info spawn args   '-I',
                                      npm ERR! gyp info spawn args   '/opt/iobroker/node_modules/node-gyp/addon.gypi',
                                      npm ERR! gyp info spawn args   '-I',
                                      npm ERR! gyp info spawn args   '/home/iobroker/.cache/node-gyp/18.18.2/include/node/common.gypi',
                                      npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
                                      npm ERR! gyp info spawn args   '-Dvisibility=default',
                                      npm ERR! gyp info spawn args   '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/18.18.2',
                                      npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/opt/iobroker/node_modules/node-gyp',
                                      npm ERR! gyp info spawn args   '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/18.18.2/<(target_arch)/node.lib',
                                      npm ERR! gyp info spawn args   '-Dmodule_root_dir=/opt/iobroker/node_modules/@abandonware/noble',
                                      npm ERR! gyp info spawn args   '-Dnode_engine=v8',
                                      npm ERR! gyp info spawn args   '--depth=.',
                                      npm ERR! gyp info spawn args   '--no-parallel',
                                      npm ERR! gyp info spawn args   '--generator-output',
                                      npm ERR! gyp info spawn args   'build',
                                      npm ERR! gyp info spawn args   '-Goutput_dir=.'
                                      npm ERR! gyp info spawn args ]
                                      npm ERR! Traceback (most recent call last):
                                      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py", line 51, in <module>
                                      npm ERR!     sys.exit(gyp.script_main())
                                      npm ERR!              ^^^^^^^^^^^^^^^^^
                                      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 670, in script_main
                                      npm ERR!     return main(sys.argv[1:])
                                      npm ERR!            ^^^^^^^^^^^^^^^^^^
                                      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 662, in main
                                      npm ERR!     return gyp_main(args)
                                      npm ERR!            ^^^^^^^^^^^^^^
                                      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 629, in gyp_main
                                      npm ERR!     [generator, flat_list, targets, data] = Load(
                                      npm ERR!                                             ^^^^^
                                      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 150, in Load
                                      npm ERR!     result = gyp.input.Load(
                                      npm ERR!              ^^^^^^^^^^^^^^^
                                      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 3021, in Load
                                      npm ERR!     LoadTargetBuildFile(
                                      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 411, in LoadTargetBuildFile
                                      npm ERR!     build_file_data = LoadOneBuildFile(
                                      npm ERR!                       ^^^^^^^^^^^^^^^^^
                                      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 239, in LoadOneBuildFile
                                      npm ERR!     build_file_contents = open(build_file_path, "rU").read()
                                      npm ERR!                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                      npm ERR! ValueError: invalid mode: 'rU' while trying to load binding.gyp
                                      npm ERR! gyp ERR! configure error 
                                      npm ERR! gyp ERR! stack Error: `gyp` failed with exit code: 1
                                      npm ERR! gyp ERR! stack     at ChildProcess.onCpExit (/opt/iobroker/node_modules/node-gyp/lib/configure.js:351:16)
                                      npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:517:28)
                                      npm ERR! gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:292:12)
                                      npm ERR! gyp ERR! System Linux 6.1.0-13-amd64
                                      npm ERR! gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                                      npm ERR! gyp ERR! cwd /opt/iobroker/node_modules/@abandonware/noble
                                      npm ERR! gyp ERR! node -v v18.18.2
                                      npm ERR! gyp ERR! node-gyp -v v7.1.2
                                      npm ERR! gyp ERR! not ok
                                      
                                      npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-11-07T23_56_22_185Z-debug-0.log
                                      host.ioBrokerVM Cannot install iobroker.ble@0.13.4: 1
                                      root@ioBrokerVM:~# 
                                      
                                      crunchip 2 Replies Last reply Reply Quote 0
                                      • crunchip
                                        crunchip Forum Testing Most Active @Gismoh last edited by crunchip

                                        @gismoh sag ich doch, das ist genau der Fehler den ich oben im git issue gezeigt hab

                                        ich habe nun in
                                        /opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py
                                        die folgenden Zeile von
                                        build_file_contents = open(build_file_path, 'rU').read()
                                        in
                                        build_file_contents = open(build_file_path, 'r').read()
                                        geändert.
                                        

                                        siehe nodejs/node-gyp#2219 (comment)

                                        Brice1994 created this issue in nodejs/node-gyp

                                        closed ValueError: invalid mode: 'rU' while trying to load binding.gyp (Python 3.9 compatibility issue) #2219

                                        G 2 Replies Last reply Reply Quote 1
                                        • G
                                          Gismoh @crunchip last edited by

                                          @crunchip
                                          Okay, besten Dank!
                                          DOrt hatte ich bereits drübergeschaut, aber denke um dies anzugehen benötige ich meinen Freund - denke für mich als Laie ist dies nicht verständlich genug.

                                          1 Reply Last reply Reply Quote 0
                                          • G
                                            Gismoh @crunchip last edited by

                                            @crunchip
                                            okay, danke für deine Erklärung, dann versuche ich mich dann doch mal dran 😉

                                            crunchip 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            687
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            8
                                            267
                                            19446
                                            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