Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Weiland

    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

    W
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 16
    • Best 0
    • Groups 1

    Weiland

    @Weiland

    Starter

    0
    Reputation
    7
    Profile views
    16
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Weiland Follow
    Starter

    Latest posts made by Weiland

    • RE: Adapter updaten nicht mehr nach Update auf Node.js 16.17.0

      @thomas-braun

      erledigt, genau kann ich dir das garnicht sagen, wahrscheinlich gab es mal einen Adapter den ich brauchte nur in Beta

      posted in ioBroker Allgemein
      W
      Weiland
    • RE: Adapter updaten nicht mehr nach Update auf Node.js 16.17.0

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

      @weiland

      node-red 4.0.0 ist eh erst noch Beta. Solltest du nicht verwenden.

      iobroker update
      iobroke upgrade node-red@3.3.1
      

      Du scheinst da generell als Beta-Tester unterwegs zu sein.

      iobroker repo list
      

      sagt?

      stimmt:

      pi@raspberrypi:/opt/iobroker $ iobroker repo list
      stable        : http://download.iobroker.net/sources-dist.json
      beta          : http://download.iobroker.net/sources-dist-latest.json
      
      Active repo(s): beta
      
      
      posted in ioBroker Allgemein
      W
      Weiland
    • RE: Adapter updaten nicht mehr nach Update auf Node.js 16.17.0

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

      cd /opt/iobroker
      npm ls

      sagt nun?

      pi@raspberrypi:/opt/iobroker $ npm ls
      iobroker.inst@2.0.3 /opt/iobroker
      ├── @types/component-emitter@1.2.11 extraneous
      ├── @types/cookie@0.4.1 extraneous
      ├── @types/cors@2.8.12 extraneous
      ├── colors@1.4.0
      ├── fs-extra@7.0.1
      ├── iobroker.accuweather@1.2.4
      ├── iobroker.admin@6.2.21
      ├── iobroker.alexa2@3.19.7
      ├── iobroker.backitup@2.4.12
      ├── iobroker.binance@1.1.3
      ├── iobroker.bosesoundtouch@0.10.3
      ├── iobroker.botvac@1.0.0
      ├── iobroker.cloud@4.2.2
      ├── iobroker.daswetter@3.1.4
      ├── iobroker.discovery@3.0.5
      ├── iobroker.fakeroku@0.2.1
      ├── iobroker.flot@1.11.0
      ├── iobroker.fritzdect@2.2.3
      ├── iobroker.ham@5.1.0
      ├── iobroker.harmony@1.2.2
      ├── iobroker.history@2.2.1
      ├── iobroker.hm-rega@3.0.43
      ├── iobroker.hm-rpc@1.15.15
      ├── iobroker.hmip@1.19.1
      ├── iobroker.homeconnect@1.0.1
      ├── iobroker.hue-extended@2.0.0
      ├── iobroker.hue@3.7.1
      ├── iobroker.icons-icons8@0.0.1
      ├── iobroker.info@1.9.19
      ├── iobroker.javascript@6.0.1
      ├── iobroker.js-controller@4.0.23
      ├── iobroker.material@1.1.2
      ├── iobroker.mihome-vacuum@3.6.0
      ├── iobroker.mobile@1.0.1
      ├── iobroker.node-red@4.0.0 invalid: "3.3.0" from the root project
      ├── iobroker.openweathermap@0.3.0
      ├── iobroker.pi-hole@1.3.4
      ├── iobroker.ping@1.5.3
      ├── iobroker.samsung@0.5.11
      ├── iobroker.schoolfree@1.0.1
      ├── iobroker.simple-api@2.7.1
      ├── iobroker.socketio@6.1.10
      ├── iobroker.spotify-premium@1.2.2
      ├── iobroker.sql@2.1.8
      ├── iobroker.synology@2.1.9
      ├── iobroker.tileboard@0.3.1
      ├── iobroker.tr-064@4.2.16
      ├── iobroker.trashschedule@2.0.3
      ├── iobroker.vis-google-fonts@1.0.3
      ├── iobroker.vis-history@1.0.0
      ├── iobroker.vis-hqwidgets@1.3.0
      ├── iobroker.vis-materialdesign@0.5.9
      ├── iobroker.vis@1.4.15
      ├── iobroker.web@5.2.5
      ├── iobroker.whatsapp-cmb@0.2.3
      ├── iobroker.ws@2.1.5
      ├── iobroker.yahka@0.13.1
      ├── iobroker@2.0.3
      ├── semver@5.7.1
      └── yargs@7.1.0
      
      npm ERR! code ELSPROBLEMS
      npm ERR! extraneous: @types/component-emitter@1.2.11 /opt/iobroker/node_modules/@types/component-emitter
      npm ERR! extraneous: @types/cookie@0.4.1 /opt/iobroker/node_modules/@types/cookie
      npm ERR! extraneous: @types/cors@2.8.12 /opt/iobroker/node_modules/@types/cors
      npm ERR! invalid: iobroker.node-red@4.0.0 /opt/iobroker/node_modules/iobroker.node-red
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/iobroker/.npm/_logs/2022-09-06T09_12_10_695Z-debug-0.log
      pi@raspberrypi:/opt/iobroker $
      
      

      Tatsächlich habe ich auch festgestellt, dass der Node-Red-Adapter der einzige ist der sich nicht updaten lässt.

      posted in ioBroker Allgemein
      W
      Weiland
    • RE: Adapter updaten nicht mehr nach Update auf Node.js 16.17.0

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

      Also hast du da mal mit zu hohen Rechten herumgefummelt. Mit 'sudo' oder direkt als root. Ist beides verboten im Zusammenhang mit dem ioBroker.

      Das ist übrigens möglich, ich werde es mir hinter die Ohren schreiben

      posted in ioBroker Allgemein
      W
      Weiland
    • RE: Adapter updaten nicht mehr nach Update auf Node.js 16.17.0

      @thomas-braun

      Scheint nun zu klappen, update gerade die Adapter. Tausend Dank! Würde dir gerne nen Kaffee rüberschieben.

      Soll ich nun noch was an der NPM-Version machen?

      posted in ioBroker Allgemein
      W
      Weiland
    • RE: Adapter updaten nicht mehr nach Update auf Node.js 16.17.0

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

      for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%%/}; done

      Ich hoffe das war kein Problem "groups" zwischenzuschieben:

      pi@raspberrypi:~ $ iobroker stop
      iobrokepi@raspberrypi:~ $
      pi@raspberrypi:~ $ iobroker fix
      library: loaded
      Library version=2022-06-15
      
      ==========================================================================
      
          Welcome to the ioBroker installation fixer!
          Script version: 2022-06-03
      
          You might need to enter your password a couple of times.
      
      ==========================================================================
      
      
      ==========================================================================
          Installing prerequisites (1/3)
      ==========================================================================
      
      OK:1 http://archive.raspberrypi.org/debian buster InRelease
      OK:2 https://deb.nodesource.com/node_16.x buster InRelease
      OK:3 http://raspbian.raspberrypi.org/raspbian buster InRelease
      Paketlisten werden gelesen... Fertig
      Installed gcc-c++
      Installed cmake
      
      ==========================================================================
          Checking ioBroker user and directory permissions (2/3)
      ==========================================================================
      
      Created /etc/sudoers.d/iobroker
      Fixing directory permissions...
      
      ==========================================================================
          Checking autostart (3/3)
      ==========================================================================
      
      Enabling autostart...
      Autostart enabled!
      
      ==========================================================================
      
          Your installation was fixed successfully
          Run iobroker start to start ioBroker again!
      
      ==========================================================================
      
      pi@raspberrypi:~ $ groups
      pi adm dialout cdrom sudo audio video plugdev games users input netdev gpio i2c spi iobroker
      pi@raspberrypi:~ $ for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%%/}; done
      pi@raspberrypi:~ $
      
      
      posted in ioBroker Allgemein
      W
      Weiland
    • RE: Adapter updaten nicht mehr nach Update auf Node.js 16.17.0

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

      for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%%/}; done

      Hier fehlen wohl Berechtigungen, in ioBroker?

      Gekürzt:

      rm: das Entfernen von '/opt/iobroker/node_modules/.js-yaml-mxBLENxb/lib/js-yaml/type/set.js' ist nicht möglich: Keine Berechtigung
      rm: das Entfernen von '/opt/iobroker/node_modules/.js-yaml-mxBLENxb/lib/js-yaml/type/timestamp.js' ist nicht möglich: Keine Berechtigung
      rm: das Entfernen von '/opt/iobroker/node_modules/.js-yaml-mxBLENxb/lib/js-yaml/type/pairs.js' ist nicht möglich: Keine Berechtigung
      rm: das Entfernen von '/opt/iobroker/node_modules/.js-yaml-mxBLENxb/lib/js-yaml/type/null.js' ist nicht möglich: Keine Berechtigung
      rm: das Entfernen von '/opt/iobroker/node_modules/.js-yaml-mxBLENxb/lib/js-yaml/type/merge.js' ist nicht möglich: Keine Berechtigung
      rm: das Entfernen von '/opt/iobroker/node_modules/.js-yaml-mxBLENxb/lib/js-yaml/schema.js' ist nicht möglich: Keine Berechtigung
      rm: das Entfernen von '/opt/iobroker/node_modules/.js-yaml-mxBLENxb/lib/js-yaml.js' ist nicht möglich: Keine Berechtigung
      rm: das Entfernen von '/opt/iobroker/node_modules/.js-yaml-mxBLENxb/dist/js-yaml.min.js' ist nicht möglich: Keine Berechtigung
      rm: das Entfernen von '/opt/iobroker/node_modules/.js-yaml-mxBLENxb/dist/js-yaml.js' ist nicht möglich: Keine Berechtigung
      
      
      posted in ioBroker Allgemein
      W
      Weiland
    • RE: Adapter updaten nicht mehr nach Update auf Node.js 16.17.0

      @weiland said in Adapter updaten nicht mehr nach Update auf Node.js 16.17.0:

      Jetzt nochmal die Anleitung komplett durchgehen bis Fehler kommen?

      Sieht noch nicht gut aus.

      pi@raspberrypi:~ $ cd /opt/iobroker
      pi@raspberrypi:/opt/iobroker $ npm ls | grep -E 'github|ERR'
      npm ERR! code ELSPROBLEMS
      npm ERR! extraneous: @types/component-emitter@1.2.11 /opt/iobroker/node_modules/@types/component-emitter
      npm ERR! extraneous: @types/cookie@0.4.1 /opt/iobroker/node_modules/@types/cookie
      npm ERR! extraneous: @types/cors@2.8.12 /opt/iobroker/node_modules/@types/cors
      npm ERR! invalid: iobroker.node-red@4.0.0 /opt/iobroker/node_modules/iobroker.node-red
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/iobroker/.npm/_logs/2022-09-06T08_34_41_336Z-debug-0.log
      pi@raspberrypi:/opt/iobroker $ cd /opt/iobroker && npm prune
      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 ENOTEMPTY
      npm ERR! syscall rename
      npm ERR! path /opt/iobroker/node_modules/acorn
      npm ERR! dest /opt/iobroker/node_modules/.acorn-zHERliMH
      npm ERR! errno -39
      npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/acorn' -> '/opt/iobroker/node_modules/.acorn-zHERliMH'
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/iobroker/.npm/_logs/2022-09-06T08_35_22_749Z-debug-0.log
      pi@raspberrypi:/opt/iobroker $
      
      
      posted in ioBroker Allgemein
      W
      Weiland
    • RE: Adapter updaten nicht mehr nach Update auf Node.js 16.17.0

      @thomas-braun

      Sorry, mein Fehler.

      Jetzt sieht es so aus:

      pi@raspberrypi:~ $ uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
      armv7l
      /usr/bin/nodejs
      /usr/bin/node
      /usr/bin/npm
      v16.17.0
      v16.17.0
      8.15.0
      pi
      /home/pi
      OK:1 http://archive.raspberrypi.org/debian buster InRelease
      OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
      OK:3 https://deb.nodesource.com/node_16.x buster InRelease
      Paketlisten werden gelesen... Fertig
      Abhängigkeitsbaum wird aufgebaut.
      Statusinformationen werden eingelesen.... Fertig
      Alle Pakete sind aktuell.
      nodejs:
        Installiert:           16.17.0-deb-1nodesource1
        Installationskandidat: 16.17.0-deb-1nodesource1
        Versionstabelle:
       *** 16.17.0-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~deb10u1 500
              500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
      pi@raspberrypi:~ $
      
      

      Jetzt nochmal die Anleitung komplett durchgehen bis Fehler kommen?

      posted in ioBroker Allgemein
      W
      Weiland
    • RE: Adapter updaten nicht mehr nach Update auf Node.js 16.17.0

      @thomas-braun

      Das habe ich auch in deiner Anleitung gelesen, aber wie behebe ich den Fehler?

      posted in ioBroker Allgemein
      W
      Weiland
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo