Upgrade Node xx.xx, z.B.12.x zu Node 14.x für IoBroker

  • This upgrade of "admin" will at least introduce the following changes:


    -> 4.1.1:

    Started the development of GUI based on React (only for developers)

    -> 4.0.10:

    webserver error handling optimized, preparations for js-controller 3

    -> 4.0.9:

    The attempt to process error by the log show.

    -> 4.0.5:

    workaround for a socket.io bug added, warning message for GitHub installs added

    -> 4.0.4:

    fix socketio client dependency



    Would you like to upgrade admin from @3.7.8 to @4.2.1 now? [(y)es, (n)o]: y

    Update admin from @3.7.8 to @4.2.1


    if (arr.rows[id].value.common.enabled && hostname === arr.rows[id].value.comm on.host) {


    TypeError: Cannot read property 'enabled' of undefined

    at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupInstal l.js:191:55)

    at processImmediate (internal/timers.js:463:21)

  • habe schon mehrfach mit deinem tool versucht.

    Im Moment habe ich 12 drauf.

    Das upgrade des admin hat aber bei 14 auch nicht geklappt

    1. iobroker stop
    2. sudo npm uninstall iobroker.admin --error --prefix "/opt/iobroker"
    3. sudo npm install iobroker.admin --error --prefix "/opt/iobroker"
    4. sudo chown -R iobroker /opt/iobroker
    5. iobroker start
  • pi@raspberrypi:/opt/iobroker $ iobroker stop

    pi@raspberrypi:/opt/iobroker $ sudo npm uninstall iobroker.admin --error --prefix "/opt/iobroker

    > sudo npm install iobroker.admin --error --prefix "/opt/iobroker

    npm WARN saveError ENOENT: no such file or directory, open '/opt/iobroker

    npm WARN saveError sudo npm install iobroker.admin --error --prefix /opt/iobroker/package.json'

    npm notice created a lockfile as package-lock.json. You should commit this file.

    npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker

    npm WARN enoent sudo npm install iobroker.admin --error --prefix /opt/iobroker/package.json'

    npm WARN iobroker No description

    npm WARN iobroker No repository field.

    npm WARN iobroker No README data

    npm WARN iobroker No license field.

    up to date in 0.656s

    found 0 vulnerabilities


    │ │

    │ New major version of npm available! 6.14.2 → 7.6.2 │

    │ Changelog: https://github.com/npm/cli/releases/tag/v7.6.2

    │ Run npm install -g npm to update! │

    │ │


  • Code
    1. so...
    2. sudo npm uninstall iobroker.admin --error --prefix "/opt/iobroker"
    3. nicht so..
    4. sudo npm uninstall iobroker.admin --error --prefix "/opt/iobroker
    5. Genau hingucken...😁
  • Nach neuinstallation bekomme ich diese Fehlermeldung:

    Fertig mit Fehler: host.raspberrypi Invalid version of "admin". Installed "3.7.8", required ">=4.0.1

    Bei Adaptern zeigt er Admin 4.2.1 an