Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Fehler bei Update diverser Adapter.

    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

    Fehler bei Update diverser Adapter.

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

      @Landmilch

      iobroker rebuild self --install
      
      L 1 Reply Last reply Reply Quote 0
      • L
        Landmilch @Thomas Braun last edited by

        @Thomas-Braun said in Fehler bei Update diverser Adapter.:

        @Landmilch

        iobroker rebuild self --install
        

        Hab iobroker gestoppt. Dann rebuild ausgeführt. Danach iobroker wieder gestartet.
        Das ist das Ergebnis

        npm install iobroker.history@1.9.6 --loglevel error --prefix "/opt/iobroker" (System call)
        node-aead-crypto not needed on this system, since all ciphers are natively supported
        
        
        ╭─────────────────────────────────────────────────────────╮
        │                                                         │
        │ Manual installation of ioBroker is no longer supported  │
        │ on Linux, OSX and FreeBSD!                              │
        │ Please refer to the documentation on how to install it! │
        │ https://github.com/ioBroker/ioBroker/wiki/Installation  │
        │                                                         │
        ╰─────────────────────────────────────────────────────────╯
        
        
        npm ERR! code ELIFECYCLE
        npm ERR! errno 100
        npm ERR! iobroker@2.0.3 postinstall: `node lib/install.js`
        npm ERR! Exit status 100
        npm ERR! 
        npm ERR! Failed at the iobroker@2.0.3 postinstall script.
        npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
        
        npm ERR! A complete log of this run can be found in:
        npm ERR!     /home/iobroker/.npm/_logs/2020-05-06T22_16_24_745Z-debug.log
        host.iobroker Cannot install iobroker.history@1.9.6: 100
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Landmilch last edited by

          @Landmilch Keine Ahnung dann.

          which iobroker
          
          L 2 Replies Last reply Reply Quote 0
          • L
            Landmilch @Thomas Braun last edited by

            @Thomas-Braun said in Fehler bei Update diverser Adapter.:

            which iobroker

            pi@iobroker:/opt/iobroker $ which iobroker
            /usr/bin/iobroker
            pi@iobroker:/opt/iobroker $ 
            
            
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @Landmilch last edited by

              @Landmilch

              ls -la /usr/bin/iobroker
              
              L 1 Reply Last reply Reply Quote 0
              • L
                Landmilch @Thomas Braun last edited by

                @Thomas-Braun said in Fehler bei Update diverser Adapter.:

                @Landmilch Keine Ahnung dann.

                which iobroker
                

                @Thomas-Braun @Glasfaser @paul53
                Danke für euren Einsatz. Ich bin für heute raus. Muss jetzt erst mal schlafen. Morgen noch mal ausgeschlafen ran.

                1 Reply Last reply Reply Quote 0
                • L
                  Landmilch @Thomas Braun last edited by

                  @Thomas-Braun said in Fehler bei Update diverser Adapter.:

                  ls -la /usr/bin/iobroker
                  Voila

                  pi@iobroker:/opt/iobroker $ ls -la /usr/bin/iobroker
                  lrwxrwxrwx 1 root root 22 Mai  6 23:22 /usr/bin/iobroker -> /opt/iobroker/iobroker
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Landmilch last edited by

                    @Landmilch
                    Nicht dass dein hostname 'iobroker' da für Trouble sorgt...

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

                      @Thomas-Braun

                      Bei jeder Fehlermeldung ist im Log ein Link :

                      https://github.com/ioBroker/ioBroker/wiki/Installation
                      

                      als würde das System denken es hat eine alte Version installiert .

                      Thomas Braun L 2 Replies Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Glasfaser last edited by

                        @Glasfaser said in Fehler bei Update diverser Adapter.:

                        https://github.com/ioBroker/ioBroker/wiki/Installation

                        Oder zwei Installationen.

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

                          @Glasfaser said in Fehler bei Update diverser Adapter.:

                          @Thomas-Braun

                          Bei jeder Fehlermeldung ist im Log ein Link :

                          https://github.com/ioBroker/ioBroker/wiki/Installation
                          

                          als würde das System denken es hat eine alte Version installiert .

                          Kann ich das System umbenennen?

                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • L
                            Landmilch @Thomas Braun last edited by

                            @Thomas-Braun said in Fehler bei Update diverser Adapter.:

                            @Glasfaser said in Fehler bei Update diverser Adapter.:

                            https://github.com/ioBroker/ioBroker/wiki/Installation

                            Oder zwei Installationen.

                            Wenn das so ist, wie kann ich das prüfen?

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

                              @Landmilch
                              Kannst du hier ändern:

                              sudo nano /etc/hostname
                              sudo nano /etc/hosts
                              

                              Danach einmal rebooten, am besten.

                              1 Reply Last reply Reply Quote 0
                              • AlCalzone
                                AlCalzone Developer last edited by AlCalzone

                                @Landmilch
                                iobroker@2.0.3 ist das Kern-Paket, dass beim Installieren benötigt wird. Deine Installation denkt wohl, dass das fehlt und bricht daraufhin alle npm-Installationen ab. Eigentlich sollte es auch gar nicht installiert sein, sondern enthält nur die Dateien, die zur Installation benötigt werden. Aus deiner Post-Historie vermute ich, dass du es ausversehen installiert hast, weil du Befehle nicht richtig abgetippt hast.

                                Bitte genau lesen, nicht wie oben immer mal wieder Teile übersehen! Und bitte meine Antwort abwarten, nicht draus irgendwelchen Handlungsbedarf ableiten.

                                1. Ist im Ordner /opt/iobroker eine Datei package-lock.json?
                                2. Ist im Ordner /opt/iobroker/node_modules ein Ordner iobroker ohne führendes @?
                                3. Zeige bitte den Inhalt der Datei /opt/iobroker/package.json.
                                L 1 Reply Last reply Reply Quote 0
                                • L
                                  Landmilch @AlCalzone last edited by Landmilch

                                  @AlCalzone said in Fehler bei Update diverser Adapter.:

                                  @Landmilch
                                  iobroker@2.0.3 ist das Kern-Paket, dass beim Installieren benötigt wird. Deine Installation denkt wohl, dass das fehlt und bricht daraufhin alle npm-Installationen ab. Eigentlich sollte es auch gar nicht installiert sein, sondern enthält nur die Dateien, die zur Installation benötigt werden. Aus deiner Post-Historie vermute ich, dass du es ausversehen installiert hast, weil du Befehle nicht richtig abgetippt hast.

                                  Bitte genau lesen, nicht wie oben immer mal wieder Teile übersehen! Und bitte meine Antwort abwarten, nicht draus irgendwelchen Handlungsbedarf ableiten.

                                  1. Ist im Ordner /opt/iobroker eine Datei package-lock.json? JA
                                  2. Ist im Ordner /opt/iobroker/node_modules ein Ordner iobroker ohne führendes @? NEIN
                                  3. Zeige bitte den Inhalt der Datei /opt/iobroker/package.json.

                                  Voila.

                                  pi@homebrain:/opt/iobroker $ cat package.json
                                  {
                                    "name": "iobroker.inst",
                                    "version": "2.0.3",
                                    "private": true,
                                    "description": "Automation platform in node.js",
                                    "scripts": {
                                      "install": "node lib/checkVersions.js",
                                      "postinstall": "node lib/install.js",
                                      "test": "node node_modules/mocha/bin/mocha --exit"
                                    },
                                    "dependencies": {
                                      "colors": "^1.3.3",
                                      "fs-extra": "^7.0.1",
                                      "iobroker": "^2.0.3",
                                      "iobroker.admin": "^4.1.1",
                                      "iobroker.backitup": "^1.5.6",
                                      "iobroker.bmw": "^1.4.0",
                                      "iobroker.cloud": "^3.0.3",
                                      "iobroker.coronavirus-statistics": "^0.5.9",
                                      "iobroker.daswetter": "^2.8.1",
                                      "iobroker.discovergy": "^0.5.4",
                                      "iobroker.discovery": "^2.3.5",
                                      "iobroker.dwd": "^2.4.8",
                                      "iobroker.feiertage": "^1.0.19",
                                      "iobroker.find-my-iphone": "^0.2.17",
                                      "iobroker.fritzdect": "^0.3.2",
                                      "iobroker.history": "^1.9.5",
                                      "iobroker.hs100": "^1.1.2",
                                      "iobroker.ical": "^1.7.0",
                                      "iobroker.icons-material-png": "^0.1.0",
                                      "iobroker.influxdb": "^1.8.4",
                                      "iobroker.info": "^1.7.1",
                                      "iobroker.javascript": "^4.5.1",
                                      "iobroker.js-controller": "^3.0.20",
                                      "iobroker.luftdaten": "0.0.11",
                                      "iobroker.mobile": "^0.5.0",
                                      "iobroker.rpi2": "^1.2.0",
                                      "iobroker.samsung_tizen": "https://github.com/dahuby/iobroker.samsung_tizen/tarball/master",
                                      "iobroker.sayit": "^1.8.2",
                                      "iobroker.scenes": "^1.1.0",
                                      "iobroker.shuttercontrol": "^0.5.0",
                                      "iobroker.simple-api": "^2.4.4",
                                      "iobroker.sonos": "^2.0.1",
                                      "iobroker.spotify-premium": "^1.0.0",
                                      "iobroker.telegram": "^1.5.8",
                                      "iobroker.text2command": "^1.3.0",
                                      "iobroker.tr-064": "^4.0.1",
                                      "iobroker.tradfri": "^2.6.2",
                                      "iobroker.vis": "^1.2.6",
                                      "iobroker.web": "^3.0.7",
                                      "iobroker.yahka": "^0.11.0",
                                      "semver": "^5.6.0",
                                      "yargs": "^7.0.2"
                                    }
                                  }
                                  
                                  pi@homebrain:/opt/iobroker $ ls
                                  backups                   CHANGELOG_INSTALLER_LINUX.md  INSTALLER_INFO.txt  iobroker-data  log           package-lock.json
                                  cache                     fix_installation.sh           iob                 lib            node_modules  README.md
                                  CHANGELOG_FIXER_LINUX.md  install                       iobroker            LICENSE        package.json  reinstall.js
                                  
                                  
                                  pi@homebrain:/opt/iobroker/node_modules $ ls
                                  abort-controller            es6-promise                      jsonfile                     rasha
                                  accepts                     es-abstract                      json-schema                  raw-body
                                  acme                        escape-html                      json-schema-traverse         rc
                                  acme-dns-01-cli             escape-string-regexp             json-stringify-safe          read
                                  acme-v2                     es-to-primitive                  jsonwebtoken                 readable-stream
                                  after                       etag                             jsprim                       readdirp
                                  agent-base                  eventemitter3                    jszip                        readline-sync
                                  ajv                         events                           jwa                          read-pkg
                                  alcalzone-shared            event-stream                     jws                          read-pkg-up
                                  ansi-regex                  event-target-shim                keypairs                     redis-commands
                                  ansi-styles                 expand-template                  kuler                        redis-errors
                                  anymatch                    express                          lcid                         redis-parser
                                  aproba                      express-fileupload               le-acme-core                 reduce-flatten
                                  are-we-there-yet            express-session                  le-challenge-fs              reflect-metadata
                                  arg                         extend                           le-sni-auto                  regenerator-runtime
                                  array-back                  extsprintf                       le-store-certbot             regexp.prototype.flags
                                  arraybuffer.slice           eyes                             lie                          request
                                  array-ext                   fast-deep-equal                  loadavg-windows              request-promise
                                  array-flatten               fast-json-stable-stringify       load-json-file               request-promise-core
                                  array.prototype.findindex   fast-safe-stringify              locate-path                  request-promise-native
                                  arrify                      fast-srp-hap                     lodash                       require-directory
                                  asap                        fast-text-encoding               lodash.assignin              require-main-filename
                                  asn1                        fecha                            lodash.bind                  resolve
                                  assert-plus                 file-stream-rotator              lodash.camelcase             respjs
                                  async                       file-type                        lodash.defaults              retry
                                  asynckit                    file-uri-to-path                 lodash.defaultto             revalidator
                                  async-limiter               fill-range                       lodash.filter                rimraf
                                  async-retry                 finalhandler                     lodash.flatten               @root
                                  aws4                        find-replace                     lodash.foreach               rpi-gpio
                                  aws-sdk                     find-up                          lodash.groupby               rrule
                                  aws-sign2                   follow-redirects                 lodash.includes              rsa-compat
                                  axios                       forever-agent                    lodash.isboolean             safe-buffer
                                  babel-runtime               form-data                        lodash.isequal               safer-buffer
                                  backo2                      forwarded                        lodash.isinteger             safe-replace
                                  balanced-match              @frankjoke                       lodash.isnumber              sax
                                  base64-arraybuffer          fresh                            lodash.isplainobject         semver
                                  base64id                    fritzapi                         lodash.isstring              send
                                  base64-js                   from                             lodash.map                   @sentry
                                  bcrypt-pbkdf                fs-constants                     lodash.merge                 @serialport
                                  better-assert               fs-extra                         lodash.once                  serialport
                                  bignumber.js                fs-minipass                      lodash.pick                  serve-static
                                  binary-extensions           fs.realpath                      lodash.reduce                set-blocking
                                  bindings                    ftp                              lodash.reject                set-immediate-shim
                                  bl                          ftp-response-parser              lodash.some                  setprototypeof
                                  blob                        function-bind                    logform                      signal-exit
                                  bluebird                    gauge                            loglevel                     simple-concat
                                  body-parser                 gaxios                           long                         simple-get
                                  bonjour-hap                 gcp-metadata                     long-timeout                 simple-swizzle
                                  boolbase                    get-caller-file                  lru-cache                    sntp
                                  boom                        getpass                          lru_map                      socket.io
                                  brace-expansion             github-from-package              luxon                        socket.io-adapter
                                  braces                      glob                             macaddress                   socket.io-client
                                  buffer                      glob-parent                      map-stream                   socket.io-parser
                                  buffer-alloc                glossy                           mdns                         socksv5
                                  buffer-alloc-unsafe         googleapis                       mdns-discovery               soef
                                  buffer-equal-constant-time  googleapis-common                mdns-server                  sonos-discovery
                                  buffer-fill                 google-auth-library              media-typer                  sorted-array-functions
                                  buffer-from                 google-p12-pem                   merge-descriptors            source-map
                                  buffer-indexof              graceful-fs                      methods                      source-map-support
                                  buffer-shims                greenlock                        micro                        spdx-correct
                                  busboy                      greenlock-store-fs               mime                         spdx-exceptions
                                  bytes                       gtoken                           mime-db                      spdx-expression-parse
                                  callsite                    hap-nodejs                       mime-types                   spdx-license-ids
                                  camelcase                   har-schema                       mimic-response               split
                                  caseless                    har-validator                    minimatch                    sprintf-js
                                  castv2                      has                              minimist                     sshpk
                                  castv2-client               has-binary2                      minipass                     stack-trace
                                  cert-info                   has-cors                         minizlib                     standard-as-callback
                                  chalk                       has-flag                         mkdirp                       statuses
                                  cheerio                     has-symbols                      mkdirp-classic               stealthy-require
                                  chokidar                    has-unicode                      moment                       stream-combiner
                                  chownr                      hawk                             moment-timezone              streamsearch
                                  cli                         hoek                             ms                           string_decoder
                                  cliff                       hosted-git-info                  multicast-dns                string.prototype.trimend
                                  cliui                       html-entities                    multicast-dns-service-types  string.prototype.trimleft
                                  cloneextend                 htmlparser2                      mute-stream                  string.prototype.trimright
                                  cluster-key-slot            http-errors                      nan                          string.prototype.trimstart
                                  co                          http-signature                   napi-build-utils             stringstream
                                  code-point-at               https-proxy-agent                ncp                          string-width
                                  coffee-compiler             i                                negotiator                   strip-ansi
                                  coffee-script               iconv-lite                       netmask                      strip-bom
                                  color                       ieee754                          node-abi                     strip-json-comments
                                  color-convert               immediate                        node-coap-client             suncalc
                                  color-name                  indexof                          node-dtls-client             suncalc2
                                  colornames                  inflight                         node.extend                  supports-color
                                  colors                      influx                           node-fetch                   sync-exec
                                  colorspace                  inherits                         node-forge                   systeminformation
                                  color-string                ini                              node-ical                    table-layout
                                  combined-stream             invert-kv                        node-mndp                    tar
                                  commander                   @iobroker                        node-persist                 tar-fs
                                  command-line-args           iobroker.admin                   node-schedule                targz
                                  command-line-usage          iobroker.backitup                node-ssdp                    tar-stream
                                  component-bind              iobroker.bmw                     node-telegram-bot-api        text-hex
                                  component-emitter           iobroker.cloud                   node-tradfri-client          through
                                  component-inherit           iobroker.coronavirus-statistics  node-wol                     thunky
                                  concat-map                  iobroker.daswetter               noop-logger                  to-array
                                  connect-flash               iobroker.discovergy              normalize-package-data       to-buffer
                                  console-control-strings     iobroker.discovery               normalize-path               toidentifier
                                  content-disposition         iobroker.dwd                     npmlog                       to-regex-range
                                  content-type                iobroker.feiertage               nth-check                    tough-cookie
                                  cookie                      iobroker.find-my-iphone          number-is-nan                tough-cookie-filestore
                                  cookie-parser               iobroker.fritzdect               oauth-sign                   tplink-smarthome-api
                                  cookie-signature            iobroker.history                 object-assign                tplink-smarthome-crypto
                                  core-js                     iobroker.hs100                   object.assign                triple-beam
                                  core-util-is                iobroker.ical                    object-component             tr-O64
                                  country-list-js             iobroker.icons-material-png      object-hash                  tslib
                                  cron-parser                 iobroker.influxdb                object-inspect               tunnel-agent
                                  cryptiles                   iobroker.info                    object-is                    tweetnacl
                                  css-select                  iobroker.javascript              object-keys                  type-is
                                  css-what                    iobroker.js-controller           once                         @types
                                  cycle                       iobroker.luftdaten               one-time                     typescript
                                  daemonize2                  iobroker.mobile                  on-finished                  typical
                                  dashdash                    iobroker.objects-redis           on-headers                   uid-safe
                                  debug                       iobroker.rpi2                    os-locale                    universalify
                                  decache                     iobroker.samsung_tizen           os-tmpdir                    unix-dgram
                                  decamelize                  iobroker.sayit                   pako                         unorm
                                  decimal.js                  iobroker.scenes                  parse-json                   unpipe
                                  decompress-response         iobroker.shuttercontrol          parse-listing                uri-js
                                  deep-clone                  iobroker.simple-api              parseqs                      url
                                  deep-equal                  iobroker.socketio                parseuri                     url-template
                                  deep-extend                 iobroker.sonos                   parseurl                     ursa-optional
                                  define-properties           iobroker.spotify-premium         passport                     util
                                  delayed-stream              iobroker.telegram                passport-local               util-deprecate
                                  delegates                   iobroker.text2command            passport.socketio            utile
                                  denque                      iobroker.tr-064                  passport-strategy            utils-merge
                                  depd                        iobroker.tradfri                 path-exists                  uuid
                                  destroy                     iobroker.vis                     path-is-absolute             validate-npm-package-license
                                  detect-libc                 iobroker.web                     path-parse                   vary
                                  dev-null                    iobroker.yahka                   path-to-regexp               verror
                                  dgram                       ioredis                          path-type                    vinyl-sourcemaps-apply
                                  diagnostics                 ip                               pause                        virtual-tsc
                                  dicer                       ipaddr.js                        pause-stream                 vm2
                                  diskusage                   is                               performance-now              wake_on_lan
                                  dns-equal                   is-arguments                     picomatch                    weak-daemon
                                  dns-packet                  isarray                          pidusage                     which-module
                                  dns-txt                     is-arrayish                      pify                         which-pm-runs
                                  domelementtype              is-binary-path                   pinkie                       wide-align
                                  domhandler                  is-callable                      pinkie-promise               winston
                                  dom-serializer              is-date-object                   pkginfo                      winston-daily-rotate-file
                                  domutils                    is-extglob                       p-limit                      winston-syslog
                                  dropbox-v2-api              is-fullwidth-code-point          p-locate                     winston-transport
                                  duplexer                    is-generator-function            prebuild-install             wordwrapjs
                                  ecc-jsbn                    is-glob                          process-nextick-args         wrap-ansi
                                  ecdsa-sig-formatter         is-nan                           promise                      wrappy
                                  eckles                      is-number                        prompt                       ws
                                  ee-first                    is-port-reachable                @protobufjs                  xml2js
                                  emoji-regex                 is-regex                         protobufjs                   xml2json-light
                                  enabled                     is-stream                        proxy-addr                   xmlbuilder
                                  encodeurl                   isstream                         psl                          xml-flow
                                  end-of-stream               is-symbol                        p-try                        xmlhttprequest-ssl
                                  engine.io                   is-typedarray                    pump                         xregexp
                                  engine.io-client            is-utf8                          punycode                     xtend
                                  engine.io-parser            jmespath                         pyconf                       y18n
                                  entities                    jsbn                             qs                           yallist
                                  env-variable                jsftp                            querystring                  yargs
                                  epoll                       jsonata                          random-bytes                 yargs-parser
                                  error-ex                    json-bigint                      range-parser                 yeast
                                  
                                  
                                  AlCalzone 1 Reply Last reply Reply Quote 0
                                  • AlCalzone
                                    AlCalzone Developer @Landmilch last edited by

                                    @Landmilch sagte in Fehler bei Update diverser Adapter.:

                                    "iobroker": "^2.0.3",
                                    

                                    Und da haben wir's, Zeile 15. Bearbeite die Datei /opt/iobroker/package.json mit einem Texteditor, z.B. nano, lösche diese Zeile, und speichere sie. Danach sollte die Installation der Adapter etc. wieder gehen.

                                    L 1 Reply Last reply Reply Quote 0
                                    • L
                                      Landmilch @AlCalzone last edited by

                                      @AlCalzone said in Fehler bei Update diverser Adapter.:

                                      /opt/iobroker/package.json

                                      You made my day. Vielen Dank! Läuft wieder. 👍 🙏
                                      Bildschirmfoto 2020-05-07 um 11.03.55.png

                                      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

                                      767
                                      Online

                                      31.9k
                                      Users

                                      80.1k
                                      Topics

                                      1.3m
                                      Posts

                                      install adapter update
                                      5
                                      71
                                      3902
                                      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