Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Adapter updaten nicht mehr nach Update auf Node.js 16.17.0

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Adapter updaten nicht mehr nach Update auf Node.js 16.17.0

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @iobrokerle last edited by

      @iobrokerle sagte in Adapter updaten nicht mehr nach Update auf Node.js 16.17.0:

      iobroker add ble --host raspberry-iob --debug
      
      I 1 Reply Last reply Reply Quote 1
      • I
        iobrokerle @Thomas Braun last edited by

        @thomas-braun

        Immer das gleiche:

        
        pi@raspberry-iob:/opt/iobroker $ iobroker add ble --host raspberry-iob --debug
        NPM version: 8.15.0
        Installing iobroker.ble@0.13.0... (System call)
        npm WARN old lockfile
        npm WARN old lockfile The package-lock.json file was created with an old version of npm,
        npm WARN old lockfile so supplemental metadata must be fetched from the registry.
        npm WARN old lockfile
        npm WARN old lockfile This is a one-time fix-up, please be patient...
        npm WARN old lockfile
        npm WARN tarball tarball data for iobroker.vis-jqui-mfd@https://github.com/ioBroker/ioBroker.vis-jqui-mfd/tarball/master (sha512-INXgmBMn8dXk+ySYR6Hx+ZAC8x36xGKAk8IKet0N8m4xe/Q4EiwzCsOlMbtQsWG/PrtUDopnvLMqNB3EDQnCHg==) seems to be corrupted. Trying again.
        npm WARN tarball tarball data for iobroker.vis-jqui-mfd@https://github.com/ioBroker/ioBroker.vis-jqui-mfd/tarball/master (sha512-INXgmBMn8dXk+ySYR6Hx+ZAC8x36xGKAk8IKet0N8m4xe/Q4EiwzCsOlMbtQsWG/PrtUDopnvLMqNB3EDQnCHg==) seems to be corrupted. Trying again.
        npm ERR! code EINTEGRITY
        npm ERR! sha512-INXgmBMn8dXk+ySYR6Hx+ZAC8x36xGKAk8IKet0N8m4xe/Q4EiwzCsOlMbtQsWG/PrtUDopnvLMqNB3EDQnCHg== integrity checksum failed when using sha512: wanted sha512-INXgmBMn8dXk+ySYR6Hx+ZAC8x36xGKAk8IKet0N8m4xe/Q4EiwzCsOlMbtQsWG/PrtUDopnvLMqNB3EDQnCHg== but got sha512-aIDxplY3tckVzKezokybf2Ki4MQdHn7DKw+ipKbVUvmkmT88o3KFhxEie1xLO5bF3zDUAAhayGPASuYSacYieQ==. (285658 bytes)
        
        npm ERR! A complete log of this run can be found in:
        npm ERR!     /home/iobroker/.npm/_logs/2022-09-25T14_06_26_239Z-debug-0.log
        host.raspberry-iob Cannot install iobroker.ble@0.13.0: 1
        
        
        Homoran 1 Reply Last reply Reply Quote 0
        • Homoran
          Homoran Global Moderator Administrators @iobrokerle last edited by

          @iobrokerle sagte in Adapter updaten nicht mehr nach Update auf Node.js 16.17.0:

          EINTEGRITY

          schmeiss doch das

          @iobrokerle sagte in Adapter updaten nicht mehr nach Update auf Node.js 16.17.0:

          old lockfile

          raus

          I 1 Reply Last reply Reply Quote 0
          • I
            iobrokerle @Homoran last edited by

            @homoran sagte in Adapter updaten nicht mehr nach Update auf Node.js 16.17.0:

            EINTEGRITY

            Wie am besten?

            I 1 Reply Last reply Reply Quote 0
            • I
              iobrokerle @iobrokerle last edited by iobrokerle

              @iobrokerle sagte in Adapter updaten nicht mehr nach Update auf Node.js 16.17.0:

              @homoran sagte in Adapter updaten nicht mehr nach Update auf Node.js 16.17.0:

              EINTEGRITY

              Wie am besten?

              Ok, altes files ist weg und BLE konnte installiert werden.

              VIELEN DANK

              Aber er lässt sich halt nicht Starten.
              Zur Vorgeschichte: Ich musste node.js updaten für einen andere Adapter. Alles genau nach Anleitung aus dem Forum. Danach startete der BLE nicht mehr.
              -Verbunden mit Host OK
              -Lebenszeichen OK
              -Verbunden mit Gerät oder Dienst nOK

              Daraufhin den BLE runtergeworfen und wollte diesen neu installieren. Dann bin ich hier gelandet. BLE ist mittlerweile drauf aber:

              -Verbunden mit Host nOK
              -Lebenszeichen nOK
              -Verbunden mit Gerät oder Dienst nOK

              2022-09-25 17:26:48.783 error Terminating because A dependency requires a rebuild.

              Jetzt weiß ich nicht weiter. Mit node.js 12 lief alles noch....

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

                @iobrokerle sagte in Adapter updaten nicht mehr nach Update auf Node.js 16.17.0:

                2022-09-25 17:26:48.783 error Terminating because A dependency requires a rebuild.

                da müsste noch mehr stehen, zumindest im debug mode

                I 1 Reply Last reply Reply Quote 0
                • I
                  iobrokerle @Homoran last edited by iobrokerle

                  @homoran Das kommt direkt aus dem iobroker Protkoll.

                  Wie kann ich das im putty abfragen?

                  
                  ble.0
                  2022-09-25 18:40:48.507	error	Terminating because A dependency requires a rebuild.
                  
                  ble.0
                  2022-09-25 18:40:47.844	info	starting scanner process...
                  
                  ble.0
                  2022-09-25 18:40:47.821	info	monitored services: fe95
                  
                  ble.0
                  2022-09-25 18:40:47.818	info	enabled plugins: Xiaomi, _default
                  
                  ble.0
                  2022-09-25 18:40:47.816	info	loaded plugins: Xiaomi, mi-flora, ruuvi-tag, _default
                  
                  ble.0
                  2022-09-25 18:40:47.750	info	starting. Version 0.13.0 in /opt/iobroker/node_modules/iobroker.ble, node: v16.17.1, js-controller: 4.0.23
                  
                  Homoran 1 Reply Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators @iobrokerle last edited by

                    @iobrokerle sagte in Adapter updaten nicht mehr nach Update auf Node.js 16.17.0:

                    Das kommt direkt aus dem iobroker Protkoll.

                    aber da muss auch stehen wer das sagt.
                    diesen dann auf debug stellen und nochmal versuchen

                    ODER

                    über di Konsole iobroker upgrade ble --debug

                    I 1 Reply Last reply Reply Quote 1
                    • I
                      iobrokerle @Homoran last edited by iobrokerle

                      @homoran sagte in Adapter updaten nicht mehr nach Update auf Node.js 16.17.0:

                      iobroker upgrade ble --debug

                      host.raspberry-iob
                      2022-09-25 18:47:36.281	info	Rebuild for adapter system.adapter.ble.0 not successful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" in adapter directory manually.
                      host.raspberry-iob
                      2022-09-25 18:47:36.281	info	instance system.adapter.ble.0 requested a rebuild of its dependencies and will be restarted after that is done.
                      
                      ble.0
                      2022-09-25 18:47:36.193	error	Terminating because A dependency requires a rebuild.
                      
                      ble.0
                      2022-09-25 18:47:35.538	info	starting scanner process...
                      
                      ble.0
                      2022-09-25 18:47:35.517	info	monitored services: fe95
                      
                      ble.0
                      2022-09-25 18:47:35.515	info	enabled plugins: Xiaomi, _default
                      
                      ble.0
                      2022-09-25 18:47:35.514	info	loaded plugins: Xiaomi, mi-flora, ruuvi-tag, _default
                      
                      ble.0
                      2022-09-25 18:47:35.449	info	starting. Version 0.13.0 in /opt/iobroker/node_modules/iobroker.ble, node: v16.17.1, js-controller: 4.0.23
                      host.raspberry-iob
                      2022-09-25 18:47:33.249	info	instance system.adapter.ble.0 started with pid 25050
                      
                      
                      pi@raspberry-iob:/ $ iobroker upgrade ble --debug
                      Adapter "ble"            is up to date.
                      
                      
                      Homoran 1 Reply Last reply Reply Quote 0
                      • Homoran
                        Homoran Global Moderator Administrators @iobrokerle last edited by

                        @iobrokerle sagte in Adapter updaten nicht mehr nach Update auf Node.js 16.17.0:

                        Please execute "npm install --production" in adapter directory manually.

                        hast du das mal gemacht?

                        I 1 Reply Last reply Reply Quote 1
                        • I
                          iobrokerle @Homoran last edited by

                          @homoran sagte in Adapter updaten nicht mehr nach Update auf Node.js 16.17.0:

                          npm install --production

                          
                          pi@raspberry-iob:/opt/iobroker/node_modules/iobroker.ble $ npm install --production
                          npm WARN config production Use `--omit=dev` instead.
                          
                          added 67 packages, and audited 80 packages in 2m
                          
                          6 packages are looking for funding
                            run `npm fund` for details
                          
                          found 0 vulnerabilities
                          
                          

                          LÄUFT - nochmals vielen DANK für eure Mühe

                          I 1 Reply Last reply Reply Quote 0
                          • I
                            iobrokerle @iobrokerle last edited by iobrokerle

                            @Thomas-Braun
                            @Homoran

                            War zu schön. Lief alles bis 21.05 Uhr und dann wieder das:

                            
                            ble.0
                            2022-09-25 21:05:03.914	error	Terminating because A dependency requires a rebuild.
                            
                            ble.0
                            2022-09-25 21:05:03.270	info	starting scanner process...
                            
                            ble.0
                            2022-09-25 21:05:03.248	info	monitored services: fe95
                            
                            ble.0
                            2022-09-25 21:05:03.247	info	enabled plugins: Xiaomi, _default
                            
                            ble.0
                            2022-09-25 21:05:03.245	info	loaded plugins: Xiaomi, mi-flora, ruuvi-tag, _default
                            
                            ble.0
                            2022-09-25 21:05:03.174	info	starting. Version 0.13.0 in /opt/iobroker/node_modules/iobroker.ble, node: v16.17.1, js-controller: 4.0.23
                            

                            Ich habe rein gar nichts gemacht. Nur zufällig reingeschaut.

                            -Verbunden mit Host nOK

                            -Lebenszeichen nOK

                            -Verbunden mit Gerät oder Dienst OK

                            Glasfaser 1 Reply Last reply Reply Quote 0
                            • Glasfaser
                              Glasfaser @iobrokerle last edited by

                              @iobrokerle

                              Nochmal in

                              cd /opt/iobroker/node_modules/iobroker.ble
                              

                              dann

                              npm install --omit=dev
                              

                              und

                              sudo reboot
                              
                              I 1 Reply Last reply Reply Quote 0
                              • I
                                iobrokerle @Glasfaser last edited by

                                @glasfaser sagte in Adapter updaten nicht mehr nach Update auf Node.js 16.17.0:

                                sudo reboot

                                DANKE, für den Moment läuft es.
                                Weiß man woran das liegen könnte?

                                Schönen Abend noch.

                                Grüße
                                iobrokerle

                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @iobrokerle last edited by

                                  @iobrokerle sagte in Adapter updaten nicht mehr nach Update auf Node.js 16.17.0:

                                  Weiß man woran das liegen könnte?

                                  An einem erforderlichen rebuild für den Adapter. Funktioniert aber nicht immer.

                                  C 1 Reply Last reply Reply Quote 0
                                  • C
                                    canim @Thomas Braun last edited by canim

                                    Ich habe leider aus das problem, dass ich keine Adapter mehr updaten kann. Es wird durchgeführt aber die Version bleibt gleich. Fixer wurde schon paar mal durchgeführt

                                    pi@raspberrypi:~ $ iobroker upgrade mihome-vacuum
                                    
                                    This upgrade of "mihome-vacuum" will introduce the following changes:
                                    ==========================================================================
                                    -> 3.8.6:
                                    Fix type for roomMopMode
                                    
                                    -> 3.8.5:
                                    move parseErrors to debug level
                                    avoid new instanziierung on reconnect
                                    
                                    -> 3.8.4:
                                    change logging for sendMessage to debug
                                    ==========================================================================
                                    
                                    Would you like to upgrade mihome-vacuum from @3.8.3 to @3.8.6 now? [(y)es, (n)o]: y
                                    Update mihome-vacuum from @3.8.3 to @3.8.6
                                    NPM version: 9.1.1
                                    Installing iobroker.mihome-vacuum@3.8.6... (System call)
                                    upload [20] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/S5.png S5.png image/p                             ng
                                    upload [19] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/i18n/de/translations.                             json i18n/de/translations.json application/json
                                    upload [18] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/i18n/en/translations.                             json i18n/en/translations.json application/json
                                    upload [17] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/i18n/es/translations.                             json i18n/es/translations.json application/json
                                    upload [16] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/i18n/fr/translations.                             json i18n/fr/translations.json application/json
                                    upload [15] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/i18n/it/translations.                             json i18n/it/translations.json application/json
                                    upload [14] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/i18n/nl/translations.                             json i18n/nl/translations.json application/json
                                    upload [13] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/i18n/pl/translations.                             json i18n/pl/translations.json application/json
                                    upload [12] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/i18n/pt/translations.                             json i18n/pt/translations.json application/json
                                    upload [11] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/i18n/ru/translations.                             json i18n/ru/translations.json application/json
                                    upload [10] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/i18n/zh-cn/translatio                             ns.json i18n/zh-cn/translations.json application/json
                                    upload [9] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/index.html index.html                              text/html
                                    upload [8] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/index_m.html index_m.h                             tml text/html
                                    upload [7] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/mihome-vacuum.png miho                             me-vacuum.png image/png
                                    upload [6] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/robot.png robot.png im                             age/png
                                    upload [5] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/robot1.png robot1.png                              image/png
                                    upload [4] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/spaceship.png spaceshi                             p.png image/png
                                    upload [3] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/tank.png tank.png imag                             e/png
                                    upload [2] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/valetudo_conf.png vale                             tudo_conf.png image/png
                                    upload [1] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/valetudo_logo_small.sv                             g valetudo_logo_small.svg image/svg+xml
                                    upload [0] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/words.js words.js appl                             ication/javascript
                                    pi@raspberrypi:~ $ cd /opt/iobroker
                                    pi@raspberrypi:/opt/iobroker $ npm ls
                                    npm ERR! code ELSPROBLEMS
                                    npm ERR! extraneous: @types/caseless@0.12.2 /opt/iobroker/node_modules/@types/caseless
                                    npm ERR! extraneous: @types/request@2.48.8 /opt/iobroker/node_modules/@types/request
                                    npm ERR! extraneous: @types/tough-cookie@4.0.2 /opt/iobroker/node_modules/@types/tough-cookie
                                    npm ERR! extraneous: array-uniq@1.0.2 /opt/iobroker/node_modules/array-uniq
                                    npm ERR! extraneous: chalk@4.1.2 /opt/iobroker/node_modules/chalk
                                    npm ERR! extraneous: coffeescript@1.12.7 /opt/iobroker/node_modules/coffeescript
                                    npm ERR! extraneous: has-flag@4.0.0 /opt/iobroker/node_modules/has-flag
                                    npm ERR! missing: iobroker.ws@2.0.0, required by iobroker.inst@2.0.3
                                    npm ERR! extraneous: jsonata@1.8.6 /opt/iobroker/node_modules/jsonata
                                    npm ERR! extraneous: node-inspect@2.0.0 /opt/iobroker/node_modules/node-inspect
                                    npm ERR! extraneous: node-mihome@0.0.32 /opt/iobroker/node_modules/node-mihome
                                    npm ERR! extraneous: picocolors@1.0.0 /opt/iobroker/node_modules/picocolors
                                    npm ERR! extraneous: randombytes@2.0.3 /opt/iobroker/node_modules/randombytes
                                    npm ERR! extraneous: randomstring@1.2.2 /opt/iobroker/node_modules/randomstring
                                    npm ERR! extraneous: supports-color@7.2.0 /opt/iobroker/node_modules/supports-color
                                    npm ERR! extraneous: treemap-js@1.2.1 /opt/iobroker/node_modules/treemap-js
                                    npm ERR! extraneous: usb@1.9.2 /opt/iobroker/node_modules/usb
                                    npm ERR! extraneous: virtual-tsc@0.6.2 /opt/iobroker/node_modules/virtual-tsc
                                    npm ERR! extraneous: wake_on_lan@1.0.0 /opt/iobroker/node_modules/wake_on_lan
                                    npm ERR! extraneous: zlib@1.0.5 /opt/iobroker/node_modules/zlib
                                    iobroker.inst@2.0.3 /opt/iobroker
                                    ├── @types/caseless@0.12.2 extraneous
                                    ├── @types/request@2.48.8 extraneous
                                    ├── @types/tough-cookie@4.0.2 extraneous
                                    ├── array-uniq@1.0.2 extraneous
                                    ├── canvas@2.9.0
                                    ├── chalk@4.1.2 extraneous
                                    ├── coffeescript@1.12.7 extraneous
                                    ├── colors@1.4.0
                                    ├── fs-extra@7.0.1
                                    ├── has-flag@4.0.0 extraneous
                                    ├── iobroker.admin@6.2.23
                                    ├── iobroker.alarmcontrol@0.1.0
                                    ├── iobroker.alexa2@3.20.1
                                    ├── iobroker.alias-manager@1.2.6
                                    ├── iobroker.backitup@2.4.10
                                    ├── iobroker.birthdays@2.1.0
                                    ├── iobroker.ble@0.13.0
                                    ├── iobroker.daswetter@3.1.4
                                    ├── iobroker.deconz@1.3.21
                                    ├── iobroker.device-reminder@1.2.9
                                    ├── iobroker.discovery@3.1.0
                                    ├── iobroker.fully-tablet-control@0.3.6-1 (git+ssh://git@github.com/xXBJXx/ioBroker.fully-tablet-control.git#dabf202f7ff229153fc8ea1d47560
                                    ├── iobroker.ical@1.13.2
                                    ├── iobroker.icons-mfd-png@1.1.0
                                    ├── iobroker.influxdb@3.2.0
                                    ├── iobroker.info@1.9.21
                                    ├── iobroker.iot@1.12.2
                                    ├── iobroker.javascript@6.0.3
                                    ├── iobroker.js-controller@4.0.23
                                    ├── iobroker.mihome-vacuum@3.8.3
                                    ├── iobroker.mobile@1.0.1
                                    ├── iobroker.mqtt@4.0.7
                                    ├── iobroker.pi-hole@1.3.4
                                    ├── iobroker.shelly@6.2.4
                                    ├── iobroker.simple-api@2.7.2
                                    ├── iobroker.socketio@6.1.10
                                    ├── iobroker.sonoff@2.5.1
                                    ├── iobroker.sourceanalytix@0.4.14
                                    ├── iobroker.spotify-premium@1.2.2
                                    ├── iobroker.tado@0.4.0
                                    ├── iobroker.telegram@1.14.1
                                    ├── iobroker.text2command@2.3.0
                                    ├── iobroker.vis-colorpicker@1.2.0
                                    ├── iobroker.vis-hqwidgets@1.3.0
                                    ├── iobroker.vis-justgage@1.0.2
                                    ├── iobroker.vis-materialdesign@0.5.9
                                    ├── iobroker.vis-plumb@1.0.2
                                    ├── iobroker.vis-timeandweather@1.2.2
                                    ├── iobroker.vis@1.4.15
                                    ├── iobroker.vofo-speedtest@0.0.13
                                    ├── iobroker.web@5.2.10
                                    ├── iobroker.whatsapp-cmb@0.2.3
                                    ├── UNMET DEPENDENCY iobroker.ws@2.0.0
                                    ├── iobroker.yahka@0.17.0
                                    ├── iobroker.yeelight-2@1.2.1
                                    ├── iobroker.yr@5.3.0
                                    ├── iobroker.zigbee@1.7.6
                                    ├── iobroker@2.0.3
                                    ├── jsonata@1.8.6 extraneous
                                    ├── moment-duration-format@2.3.2
                                    ├── node-inspect@2.0.0 extraneous
                                    ├── node-mihome@0.0.32 extraneous
                                    ├── picocolors@1.0.0 extraneous
                                    ├── randombytes@2.0.3 extraneous
                                    ├── randomstring@1.2.2 extraneous
                                    ├── semver@5.7.1
                                    ├── suncalc@1.8.0
                                    ├── supports-color@7.2.0 extraneous
                                    ├── treemap-js@1.2.1 extraneous
                                    ├── usb@1.9.2 extraneous
                                    ├── virtual-tsc@0.6.2 extraneous
                                    ├── wake_on_lan@1.0.0 extraneous
                                    ├── yargs@7.1.1
                                    ├── zigbee2mqtt@1.16.2
                                    └── zlib@1.0.5 extraneous
                                    
                                    
                                    npm ERR! A complete log of this run can be found in:
                                    npm ERR!     /home/iobroker/.npm/_logs/2022-11-13T19_51_44_183Z-debug-0.log
                                    pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm cache clear --force
                                    npm WARN using --force Recommended protections disabled.
                                    pi@raspberrypi:/opt/iobroker $ iobroker update
                                    Used repository: Beta (latest)
                                    Cannot read or parse /opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/../node_modules/iobroker.backitup/io-package.jso_modules/iobroker.backitup/io-package.json: Unexpected end of JSON input
                                    Cannot read or parse /opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/../node_modules/iobroker.backitup/io-package.jso_modules/iobroker.backitup/io-package.json: Unexpected end of JSON input
                                    Adapter    "admin"        : 6.2.23   , installed 6.2.23
                                    Adapter    "alexa2"       : 3.21.0   , installed 3.20.1 [Updatable]
                                    Adapter    "alias-manager": 1.2.6    , installed 1.2.6
                                    Adapter    "birthdays"    : 2.1.0    , installed 2.1.0
                                    Adapter    "ble"          : 0.13.0   , installed 0.13.0
                                    Adapter    "daswetter"    : 3.1.4    , installed 3.1.4
                                    Adapter    "deconz"       : 1.3.21   , installed 1.3.21
                                    Adapter    "device-reminder": 1.2.9  , installed 1.2.9
                                    Adapter    "discovery"    : 3.1.0    , installed 3.1.0
                                    Adapter    "ical"         : 1.13.2   , installed 1.13.2
                                    Adapter    "icons-mfd-png": 1.1.0    , installed 1.1.0
                                    Adapter    "influxdb"     : 3.2.0    , installed 3.2.0
                                    Adapter    "info"         : 1.9.21   , installed 1.9.21
                                    Adapter    "iot"          : 1.12.5   , installed 1.12.2 [Updatable]
                                    Adapter    "javascript"   : 6.1.3    , installed 6.0.3  [Updatable]
                                    Controller "js-controller": 4.0.23   , installed 4.0.23
                                    Adapter    "mihome-vacuum": 3.8.6    , installed 3.8.3  [Updatable]
                                    Adapter    "mobile"       : 1.0.1    , installed 1.0.1
                                    Adapter    "mqtt"         : 4.0.7    , installed 4.0.7
                                    Adapter    "pi-hole"      : 1.3.4    , installed 1.3.4
                                    Adapter    "shelly"       : 6.2.4    , installed 6.2.4
                                    Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
                                    Adapter    "socketio"     : 6.2.0    , installed 6.1.10 [Updatable]
                                    Adapter    "sonoff"       : 2.5.1    , installed 2.5.1
                                    Adapter    "sourceanalytix": 0.4.14  , installed 0.4.14
                                    Adapter    "spotify-premium": 1.2.2  , installed 1.2.2
                                    Adapter    "tado"         : 0.4.0    , installed 0.4.0
                                    Adapter    "telegram"     : 1.15.2   , installed 1.14.1 [Updatable]
                                    Adapter    "text2command" : 2.3.0    , installed 2.3.0
                                    Adapter    "vis"          : 1.4.15   , installed 1.4.15
                                    Adapter    "vis-colorpicker": 1.2.0  , installed 1.2.0
                                    Adapter    "vis-hqwidgets": 1.3.0    , installed 1.3.0
                                    Adapter    "vis-justgage" : 1.0.2    , installed 1.0.2
                                    Adapter    "vis-materialdesign": 0.5.9, installed 0.5.9
                                    Adapter    "vis-plumb"    : 1.0.2    , installed 1.0.2
                                    Adapter    "vis-timeandweather": 1.2.2, installed 1.2.2
                                    Adapter    "vofo-speedtest": 0.0.13  , installed 0.0.13
                                    Adapter    "web"          : 5.2.10   , installed 5.2.10
                                    Adapter    "whatsapp-cmb" : 0.2.3    , installed 0.2.3
                                    Adapter    "yahka"        : 0.17.0   , installed 0.17.0
                                    Adapter    "yeelight-2"   : 1.2.1    , installed 1.2.1
                                    Adapter    "yr"           : 5.3.0    , installed 5.3.0
                                    Adapter    "zigbee"       : 1.7.6    , installed 1.7.6
                                    pi@raspberrypi:/opt/iobroker $ iobroker upgrade
                                    Cannot upgrade: /opt/iobroker/node_modules/iobroker.backitup/io-package.json: Unexpected end of JSON input
                                    
                                    
                                    Thomas Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @canim last edited by Thomas Braun

                                      @canim sagte in Adapter updaten nicht mehr nach Update auf Node.js 16.17.0:

                                      /opt/iobroker/node_modules/iobroker.backitup/io-package.json: Unexpected end of JSON input

                                      Versuch den backitup-Adapter nochmal drüber zu installieren.

                                      NPM version: 9.1.1

                                      Und wie kommst du auf das schmale Brett schon mit npm@9 herumzuexperimentieren? Das ist noch nicht zu nodejs gepackt worden. Nichtmal zu nodeJS@19.

                                      Riecht nach verfummelter nodeJS-Installation.

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

                                        @thomas-braun
                                        @thomas-braun said in Adapter updaten nicht mehr nach Update auf Node.js 16.17.0:

                                        backitup-Adapter

                                        danke für die schnelle Antwort.

                                        Zum punkt 1. Lässt sich nicht drüber installieren, versucht zu deinstallieren keine chance.

                                        pi@raspberrypi:~ $ npm install iobroker.backitup
                                        npm WARN deprecated har-validator@5.1.5: this library is no longer supported
                                        npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
                                        npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                                        npm ERR! code EACCES
                                        npm ERR! syscall open
                                        npm ERR! path /home/pi/package.json
                                        npm ERR! errno -13
                                        npm ERR! Error: EACCES: permission denied, open '/home/pi/package.json'
                                        npm ERR!  [Error: EACCES: permission denied, open '/home/pi/package.json'] {
                                        npm ERR!   errno: -13,
                                        npm ERR!   code: 'EACCES',
                                        npm ERR!   syscall: 'open',
                                        npm ERR!   path: '/home/pi/package.json'
                                        npm ERR! }
                                        npm ERR!
                                        npm ERR! The operation was rejected by your operating system.
                                        npm ERR! It is likely you do not have the permissions to access this file as the current user
                                        npm ERR!
                                        npm ERR! If you believe this might be a permissions issue, please double-check the
                                        npm ERR! permissions of the file and its containing directories, or try running
                                        npm ERR! the command again as root/Administrator.
                                        
                                        npm ERR! A complete log of this run can be found in:
                                        npm ERR!     /home/pi/.npm/_logs/2022-11-13T20_36_23_848Z-debug-0.log
                                        pi@raspberrypi:~ $ sudo npm install iobroker.backitup
                                        
                                        up to date, audited 254 packages in 30s
                                        
                                        22 packages are looking for funding
                                          run `npm fund` for details
                                        
                                        found 0 vulnerabilities
                                        pi@raspberrypi:~ $ npm install iobroker.backitup
                                        
                                        up to date, audited 254 packages in 4s
                                        
                                        22 packages are looking for funding
                                          run `npm fund` for details
                                        
                                        found 0 vulnerabilities
                                        pi@raspberrypi:~ $
                                        
                                        2. vermute das was du meinst :D, erstmal selber helfen durch ähnliche probleme von usern
                                        mikeal created this issue in request/request

                                        open Request’s Past, Present and Future #3142

                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @canim last edited by

                                          @canim sagte in Adapter updaten nicht mehr nach Update auf Node.js 16.17.0:

                                          pi@raspberrypi:~ $ npm install iobroker.backitup

                                          Falsches Verzeichnis, falscher Befehl...

                                          iobroker upgrade backitup@2.5.4 --debug
                                          

                                          Zuerst aber nodejs gescheit aufsetzen.

                                          sudo ln -s /usr/bin/node /usr/bin/nodejs &> /dev/null
                                          
                                          uname -m && test -f /opt/scripts/.docker_config/.thisisdocker && echo "Docker-Installation" || echo "Kein Docker" && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && echo $DESKTOP_SESSION && pwd && sudo apt-get update &> /dev/null && sudo apt-get update && apt-cache policy nodejs
                                          

                                          sagt?

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

                                            @thomas-braun

                                            Zum befehl Node aufsetzen

                                            $ uname -m && test -f /opt/scripts/.docker_config/.thisisdocker && echo "Docker-Installation" || echo "Kein Docker" && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && echo $DESKTOP_SESSION && pwd && sudo apt-get update &> /dev/null && sudo apt-get update && apt-cache policy nodejs
                                            armv7l
                                            Kein Docker
                                            /usr/bin/nodejs
                                            /usr/bin/node
                                            /usr/bin/npm
                                            v16.18.1
                                            v16.18.1
                                            9.1.1
                                            4.0.23
                                            pi
                                            pi adm dialout cdrom sudo audio video plugdev games users input netdev gpio i2c spi iobroker
                                            tty
                                            
                                            /home/pi
                                            OK:1 http://phoscon.de/apt/deconz buster InRelease
                                            OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
                                            OK:3 http://archive.raspberrypi.org/debian buster InRelease
                                            OK:4 https://deb.nodesource.com/node_16.x buster InRelease
                                            OK:5 https://repos.influxdata.com/debian buster InRelease
                                            OK:6 https://archive.raspbian.org/raspbian buster InRelease
                                            Paketlisten werden gelesen... Fertig
                                            nodejs:
                                              Installiert:           16.18.1-deb-1nodesource1
                                              Installationskandidat: 16.18.1-deb-1nodesource1
                                              Versionstabelle:
                                             *** 16.18.1-deb-1nodesource1 500
                                                    500 https://deb.nodesource.com/node_16.x buster/main armhf Packages
                                                    100 /var/lib/dpkg/status
                                                 10.24.0~dfsg-1~deb10u2 500
                                                    500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                                    500 https://archive.raspbian.org/raspbian buster/main armhf Packages
                                            
                                            
                                            pi@raspberrypi:/opt/iobroker $ iobroker upgrade backitup@2.5.4 --debug
                                            Cannot upgrade: /opt/iobroker/node_modules/iobroker.backitup/io-package.json: Unexpected end of JSON input
                                            
                                            Thomas Braun 2 Replies 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

                                            457
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            7
                                            94
                                            9248
                                            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