Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Tester
  4. Beta Test js-controller 3.2.x auf GitHub

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.5k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.1k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    2.7k

Beta Test js-controller 3.2.x auf GitHub

Geplant Angeheftet Gesperrt Verschoben Tester
js-controller
287 Beiträge 25 Kommentatoren 47.5k Aufrufe 29 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • apollon77A apollon77
    Aktuelle Test Version 3.2.x
    Veröffentlichungsdatum 09.01.2021
    Github Link npm install ioBroker/ioBroker.js-controller

    Hallo mal wieder in die Tester-Runde,

    mit etwas zeitlicher Verspätung, dafür aber um so besser, starten wir heute den Beta Test des neuen js-controller 3.2 (Releasename "Grace"). Wie auch bei den letzten Versionen starten wir die erste Teststufe direkt von GitHub. Also bitte nur mitmachen wenn Ihr wisst was das heisst :-) Aber auch der Weg zurück ist unten beschrieben.

    Die unterstützten Node.js Versionen bleiben in diesem Update gleich: 10.x, 12.x und auch 14.x werden offiziell unterstützt. Aufgrund der übergreifenden Adapter-Kompatibilität bleibt die empfohlene Node.js Version für ioBroker aktuell weiterhin auf 12.x. Falls jemand wirklich mit Node.js 15.x experimentieren will, dann bitte AUSSCHLIESSLICH mit npm 6 !! (die npm Leute haben in npm 7 wieder dinge kaputt gemacht. es ist zum heulen)

    Neben einigen Features haben wir unter der Haube weiter aufgeräumt und sehr viel modernisiert und vereinheitlicht.
    Auch daran den Wildwuchs in der Umsetzung einiger Adapter etwas einzugrenzen wurde weiter gearbeitet, was ggf. zu neuen Log-meldungen für bestimmte Fälle führt. Bitte unterstützt hier wieder und legt bei den relevanten Adaptern im GitHub Issues an, damit diese Dinge gefixt werden können.

    Besonders zu erwähnen ist die Grundlage für das neue Benachrichtigungssystem (kommt dann in einem Admin-Update) und die Reaktivierung von Let's Encrypt zur automatischen Zertifikatsaktualisierung.
    Detailliertere Informationen zu allen Änderungen und Features findet Ihr weiter unten und im Changelog. Ich hoffe auch diesmal auf Eure tatkräftige Unterstützung, sodass der Latest-Release dann genau so reibungslos verläuft wie bei den letzten Versionen.

    In Summe sind in diese Version über 560 commits eingeflossen. Dafür bedenke mich diesmal besonders bei @foxriver76, @AlCalzone und natürlich @Bluefox und auch ein paar weiteren Entwicklern für die aktive Mitarbeit an dieser Version!

    Der js-controller 3.2 ist generell kompatibel mit allen bestehenden ioBroker-Systemen. Ein Update von der 2.0/2.1/2.2 ist problemlos möglich. Nur die Node.js Version muss jetzt mindestens 10.x sein, wie oben bereits ausgeführt. Wer überlegt die Node.js Version anzuheben bitte weiter unten im Abschnitt "Was ist zu testen" lesen :-)


    Installation


    VOR der Installation
    Wie bei jedem Test dieser Art: Bitte macht ein Backup! iobroker backup bzw kopieren des iobroker-data Verzeichnisses reichen an sich aus. Bitte nicht das node_modules Verzeichnis einfach kopieren, da sonst symbolische Links kaputt gehen können, was zu größeren Problemen danach führt. Die alte Version des js-controller kann im Notfall einfach wieder per npm install iobroker.js-controller@version installiert werden und sollte alles wieder herstellen.

    Windows

    Auf Systemen, die mit dem neuen Windows Installer eingerichtet wurden weiss ich gerade nicht wie der aktuelle Prozess ist, da der Windows installer nicht ganz aktuell ist. Bitte hier berichten dann kann ich ergänzen.

    Linux

    Für den Beta-Test muss der js-controller direkt per npm installiert werden. Dazu bitte den ioBroker auf dem Server beenden und dann in einer Shell UNBEDINGT in das ioBroker Verzeichnis wechseln (cd /opt/iobroker unter Linux). Dann mittels npm install ioBroker/ioBroker.js-controller den Controller manuell aktualisieren. Bevor ihr loslegt, lest aber bitte erst noch die folgenden Hinweise! Der zweite Post in diesem Thread ist für eine FAQ reserviert. Bitte schaut auch dort gern einmal rein.

    Achtung: Slave-Systeme zuerst!
    Bei einem Multi-Host-System, welches auf js-controller 2.2 oder 3.1 läuft ist es beim Update auf Version 3.2 empfohlen, zuerst die Slave-Systeme zu aktualisieren. Der Master wird als letztes aktualisiert!

    Bei Updates von Master/Slave-Systemen mit js-controller 1.5 oder früher auf die 3.2 müssen zwingend zuerst die Slaves und der Master als letztes aktualisiert werden. Die Slaves bleiben nach dem Update offline und werden erst wieder funktionieren wenn auch der Master auf die 3.2 aktualisiert wurde!

    Nötige Adapter-Aktualisierungen

    Aktuell sind keine Inkompatibilitäten bekannt, damit allerdings Let's encrypt wieder funktioniert benötigt es einige Adapter in "Latest" Versionen von mindestens:

    • ioBroker.lovelace 1.4.1
    • ioBroker.simple-api 2.5.2
    • ioBroker.socketio 3.1.3
    • ioBroker.telegram 1.7.0
    • ioBroker.web 3.2.2
    • ioBroker.admin 4.2.1
      Bitte checkt aber das die Adapter generell auch in den bisherigen versionen mit dem neuen js-controller tun!

    Es werden aber, wie oben ausgeführt, einige Adapter ggf Warnungen ins Log schreiben. Falls das Problematisch ist ist aktuell die einzige Option das Loglevel der Instanz auf "Error" zu setzen.

    Fehler
    Wenn bei der Installation Fehler wegen fehlender Zugriffsrechte auftreten, am besten den Installation-Fixer (iobroker fix wer schon einen js-controller 2.x hat, alternativ weiterhin manuell via curl -sL https://iobroker.net/fix.sh | bash -) nutzen und die Installation wiederholen.

    Falls es auch danach noch Fehler gibt, bitte die Installation erneut mittels sudo -H -u iobroker npm install ioBroker/ioBroker.js-controller versuchen.

    Nach der Installation
    Nach der Installation den ioBroker wieder starten (z.B. mittels iobroker start).

    Wenn alles klappt merkt Ihr außer der höheren Versionsnummer in der Host-Ansicht im Admin keinen Unterschied. Alles funktioniert weiterhin wie vorher. Alle Adapterinstanzen starten und funktionieren. Wenn das so ist hat alles geklappt.

    Falls im Log Warn-Meldungen auftauchen mit dem Hinweis diese an den Entwickler zu senden, dann bitte schauen welcher Adapter es ist und entsprechend dort Issues bitte anlegen!


    Was hat sich geändert, was besonders ansehen/testen?


    Neben einiger weiterer Bugfixes gibt es folgende Änderungen und Fixes zu erwähnen:

    • generell siehe Changelog, speziell auch für Features
    • Alle normalen Funktionalitäten, vor allem Adapter starten, stoppen, restarten, installieren, upgrade einzel/all, Instanzen hinzufügen, löschen, auf anderen Host schieben (npm Installs und auch GitHub installs)
    • Prüfen und vergleichen der CPU and RAM Nutzung, speziell für den js.controller Prozess an sich
    • Einige Adapter werden Warnungen ausgeben wenn State-Werte gesetzt werden VOR dem Anlegen von Objekten. Bitte bei den Adapter-Repos melden

    Speziell die Entwickler sollten bitte die genannten Deprecations anschauen und beachten

    Wie bereits gesagt, viele Änderungen fanden hinter den Kulissen statt. Hier für Interessierte als Spoiler eine Zusammenfassung:


    3.2.1 (2021-01-09) Release Grace
    BREAKING CHANGES

    • None, Supported are nodejs 10.x, 12.x and 14.x (Node.js 15.x is also working in the automated tests, but formally not supported)

    Features

    • (raintonr) Update Let's encrypt implementation; all relevent adapters (web and such) need updates to use it! NEEDS NODE.JS 12.x+! (see DOCS LINK TODO)
    • (bluefox) Restart adapters that use Let's encrypt after certificates were updated
    • (bluefox) Provide min/max for convert alias functions
    • (foxriver76) handling major adapter upgrades more carefully (CLI on upgrade will show if it's a major upgrade and major upgrades will be skipped on upgrade all when executed by admin
    • (AlCalzone) detect and allow short github URL format when (auto-)installing adapters (iobroker url User/repo#branchorcommit)
    • (foxriber76) Add notification system (see DOCS LINK TODO)
    • (foxriver76) enhance setup (and setup first) with redis to all port configuration
    • (foxriver76) set connectionName for redis connections and simulator support (see DOCS LINK TODO)

    Optimizations and Fixes

    • (foxriver76) Detect adapter restart loops and stop restarting after 3 crashes (an adapter is considered "working" when no crash by an exception happens within 10 minutes)
    • (foxriver76) Fix failed logins if username is uppercase, be reworking user logic and caching
    • (bluefox) Set for def states the quality: QUALITY_SUBS_INITIAL
    • (AlCalzone) fix npm uninstall loglevel argument
    • (foxriver76) delete pids.txt when iobroker was stopped
    • (bluefox) Add missing attributes by multihost if Redis is used for objects/states, Remove unused settings from iobroker-dist.json, Remove pass and user from connection settings. Use options.auth_pass
    • (AlCalzone) Package-Manager: log which packages were (already) installed
    • (foxriver76) replace redis "KEYS" command by "SCAN" to optimize redis access performance
    • (foxriver76) optimize redis library usage to prevent errors on redis outages
    • (bluefox) Catch errors by plugins load. At least log will work and could be checked for errors.
    • (foxriver76) allow migration of instances to already existing host
    • (foxriver76) also allow <adapter>.<instance-nr> for install/add cli command
    • (AlCalzone) buffer streams that are piped to stdout to fix weird Windows logging cases
    • (foxriver76/AlCalzone) Optimize upgrade/downgrade logic for adapters, ask for a downgrade only if lower version is to be installed
    • (foxriver76) allow redis redis migration when changing host of redis - fix bug where process crashes when controller is running when migrating
    • (bluefox) Catch errors for subscribe on alias without target
    • (foxriver76) only perform auto scaling on alias if not null
    • (foxriver76) if repository request fails also use cached sources on updating repository
    • (foxriver76) prevent host deletion from same host - otherwise it will remove the system.host states but instances will still be on the removed host, because transfer happens to itself
    • (foxriver76) use instanceObjects from system.adapter.* object instead from io-package.json
    • (foxriver76) notify of errors on readFileCertificates to show permission problems etc.
    • (foxriver76) multihost discovery now logs ignored messages on debug and also logs the senders address
    • (foxriver76) sync up created objects on instance start and instance creation by using helper function in tools.js, e.g. .loglevel was missing on instance creation
    • (bluefox) Package-Manager: Filter empty packets out to suppress error message
    • (foxriver76) rename repository names for new installations and on updates to beta/stable
    • (foxriver76) rewrite collectDiagInfo to Promises and fix minor issue with it
    • (foxriver76) only scale aliases if target or source is represented by unit %
    • (foxriver76) create meta.user on file sync cli, if not existing (see DOCS LINK TODO)
    • (Apollon77) also create meta.user on setup first if not existing
    • (foxriver76) fix enumInstances used by CLI commands
    • (foxriver76) when missing rights to access log dir do not crash hard anymore, instead fallback to default directory
    • (bluefox) Fix error if type of native data changed in the new version from basic type e.g. 'string' to 'object'.
    • (AlCalzone) Remove hardcoded references to GitHub master branch because newer repositories use "main"
    • (Apollon77, foxriver, bluefox, AlCalzone) Several fixes and refactorings to prevent potential crash cases reported by Sentry and other sources

    Developer relevant DEPRECATIONS/WARNINGS

    • (foxriver76) we warn if object not exists when setting a state via adapter.setState. Adjust your code that a state value is NOT set before the object is successfully created. If this deep check is NOT wanted for performance reasons the adapter needs to be initialized with strictObjectChecks = false!! (see DOCS LINK TODO)
    • (foxriver76) readFile should not validate meta object, we now throw on writeFile if id is no valid meta object
    • (AlCalzone) update Forbidden ID Characters: use Unicode properties to define which characters are allowed instead of blacklisting. For ASCII the allowed characters are the same as before - for other languages mainly character class of Unicode are allowed! (see DOCS LINK TODO)
    • (foxriver76) Throw on invalid setState objects; was logged as deprecated before
    • (foxriver76) remove getMessage shim, no adapter uses it anymore; was logged as deprecated before

    Developer relevant new Features

    • (foxriver76) use aes-192-cbc as encryption - backward compatible with current encryption, nothing to do for adapter-developers (see DOCS LINK TODO)
    • (bluefox) Add system view to filter for "folder" objects
    • (bluefox) add set/clearTimeout and set/clearInterval to adapter methods and check on unload that they were all cleared and clear if needed with logging, so developers are reminded to clean up!
    • (AlCalzone) Add ...Async version for getChannels - make sure to check before using or use correct js-controller version dependency!
    • (Apollon77) modularize databases into own npm packages and basically support adding new types of databases; add deprecation infos and logging to "old legacy" files in lib/states and lib/objects to not be used anymore; requires mostly updates in testing (see DOCS LINK TODO)

    Developer relevant Optimizations and Fixes

    • (foxriver76) implement maybeCallback and maybeCallbackWithError and use it in adapter.js
    • (AlCalzone) use fs-extra instead of mkdirp
    • (AlCalzone) read JSON files using fs-extra's readJSONSync
    • (AlCalzone) fix callback definitions in adapter.js, We have signatures for (almost) everything in @types/iobroker and we should use them
    • (AlCalzone) move from Promises to async/await in some places, use a single readyPromise instead of an array
    • (bluefox) Added "http" and "stream" options for logs
    • (foxriver76) migrated ci tests to github actions
    • (foxriver76) resolve adapter main file as tools.js method
    • (foxriver76) optimize extendObject with def value
    • (AlCalzone) Handle existing, but undefined properties in validateSetStateObjectArgument
    • (foxriver76) also escape + char on regex, it's not forbidden
    • (bluefox) Set default state only for objects of type "state"
    • (AlCalzone) include folders in the result of getAdapterObjects
    • general dependency updates
    • code style optimizations

    Generell ist zu testen, ob alles noch so funktioniert wie vorher auch. Das ist das wichtigste!


    Wie Fehler melden?


    Wer sich unsicher ist, ob ein Fehler vorliegt, sollte am besten hier im Thread das Problem beschreiben. So können wir alle versuchen, das Problem nachzuvollziehen und ggf. einzugrenzen.

    Sobald ein Fehler auftritt der in einer Fehlermeldung oder einen Crash mit Fehlerdetails im Log oder auf Kommandozeile endet, dann dazu am besten direkt ein GitHub-Issue im js-controller Projekt öffnen und zusätzlich hier im Thread posten. Je detaillierter die Angaben im Issue sind (genaue Fehlermeldungen/Logs, Infos zur OS- und Node.js-Umgebung sowie genaue Schritte zur Reproduktion des Problems), umso schneller können wir Fehler einkreisen und beheben.

    Wir wünschen allen viel Spaß beim Testen und vielen Dank für Eure Unterstützung!

    Ingo

    ? Offline
    ? Offline
    Ein ehemaliger Benutzer
    schrieb am zuletzt editiert von Ein ehemaliger Benutzer
    #23

    @apollon77 Issues:

    https://github.com/Apollon77/ioBroker.alexa2/issues/603

    https://github.com/Apollon77/ioBroker.alexa2/issues/604

    https://github.com/iobroker-community-adapters/ioBroker.mihome-vacuum/issues/210

    https://github.com/jack-blackson/ioBroker.countdown/issues/41

    https://github.com/Matten-Matten/ioBroker.enigma2/issues/45

    https://github.com/iobroker-community-adapters/ioBroker.proxmox/issues/80

    1 Antwort Letzte Antwort
    1
    • Thomas BraunT Thomas Braun

      @apollon77
      Ja, lag/liegt an npm@7 (Die kommt mit node15 mit)
      Zurück auf node14 mit npm@6 läuft die Installation gerade:

      pi@raspberrypi:/opt/iobroker $ npm install ioBroker/ioBroker.js-controller
      npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!
      

      Also alles i.O., ich war mit den Versionen zu weit draußen. :-)
      Wobei ich mit npm@7 Adapter-Updates aus 'latest' machen konnte, offenbar geht das mit git-checkouts nicht mehr in der alten Form. Ich hatte aber soweit ich mich erinnere lange nichts mehr aus git geangelt.

      [Edit:] Der einzige Adapter, der bei mir aus git kommt zickt jetzt doch rum:

      npm ERR! Error while executing:
      npm ERR! /usr/bin/git ls-remote -h -t https://github.com/luca-saggese/samsungtv.git
      npm ERR!
      npm ERR! fatal: unable to access 'https://github.com/luca-saggese/samsungtv.git/': gnutls_handshake() failed: The TLS connection was non-properly terminated.
      npm ERR!
      npm ERR! exited with error code: 128
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/iobroker/.npm/_logs/2021-01-09T09_55_27_712Z-debug.log
      
      apollon77A Offline
      apollon77A Offline
      apollon77
      schrieb am zuletzt editiert von
      #24

      @Thomas-Braun das ist aber kein Adapter von der url Form her. Da fehlt ioBroker. Im Repo Namen aber ist ja wieder irgend ein npm Fehler.

      Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

      • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
      • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
      HomoranH 1 Antwort Letzte Antwort
      0
      • apollon77A apollon77

        @Thomas-Braun das ist aber kein Adapter von der url Form her. Da fehlt ioBroker. Im Repo Namen aber ist ja wieder irgend ein npm Fehler.

        HomoranH Offline
        HomoranH Offline
        Homoran
        Global Moderator Administrators
        schrieb am zuletzt editiert von Homoran
        #25

        @apollon77 sagte in Beta Test js-controller 3.2.x auf GitHub:

        @Thomas-Braun das ist aber kein Adapter von der url Form her. Da fehlt ioBroker. Im Repo Namen aber ist ja wieder irgend ein npm Fehler.

        so ist es:
        samsung_remote.png

        wird das Paket in einem Adapter verwendet?

        kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

        der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

        Thomas BraunT 1 Antwort Letzte Antwort
        0
        • HomoranH Homoran

          @apollon77 sagte in Beta Test js-controller 3.2.x auf GitHub:

          @Thomas-Braun das ist aber kein Adapter von der url Form her. Da fehlt ioBroker. Im Repo Namen aber ist ja wieder irgend ein npm Fehler.

          so ist es:
          samsung_remote.png

          wird das Paket in einem Adapter verwendet?

          Thomas BraunT Online
          Thomas BraunT Online
          Thomas Braun
          Most Active
          schrieb am zuletzt editiert von
          #26

          @Homoran @apollon77
          Ja, im samsung-tizen Adapter (hab ich aus git) wird das wohl herangezogen. Ich schmeiß den aber gerade aus dem System.
          Und samsung-community auch.
          Die beiden hab ich aus git drin, alle anderen Adapter kommen aus 'latest'.

          Linux-Werkzeugkasten:
          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
          NodeJS Fixer Skript:
          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

          apollon77A 1 Antwort Letzte Antwort
          0
          • SBorgS SBorg

            @apollon77 Moin Ingo, dann wolle mer mal weider ;)
            War noch die 3.2.1, aber die Installation (Linux) lief problemlos. Dafür habe ich von etlichen Adaptern:

            shelly.0	2021-01-09 09:45:08.668	error	(13149) Cannot find search "folder" in "system"
            

            wobei er das beim shelly sogar im 5 Sekunden-Raster wirft. Jetzt wohl kein Problem vom JS-Controller (?), bremst aber das System zum testen extrem aus, da sich auch andere Adapter darüber beschweren.

            GitHub Issue dazu...

            apollon77A Offline
            apollon77A Offline
            apollon77
            schrieb am zuletzt editiert von
            #27

            @SBorg 3.2.3 auf GitHub, sollte damit weg sein. Es wurde beim upgrade ein Systemobjekt nicht mit aktualisiert. Solltest bei der Installation jetzt eine Zeile sehen das _design/system aktualisiert wurde

            Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

            • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
            • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
            SBorgS 1 Antwort Letzte Antwort
            1
            • apollon77A apollon77

              @SBorg 3.2.3 auf GitHub, sollte damit weg sein. Es wurde beim upgrade ein Systemobjekt nicht mit aktualisiert. Solltest bei der Installation jetzt eine Zeile sehen das _design/system aktualisiert wurde

              SBorgS Offline
              SBorgS Offline
              SBorg
              Forum Testing Most Active
              schrieb am zuletzt editiert von
              #28

              @apollon77 sagte in Beta Test js-controller 3.2.x auf GitHub:

              @SBorg 3.2.3 auf GitHub, sollte damit weg sein. Es wurde beim upgrade ein Systemobjekt nicht mit aktualisiert. Solltest bei der Installation jetzt eine Zeile sehen das _design/system aktualisiert wurde

              :grin:
              Schneller als die Feuerwehr...
              Danke, funktioniert jetzt und die Zeile " _design/system" wurde auch angezeigt.
              Issue kann zu (https://github.com/ioBroker/ioBroker.js-controller/issues/1165)

              Bei der Version meldet er aber noch 3.2.2 ;)

              LG SBorg ( SBorg auf GitHub)
              Projekte: Lebensmittelwarnung.de | WLAN-Wetterstation | PimpMyStation

              apollon77A 1 Antwort Letzte Antwort
              1
              • SBorgS SBorg

                @apollon77 sagte in Beta Test js-controller 3.2.x auf GitHub:

                @SBorg 3.2.3 auf GitHub, sollte damit weg sein. Es wurde beim upgrade ein Systemobjekt nicht mit aktualisiert. Solltest bei der Installation jetzt eine Zeile sehen das _design/system aktualisiert wurde

                :grin:
                Schneller als die Feuerwehr...
                Danke, funktioniert jetzt und die Zeile " _design/system" wurde auch angezeigt.
                Issue kann zu (https://github.com/ioBroker/ioBroker.js-controller/issues/1165)

                Bei der Version meldet er aber noch 3.2.2 ;)

                apollon77A Offline
                apollon77A Offline
                apollon77
                schrieb am zuletzt editiert von
                #29

                @SBorg ja versions increase wollte die IDE noch einen klick aber anderes fenster war davor ... hihi ... jetzt auch fixed

                Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                SBorgS 1 Antwort Letzte Antwort
                0
                • J Jan1

                  @apollon77
                  Das Update hat schon mal geklappt und es scheint auch zu laufen. Hatte aber ein paar Errors beim Update. Könnte einer bitte mal drüber sehen und sagen ob das OK ist, oder ob da was wirklich nicht passt?
                  Log:

                  jan@Beelink:/opt/iobroker$ npm install ioBroker/ioBroker.js-controller
                  
                  > iobroker.js-controller@3.2.1 preinstall /opt/iobroker/node_modules/iobroker.js-controller
                  > node lib/preinstallCheck.js
                  
                  NPM version: 6.14.10
                  
                  > usb@1.6.3 install /opt/iobroker/node_modules/usb
                  > prebuild-install --verbose || node-gyp rebuild
                  
                  prebuild-install info begin Prebuild-install version 5.3.6
                  prebuild-install info looking for cached prebuild @ /home/iobroker/.npm/_prebuilds/91abd0-usb-v1.6.3-node-v83-linux-x64.tar.gz
                  prebuild-install http request GET https://github.com/tessel/node-usb/releases/download/v1.6.3/usb-v1.6.3-node-v83-linux-x64.tar.gz
                  prebuild-install http 404 https://github.com/tessel/node-usb/releases/download/v1.6.3/usb-v1.6.3-node-v83-linux-x64.tar.gz
                  prebuild-install WARN install No prebuilt binaries found (target=14.15.4 runtime=node arch=x64 libc= platform=linux)
                  make: Verzeichnis „/opt/iobroker/node_modules/usb/build“ wird betreten
                   CC(target) Release/obj.target/libusb/libusb/libusb/core.o
                   CC(target) Release/obj.target/libusb/libusb/libusb/descriptor.o
                   CC(target) Release/obj.target/libusb/libusb/libusb/hotplug.o
                   CC(target) Release/obj.target/libusb/libusb/libusb/io.o
                   CC(target) Release/obj.target/libusb/libusb/libusb/strerror.o
                   CC(target) Release/obj.target/libusb/libusb/libusb/sync.o
                   CC(target) Release/obj.target/libusb/libusb/libusb/os/poll_posix.o
                   CC(target) Release/obj.target/libusb/libusb/libusb/os/threads_posix.o
                   CC(target) Release/obj.target/libusb/libusb/libusb/os/linux_usbfs.o
                   CC(target) Release/obj.target/libusb/libusb/libusb/os/linux_udev.o
                  ../libusb/libusb/os/linux_udev.c:40:10: fatal error: libudev.h: Datei oder Verzeichnis nicht gefunden
                  #include <libudev.h>
                           ^~~~~~~~~~~
                  compilation terminated.
                  make: *** [libusb.target.mk:150: Release/obj.target/libusb/libusb/libusb/os/linux_udev.o] Fehler 1
                  make: Verzeichnis „/opt/iobroker/node_modules/usb/build“ wird verlassen
                  gyp ERR! build error
                  gyp ERR! stack Error: `make` failed with exit code: 2
                  gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
                  gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
                  gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
                  gyp ERR! System Linux 5.9.0-0.bpo.2-amd64
                  gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                  gyp ERR! cwd /opt/iobroker/node_modules/usb
                  gyp ERR! node -v v14.15.4
                  gyp ERR! node-gyp -v v5.1.0
                  gyp ERR! not ok
                  
                  > iobroker.js-controller@3.2.1 install /opt/iobroker/node_modules/iobroker.js-controller
                  > node iobroker.js setup first
                  
                  object 0_userdata.0.example_state created
                  
                  > @root/acme@3.1.0 postinstall /opt/iobroker/node_modules/@root/acme
                  > node scripts/postinstall
                  
                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.1 (node_modules/chokidar/node_modules/fsevents):
                  npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.1: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                  npm WARN typedoc-plugin-markdown@3.1.1 requires a peer of typedoc@>=0.19.0 < 0.20.0 but none is installed. You must install peer dependencies yourself.
                  npm WARN typedoc-plugin-no-inherit@1.2.0 requires a peer of typedoc@>=0.16.0 but none is installed. You must install peer dependencies yourself.
                  npm WARN typedoc-plugin-sourcefile-url@1.0.6 requires a peer of typedoc@>=0.16.0 but none is installed. You must install peer dependencies yourself.
                  npm WARN typedoc-plugin-markdown@3.1.0 requires a peer of typedoc@>=0.19.0 < 0.20.0 but none is installed. You must install peer dependencies yourself.
                  npm WARN typedoc-plugin-no-inherit@1.2.0 requires a peer of typedoc@>=0.16.0 but none is installed. You must install peer dependencies yourself.
                  npm WARN typedoc-plugin-sourcefile-url@1.0.6 requires a peer of typedoc@>=0.16.0 but none is installed. You must install peer dependencies yourself.
                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.7 (node_modules/osx-temperature-sensor):
                  npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.2.1 (node_modules/zigbee-herdsman-converters/node_modules/fsevents):
                  npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.2.1: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/zigbee-herdsman-converters/node_modules/zigbee-herdsman/node_modules/fsevents):
                  npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/zigbee-herdsman/node_modules/fsevents):
                  npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: usb@1.6.3 (node_modules/usb):
                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: usb@1.6.3 install: `prebuild-install --verbose || node-gyp rebuild`
                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                  
                  + iobroker.js-controller@3.2.1
                  added 34 packages from 7 contributors, removed 46 packages, updated 12 packages and moved 1 package in 226.615s
                  
                  80 packages are looking for funding
                   run `npm fund` for details
                  

                  apollon77A Offline
                  apollon77A Offline
                  apollon77
                  schrieb am zuletzt editiert von
                  #30

                  @Jan1 Versuch du mal "iobroker fix" ... an sich installieren wir inzwischen libudev mit was bei dir angeblich fehlt

                  Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                  • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                  • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                  HomoranH 1 Antwort Letzte Antwort
                  0
                  • apollon77A apollon77

                    @Jan1 Versuch du mal "iobroker fix" ... an sich installieren wir inzwischen libudev mit was bei dir angeblich fehlt

                    HomoranH Offline
                    HomoranH Offline
                    Homoran
                    Global Moderator Administrators
                    schrieb am zuletzt editiert von
                    #31

                    @apollon77 cool ;-)
                    habe gerade eine flammneue Installation zu testen aufgesetzt, auf der kommt bei
                    pi@ioBroker-rock64:/opt/iobroker$ npm install ioBroker/ioBroker.js-controller
                    jede menge EAccess

                    pi@ioBroker-rock64:/opt/iobroker$ npm install ioBroker/ioBroker.js-controller
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/acme-dns-01-cli
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/acme-v2
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/acme
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/bind                                                                          ing-abstract/node_modules/ms
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/bind                                                                          ing-abstract/node_modules/debug
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/bind                                                                          ing-abstract
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/bind                                                                          ing-mock/node_modules/ms
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/bind                                                                          ing-mock/node_modules/debug
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/bind                                                                          ing-mock
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/bind                                                                          ings/node_modules/ms
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/bind                                                                          ings/node_modules/debug
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/pars                                                                          er-byte-length
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/pars                                                                          er-cctalk
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/pars                                                                          er-delimiter
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/pars                                                                          er-readline
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/pars                                                                          er-ready
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/pars                                                                          er-regex
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/stre                                                                          am/node_modules/ms
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/stre                                                                          am/node_modules/debug
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/stre                                                                          am
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@types/node
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@types/iobroker
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@iobroker/adapte                                                                          r-core
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/ansi-regex
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/aproba
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/base64-js
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/bluebird
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/chownr
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/code-point-at
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/console-control-                                                                          strings
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/core-util-is
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/deep-extend
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/delegates
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/detect-libc
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/dgram
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/expand-template
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/extend
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/file-uri-to-path
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/bindings
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/fs-constants
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/github-from-pack                                                                          age
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/has-unicode
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/ieee754
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/buffer
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/inherits
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/ini
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/ip
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/isarray
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/lodash
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/async
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/mimic-response
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/decompress-respo                                                                          nse
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/minimist
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/mkdirp-classic
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/ms
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/debug
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/nan
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/napi-build-utils
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/netmask
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/node-mndp
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/node-ssdp/node_m                                                                          odules/ms
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/node-ssdp/node_m                                                                          odules/debug
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/node-ssdp
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/noop-logger
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/number-is-nan
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/is-fullwidth-cod                                                                          e-point
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/object-assign
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/process-nextick-                                                                          args
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/readable-stream/                                                                          node_modules/safe-buffer
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/safe-buffer
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/dns-packet
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/mdns-discovery
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/semver
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/node-abi
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/serialport/node_                                                                          modules/ms
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/serialport/node_                                                                          modules/debug
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/set-blocking
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/signal-exit
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/simple-concat
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/string_decoder/n                                                                          ode_modules/safe-buffer
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/string_decoder
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/strip-ansi
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/string-width
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/strip-json-comme                                                                          nts
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/rc
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/tunnel-agent
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/util-deprecate
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/bl/node_modules/                                                                          readable-stream
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/bl
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/readable-stream
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/are-we-there-yet
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/tar-stream/node_                                                                          modules/readable-stream
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/which-pm-runs
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/wide-align
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/gauge
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/npmlog
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/wrappy
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/once
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/end-of-stream
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/tar-stream
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/pump
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/tar-fs
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/simple-get
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/prebuild-install
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/bind                                                                          ings
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/serialport
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.js-controller/node_modules/camelcase
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.js-controller/node_modules/path-exists
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.js-controller/node_modules/require-main                                                                          -filename
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.js-controller/node_modules/which-module
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.js-controller/node_modules/wrap-ansi
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.js-controller/node_modules/cliui
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.js-controller/node_modules/y18n
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.js-controller/node_modules/yargs-parser
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/le-acme-core/node_modules/rsa-compat
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/mkdirp
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/p-try
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/p-limit
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/p-locate
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/locate-path
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.js-controller/node_modules/find-up
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/pyconf
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/le-store-certbot
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/rsa-compat
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/utile/node_modules/mkdirp
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/vinyl-sourcemaps-apply/node_modules/source-map
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/vinyl-sourcemaps-apply
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.objects-redis
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/greenlock
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.js-controller/node_modules/yargs
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/node-forge
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.js-controller
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@root
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@iobroker
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/bind                                                                          ing-abstract/node_modules
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/bind                                                                          ing-mock/node_modules
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/bind                                                                          ings/node_modules
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/stre                                                                          am/node_modules
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@types
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@iobroker
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/node-ssdp/node_m                                                                          odules
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/readable-stream/                                                                          node_modules
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/serialport/node_                                                                          modules
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/string_decoder/n                                                                          ode_modules
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/bl/node_modules
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/tar-stream/node_                                                                          modules
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.js-controller/node_modules
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/le-acme-core/node_modules
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/tar/node_modules
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/utile/node_modules
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/vinyl-sourcemaps-apply/node_modules
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.1 (node_modules/chokidar/node_modules/fsevents):
                    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.1: wanted {"os":"darwin","arch":"any"} (c                                                                          urrent: {"os":"linux","arch":"arm64"})
                    
                    npm ERR! code EACCES
                    npm ERR! syscall access
                    npm ERR! path /opt/iobroker/node_modules/acme-dns-01-cli
                    npm ERR! errno -13
                    npm ERR! Error: EACCES: permission denied, access '/opt/iobroker/node_modules/acme-dns-01-cli'
                    npm ERR!  [Error: EACCES: permission denied, access '/opt/iobroker/node_modules/acme-dns-01-cli'] {
                    npm ERR!   errno: -13,
                    npm ERR!   code: 'EACCES',
                    npm ERR!   syscall: 'access',
                    npm ERR!   path: '/opt/iobroker/node_modules/acme-dns-01-cli'
                    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/2021-01-09T10_49_28_240Z-debug.log
                    pi@ioBroker-rock64:/opt/iobroker$
                    
                    

                    kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                    der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                    apollon77A 1 Antwort Letzte Antwort
                    0
                    • HomoranH Homoran

                      @apollon77 cool ;-)
                      habe gerade eine flammneue Installation zu testen aufgesetzt, auf der kommt bei
                      pi@ioBroker-rock64:/opt/iobroker$ npm install ioBroker/ioBroker.js-controller
                      jede menge EAccess

                      pi@ioBroker-rock64:/opt/iobroker$ npm install ioBroker/ioBroker.js-controller
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/acme-dns-01-cli
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/acme-v2
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/acme
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/bind                                                                          ing-abstract/node_modules/ms
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/bind                                                                          ing-abstract/node_modules/debug
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/bind                                                                          ing-abstract
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/bind                                                                          ing-mock/node_modules/ms
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/bind                                                                          ing-mock/node_modules/debug
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/bind                                                                          ing-mock
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/bind                                                                          ings/node_modules/ms
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/bind                                                                          ings/node_modules/debug
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/pars                                                                          er-byte-length
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/pars                                                                          er-cctalk
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/pars                                                                          er-delimiter
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/pars                                                                          er-readline
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/pars                                                                          er-ready
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/pars                                                                          er-regex
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/stre                                                                          am/node_modules/ms
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/stre                                                                          am/node_modules/debug
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/stre                                                                          am
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@types/node
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@types/iobroker
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@iobroker/adapte                                                                          r-core
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/ansi-regex
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/aproba
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/base64-js
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/bluebird
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/chownr
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/code-point-at
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/console-control-                                                                          strings
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/core-util-is
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/deep-extend
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/delegates
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/detect-libc
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/dgram
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/expand-template
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/extend
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/file-uri-to-path
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/bindings
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/fs-constants
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/github-from-pack                                                                          age
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/has-unicode
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/ieee754
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/buffer
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/inherits
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/ini
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/ip
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/isarray
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/lodash
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/async
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/mimic-response
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/decompress-respo                                                                          nse
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/minimist
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/mkdirp-classic
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/ms
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/debug
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/nan
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/napi-build-utils
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/netmask
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/node-mndp
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/node-ssdp/node_m                                                                          odules/ms
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/node-ssdp/node_m                                                                          odules/debug
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/node-ssdp
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/noop-logger
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/number-is-nan
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/is-fullwidth-cod                                                                          e-point
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/object-assign
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/process-nextick-                                                                          args
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/readable-stream/                                                                          node_modules/safe-buffer
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/safe-buffer
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/dns-packet
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/mdns-discovery
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/semver
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/node-abi
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/serialport/node_                                                                          modules/ms
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/serialport/node_                                                                          modules/debug
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/set-blocking
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/signal-exit
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/simple-concat
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/string_decoder/n                                                                          ode_modules/safe-buffer
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/string_decoder
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/strip-ansi
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/string-width
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/strip-json-comme                                                                          nts
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/rc
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/tunnel-agent
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/util-deprecate
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/bl/node_modules/                                                                          readable-stream
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/bl
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/readable-stream
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/are-we-there-yet
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/tar-stream/node_                                                                          modules/readable-stream
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/which-pm-runs
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/wide-align
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/gauge
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/npmlog
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/wrappy
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/once
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/end-of-stream
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/tar-stream
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/pump
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/tar-fs
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/simple-get
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/prebuild-install
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/bind                                                                          ings
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/serialport
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.js-controller/node_modules/camelcase
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.js-controller/node_modules/path-exists
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.js-controller/node_modules/require-main                                                                          -filename
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.js-controller/node_modules/which-module
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.js-controller/node_modules/wrap-ansi
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.js-controller/node_modules/cliui
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.js-controller/node_modules/y18n
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.js-controller/node_modules/yargs-parser
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/le-acme-core/node_modules/rsa-compat
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/mkdirp
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/p-try
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/p-limit
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/p-locate
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/locate-path
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.js-controller/node_modules/find-up
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/pyconf
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/le-store-certbot
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/rsa-compat
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/utile/node_modules/mkdirp
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/vinyl-sourcemaps-apply/node_modules/source-map
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/vinyl-sourcemaps-apply
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.objects-redis
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/greenlock
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.js-controller/node_modules/yargs
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/node-forge
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.js-controller
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@root
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@iobroker
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/bind                                                                          ing-abstract/node_modules
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/bind                                                                          ing-mock/node_modules
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/bind                                                                          ings/node_modules
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/stre                                                                          am/node_modules
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@types
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/@iobroker
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/node-ssdp/node_m                                                                          odules
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/readable-stream/                                                                          node_modules
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/serialport/node_                                                                          modules
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/string_decoder/n                                                                          ode_modules
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/bl/node_modules
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.discovery/node_modules/tar-stream/node_                                                                          modules
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.js-controller/node_modules
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/le-acme-core/node_modules
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/tar/node_modules
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/utile/node_modules
                      npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/vinyl-sourcemaps-apply/node_modules
                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.1 (node_modules/chokidar/node_modules/fsevents):
                      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.1: wanted {"os":"darwin","arch":"any"} (c                                                                          urrent: {"os":"linux","arch":"arm64"})
                      
                      npm ERR! code EACCES
                      npm ERR! syscall access
                      npm ERR! path /opt/iobroker/node_modules/acme-dns-01-cli
                      npm ERR! errno -13
                      npm ERR! Error: EACCES: permission denied, access '/opt/iobroker/node_modules/acme-dns-01-cli'
                      npm ERR!  [Error: EACCES: permission denied, access '/opt/iobroker/node_modules/acme-dns-01-cli'] {
                      npm ERR!   errno: -13,
                      npm ERR!   code: 'EACCES',
                      npm ERR!   syscall: 'access',
                      npm ERR!   path: '/opt/iobroker/node_modules/acme-dns-01-cli'
                      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/2021-01-09T10_49_28_240Z-debug.log
                      pi@ioBroker-rock64:/opt/iobroker$
                      
                      

                      apollon77A Offline
                      apollon77A Offline
                      apollon77
                      schrieb am zuletzt editiert von
                      #32

                      @Homoran Hast Du dich NACH der Installation und VOR dem nächsten kommando auch ausgeloggtt und frisch eingeloggt wie es der Installer verlangt? ;-) Ich tippe nein

                      Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                      • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                      • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                      HomoranH 2 Antworten Letzte Antwort
                      0
                      • apollon77A apollon77

                        @Homoran Hast Du dich NACH der Installation und VOR dem nächsten kommando auch ausgeloggtt und frisch eingeloggt wie es der Installer verlangt? ;-) Ich tippe nein

                        HomoranH Offline
                        HomoranH Offline
                        Homoran
                        Global Moderator Administrators
                        schrieb am zuletzt editiert von
                        #33

                        @apollon77 sagte in Beta Test js-controller 3.2.x auf GitHub:

                        @Homoran Hast Du dich NACH der Installation und VOR dem nächsten kommando auch ausgeloggtt und frisch eingeloggt wie es der Installer verlangt? ;-) Ich tippe nein

                        ich denke schon ;-)

                        Mach ich aber nochmal, denn der fixer hat's nicht gebracht

                        kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                        der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                        1 Antwort Letzte Antwort
                        0
                        • Thomas BraunT Thomas Braun

                          @Homoran @apollon77
                          Ja, im samsung-tizen Adapter (hab ich aus git) wird das wohl herangezogen. Ich schmeiß den aber gerade aus dem System.
                          Und samsung-community auch.
                          Die beiden hab ich aus git drin, alle anderen Adapter kommen aus 'latest'.

                          apollon77A Offline
                          apollon77A Offline
                          apollon77
                          schrieb am zuletzt editiert von
                          #34

                          @Thomas-Braun Ok, ich habe oben abgeändert: nodejs 15 ist ok, aber NUR mit npm 6 ... die haben bei npm 7 mal wieder alles kaputt gemacht. auch unser installer tut nicht mit ner frischen nodejs 15 installation mit npm 7 weil das postinstall skript von npm nicht ausgeführt wird. grund: Unbekannt

                          Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                          • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                          • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                          Thomas BraunT 1 Antwort Letzte Antwort
                          0
                          • apollon77A apollon77

                            @Homoran Hast Du dich NACH der Installation und VOR dem nächsten kommando auch ausgeloggtt und frisch eingeloggt wie es der Installer verlangt? ;-) Ich tippe nein

                            HomoranH Offline
                            HomoranH Offline
                            Homoran
                            Global Moderator Administrators
                            schrieb am zuletzt editiert von Homoran
                            #35

                            @apollon77 sagte in Beta Test js-controller 3.2.x auf GitHub:

                            @Homoran Hast Du dich NACH der Installation und VOR dem nächsten kommando auch ausgeloggtt und frisch eingeloggt wie es der Installer verlangt? ;-) Ich tippe nein

                            OK - ist jetzt durchgelaufen, ich hatte eine zweite session mit dem selben user gemacht ohne mich in der anderen abzumelden.
                            Jetzt bin ich komplett raus und wieder neu rein

                            (...und ich hatte iobroker nicht gestoppt :-( )

                            kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                            Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                            der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                            1 Antwort Letzte Antwort
                            0
                            • apollon77A apollon77

                              @Thomas-Braun Ok, ich habe oben abgeändert: nodejs 15 ist ok, aber NUR mit npm 6 ... die haben bei npm 7 mal wieder alles kaputt gemacht. auch unser installer tut nicht mit ner frischen nodejs 15 installation mit npm 7 weil das postinstall skript von npm nicht ausgeführt wird. grund: Unbekannt

                              Thomas BraunT Online
                              Thomas BraunT Online
                              Thomas Braun
                              Most Active
                              schrieb am zuletzt editiert von
                              #36

                              @apollon77
                              Mit

                              /usr/bin/nodejs
                              v14.15.4
                              /usr/bin/node
                              v14.15.4
                              /usr/bin/npm
                              6.14.10
                              

                              läuft der js-controller 3.2.3 jetzt grundsätzlich erstmal.
                              npm7 kommt mit dem nodejs15-Paket von nodesource mit. Wenn die das also irgendwann mal in 'gerade' Versionen reinpacken sollten gibt es da Probleme. Muss man sich mal anschauen.

                              Linux-Werkzeugkasten:
                              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                              NodeJS Fixer Skript:
                              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                              1 Antwort Letzte Antwort
                              0
                              • apollon77A apollon77

                                @SBorg ja versions increase wollte die IDE noch einen klick aber anderes fenster war davor ... hihi ... jetzt auch fixed

                                SBorgS Offline
                                SBorgS Offline
                                SBorg
                                Forum Testing Most Active
                                schrieb am zuletzt editiert von
                                #37

                                @apollon77 sagte in Beta Test js-controller 3.2.x auf GitHub:

                                @SBorg ja versions increase wollte die IDE noch einen klick aber anderes fenster war davor ... hihi ... jetzt auch fixed

                                :grinning:

                                Bisheriges Fazit: lüppt, etliche Adapter brauchen aber ein Update:

                                (10881) State "upnp.0.FRITZ!Box_7490_(UI).l2tpv3.l2tpv3.GetInfo.sid" has no existing object, this might lead to an error in future versions
                                

                                Youtube + Enigma steigen per Exception kpl. aus, sind ohne Update so nicht mehr nutzbar.
                                Bspw: Youtube ( @haus-automatisierung ) :

                                (17541) Error: The id "channels.HausAutomatisierungCom.video.0." is invalid. Ids are not allowed to end in "."
                                

                                Ich denke mal [--y] ist für *unattended" (habe nix mehr zum ausprobieren)? Pauschal finde ich es mittels der jetzt erfolgenden [yes/no] Abfrage besser, bin aber eh faul...:

                                iobroker upgrade --y
                                

                                LG SBorg ( SBorg auf GitHub)
                                Projekte: Lebensmittelwarnung.de | WLAN-Wetterstation | PimpMyStation

                                SBorgS 1 Antwort Letzte Antwort
                                0
                                • J Offline
                                  J Offline
                                  Jan1
                                  schrieb am zuletzt editiert von
                                  #38

                                  Der Enigma2 Adapter läuft mit der Version nicht mehr:

                                  2021-01-09 13:18:47.837 - info: host.Beelink "system.adapter.enigma2.0" disabled
                                  2021-01-09 13:19:03.296 - info: host.Beelink "system.adapter.enigma2.0" enabled
                                  2021-01-09 13:19:03.363 - info: host.Beelink instance system.adapter.enigma2.0 started with pid 1556694
                                  2021-01-09 13:19:05.000 - info: enigma2.0 (1556694) starting. Version 1.3.2 in /opt/iobroker/node_modules/iobroker.enigma2, node: v14.15.4, js-controller: 3.2.3
                                  2021-01-09 13:19:05.031 - info: enigma2.0 (1556694) starting Polling every 5000 ms
                                  2021-01-09 13:19:05.075 - error: enigma2.0 (1556694) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                                  2021-01-09 13:19:05.076 - error: enigma2.0 (1556694) unhandled promise rejection: Not exists
                                  2021-01-09 13:19:05.079 - error: enigma2.0 (1556694) Error: Not exists
                                  at Object.maybeCallbackWithError (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:2270:17)
                                  at Immediate. (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3010:38)
                                  at processImmediate (internal/timers.js:463:21)
                                  2021-01-09 13:19:05.079 - error: enigma2.0 (1556694) Not exists
                                  2021-01-09 13:19:05.093 - error: enigma2.0 (1556694) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                                  2021-01-09 13:19:05.093 - error: enigma2.0 (1556694) unhandled promise rejection: Not exists
                                  2021-01-09 13:19:05.094 - error: enigma2.0 (1556694) Error: Not exists
                                  at Object.maybeCallbackWithError (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:2270:17)
                                  at Immediate. (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3010:38)
                                  at processImmediate (internal/timers.js:463:21)
                                  2021-01-09 13:19:05.094 - error: enigma2.0 (1556694) Not exists
                                  2021-01-09 13:19:05.104 - error: enigma2.0 (1556694) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                                  2021-01-09 13:19:05.105 - error: enigma2.0 (1556694) unhandled promise rejection: Not exists
                                  2021-01-09 13:19:05.105 - error: enigma2.0 (1556694) Error: Not exists
                                  at Object.maybeCallbackWithError (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:2270:17)
                                  at Immediate. (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3010:38)
                                  at processImmediate (internal/timers.js:463:21)
                                  2021-01-09 13:19:05.105 - error: enigma2.0 (1556694) Not exists
                                  2021-01-09 13:19:05.106 - error: enigma2.0 (1556694) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                                  2021-01-09 13:19:05.107 - error: enigma2.0 (1556694) unhandled promise rejection: Not exists
                                  2021-01-09 13:19:05.107 - error: enigma2.0 (1556694) Error: Not exists
                                  at Object.maybeCallbackWithError (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:2270:17)
                                  at Immediate. (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3010:38)
                                  at processImmediate (internal/timers.js:463:21)
                                  2021-01-09 13:19:05.108 - error: enigma2.0 (1556694) Not exists
                                  2021-01-09 13:19:05.109 - error: enigma2.0 (1556694) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                                  2021-01-09 13:19:05.109 - error: enigma2.0 (1556694) unhandled promise rejection: Not exists
                                  2021-01-09 13:19:05.109 - error: enigma2.0 (1556694) Error: Not exists
                                  at Object.maybeCallbackWithError (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:2270:17)
                                  at Immediate. (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3010:38)
                                  at processImmediate (internal/timers.js:463:21)
                                  2021-01-09 13:19:05.110 - error: enigma2.0 (1556694) Not exists
                                  2021-01-09 13:19:05.619 - info: enigma2.0 (1556694) terminating
                                  2021-01-09 13:19:05.621 - warn: enigma2.0 (1556694) Terminated (UNCAUGHT_EXCEPTION): Without reason
                                  2021-01-09 13:19:06.260 - error: host.Beelink instance system.adapter.enigma2.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                                  2021-01-09 13:19:06.262 - info: host.Beelink Restart adapter system.adapter.enigma2.0 because enabled
                                  
                                  

                                  ? 1 Antwort Letzte Antwort
                                  0
                                  • J Jan1

                                    Der Enigma2 Adapter läuft mit der Version nicht mehr:

                                    2021-01-09 13:18:47.837 - info: host.Beelink "system.adapter.enigma2.0" disabled
                                    2021-01-09 13:19:03.296 - info: host.Beelink "system.adapter.enigma2.0" enabled
                                    2021-01-09 13:19:03.363 - info: host.Beelink instance system.adapter.enigma2.0 started with pid 1556694
                                    2021-01-09 13:19:05.000 - info: enigma2.0 (1556694) starting. Version 1.3.2 in /opt/iobroker/node_modules/iobroker.enigma2, node: v14.15.4, js-controller: 3.2.3
                                    2021-01-09 13:19:05.031 - info: enigma2.0 (1556694) starting Polling every 5000 ms
                                    2021-01-09 13:19:05.075 - error: enigma2.0 (1556694) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                                    2021-01-09 13:19:05.076 - error: enigma2.0 (1556694) unhandled promise rejection: Not exists
                                    2021-01-09 13:19:05.079 - error: enigma2.0 (1556694) Error: Not exists
                                    at Object.maybeCallbackWithError (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:2270:17)
                                    at Immediate. (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3010:38)
                                    at processImmediate (internal/timers.js:463:21)
                                    2021-01-09 13:19:05.079 - error: enigma2.0 (1556694) Not exists
                                    2021-01-09 13:19:05.093 - error: enigma2.0 (1556694) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                                    2021-01-09 13:19:05.093 - error: enigma2.0 (1556694) unhandled promise rejection: Not exists
                                    2021-01-09 13:19:05.094 - error: enigma2.0 (1556694) Error: Not exists
                                    at Object.maybeCallbackWithError (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:2270:17)
                                    at Immediate. (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3010:38)
                                    at processImmediate (internal/timers.js:463:21)
                                    2021-01-09 13:19:05.094 - error: enigma2.0 (1556694) Not exists
                                    2021-01-09 13:19:05.104 - error: enigma2.0 (1556694) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                                    2021-01-09 13:19:05.105 - error: enigma2.0 (1556694) unhandled promise rejection: Not exists
                                    2021-01-09 13:19:05.105 - error: enigma2.0 (1556694) Error: Not exists
                                    at Object.maybeCallbackWithError (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:2270:17)
                                    at Immediate. (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3010:38)
                                    at processImmediate (internal/timers.js:463:21)
                                    2021-01-09 13:19:05.105 - error: enigma2.0 (1556694) Not exists
                                    2021-01-09 13:19:05.106 - error: enigma2.0 (1556694) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                                    2021-01-09 13:19:05.107 - error: enigma2.0 (1556694) unhandled promise rejection: Not exists
                                    2021-01-09 13:19:05.107 - error: enigma2.0 (1556694) Error: Not exists
                                    at Object.maybeCallbackWithError (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:2270:17)
                                    at Immediate. (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3010:38)
                                    at processImmediate (internal/timers.js:463:21)
                                    2021-01-09 13:19:05.108 - error: enigma2.0 (1556694) Not exists
                                    2021-01-09 13:19:05.109 - error: enigma2.0 (1556694) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                                    2021-01-09 13:19:05.109 - error: enigma2.0 (1556694) unhandled promise rejection: Not exists
                                    2021-01-09 13:19:05.109 - error: enigma2.0 (1556694) Error: Not exists
                                    at Object.maybeCallbackWithError (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:2270:17)
                                    at Immediate. (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3010:38)
                                    at processImmediate (internal/timers.js:463:21)
                                    2021-01-09 13:19:05.110 - error: enigma2.0 (1556694) Not exists
                                    2021-01-09 13:19:05.619 - info: enigma2.0 (1556694) terminating
                                    2021-01-09 13:19:05.621 - warn: enigma2.0 (1556694) Terminated (UNCAUGHT_EXCEPTION): Without reason
                                    2021-01-09 13:19:06.260 - error: host.Beelink instance system.adapter.enigma2.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                                    2021-01-09 13:19:06.262 - info: host.Beelink Restart adapter system.adapter.enigma2.0 because enabled
                                    
                                    

                                    ? Offline
                                    ? Offline
                                    Ein ehemaliger Benutzer
                                    schrieb am zuletzt editiert von
                                    #39

                                    @Jan1 richtig, genauso wenig wie der mihome-vacuum, Issues hab ich schon angelegt.

                                    J 1 Antwort Letzte Antwort
                                    0
                                    • ? Ein ehemaliger Benutzer

                                      @Jan1 richtig, genauso wenig wie der mihome-vacuum, Issues hab ich schon angelegt.

                                      J Offline
                                      J Offline
                                      Jan1
                                      schrieb am zuletzt editiert von
                                      #40

                                      @ilovegym
                                      Ist das die selbe Ursache und muss das im Adapter gefixt werden, oder im JS-Controller?

                                      Ich habs zur Sicherheit auch gleich noch im Adapter Thread gepostet.

                                      apollon77A 1 Antwort Letzte Antwort
                                      0
                                      • SBorgS SBorg

                                        @apollon77 sagte in Beta Test js-controller 3.2.x auf GitHub:

                                        @SBorg ja versions increase wollte die IDE noch einen klick aber anderes fenster war davor ... hihi ... jetzt auch fixed

                                        :grinning:

                                        Bisheriges Fazit: lüppt, etliche Adapter brauchen aber ein Update:

                                        (10881) State "upnp.0.FRITZ!Box_7490_(UI).l2tpv3.l2tpv3.GetInfo.sid" has no existing object, this might lead to an error in future versions
                                        

                                        Youtube + Enigma steigen per Exception kpl. aus, sind ohne Update so nicht mehr nutzbar.
                                        Bspw: Youtube ( @haus-automatisierung ) :

                                        (17541) Error: The id "channels.HausAutomatisierungCom.video.0." is invalid. Ids are not allowed to end in "."
                                        

                                        Ich denke mal [--y] ist für *unattended" (habe nix mehr zum ausprobieren)? Pauschal finde ich es mittels der jetzt erfolgenden [yes/no] Abfrage besser, bin aber eh faul...:

                                        iobroker upgrade --y
                                        
                                        SBorgS Offline
                                        SBorgS Offline
                                        SBorg
                                        Forum Testing Most Active
                                        schrieb am zuletzt editiert von
                                        #41

                                        @SBorg sagte in Beta Test js-controller 3.2.x auf GitHub:

                                        Youtube + Enigma steigen per Exception kpl. aus, sind ohne Update so nicht mehr nutzbar.

                                        +weitere kommen durch den JS-Controller, müssen aber im jeweiligen Adapter gefixt werden ;)

                                        LG SBorg ( SBorg auf GitHub)
                                        Projekte: Lebensmittelwarnung.de | WLAN-Wetterstation | PimpMyStation

                                        1 Antwort Letzte Antwort
                                        0
                                        • apollon77A apollon77
                                          Aktuelle Test Version 3.2.x
                                          Veröffentlichungsdatum 09.01.2021
                                          Github Link npm install ioBroker/ioBroker.js-controller

                                          Hallo mal wieder in die Tester-Runde,

                                          mit etwas zeitlicher Verspätung, dafür aber um so besser, starten wir heute den Beta Test des neuen js-controller 3.2 (Releasename "Grace"). Wie auch bei den letzten Versionen starten wir die erste Teststufe direkt von GitHub. Also bitte nur mitmachen wenn Ihr wisst was das heisst :-) Aber auch der Weg zurück ist unten beschrieben.

                                          Die unterstützten Node.js Versionen bleiben in diesem Update gleich: 10.x, 12.x und auch 14.x werden offiziell unterstützt. Aufgrund der übergreifenden Adapter-Kompatibilität bleibt die empfohlene Node.js Version für ioBroker aktuell weiterhin auf 12.x. Falls jemand wirklich mit Node.js 15.x experimentieren will, dann bitte AUSSCHLIESSLICH mit npm 6 !! (die npm Leute haben in npm 7 wieder dinge kaputt gemacht. es ist zum heulen)

                                          Neben einigen Features haben wir unter der Haube weiter aufgeräumt und sehr viel modernisiert und vereinheitlicht.
                                          Auch daran den Wildwuchs in der Umsetzung einiger Adapter etwas einzugrenzen wurde weiter gearbeitet, was ggf. zu neuen Log-meldungen für bestimmte Fälle führt. Bitte unterstützt hier wieder und legt bei den relevanten Adaptern im GitHub Issues an, damit diese Dinge gefixt werden können.

                                          Besonders zu erwähnen ist die Grundlage für das neue Benachrichtigungssystem (kommt dann in einem Admin-Update) und die Reaktivierung von Let's Encrypt zur automatischen Zertifikatsaktualisierung.
                                          Detailliertere Informationen zu allen Änderungen und Features findet Ihr weiter unten und im Changelog. Ich hoffe auch diesmal auf Eure tatkräftige Unterstützung, sodass der Latest-Release dann genau so reibungslos verläuft wie bei den letzten Versionen.

                                          In Summe sind in diese Version über 560 commits eingeflossen. Dafür bedenke mich diesmal besonders bei @foxriver76, @AlCalzone und natürlich @Bluefox und auch ein paar weiteren Entwicklern für die aktive Mitarbeit an dieser Version!

                                          Der js-controller 3.2 ist generell kompatibel mit allen bestehenden ioBroker-Systemen. Ein Update von der 2.0/2.1/2.2 ist problemlos möglich. Nur die Node.js Version muss jetzt mindestens 10.x sein, wie oben bereits ausgeführt. Wer überlegt die Node.js Version anzuheben bitte weiter unten im Abschnitt "Was ist zu testen" lesen :-)


                                          Installation


                                          VOR der Installation
                                          Wie bei jedem Test dieser Art: Bitte macht ein Backup! iobroker backup bzw kopieren des iobroker-data Verzeichnisses reichen an sich aus. Bitte nicht das node_modules Verzeichnis einfach kopieren, da sonst symbolische Links kaputt gehen können, was zu größeren Problemen danach führt. Die alte Version des js-controller kann im Notfall einfach wieder per npm install iobroker.js-controller@version installiert werden und sollte alles wieder herstellen.

                                          Windows

                                          Auf Systemen, die mit dem neuen Windows Installer eingerichtet wurden weiss ich gerade nicht wie der aktuelle Prozess ist, da der Windows installer nicht ganz aktuell ist. Bitte hier berichten dann kann ich ergänzen.

                                          Linux

                                          Für den Beta-Test muss der js-controller direkt per npm installiert werden. Dazu bitte den ioBroker auf dem Server beenden und dann in einer Shell UNBEDINGT in das ioBroker Verzeichnis wechseln (cd /opt/iobroker unter Linux). Dann mittels npm install ioBroker/ioBroker.js-controller den Controller manuell aktualisieren. Bevor ihr loslegt, lest aber bitte erst noch die folgenden Hinweise! Der zweite Post in diesem Thread ist für eine FAQ reserviert. Bitte schaut auch dort gern einmal rein.

                                          Achtung: Slave-Systeme zuerst!
                                          Bei einem Multi-Host-System, welches auf js-controller 2.2 oder 3.1 läuft ist es beim Update auf Version 3.2 empfohlen, zuerst die Slave-Systeme zu aktualisieren. Der Master wird als letztes aktualisiert!

                                          Bei Updates von Master/Slave-Systemen mit js-controller 1.5 oder früher auf die 3.2 müssen zwingend zuerst die Slaves und der Master als letztes aktualisiert werden. Die Slaves bleiben nach dem Update offline und werden erst wieder funktionieren wenn auch der Master auf die 3.2 aktualisiert wurde!

                                          Nötige Adapter-Aktualisierungen

                                          Aktuell sind keine Inkompatibilitäten bekannt, damit allerdings Let's encrypt wieder funktioniert benötigt es einige Adapter in "Latest" Versionen von mindestens:

                                          • ioBroker.lovelace 1.4.1
                                          • ioBroker.simple-api 2.5.2
                                          • ioBroker.socketio 3.1.3
                                          • ioBroker.telegram 1.7.0
                                          • ioBroker.web 3.2.2
                                          • ioBroker.admin 4.2.1
                                            Bitte checkt aber das die Adapter generell auch in den bisherigen versionen mit dem neuen js-controller tun!

                                          Es werden aber, wie oben ausgeführt, einige Adapter ggf Warnungen ins Log schreiben. Falls das Problematisch ist ist aktuell die einzige Option das Loglevel der Instanz auf "Error" zu setzen.

                                          Fehler
                                          Wenn bei der Installation Fehler wegen fehlender Zugriffsrechte auftreten, am besten den Installation-Fixer (iobroker fix wer schon einen js-controller 2.x hat, alternativ weiterhin manuell via curl -sL https://iobroker.net/fix.sh | bash -) nutzen und die Installation wiederholen.

                                          Falls es auch danach noch Fehler gibt, bitte die Installation erneut mittels sudo -H -u iobroker npm install ioBroker/ioBroker.js-controller versuchen.

                                          Nach der Installation
                                          Nach der Installation den ioBroker wieder starten (z.B. mittels iobroker start).

                                          Wenn alles klappt merkt Ihr außer der höheren Versionsnummer in der Host-Ansicht im Admin keinen Unterschied. Alles funktioniert weiterhin wie vorher. Alle Adapterinstanzen starten und funktionieren. Wenn das so ist hat alles geklappt.

                                          Falls im Log Warn-Meldungen auftauchen mit dem Hinweis diese an den Entwickler zu senden, dann bitte schauen welcher Adapter es ist und entsprechend dort Issues bitte anlegen!


                                          Was hat sich geändert, was besonders ansehen/testen?


                                          Neben einiger weiterer Bugfixes gibt es folgende Änderungen und Fixes zu erwähnen:

                                          • generell siehe Changelog, speziell auch für Features
                                          • Alle normalen Funktionalitäten, vor allem Adapter starten, stoppen, restarten, installieren, upgrade einzel/all, Instanzen hinzufügen, löschen, auf anderen Host schieben (npm Installs und auch GitHub installs)
                                          • Prüfen und vergleichen der CPU and RAM Nutzung, speziell für den js.controller Prozess an sich
                                          • Einige Adapter werden Warnungen ausgeben wenn State-Werte gesetzt werden VOR dem Anlegen von Objekten. Bitte bei den Adapter-Repos melden

                                          Speziell die Entwickler sollten bitte die genannten Deprecations anschauen und beachten

                                          Wie bereits gesagt, viele Änderungen fanden hinter den Kulissen statt. Hier für Interessierte als Spoiler eine Zusammenfassung:


                                          3.2.1 (2021-01-09) Release Grace
                                          BREAKING CHANGES

                                          • None, Supported are nodejs 10.x, 12.x and 14.x (Node.js 15.x is also working in the automated tests, but formally not supported)

                                          Features

                                          • (raintonr) Update Let's encrypt implementation; all relevent adapters (web and such) need updates to use it! NEEDS NODE.JS 12.x+! (see DOCS LINK TODO)
                                          • (bluefox) Restart adapters that use Let's encrypt after certificates were updated
                                          • (bluefox) Provide min/max for convert alias functions
                                          • (foxriver76) handling major adapter upgrades more carefully (CLI on upgrade will show if it's a major upgrade and major upgrades will be skipped on upgrade all when executed by admin
                                          • (AlCalzone) detect and allow short github URL format when (auto-)installing adapters (iobroker url User/repo#branchorcommit)
                                          • (foxriber76) Add notification system (see DOCS LINK TODO)
                                          • (foxriver76) enhance setup (and setup first) with redis to all port configuration
                                          • (foxriver76) set connectionName for redis connections and simulator support (see DOCS LINK TODO)

                                          Optimizations and Fixes

                                          • (foxriver76) Detect adapter restart loops and stop restarting after 3 crashes (an adapter is considered "working" when no crash by an exception happens within 10 minutes)
                                          • (foxriver76) Fix failed logins if username is uppercase, be reworking user logic and caching
                                          • (bluefox) Set for def states the quality: QUALITY_SUBS_INITIAL
                                          • (AlCalzone) fix npm uninstall loglevel argument
                                          • (foxriver76) delete pids.txt when iobroker was stopped
                                          • (bluefox) Add missing attributes by multihost if Redis is used for objects/states, Remove unused settings from iobroker-dist.json, Remove pass and user from connection settings. Use options.auth_pass
                                          • (AlCalzone) Package-Manager: log which packages were (already) installed
                                          • (foxriver76) replace redis "KEYS" command by "SCAN" to optimize redis access performance
                                          • (foxriver76) optimize redis library usage to prevent errors on redis outages
                                          • (bluefox) Catch errors by plugins load. At least log will work and could be checked for errors.
                                          • (foxriver76) allow migration of instances to already existing host
                                          • (foxriver76) also allow <adapter>.<instance-nr> for install/add cli command
                                          • (AlCalzone) buffer streams that are piped to stdout to fix weird Windows logging cases
                                          • (foxriver76/AlCalzone) Optimize upgrade/downgrade logic for adapters, ask for a downgrade only if lower version is to be installed
                                          • (foxriver76) allow redis redis migration when changing host of redis - fix bug where process crashes when controller is running when migrating
                                          • (bluefox) Catch errors for subscribe on alias without target
                                          • (foxriver76) only perform auto scaling on alias if not null
                                          • (foxriver76) if repository request fails also use cached sources on updating repository
                                          • (foxriver76) prevent host deletion from same host - otherwise it will remove the system.host states but instances will still be on the removed host, because transfer happens to itself
                                          • (foxriver76) use instanceObjects from system.adapter.* object instead from io-package.json
                                          • (foxriver76) notify of errors on readFileCertificates to show permission problems etc.
                                          • (foxriver76) multihost discovery now logs ignored messages on debug and also logs the senders address
                                          • (foxriver76) sync up created objects on instance start and instance creation by using helper function in tools.js, e.g. .loglevel was missing on instance creation
                                          • (bluefox) Package-Manager: Filter empty packets out to suppress error message
                                          • (foxriver76) rename repository names for new installations and on updates to beta/stable
                                          • (foxriver76) rewrite collectDiagInfo to Promises and fix minor issue with it
                                          • (foxriver76) only scale aliases if target or source is represented by unit %
                                          • (foxriver76) create meta.user on file sync cli, if not existing (see DOCS LINK TODO)
                                          • (Apollon77) also create meta.user on setup first if not existing
                                          • (foxriver76) fix enumInstances used by CLI commands
                                          • (foxriver76) when missing rights to access log dir do not crash hard anymore, instead fallback to default directory
                                          • (bluefox) Fix error if type of native data changed in the new version from basic type e.g. 'string' to 'object'.
                                          • (AlCalzone) Remove hardcoded references to GitHub master branch because newer repositories use "main"
                                          • (Apollon77, foxriver, bluefox, AlCalzone) Several fixes and refactorings to prevent potential crash cases reported by Sentry and other sources

                                          Developer relevant DEPRECATIONS/WARNINGS

                                          • (foxriver76) we warn if object not exists when setting a state via adapter.setState. Adjust your code that a state value is NOT set before the object is successfully created. If this deep check is NOT wanted for performance reasons the adapter needs to be initialized with strictObjectChecks = false!! (see DOCS LINK TODO)
                                          • (foxriver76) readFile should not validate meta object, we now throw on writeFile if id is no valid meta object
                                          • (AlCalzone) update Forbidden ID Characters: use Unicode properties to define which characters are allowed instead of blacklisting. For ASCII the allowed characters are the same as before - for other languages mainly character class of Unicode are allowed! (see DOCS LINK TODO)
                                          • (foxriver76) Throw on invalid setState objects; was logged as deprecated before
                                          • (foxriver76) remove getMessage shim, no adapter uses it anymore; was logged as deprecated before

                                          Developer relevant new Features

                                          • (foxriver76) use aes-192-cbc as encryption - backward compatible with current encryption, nothing to do for adapter-developers (see DOCS LINK TODO)
                                          • (bluefox) Add system view to filter for "folder" objects
                                          • (bluefox) add set/clearTimeout and set/clearInterval to adapter methods and check on unload that they were all cleared and clear if needed with logging, so developers are reminded to clean up!
                                          • (AlCalzone) Add ...Async version for getChannels - make sure to check before using or use correct js-controller version dependency!
                                          • (Apollon77) modularize databases into own npm packages and basically support adding new types of databases; add deprecation infos and logging to "old legacy" files in lib/states and lib/objects to not be used anymore; requires mostly updates in testing (see DOCS LINK TODO)

                                          Developer relevant Optimizations and Fixes

                                          • (foxriver76) implement maybeCallback and maybeCallbackWithError and use it in adapter.js
                                          • (AlCalzone) use fs-extra instead of mkdirp
                                          • (AlCalzone) read JSON files using fs-extra's readJSONSync
                                          • (AlCalzone) fix callback definitions in adapter.js, We have signatures for (almost) everything in @types/iobroker and we should use them
                                          • (AlCalzone) move from Promises to async/await in some places, use a single readyPromise instead of an array
                                          • (bluefox) Added "http" and "stream" options for logs
                                          • (foxriver76) migrated ci tests to github actions
                                          • (foxriver76) resolve adapter main file as tools.js method
                                          • (foxriver76) optimize extendObject with def value
                                          • (AlCalzone) Handle existing, but undefined properties in validateSetStateObjectArgument
                                          • (foxriver76) also escape + char on regex, it's not forbidden
                                          • (bluefox) Set default state only for objects of type "state"
                                          • (AlCalzone) include folders in the result of getAdapterObjects
                                          • general dependency updates
                                          • code style optimizations

                                          Generell ist zu testen, ob alles noch so funktioniert wie vorher auch. Das ist das wichtigste!


                                          Wie Fehler melden?


                                          Wer sich unsicher ist, ob ein Fehler vorliegt, sollte am besten hier im Thread das Problem beschreiben. So können wir alle versuchen, das Problem nachzuvollziehen und ggf. einzugrenzen.

                                          Sobald ein Fehler auftritt der in einer Fehlermeldung oder einen Crash mit Fehlerdetails im Log oder auf Kommandozeile endet, dann dazu am besten direkt ein GitHub-Issue im js-controller Projekt öffnen und zusätzlich hier im Thread posten. Je detaillierter die Angaben im Issue sind (genaue Fehlermeldungen/Logs, Infos zur OS- und Node.js-Umgebung sowie genaue Schritte zur Reproduktion des Problems), umso schneller können wir Fehler einkreisen und beheben.

                                          Wir wünschen allen viel Spaß beim Testen und vielen Dank für Eure Unterstützung!

                                          Ingo

                                          ? Offline
                                          ? Offline
                                          Ein ehemaliger Benutzer
                                          schrieb am zuletzt editiert von
                                          #42

                                          @apollon77
                                          smartmeter Adapter gibt ne Warnung:
                                          smartmeter.0 2021-01-09 13:35:48.320 warn (2581) State "smartmeter.0.1-0:1_8_0__255.rawvalue" has no existing object, this might lead to an error in future versions

                                          Ansonsten ist es jetzt mit 3.2.3 sehr ruhig... :-)

                                          apollon77A 1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          760

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe