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:

      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
                • 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:

                  Bekomme eine Fehlermeldung

                  Immer diese geheimen Fehlermeldungen...

                  'Forbidden' = Drück F5.

                  Und pass auf was du da in dein Terminal knallst...

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

                    @canim

                    iob stop
                    sudo apt install --reinstall nodejs
                    iob start
                    
                    C 1 Reply Last reply Reply Quote 0
                    • C
                      canim @Thomas Braun last edited by

                      @thomas-braun

                      pi@raspberrypi:~ $ sudo apt install --reinstall nodejs
                      Paketlisten werden gelesen... Fertig
                      Abhängigkeitsbaum wird aufgebaut.
                      Statusinformationen werden eingelesen.... Fertig
                      Das folgende Paket wurde automatisch installiert und wird nicht mehr benötigt:
                        wiringpi
                      Verwenden Sie »sudo apt autoremove«, um es zu entfernen.
                      0 aktualisiert, 0 neu installiert, 1 erneut installiert, 0 zu entfernen und 0 nicht aktualisiert.
                      Es müssen noch 0 B von 24,2 MB an Archiven heruntergeladen werden.
                      Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
                      (Lese Datenbank ... 73019 Dateien und Verzeichnisse sind derzeit installiert.)
                      Vorbereitung zum Entpacken von .../nodejs_16.18.1-deb-1nodesource1_armhf.deb ...
                      Entpacken von nodejs (16.18.1-deb-1nodesource1) über (16.18.1-deb-1nodesource1) ...
                      nodejs (16.18.1-deb-1nodesource1) wird eingerichtet ...
                      Trigger für man-db (2.8.5-2) werden verarbeitet ...
                      
                      

                      lässt sich trotzdem kein upgrade der adapter durchführen =(

                      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.json: /opt/iobroker/node_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.json: /opt/iobroker/node_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 2 Replies 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:

                        lässt sich trotzdem kein upgrade der adapter durchführen

                        Das war auch nicht zu erwarten oder gar das Ziel der Aktion.

                        Bei

                        iobroker upgrade backitup@2.5.4 --debug
                        

                        passiert was?

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

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

                          iobroker upgrade backitup@2.5.4 --debug

                          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
                          
                          
                          1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @canim last edited by

                            @canim

                            
                            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 update &> /dev/null && sudo apt update && apt policy nodejs
                            

                            sagt nun?

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

                              @thomas-braun

                              pi@raspberrypi:~ $ 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 update &> /dev/null && sudo apt update && apt policy nodejs
                              armv7l
                              Kein Docker
                              /usr/bin/nodejs
                              /usr/bin/node
                              /usr/bin/npm
                              v16.18.1
                              v16.18.1
                              8.19.2
                              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://archive.raspberrypi.org/debian buster InRelease
                              OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
                              OK:3 http://phoscon.de/apt/deconz 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
                              Abhängigkeitsbaum wird aufgebaut.
                              Statusinformationen werden eingelesen.... Fertig
                              Alle Pakete sind aktuell.
                              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:~ $
                              
                              
                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @canim last edited by Thomas Braun

                                @canim

                                Da ist die Datei /opt/iobroker/node_modules/iobroker.backitup/io-package.json wohl kaputt.
                                Ersetz die mal dadurch:

                                {
                                  "common": {
                                    "name": "backitup",
                                    "version": "2.5.4",
                                    "news": {
                                      "2.5.4": {
                                        "en": "Fix maxBuffer for DB-Backups\nDocu updated\nFix Dropbox error messages\nGrafana self signed Certificates added",
                                        "de": "MaxBuffer für DB-Backups\nDocu aktualisiert\nFehlermeldungen von Dropbox\nGrafana selbst signiert Zertifikate hinzugefügt",
                                        "ru": "Fix maxBuffer для DB-Backups\nDocu обновление\nИсправление сообщений об ошибках Dropbox\nGrafana self подписал сертификаты добавлены",
                                        "pt": "Fix maxBuffer para DB-Backups\nDocu atualizado\nCorrigir mensagens de erro do Dropbox\nCertificados auto assinados Grafana adicionados",
                                        "nl": "Vertaling:\nDocu update\nVertaling:\nGrafana zelf ondertekende certificaten",
                                        "fr": "Fix maxBuffer for DB-Backups\nDocu updated\nCorrection des messages d'erreur Dropbox\nGrafana auto signé Certificats ajoutés",
                                        "it": "Fix maxBuffer per DB-Backup\nDocu aggiornato\nRisolvi i messaggi di errore di Dropbox\nGrafana auto firmato Certificati aggiunti",
                                        "es": "Fijar maxBuffer para DB-Backups\nDocu actualizado\nCorregir mensajes de error de Dropbox\nGrafana autofirmado Certificados añadidos",
                                        "pl": "Fix-maxBuffer for DB-Backups (ang.)\nDocu zaktualizował\nFix Dropbox error message\nStatystyki Grafana podpisywały certyfikaty",
                                        "uk": "Кріплення maxBuffer для DB-Backups\nDocu оновлений\nВиправлення помилок Dropbox\nДодані сертифікати Grafana",
                                        "zh-cn": "银-Backments\n附录\nFix Drop箱错误信息\n黑塞纳自签名的证书"
                                      },
                                      "2.5.3": {
                                        "en": "dependencies updated",
                                        "de": "aktualisierte abhängigkeiten",
                                        "ru": "зависимости обновлены",
                                        "pt": "dependências atualizadas",
                                        "nl": "afhankelijkheid geüpdateerd",
                                        "fr": "dépendances mises à jour",
                                        "it": "dipendenze aggiornate",
                                        "es": "dependencias actualizadas",
                                        "pl": "aktualizacja",
                                        "uk": "оновлені залежності",
                                        "zh-cn": "b. 更新的依赖"
                                      },
                                      "2.5.2": {
                                        "en": "Bugfix Google Drive",
                                        "de": "Bugfix Google Drive",
                                        "ru": "Bugfix Google Drive",
                                        "pt": "Bugfix Google Drive",
                                        "nl": "Bugfix Google Drive",
                                        "fr": "Bugfix Google Drive",
                                        "it": "Bugfix Google Drive",
                                        "es": "Bugfix Google Drive",
                                        "pl": "Google Drive",
                                        "uk": "English, Українська, Français..",
                                        "zh-cn": "Bugfix 谷歌博士"
                                      },
                                      "2.5.1": {
                                        "en": "Bugfix Google Drive",
                                        "de": "Bugfix Google Drive",
                                        "ru": "Bugfix Google Drive",
                                        "pt": "Bugfix Google Drive",
                                        "nl": "Bugfix Google Drive",
                                        "fr": "Bugfix Google Drive",
                                        "it": "Bugfix Google Drive",
                                        "es": "Bugfix Google Drive",
                                        "pl": "Google Drive",
                                        "uk": "English, Українська, Français..",
                                        "zh-cn": "Bugfix 谷歌博士"
                                      },
                                      "2.5.0": {
                                        "en": "Google Drive authentication was fixed\nsmall Bugfix",
                                        "de": "Google Drive Authentifizierung wurde behoben\nkleiner Bugfix",
                                        "ru": "Google Drive аутентификация была исправлена\nнебольшой Bugfix",
                                        "pt": "A autenticação do Google Drive foi corrigida\npequeno Bugfix",
                                        "nl": "Google Drive authenticatie werd opgelost\nkleine Bugfix",
                                        "fr": "L'authentification Google Drive a été corrigée\npetit Bugfix",
                                        "it": "L'autenticazione di Google Drive è stata fissata\npiccolo Bugfix",
                                        "es": "Autenticación de Google Drive fue fijo\npequeño Bugfix",
                                        "pl": "Uwierzytelnianie Google Drive zostało ustalone\nmały Bug fix",
                                        "uk": "Виправлено автентичність Google Диска\nмали",
                                        "zh-cn": "谷歌博士核证是固定的。\nbugfix"
                                      },
                                      "2.4.16": {
                                        "en": "small Bugfix",
                                        "de": "kleiner Bugfix",
                                        "ru": "небольшой Bugfix",
                                        "pt": "pequeno Bugfix",
                                        "nl": "kleine Bugfix",
                                        "fr": "petit Bugfix",
                                        "it": "piccolo Bugfix",
                                        "es": "pequeño Bugfix",
                                        "pl": "mały Bug fix",
                                        "zh-cn": "bugfix"
                                      },
                                      "2.4.15": {
                                        "en": "adapter-core updated\npath fix",
                                        "de": "adapter-kern aktualisiert\npfad fix",
                                        "ru": "адаптер-коробка обновлена\nпуть исправить",
                                        "pt": "adaptador-core atualizado\ncorreção do caminho",
                                        "nl": "adapter-core update\nvertaling:",
                                        "fr": "adaptateur-core mis à jour\nchemin fixe",
                                        "it": "adattatore-core aggiornato\npercorso corretto",
                                        "es": "adaptador-core actualizado\ncamino fijo",
                                        "pl": "adapter-core updated\npróba",
                                        "zh-cn": "b. 订正后的适应核心\n道路"
                                      }
                                    },
                                    "title": "BackItUp",
                                    "titleLang": {
                                      "en": "BackItUp",
                                      "de": "BackItUp",
                                      "ru": "BackItUp - Резервное копирование",
                                      "pt": "BackItUp",
                                      "nl": "BackItUp",
                                      "fr": "BackItUp",
                                      "it": "BackItUp",
                                      "es": "BackItUp",
                                      "pl": "Kopia zapasowa"
                                    },
                                    "desc": {
                                      "en": "This adapter enables the cyclical creation of backups of an IoBroker / Homematic installation",
                                      "de": "Dieser Adapter ermöglicht das zyklische Erstellen von Backups einer IoBroker / Homematic-Installation",
                                      "ru": "Этот адаптер обеспечивает циклическое создание резервных копий установки IoBroker / Homematic",
                                      "pt": "Este adaptador permite a criação cíclica de backups de uma instalação do IoBroker / Homematic",
                                      "nl": "Deze adapter maakt het cyclisch maken van back-ups van een IoBroker / Homematic-installatie mogelijk",
                                      "fr": "Cet adaptateur permet la création cyclique de sauvegardes d'une installation IoBroker / Homematic",
                                      "it": "Questo adattatore consente la creazione ciclica di backup di un'installazione IoBroker / Homematic",
                                      "es": "Este adaptador permite la creación cíclica de copias de seguridad de una instalación de IoBroker / Homematic",
                                      "pl": "Ten adapter umożliwia cykliczne tworzenie kopii zapasowych instalacji IoBroker / Homematic"
                                    },
                                    "authors": [
                                      "simatec <nais@gmx.net>",
                                      "peoples0815 <peoples0815github@gmail.com>",
                                      "bluefox <dogafox@gmail.com>"
                                    ],
                                    "osDependencies": {
                                      "linux": [
                                        "cifs-utils",
                                        "nfs-common"
                                      ]
                                    },
                                    "docs": {
                                      "en": "docs/en/backitup.md",
                                      "de": "docs/de/backitup.md"
                                    },
                                    "platform": "Javascript/Node.js",
                                    "mode": "daemon",
                                    "compact": true,
                                    "icon": "backitup.png",
                                    "materialize": true,
                                    "messagebox": true,
                                    "stopBeforeUpdate": true,
                                    "connectionType": "local",
                                    "dataSource": "assumption",
                                    "materializeTab": true,
                                    "adminTab": {
                                      "name": {
                                        "en": "Backup",
                                        "de": "Backup",
                                        "ru": "Резервное копирование",
                                        "pt": "Cópia de segurança",
                                        "nl": "Back-up",
                                        "fr": "Sauvegarde",
                                        "it": "Backup",
                                        "es": "Respaldo",
                                        "pl": "Utworzyć kopię zapasową"
                                      },
                                      "ignoreConfigUpdate": true,
                                      "singleton": false,
                                      "fa-icon": "</i><img style='width:24px;margin-bottom:-6px;' src='/adapter/backitup/backitup.svg'><i>"
                                    },
                                    "dependencies": [
                                      {
                                        "js-controller": ">=3.3.0"
                                      }
                                    ],
                                    "globalDependencies": [
                                      {
                                        "admin": ">=5.2.0"
                                      }
                                    ],
                                    "adminUI": {
                                      "config": "materialize",
                                      "tab": "materialize"
                                    },
                                    "enabled": true,
                                    "extIcon": "https://raw.githubusercontent.com/simatec/ioBroker.backitup/master/admin/backitup.png",
                                    "keywords": [
                                      "Backup",
                                      "IoBroker",
                                      "Homematic"
                                    ],
                                    "readme": "https://github.com/simatec/ioBroker.backitup/blob/master/README.md",
                                    "loglevel": "info",
                                    "type": "general",
                                    "license": "MIT",
                                    "plugins": {
                                      "sentry": {
                                        "dsn": "https://e8510540c3a343aa8ce5678a4b3c8107@sentry.iobroker.net/36"
                                      }
                                    },
                                    "messages": [
                                      {
                                        "condition": {
                                          "operand": "and",
                                          "rules": [
                                            "oldVersion<2.5.0",
                                            "newVersion>=2.5.0"
                                          ]
                                        },
                                        "title": {
                                          "en": "Re-authenticate Google Drive after Update!",
                                          "de": "Re-authenticate Google Drive nach Update!",
                                          "ru": "Re-аутентификация Google Drive после обновления!",
                                          "pt": "Re-autenticação Google Drive após atualização!",
                                          "nl": "Re-authentic Google Drive na Update!",
                                          "fr": "Re-authenticate Google Drive après mise à jour!",
                                          "it": "Rinforzo Google Drive dopo Aggiornamento!",
                                          "es": "Reauthenticate Google Drive after Update!",
                                          "pl": "Ponowny autentyczny Google Drive (ang.)!",
                                          "uk": "Реабілітація Google Диск після оновлення!",
                                          "zh-cn": "逮捕 谷歌博士在最新情况之后!"
                                        },
                                        "text": {
                                          "en": "After installing this update the google drive access token needs to be re-authenticated in the Instance-Settings! Of course, only if google drive is used.",
                                          "de": "Nach der Installation dieses Updates muss der google drive access token in den Instanz-Settings neu authentifiziert werden! Natürlich nur, wenn Google-Drive verwendet wird.",
                                          "ru": "После установки этого обновления токен доступа Google для доступа должен быть повторно авторизован в Instance-Settings! Конечно, только если Google Drive используется.",
                                          "pt": "Depois de instalar esta atualização o token de acesso de unidade do google precisa ser re-autenticado nas configurações de instância! Claro, só se o Google Drive é usado.",
                                          "nl": "Na het installeren van deze update moet de Google drive toegang tot token opnieuw geauthenticeerd worden in de Instance-Settings! Natuurlijk, alleen als Google Drive gebruikt wordt.",
                                          "fr": "Après l'installation de cette mise à jour, le jeton d'accès au lecteur google doit être réauthentifié dans le cas-Settings! Bien sûr, seulement si le lecteur de google est utilisé.",
                                          "it": "Dopo l'installazione di questo aggiornamento l'accesso a Google Drive token ha bisogno di essere ri-authenticated nelle Impostazioni di istanza! Naturalmente, solo se Google Drive viene utilizzato.",
                                          "es": "Después de instalar esta actualización, el acceso de la unidad de Google token tiene que ser re-authenticated en la Instance-Settings! Por supuesto, sólo si se utiliza la unidad de Google.",
                                          "pl": "Po zainstalowaniu tej aktualizacji znak dostępu do google musi zostać przywrócony w Instance-Settings! Z biegiem tylko wtedy, gdy używa się google.",
                                          "uk": "Після встановлення цього оновлення токени доступу Google повинні бути переоцінені в Instance-Settings! Звичайно, тільки якщо використовується Google Drive.",
                                          "zh-cn": "在安装这一最新消息之后,在Setting-Settings需要重新得到治疗。 当然,只使用了防污。."
                                        },
                                        "level": "warn",
                                        "buttons": [
                                          "agree",
                                          "cancel"
                                        ]
                                      }
                                    ],
                                    "installedFrom": "iobroker.backitup@2.5.4"
                                  },
                                  "native": {
                                    "minimalEnabled": true,
                                    "minimalTime": "02:40",
                                    "minimalEveryXDays": 1,
                                    "minimalDeleteAfter": 10,
                                    "minimalNameSuffix": "",
                                    "redisMinimalEnabled": false,
                                    "mysqlMinimalEnabled": false,
                                    "mysqlQuick": false,
                                    "mysqlSingleTransaction": false,
                                    "ccuEnabled": false,
                                    "ccuTime": "01:30",
                                    "ccuEveryXDays": 3,
                                    "ccuDeleteAfter": 10,
                                    "ccuNameSuffix": "",
                                    "ccuHost": "",
                                    "ccuUser": "Admin",
                                    "ccuPassword": "",
                                    "ccuMulti": false,
                                    "ccuEvents": [],
                                    "ccuUsehttps": false,
                                    "ccuSignedCertificates": true,
                                    "webdavEnabled": false,
                                    "webdavUsername": "username",
                                    "webdavPassword": "",
                                    "webdavURL": "https://example.com/remote.php/dav/files/username/",
                                    "webdavDeleteOldBackup": false,
                                    "webdavOwnDir": false,
                                    "webdavMinimalDir": "/backupDir/iobroker",
                                    "webdavCcuDir": "/backupDir/ccu",
                                    "webdavDir": "/backupDir",
                                    "webdavSignedCertificates": true,
                                    "dropboxEnabled": false,
                                    "dropboxAccessToken": "",
                                    "dropboxAccessJson": "",
                                    "dropboxTokenType": "custom",
                                    "dropboxCodeChallenge": "",
                                    "dropboxDeleteOldBackup": false,
                                    "dropboxOwnDir": false,
                                    "dropboxMinimalDir": "/backupDir/iobroker",
                                    "dropboxCcuDir": "/backupDir/ccu",
                                    "dropboxDir": "/backupDir",
                                    "googledriveEnabled": false,
                                    "googledriveAccessTokens": "",
                                    "googledriveDeleteOldBackup": false,
                                    "googledriveOwnDir": false,
                                    "googledriveMinimalDir": "/backupDir/iobroker",
                                    "googledriveCcuDir": "/backupDir/ccu",
                                    "googledriveDir": "/backupDir",
                                    "mySqlEnabled": false,
                                    "mySqlHost": "localhost",
                                    "mySqlPort": "3306",
                                    "mySqlName": "iobroker",
                                    "mySqlUser": "",
                                    "mySqlPassword": "",
                                    "mySqlDeleteAfter": 5,
                                    "mySqlDumpExe": "",
                                    "mySqlMulti": false,
                                    "mySqlEvents": [],
                                    "influxDBEnabled": false,
                                    "influxDBHost": "localhost",
                                    "influxDBPort": "8088",
                                    "influxDBName": "iobroker",
                                    "influxDBDumpExe": "",
                                    "influxDBDeleteAfter": 5,
                                    "influxDBType": "local",
                                    "influxDBToken": "",
                                    "influxDBVersion": "1.x",
                                    "influxDBProtocol": "http",
                                    "influxDBMulti": false,
                                    "influxDBEvents": [],
                                    "deleteOldDataBase": false,
                                    "grafanaEnabled": false,
                                    "grafanaHost": "",
                                    "grafanaPort": "3000",
                                    "grafanaUsername": "admin",
                                    "grafanaPassword": "",
                                    "grafanaApiKey": "",
                                    "grafanaProtocol": "http",
                                    "grafanaSignedCertificates": true,
                                    "pgSqlHost": "",
                                    "pgSqlPort": "5432",
                                    "pgSqlName": "",
                                    "pgSqlUser": "",
                                    "pgSqlPassword": "",
                                    "pgSqlDeleteAfter": 5,
                                    "pgSqlDumpExe": "",
                                    "pgSqlEnabled": false,
                                    "pgSqlMulti": false,
                                    "pgSqlEvents": [],
                                    "cifsEnabled": false,
                                    "cifsMount": "",
                                    "cifsUser": "",
                                    "cifsPassword": "",
                                    "cifsOwnDir": false,
                                    "cifsDomain": "",
                                    "cifsDir": "sharename/backupDir",
                                    "cifsCcuDir": "sharename/backupDir",
                                    "cifsMinimalDir": "sharename/backupDir",
                                    "cifsDeleteOldBackup": false,
                                    "connectType": "NFS",
                                    "smbType": "vers=3.1.1",
                                    "sudoMount": true,
                                    "noserverino": false,
                                    "wakeOnLAN": false,
                                    "macAd": "20:DE:20:DE:20:DE",
                                    "wolWait": 25,
                                    "ftpEnabled": false,
                                    "ftpHost": "",
                                    "ftpPort": 21,
                                    "ftpDir": "/backupDir",
                                    "ftpUser": "",
                                    "ftpPassword": "",
                                    "ftpOwnDir": false,
                                    "ftpCcuDir": "/backupDir/ccu",
                                    "ftpMinimalDir": "/backupDir/iobroker",
                                    "ftpDeleteOldBackup": false,
                                    "redisEnabled": false,
                                    "redisPath": "/var/lib/redis",
                                    "redisType": "local",
                                    "redisHost": "",
                                    "redisPort": 6379,
                                    "redisUser": "",
                                    "redisPassword": "",
                                    "redisAOFactive": false,
                                    "historyEnabled": false,
                                    "historyPath": "media/usb/history",
                                    "javascriptsEnabled": false,
                                    "zigbeeEnabled": false,
                                    "yahkaEnabled": false,
                                    "jarvisEnabled": false,
                                    "notificationEnabled": false,
                                    "notificationsType": "Telegram",
                                    "telegramInstance": "telegram.0",
                                    "telegramNoticeType": "longTelegramNotice",
                                    "telegramUser": "All Receiver",
                                    "telegramSilentNotice": false,
                                    "telegramOnlyError": false,
                                    "telegramWaitToSend": 0,
                                    "whatsappInstance": "whatsapp-cmb.0",
                                    "whatsappNoticeType": "longWhatsappNotice",
                                    "whatsappOnlyError": false,
                                    "whatsappWaitToSend": 0,
                                    "signalInstance": "signal-cmb.0",
                                    "signalNoticeType": "longSignalNotice",
                                    "signalOnlyError": false,
                                    "signalWaitToSend": 0,
                                    "pushoverInstance": "pushover.0",
                                    "pushoverNoticeType": "longPushoverNotice",
                                    "pushoverSilentNotice": false,
                                    "pushoverDeviceID": "",
                                    "pushoverOnlyError": false,
                                    "pushoverWaitToSend": 0,
                                    "emailReceiver": "xxx@xxx.com",
                                    "emailSender": "xxx@xxx.com",
                                    "emailInstance": "email.0",
                                    "emailNoticeType": "longEmailNotice",
                                    "emailOnlyError": false,
                                    "emailWaitToSend": 0,
                                    "debugLevel": false,
                                    "sentry_enable": true,
                                    "historyEntriesNumber": 25,
                                    "restoreSource": "local",
                                    "startAllRestore": false,
                                    "hostType": "Single",
                                    "slaveInstance": "backitup.1",
                                    "slaveNameSuffix": "",
                                    "stopSlaveAfter": false,
                                    "ignoreErrors": false
                                  },
                                  "instanceObjects": [
                                    {
                                      "_id": "info",
                                      "type": "channel",
                                      "common": {
                                        "name": "Information"
                                      },
                                      "native": {}
                                    },
                                    {
                                      "_id": "info.latestBackup",
                                      "type": "state",
                                      "common": {
                                        "role": "state",
                                        "name": "Latest backup found by start",
                                        "type": "json",
                                        "read": true,
                                        "write": false
                                      },
                                      "native": {}
                                    },
                                    {
                                      "_id": "info.ccuNextTime",
                                      "type": "state",
                                      "common": {
                                        "role": "indicator",
                                        "name": "Next CCU backup",
                                        "type": "string",
                                        "read": true,
                                        "write": false,
                                        "def": "none"
                                      },
                                      "native": {}
                                    },
                                    {
                                      "_id": "info.iobrokerNextTime",
                                      "type": "state",
                                      "common": {
                                        "role": "indicator",
                                        "name": "Next iobroker backup",
                                        "type": "string",
                                        "read": true,
                                        "write": false,
                                        "def": "none"
                                      },
                                      "native": {}
                                    },
                                    {
                                      "_id": "history",
                                      "type": "channel",
                                      "common": {
                                        "name": "History Logs"
                                      },
                                      "native": {}
                                    },
                                    {
                                      "_id": "history.html",
                                      "type": "state",
                                      "common": {
                                        "role": "html",
                                        "name": "History-Log of executed backups",
                                        "type": "string",
                                        "read": true,
                                        "write": false,
                                        "def": "No backups yet"
                                      },
                                      "native": {}
                                    },
                                    {
                                      "_id": "history.json",
                                      "type": "state",
                                      "common": {
                                        "role": "state",
                                        "name": "History-Log of executed backups",
                                        "type": "json",
                                        "read": true,
                                        "write": false,
                                        "def": "[]"
                                      },
                                      "native": {}
                                    },
                                    {
                                      "_id": "history.ccuLastTime",
                                      "type": "state",
                                      "common": {
                                        "role": "indicator",
                                        "name": "Last CCU backup",
                                        "type": "string",
                                        "read": true,
                                        "write": false,
                                        "def": "No backups yet"
                                      },
                                      "native": {}
                                    },
                                    {
                                      "_id": "history.iobrokerLastTime",
                                      "type": "state",
                                      "common": {
                                        "role": "indicator",
                                        "name": "Last iobroker backup",
                                        "type": "string",
                                        "read": true,
                                        "write": false,
                                        "def": "No backups yet"
                                      },
                                      "native": {}
                                    },
                                    {
                                      "_id": "history.ccuSuccess",
                                      "type": "state",
                                      "common": {
                                        "role": "switch",
                                        "name": "Last ccu backup Success",
                                        "type": "boolean",
                                        "read": true,
                                        "write": true,
                                        "def": false
                                      },
                                      "native": {}
                                    },
                                    {
                                      "_id": "history.iobrokerSuccess",
                                      "type": "state",
                                      "common": {
                                        "role": "switch",
                                        "name": "Last iobroker backup Success",
                                        "type": "boolean",
                                        "read": true,
                                        "write": true,
                                        "def": false
                                      },
                                      "native": {}
                                    },
                                    {
                                      "_id": "oneClick",
                                      "type": "channel",
                                      "common": {
                                        "name": "OneClick Buttons"
                                      },
                                      "native": {}
                                    },
                                    {
                                      "_id": "oneClick.ccu",
                                      "type": "state",
                                      "common": {
                                        "role": "switch",
                                        "name": "Execute CCU backup",
                                        "type": "boolean",
                                        "read": true,
                                        "write": true,
                                        "def": false
                                      },
                                      "native": {}
                                    },
                                    {
                                      "_id": "oneClick.iobroker",
                                      "type": "state",
                                      "common": {
                                        "role": "switch",
                                        "name": "Execute iobroker backup",
                                        "type": "boolean",
                                        "read": true,
                                        "write": true,
                                        "def": false
                                      },
                                      "native": {}
                                    },
                                    {
                                      "_id": "output",
                                      "type": "channel",
                                      "common": {
                                        "name": "Output states"
                                      },
                                      "native": {}
                                    },
                                    {
                                      "_id": "output.line",
                                      "type": "state",
                                      "common": {
                                        "role": "state",
                                        "name": "Used for debug outputs",
                                        "type": "string",
                                        "read": true,
                                        "write": false,
                                        "def": ""
                                      },
                                      "native": {}
                                    }
                                  ],
                                  "objects": []
                                }
                                

                                Dann den iob fix ausführen.

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

                                  @thomas-braun
                                  ehm die war einfach leer?, habs jetzt mal kopiert und führe eben den fix aus

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

                                    @canim

                                    Dann hat dich dein System ja auch nicht angelogen.

                                    Unexpected end of JSON

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

                                      @thomas-braun
                                      Das sieht soweit gut aus, keine Fehlermeldungen mehr, aber lässt sich trotzdem keine Adapter upgraden, kommt auch kein fehler. Läuft durch aber die Version bleibt die selbe...

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

                                        @canim

                                        iobroker update
                                        iobroker upgrade alexa2 --debug
                                        
                                        C 1 Reply Last reply Reply Quote 0
                                        • C
                                          canim @Thomas Braun last edited by

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

                                          iobroker upgrade alexa2 --debug

                                          pi@raspberrypi:~ $ iobroker update
                                          Used repository: Beta (latest)
                                          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    "backitup"     : 2.5.4    , installed 2.5.4
                                          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:~ $ iobroker upgrade alexa2 --debug
                                          
                                          This upgrade of "alexa2" will introduce the following changes:
                                          ==========================================================================
                                          -> 3.21.0:
                                          IMPORTANT: Because of rate limits by Amazon I decided to remove the update of smart home device values in intervals because it seems to produce too much load in Skills and Amazon systems.
                                          Optimizes loading of smart home device states
                                          Fixed issue with enabling/disabling of Alarms in combination with non-default music for the alarm
                                          Prevented that Timers or Alarms that are long in the future to trigger their trigger state too early
                                          Fixed deleting own user Messages state
                                          Already request Notification updates when history registered a Notification action and do not wait for Push info to come in
                                          ==========================================================================
                                          
                                          Would you like to upgrade alexa2 from @3.20.1 to @3.21.0 now? [(y)es, (n)o]: y
                                          Update alexa2 from @3.20.1 to @3.21.0
                                          NPM version: 8.19.2
                                          Installing iobroker.alexa2@3.21.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 ERR! code EBADENGINE
                                          npm ERR! engine Unsupported engine
                                          npm ERR! engine Not compatible with your version of node/npm: zigbee2mqtt@1.16.2
                                          npm ERR! notsup Not compatible with your version of node/npm: zigbee2mqtt@1.16.2
                                          npm ERR! notsup Required: {"node":"^10 || ^12 || ^14 || ^15"}
                                          npm ERR! notsup Actual:   {"npm":"8.19.2","node":"v16.18.1"}
                                          
                                          npm ERR! A complete log of this run can be found in:
                                          npm ERR!     /home/iobroker/.npm/_logs/2022-11-13T22_33_23_795Z-debug-0.log
                                          upload [28] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/alexa.png alexa.png image/png
                                          upload [20] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/echo_dot3.png icons/echo_dot3.png image/png
                                          upload [19] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/echo_dot4.png icons/echo_dot4.png image/png
                                          upload [18] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/echo_flex.png icons/echo_flex.png image/png
                                          upload [17] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/echo_plus2.png icons/echo_plus2.png image/png
                                          upload [16] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/echo_show.png icons/echo_show.png image/png
                                          upload [15] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/echo_show2.png icons/echo_show2.png image/png
                                          upload [14] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/echo_show5.png icons/echo_show5.png image/png
                                          upload [13] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/echo_studio.png icons/echo_studio.png image/png
                                          upload [12] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/echo_sub.png icons/echo_sub.png image/png
                                          upload [11] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/firetab.png icons/firetab.png image/png
                                          upload [10] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/firetv.png icons/firetv.png image/png
                                          upload [9] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/microphone.png icons/microphone.png image/png
                                          upload [8] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/multiroom.png icons/multiroom.png image/png
                                          upload [7] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/raspi.png icons/raspi.png image/png
                                          upload [6] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/reverb.png icons/reverb.png image/png
                                          upload [5] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/sonos.png icons/sonos.png image/png
                                          upload [4] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/spot.png icons/spot.png image/png
                                          upload [3] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/index_m.html index_m.html text/html
                                          upload [2] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/info.png info.png image/png
                                          upload [1] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/warning.png warning.png image/png
                                          upload [0] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/words.js words.js application/javascript
                                          pi@raspberrypi:~ $
                                          
                                          
                                          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:

                                            zigbee2mqtt

                                            Wo haste das denn hergezaubert?

                                            cd /opt/iobroker 
                                            npm ls zigbee2mqtt
                                            
                                            C 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

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

                                            745
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

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