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.8k

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

    @ilovegym zeig bitte mal Ausgabe von „iobroker setup custom“ da scheint was bei dir falsch eingestellt zu sein und up steht im Typ Feld.

    Bzw zeig mal dein /opt/iobroker/iobroker-data/iobroker.json

    Bei mir läuft redis problemlos.

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

    @apollon77

    setup custom

    ilovegym@VMC123-iobroker:/opt/iobroker$ iobroker setup custom
    Current configuration:
    - Objects database:
      - Type: redis
      - Host/Unix Socket: 127.0.0.1
      - Port: 6379
    - States database:
      - Type: redis
      - Host/Unix Socket: 127.0.0.1
      - Port: 6379
    
    Type of objects DB [(f)ile, (r)edis], default [redis]:
    
    

    das json:

    ilovegym@VMC123-iobroker:/opt/iobroker$ cat /opt/iobroker/iobroker-data/iobroker.json
    {
      "system": {
        "memoryLimitMB": 0,
        "hostname": "",
        "statisticsInterval": 15000,
        "statisticsIntervalComment": "Interval how often the counters for input/output in adapters and controller will be updated"
      },
      "multihostService": {
        "enabled": true,
        "secure": true,
        "password": "3edcfbcce1de120ae6c2af0909623e22"
      },
      "network": {
        "IPv4": true,
        "IPv6": true,
        "bindAddress": null
      },
      "objects": {
        "type": "redis",
        "typeComment": "Possible values: 'file' - [port 9001], redis - [port 6379], couch - [port 5984].",
        "host": "127.0.0.1",
        "port": 6379,
        "user": "",
        "pass": "",
        "noFileCache": false,
        "connectTimeout": 2000,
        "backup": {
          "disabled": false,
          "files": 24,
          "filesComment": "Minimal number of backup files, after the deletion will be executed according to backupTime settings",
          "hours": 48,
          "hoursComment": "All backups older than 48 hours will be deleted. But only if the number of files is greater than of backupNumber",
          "period": 120,
          "periodComment": "by default backup every 2 hours. Time is in minutes. To disable backup set the value to 0",
          "path": "",
          "pathComment": "Absolute path to backup directory or empty to backup in data directory"
        },
        "options": {
          "auth_pass": null,
          "retry_max_delay": 5000
        }
      },
      "states": {
        "type": "redis",
        "typeComment": "Possible values: 'file' - [port 9000], 'redis' - [port 6379].",
        "host": "127.0.0.1",
        "port": 6379,
        "maxQueue": 1000,
        "options": {
          "auth_pass": null,
          "retry_max_delay": 5000
        },
        "backup": {
          "disabled": false,
          "files": 24,
          "filesComment": "Minimal number of backup files, after the deletion will be executed according to backupTime settings",
          "hours": 48,
          "hoursComment": "All backups older than 48 hours will be deleted. But only if the number of files is greater than of backupNumber",
          "period": 120,
          "periodComment": "by default backup every 2 hours. Time is in minutes. To disable backup set the value to 0",
          "path": "",
          "pathComment": "Absolute path to backup directory or empty to backup in data directory"
        }
      },
      "log": {
        "level": "info",
        "maxDays": 7,
        "noStdout": true,
        "transport": {
          "file1": {
            "type": "file",
            "enabled": true,
            "filename": "log/iobroker",
            "fileext": ".log",
            "maxsize": null,
            "maxFiles": null
          },
          "syslog1": {
            "type": "syslog",
            "enabled": false,
            "host": "localhost",
            "host_comment": "The host running syslogd, defaults to localhost.",
            "port_comment": "The port on the host that syslog is running on, defaults to syslogd's default port(514/UDP).",
            "protocol": "udp4",
            "protocol_comment": "The network protocol to log over (e.g. tcp4, udp4, unix, unix-connect, etc).",
            "path_comment": "The path to the syslog dgram socket (i.e. /dev/log or /var/run/syslog for OS X).",
            "facility_comment": "Syslog facility to use (Default: local0).",
            "localhost": "iobroker",
            "localhost_comment": "Host to indicate that log messages are coming from (Default: localhost).",
            "sysLogType_comment": "The type of the syslog protocol to use (Default: BSD).",
            "app_name_comment": "The name of the application (Default: process.title).",
            "eol_comment": "The end of line character to be added to the end of the message (Default: Message without modifications)."
          }
        }
      },
      "dataDirComment": "Always relative to iobroker.js-controller/",
      "dataDir": "../../iobroker-data/"
    }ilovegym@VMC123-iobroker:/opt/iobroker$
    
    
    apollon77A 1 Antwort Letzte Antwort
    0
    • ? Ein ehemaliger Benutzer

      @apollon77

      setup custom

      ilovegym@VMC123-iobroker:/opt/iobroker$ iobroker setup custom
      Current configuration:
      - Objects database:
        - Type: redis
        - Host/Unix Socket: 127.0.0.1
        - Port: 6379
      - States database:
        - Type: redis
        - Host/Unix Socket: 127.0.0.1
        - Port: 6379
      
      Type of objects DB [(f)ile, (r)edis], default [redis]:
      
      

      das json:

      ilovegym@VMC123-iobroker:/opt/iobroker$ cat /opt/iobroker/iobroker-data/iobroker.json
      {
        "system": {
          "memoryLimitMB": 0,
          "hostname": "",
          "statisticsInterval": 15000,
          "statisticsIntervalComment": "Interval how often the counters for input/output in adapters and controller will be updated"
        },
        "multihostService": {
          "enabled": true,
          "secure": true,
          "password": "3edcfbcce1de120ae6c2af0909623e22"
        },
        "network": {
          "IPv4": true,
          "IPv6": true,
          "bindAddress": null
        },
        "objects": {
          "type": "redis",
          "typeComment": "Possible values: 'file' - [port 9001], redis - [port 6379], couch - [port 5984].",
          "host": "127.0.0.1",
          "port": 6379,
          "user": "",
          "pass": "",
          "noFileCache": false,
          "connectTimeout": 2000,
          "backup": {
            "disabled": false,
            "files": 24,
            "filesComment": "Minimal number of backup files, after the deletion will be executed according to backupTime settings",
            "hours": 48,
            "hoursComment": "All backups older than 48 hours will be deleted. But only if the number of files is greater than of backupNumber",
            "period": 120,
            "periodComment": "by default backup every 2 hours. Time is in minutes. To disable backup set the value to 0",
            "path": "",
            "pathComment": "Absolute path to backup directory or empty to backup in data directory"
          },
          "options": {
            "auth_pass": null,
            "retry_max_delay": 5000
          }
        },
        "states": {
          "type": "redis",
          "typeComment": "Possible values: 'file' - [port 9000], 'redis' - [port 6379].",
          "host": "127.0.0.1",
          "port": 6379,
          "maxQueue": 1000,
          "options": {
            "auth_pass": null,
            "retry_max_delay": 5000
          },
          "backup": {
            "disabled": false,
            "files": 24,
            "filesComment": "Minimal number of backup files, after the deletion will be executed according to backupTime settings",
            "hours": 48,
            "hoursComment": "All backups older than 48 hours will be deleted. But only if the number of files is greater than of backupNumber",
            "period": 120,
            "periodComment": "by default backup every 2 hours. Time is in minutes. To disable backup set the value to 0",
            "path": "",
            "pathComment": "Absolute path to backup directory or empty to backup in data directory"
          }
        },
        "log": {
          "level": "info",
          "maxDays": 7,
          "noStdout": true,
          "transport": {
            "file1": {
              "type": "file",
              "enabled": true,
              "filename": "log/iobroker",
              "fileext": ".log",
              "maxsize": null,
              "maxFiles": null
            },
            "syslog1": {
              "type": "syslog",
              "enabled": false,
              "host": "localhost",
              "host_comment": "The host running syslogd, defaults to localhost.",
              "port_comment": "The port on the host that syslog is running on, defaults to syslogd's default port(514/UDP).",
              "protocol": "udp4",
              "protocol_comment": "The network protocol to log over (e.g. tcp4, udp4, unix, unix-connect, etc).",
              "path_comment": "The path to the syslog dgram socket (i.e. /dev/log or /var/run/syslog for OS X).",
              "facility_comment": "Syslog facility to use (Default: local0).",
              "localhost": "iobroker",
              "localhost_comment": "Host to indicate that log messages are coming from (Default: localhost).",
              "sysLogType_comment": "The type of the syslog protocol to use (Default: BSD).",
              "app_name_comment": "The name of the application (Default: process.title).",
              "eol_comment": "The end of line character to be added to the end of the message (Default: Message without modifications)."
            }
          }
        },
        "dataDirComment": "Always relative to iobroker.js-controller/",
        "dataDir": "../../iobroker-data/"
      }ilovegym@VMC123-iobroker:/opt/iobroker$
      
      
      apollon77A Offline
      apollon77A Offline
      apollon77
      schrieb am zuletzt editiert von
      #10

      @ilovegym interessant. Checke ich nachher genauer. Legst mir bitte ein issue an dazu?

      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
      apollon77A 2 Antworten 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

        sigi234S Online
        sigi234S Online
        sigi234
        Forum Testing Most Active
        schrieb am zuletzt editiert von sigi234
        #11

        @apollon77

        Hallo, hier der Bericht:

        Screenshot (3058).png

        Installation unter Windows hat beim 1. Mal nicht geklappt. Nach Neustart und nochmaliger installation dann doch.

        Install Logs:


        *** Welcome to ioBroker. ***


        *** Type 'iobroker help' for list of instructions. ***
        *** For more help see ***
        *** https://github.com/ioBroker/ioBroker.docs ***


        Your environment has been set up for using Node.js 12.20.1 (x64) and npm.

        C:\Program Files\iobroker\Test>iobroker list instances
        internal/modules/cjs/loader.js:818
        throw err;
        ^

        Error: Cannot find module 'node-forge'
        Require stack:

        • C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller\lib\tools.js
        • C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller\lib\setup.js
        • C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller\iobroker.js
          ←[90m at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)←[39m
          ←[90m at Function.Module._load (internal/modules/cjs/loader.js:667:27)←[39m
          ←[90m at Module.require (internal/modules/cjs/loader.js:887:19)←[39m
          ←[90m at require (internal/modules/cjs/helpers.js:74:18)←[39m
          at Object.<anonymous> (C:\Program Files\iobroker\Test\node_modules\←[4miobroker.js-controller←[24m\lib\tools.js:7:19)
          ←[90m at Module._compile (internal/modules/cjs/loader.js:999:30)←[39m
          ←[90m at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)←[39m
          ←[90m at Module.load (internal/modules/cjs/loader.js:863:32)←[39m
          ←[90m at Function.Module._load (internal/modules/cjs/loader.js:708:14)←[39m
          ←[90m at Module.require (internal/modules/cjs/loader.js:887:19)←[39m {
          code: ←[32m'MODULE_NOT_FOUND'←[39m,
          requireStack: [
          ←[32m'C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller\lib\tools.js'←[39m,
          ←[32m'C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller\lib\setup.js'←[39m,
          ←[32m'C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller\iobroker.js'←[39m
          ]
          }

        C:\Program Files\iobroker\Test>iobroker update
        internal/modules/cjs/loader.js:818
        throw err;
        ^

        Error: Cannot find module 'node-forge'
        Require stack:

        • C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller\lib\tools.js
        • C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller\lib\setup.js
        • C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller\iobroker.js
          ←[90m at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)←[39m
          ←[90m at Function.Module._load (internal/modules/cjs/loader.js:667:27)←[39m
          ←[90m at Module.require (internal/modules/cjs/loader.js:887:19)←[39m
          ←[90m at require (internal/modules/cjs/helpers.js:74:18)←[39m
          at Object.<anonymous> (C:\Program Files\iobroker\Test\node_modules\←[4miobroker.js-controller←[24m\lib\tools.js:7:19)
          ←[90m at Module._compile (internal/modules/cjs/loader.js:999:30)←[39m
          ←[90m at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)←[39m
          ←[90m at Module.load (internal/modules/cjs/loader.js:863:32)←[39m
          ←[90m at Function.Module._load (internal/modules/cjs/loader.js:708:14)←[39m
          ←[90m at Module.require (internal/modules/cjs/loader.js:887:19)←[39m {
          code: ←[32m'MODULE_NOT_FOUND'←[39m,
          requireStack: [
          ←[32m'C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller\lib\tools.js'←[39m,
          ←[32m'C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller\lib\setup.js'←[39m,
          ←[32m'C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller\iobroker.js'←[39m
          ]
          }

        C:\Program Files\iobroker\Test>iobroker update self
        internal/modules/cjs/loader.js:818
        throw err;
        ^

        Error: Cannot find module 'node-forge'
        Require stack:

        • C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller\lib\tools.js
        • C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller\lib\setup.js
        • C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller\iobroker.js
          ←[90m at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)←[39m
          ←[90m at Function.Module._load (internal/modules/cjs/loader.js:667:27)←[39m
          ←[90m at Module.require (internal/modules/cjs/loader.js:887:19)←[39m
          ←[90m at require (internal/modules/cjs/helpers.js:74:18)←[39m
          at Object.<anonymous> (C:\Program Files\iobroker\Test\node_modules\←[4miobroker.js-controller←[24m\lib\tools.js:7:19)
          ←[90m at Module._compile (internal/modules/cjs/loader.js:999:30)←[39m
          ←[90m at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)←[39m
          ←[90m at Module.load (internal/modules/cjs/loader.js:863:32)←[39m
          ←[90m at Function.Module._load (internal/modules/cjs/loader.js:708:14)←[39m
          ←[90m at Module.require (internal/modules/cjs/loader.js:887:19)←[39m {
          code: ←[32m'MODULE_NOT_FOUND'←[39m,
          requireStack: [
          ←[32m'C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller\lib\tools.js'←[39m,
          ←[32m'C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller\lib\setup.js'←[39m,
          ←[32m'C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller\iobroker.js'←[39m
          ]
          }

        C:\Program Files\iobroker\Test>npm install ioBroker/ioBroker.js-controller
        npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142

        iobroker.js-controller@3.2.1 preinstall C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller
        node lib/preinstallCheck.js

        NPM version: 6.14.8

        iobroker.js-controller@3.2.1 install C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller
        node iobroker.js setup first

        30 file(s) successfully synchronized with ioBroker storage.
        Please DO NOT copy files manually into ioBroker storage directories!

        The following notifications happened during sync:

        • Added 6 Files in Directory "echarts"
        • Added 14 Files in Directory "echarts.admin"
        • Added 10 Files in Directory "iqontrol"

        @root/acme@3.1.0 postinstall C:\Program Files\iobroker\Test\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":"win32","arch":"x64"})
        npm WARN @date-io/date-fns@1.3.13 requires a peer of date-fns@^2.0.0 but none is installed. You must install peer dependencies yourself.
        npm WARN @material-ui/pickers@3.2.10 requires a peer of @material-ui/core@^4.0.0 but none is installed. You must install peer dependencies yourself.
        npm WARN @material-ui/pickers@3.2.10 requires a peer of react@^16.8.4 but none is installed. You must install peer dependencies yourself.
        npm WARN @material-ui/pickers@3.2.10 requires a peer of react-dom@^16.8.4 but none is installed. You must install peer dependencies yourself.
        npm WARN babel-eslint@10.1.0 requires a peer of eslint@>= 4.12.1 but none is installed. You must install peer dependencies yourself.
        npm WARN react-transition-group@4.4.1 requires a peer of react@>=16.6.0 but none is installed. You must install peer dependencies yourself.
        npm WARN react-transition-group@4.4.1 requires a peer of react-dom@>=16.6.0 but none is installed. You must install peer dependencies yourself.
        npm WARN rifm@0.7.0 requires a peer of react@>=16.8 but none is installed. You must install peer dependencies yourself.

        • iobroker.js-controller@3.2.1
          added 63 packages from 32 contributors, updated 1 package and audited 3366 packages in 98.966s

        110 packages are looking for funding
        run npm fund for details

        found 102 vulnerabilities (90 low, 4 moderate, 8 high)
        run npm audit fix to fix them, or npm audit for details

        C:\Program Files\iobroker\Test>

        Aktuelle Logs:

        hm-rpc.1	2021-01-09 09:33:13.985	warn	(9664) State "hm-rpc.1.CENTRAL.0.PONG" has no existing object, this might lead to an error in future versions
        hm-rpc.0	2021-01-09 09:33:13.072	warn	(7112) State "hm-rpc.0.CENTRAL.PONG" has no existing object, this might lead to an error in future versions
        hm-rpc.1	2021-01-09 09:31:43.974	warn	(9664) State "hm-rpc.1.CENTRAL.0.PONG" has no existing object, this might lead to an error in future versions
        hm-rpc.0	2021-01-09 09:31:43.063	warn	(7112) State "hm-rpc.0.CENTRAL.PONG" has no existing object, this might lead to an error in future versions
        hm-rpc.1	2021-01-09 09:30:13.970	warn	(9664) State "hm-rpc.1.CENTRAL.0.PONG" has no existing object, this might lead to an error in future versions
        hm-rpc.0	2021-01-09 09:30:13.060	warn	(7112) State "hm-rpc.0.CENTRAL.PONG" has no existing object, this might lead to an error in future versions
        hm-rpc.1	2021-01-09 09:28:43.949	warn	(9664) State "hm-rpc.1.CENTRAL.0.PONG" has no existing object, this might lead to an error in future versions
        hm-rpc.0	2021-01-09 09:28:43.054	warn	(7112) State "hm-rpc.0.CENTRAL.PONG" has no existing object, this might lead to an error in future versions
        hm-rpc.1	2021-01-09 09:27:13.949	warn	(9664) State "hm-rpc.1.CENTRAL.0.PONG" has no existing object, this might lead to an error in future versions
        hm-rpc.0	2021-01-09 09:27:13.045	warn	(7112) State "hm-rpc.0.CENTRAL.PONG" has no existing object, this might lead to an error in future versions
        hm-rpc.1	2021-01-09 09:25:43.939	warn	(9664) State "hm-rpc.1.CENTRAL.0.PONG" has no existing object, this might lead to an error in future versions
        hm-rpc.0	2021-01-09 09:25:43.035	warn	(7112) State "hm-rpc.0.CENTRAL.PONG" has no existing object, this might lead to an error in future versions
        hm-rpc.1	2021-01-09 09:24:13.910	warn	(9664) State "hm-rpc.1.CENTRAL.0.PONG" has no existing object, this might lead to an error in future versions
        hm-rpc.0	2021-01-09 09:24:13.031	warn	(7112) State "hm-rpc.0.CENTRAL.PONG" has no existing object, this might lead to an error in future versions
        hm-rpc.1	2021-01-09 09:23:10.067	warn	(9664) State "hm-rpc.1.00091A49A082FC.1.PRESS_SHORT" has no existing object, this might lead to an error in future versions
        hm-rpc.1	2021-01-09 09:22:43.899	warn	(9664) State "hm-rpc.1.CENTRAL.0.PONG" has no existing object, this might lead to an error in future versions
        hm-rpc.0	2021-01-09 09:22:43.020	warn	(7112) State "hm-rpc.0.CENTRAL.PONG" has no existing object, this might lead to an error in future versions
        hm-rpc.1	2021-01-09 09:22:09.372	warn	(9664) State "hm-rpc.1.00091A49A082FC.1.PRESS_SHORT" has no existing object, this might lead to an error in future versions
        hm-rpc.1	2021-01-09 09:21:13.889	warn	(9664) State "hm-rpc.1.CENTRAL.0.PONG" has no existing object, this might lead to an error in future versions
        hm-rpc.0	2021-01-09 09:21:13.011	warn	(7112) State "hm-rpc.0.CENTRAL.PONG" has no existing object, this might lead to an error in future versions
        hm-rpc.1	2021-01-09 09:19:44.202	warn	(9664) State "hm-rpc.1.00091A49A082FC.1.PRESS_SHORT" has no existing object, this might lead to an error in future versions
        hm-rpc.1	2021-01-09 09:19:43.874	warn	(9664) State "hm-rpc.1.CENTRAL.0.PONG" has no existing object, this might lead to an error in future versions
        hm-rpc.0	2021-01-09 09:19:43.001	warn	(7112) State "hm-rpc.0.CENTRAL.PONG" has no existing object, this might lead to an error in future versions
        hm-rpc.1	2021-01-09 09:18:43.523	warn	(9664) State "hm-rpc.1.00091A49A082FC.1.PRESS_SHORT" has no existing object, this might lead to an error in future versions
        hm-rpc.1	2021-01-09 09:18:13.877	warn	(9664) State "hm-rpc.1.CENTRAL.0.PONG" has no existing object, this might lead to an error in future versions
        hm-rpc.0	2021-01-09 09:18:12.992	warn	(7112) State "hm-rpc.0.CENTRAL.PONG" has no existing object, this might lead to an error in future versions
        hm-rpc.1	2021-01-09 09:16:43.859	warn	(9664) State "hm-rpc.1.CENTRAL.0.PONG" has no existing object, this might lead to an error in future versions
        hm-rpc.0	2021-01-09 09:16:42.990	warn	(7112) State "hm-rpc.0.CENTRAL.PONG" has no existing object, this might lead to an error in future versions
        host.Medion(Test)	2021-01-09 09:16:13.400	error	instance system.adapter.ical.1 terminated with code 134 (134)
        host.Medion(Test)	2021-01-09 09:15:58.592	error	instance system.adapter.ical.0 terminated with code 134 (134)
        hm-rpc.1	2021-01-09 09:15:13.852	warn	(9664) State "hm-rpc.1.CENTRAL.0.PONG" has no existing object, this might lead to an error in future versions
        
        
        Platform: Windows
        RAM: 16 GB 
        Node.js: v12.20.1
        NPM: 6.14.10
        JS Controler: 3.2.1
        Admin: 4.2.0
        Web: 3.2.0
        Socket.io: 3.0.13
        Script Engine: 4.10.8
        IOT: 1.8.8
        VIS: 1.3.6
        

        Bericht 2

        Update auf Version 3.2.2 hat problemlos geklappt.

        Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
        Immer Daten sichern!

        apollon77A 1 Antwort Letzte Antwort
        0
        • apollon77A apollon77

          @ilovegym zeig bitte mal Ausgabe von „iobroker setup custom“ da scheint was bei dir falsch eingestellt zu sein und up steht im Typ Feld.

          Bzw zeig mal dein /opt/iobroker/iobroker-data/iobroker.json

          Bei mir läuft redis problemlos.

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

          @apollon77

          Hi,
          hmpff.. na, ich probier noch n bisschen rum.. :-)

          Hier das Issue auf Git

          Auf den Clients läufts ja.. aber ich hatte auch 3.17 und 3.18 installiert.. vielleicht ist das vermurkst worden..

          1 Antwort Letzte Antwort
          1
          • apollon77A apollon77

            @ilovegym interessant. Checke ich nachher genauer. Legst mir bitte ein issue an dazu?

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

            @apollon77 Ok, habs schon, fix kommt gleich

            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
            1 Antwort Letzte Antwort
            0
            • sigi234S sigi234

              @apollon77

              Hallo, hier der Bericht:

              Screenshot (3058).png

              Installation unter Windows hat beim 1. Mal nicht geklappt. Nach Neustart und nochmaliger installation dann doch.

              Install Logs:


              *** Welcome to ioBroker. ***


              *** Type 'iobroker help' for list of instructions. ***
              *** For more help see ***
              *** https://github.com/ioBroker/ioBroker.docs ***


              Your environment has been set up for using Node.js 12.20.1 (x64) and npm.

              C:\Program Files\iobroker\Test>iobroker list instances
              internal/modules/cjs/loader.js:818
              throw err;
              ^

              Error: Cannot find module 'node-forge'
              Require stack:

              • C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller\lib\tools.js
              • C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller\lib\setup.js
              • C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller\iobroker.js
                ←[90m at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)←[39m
                ←[90m at Function.Module._load (internal/modules/cjs/loader.js:667:27)←[39m
                ←[90m at Module.require (internal/modules/cjs/loader.js:887:19)←[39m
                ←[90m at require (internal/modules/cjs/helpers.js:74:18)←[39m
                at Object.<anonymous> (C:\Program Files\iobroker\Test\node_modules\←[4miobroker.js-controller←[24m\lib\tools.js:7:19)
                ←[90m at Module._compile (internal/modules/cjs/loader.js:999:30)←[39m
                ←[90m at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)←[39m
                ←[90m at Module.load (internal/modules/cjs/loader.js:863:32)←[39m
                ←[90m at Function.Module._load (internal/modules/cjs/loader.js:708:14)←[39m
                ←[90m at Module.require (internal/modules/cjs/loader.js:887:19)←[39m {
                code: ←[32m'MODULE_NOT_FOUND'←[39m,
                requireStack: [
                ←[32m'C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller\lib\tools.js'←[39m,
                ←[32m'C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller\lib\setup.js'←[39m,
                ←[32m'C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller\iobroker.js'←[39m
                ]
                }

              C:\Program Files\iobroker\Test>iobroker update
              internal/modules/cjs/loader.js:818
              throw err;
              ^

              Error: Cannot find module 'node-forge'
              Require stack:

              • C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller\lib\tools.js
              • C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller\lib\setup.js
              • C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller\iobroker.js
                ←[90m at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)←[39m
                ←[90m at Function.Module._load (internal/modules/cjs/loader.js:667:27)←[39m
                ←[90m at Module.require (internal/modules/cjs/loader.js:887:19)←[39m
                ←[90m at require (internal/modules/cjs/helpers.js:74:18)←[39m
                at Object.<anonymous> (C:\Program Files\iobroker\Test\node_modules\←[4miobroker.js-controller←[24m\lib\tools.js:7:19)
                ←[90m at Module._compile (internal/modules/cjs/loader.js:999:30)←[39m
                ←[90m at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)←[39m
                ←[90m at Module.load (internal/modules/cjs/loader.js:863:32)←[39m
                ←[90m at Function.Module._load (internal/modules/cjs/loader.js:708:14)←[39m
                ←[90m at Module.require (internal/modules/cjs/loader.js:887:19)←[39m {
                code: ←[32m'MODULE_NOT_FOUND'←[39m,
                requireStack: [
                ←[32m'C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller\lib\tools.js'←[39m,
                ←[32m'C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller\lib\setup.js'←[39m,
                ←[32m'C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller\iobroker.js'←[39m
                ]
                }

              C:\Program Files\iobroker\Test>iobroker update self
              internal/modules/cjs/loader.js:818
              throw err;
              ^

              Error: Cannot find module 'node-forge'
              Require stack:

              • C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller\lib\tools.js
              • C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller\lib\setup.js
              • C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller\iobroker.js
                ←[90m at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)←[39m
                ←[90m at Function.Module._load (internal/modules/cjs/loader.js:667:27)←[39m
                ←[90m at Module.require (internal/modules/cjs/loader.js:887:19)←[39m
                ←[90m at require (internal/modules/cjs/helpers.js:74:18)←[39m
                at Object.<anonymous> (C:\Program Files\iobroker\Test\node_modules\←[4miobroker.js-controller←[24m\lib\tools.js:7:19)
                ←[90m at Module._compile (internal/modules/cjs/loader.js:999:30)←[39m
                ←[90m at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)←[39m
                ←[90m at Module.load (internal/modules/cjs/loader.js:863:32)←[39m
                ←[90m at Function.Module._load (internal/modules/cjs/loader.js:708:14)←[39m
                ←[90m at Module.require (internal/modules/cjs/loader.js:887:19)←[39m {
                code: ←[32m'MODULE_NOT_FOUND'←[39m,
                requireStack: [
                ←[32m'C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller\lib\tools.js'←[39m,
                ←[32m'C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller\lib\setup.js'←[39m,
                ←[32m'C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller\iobroker.js'←[39m
                ]
                }

              C:\Program Files\iobroker\Test>npm install ioBroker/ioBroker.js-controller
              npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142

              iobroker.js-controller@3.2.1 preinstall C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller
              node lib/preinstallCheck.js

              NPM version: 6.14.8

              iobroker.js-controller@3.2.1 install C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller
              node iobroker.js setup first

              30 file(s) successfully synchronized with ioBroker storage.
              Please DO NOT copy files manually into ioBroker storage directories!

              The following notifications happened during sync:

              • Added 6 Files in Directory "echarts"
              • Added 14 Files in Directory "echarts.admin"
              • Added 10 Files in Directory "iqontrol"

              @root/acme@3.1.0 postinstall C:\Program Files\iobroker\Test\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":"win32","arch":"x64"})
              npm WARN @date-io/date-fns@1.3.13 requires a peer of date-fns@^2.0.0 but none is installed. You must install peer dependencies yourself.
              npm WARN @material-ui/pickers@3.2.10 requires a peer of @material-ui/core@^4.0.0 but none is installed. You must install peer dependencies yourself.
              npm WARN @material-ui/pickers@3.2.10 requires a peer of react@^16.8.4 but none is installed. You must install peer dependencies yourself.
              npm WARN @material-ui/pickers@3.2.10 requires a peer of react-dom@^16.8.4 but none is installed. You must install peer dependencies yourself.
              npm WARN babel-eslint@10.1.0 requires a peer of eslint@>= 4.12.1 but none is installed. You must install peer dependencies yourself.
              npm WARN react-transition-group@4.4.1 requires a peer of react@>=16.6.0 but none is installed. You must install peer dependencies yourself.
              npm WARN react-transition-group@4.4.1 requires a peer of react-dom@>=16.6.0 but none is installed. You must install peer dependencies yourself.
              npm WARN rifm@0.7.0 requires a peer of react@>=16.8 but none is installed. You must install peer dependencies yourself.

              • iobroker.js-controller@3.2.1
                added 63 packages from 32 contributors, updated 1 package and audited 3366 packages in 98.966s

              110 packages are looking for funding
              run npm fund for details

              found 102 vulnerabilities (90 low, 4 moderate, 8 high)
              run npm audit fix to fix them, or npm audit for details

              C:\Program Files\iobroker\Test>

              Aktuelle Logs:

              hm-rpc.1	2021-01-09 09:33:13.985	warn	(9664) State "hm-rpc.1.CENTRAL.0.PONG" has no existing object, this might lead to an error in future versions
              hm-rpc.0	2021-01-09 09:33:13.072	warn	(7112) State "hm-rpc.0.CENTRAL.PONG" has no existing object, this might lead to an error in future versions
              hm-rpc.1	2021-01-09 09:31:43.974	warn	(9664) State "hm-rpc.1.CENTRAL.0.PONG" has no existing object, this might lead to an error in future versions
              hm-rpc.0	2021-01-09 09:31:43.063	warn	(7112) State "hm-rpc.0.CENTRAL.PONG" has no existing object, this might lead to an error in future versions
              hm-rpc.1	2021-01-09 09:30:13.970	warn	(9664) State "hm-rpc.1.CENTRAL.0.PONG" has no existing object, this might lead to an error in future versions
              hm-rpc.0	2021-01-09 09:30:13.060	warn	(7112) State "hm-rpc.0.CENTRAL.PONG" has no existing object, this might lead to an error in future versions
              hm-rpc.1	2021-01-09 09:28:43.949	warn	(9664) State "hm-rpc.1.CENTRAL.0.PONG" has no existing object, this might lead to an error in future versions
              hm-rpc.0	2021-01-09 09:28:43.054	warn	(7112) State "hm-rpc.0.CENTRAL.PONG" has no existing object, this might lead to an error in future versions
              hm-rpc.1	2021-01-09 09:27:13.949	warn	(9664) State "hm-rpc.1.CENTRAL.0.PONG" has no existing object, this might lead to an error in future versions
              hm-rpc.0	2021-01-09 09:27:13.045	warn	(7112) State "hm-rpc.0.CENTRAL.PONG" has no existing object, this might lead to an error in future versions
              hm-rpc.1	2021-01-09 09:25:43.939	warn	(9664) State "hm-rpc.1.CENTRAL.0.PONG" has no existing object, this might lead to an error in future versions
              hm-rpc.0	2021-01-09 09:25:43.035	warn	(7112) State "hm-rpc.0.CENTRAL.PONG" has no existing object, this might lead to an error in future versions
              hm-rpc.1	2021-01-09 09:24:13.910	warn	(9664) State "hm-rpc.1.CENTRAL.0.PONG" has no existing object, this might lead to an error in future versions
              hm-rpc.0	2021-01-09 09:24:13.031	warn	(7112) State "hm-rpc.0.CENTRAL.PONG" has no existing object, this might lead to an error in future versions
              hm-rpc.1	2021-01-09 09:23:10.067	warn	(9664) State "hm-rpc.1.00091A49A082FC.1.PRESS_SHORT" has no existing object, this might lead to an error in future versions
              hm-rpc.1	2021-01-09 09:22:43.899	warn	(9664) State "hm-rpc.1.CENTRAL.0.PONG" has no existing object, this might lead to an error in future versions
              hm-rpc.0	2021-01-09 09:22:43.020	warn	(7112) State "hm-rpc.0.CENTRAL.PONG" has no existing object, this might lead to an error in future versions
              hm-rpc.1	2021-01-09 09:22:09.372	warn	(9664) State "hm-rpc.1.00091A49A082FC.1.PRESS_SHORT" has no existing object, this might lead to an error in future versions
              hm-rpc.1	2021-01-09 09:21:13.889	warn	(9664) State "hm-rpc.1.CENTRAL.0.PONG" has no existing object, this might lead to an error in future versions
              hm-rpc.0	2021-01-09 09:21:13.011	warn	(7112) State "hm-rpc.0.CENTRAL.PONG" has no existing object, this might lead to an error in future versions
              hm-rpc.1	2021-01-09 09:19:44.202	warn	(9664) State "hm-rpc.1.00091A49A082FC.1.PRESS_SHORT" has no existing object, this might lead to an error in future versions
              hm-rpc.1	2021-01-09 09:19:43.874	warn	(9664) State "hm-rpc.1.CENTRAL.0.PONG" has no existing object, this might lead to an error in future versions
              hm-rpc.0	2021-01-09 09:19:43.001	warn	(7112) State "hm-rpc.0.CENTRAL.PONG" has no existing object, this might lead to an error in future versions
              hm-rpc.1	2021-01-09 09:18:43.523	warn	(9664) State "hm-rpc.1.00091A49A082FC.1.PRESS_SHORT" has no existing object, this might lead to an error in future versions
              hm-rpc.1	2021-01-09 09:18:13.877	warn	(9664) State "hm-rpc.1.CENTRAL.0.PONG" has no existing object, this might lead to an error in future versions
              hm-rpc.0	2021-01-09 09:18:12.992	warn	(7112) State "hm-rpc.0.CENTRAL.PONG" has no existing object, this might lead to an error in future versions
              hm-rpc.1	2021-01-09 09:16:43.859	warn	(9664) State "hm-rpc.1.CENTRAL.0.PONG" has no existing object, this might lead to an error in future versions
              hm-rpc.0	2021-01-09 09:16:42.990	warn	(7112) State "hm-rpc.0.CENTRAL.PONG" has no existing object, this might lead to an error in future versions
              host.Medion(Test)	2021-01-09 09:16:13.400	error	instance system.adapter.ical.1 terminated with code 134 (134)
              host.Medion(Test)	2021-01-09 09:15:58.592	error	instance system.adapter.ical.0 terminated with code 134 (134)
              hm-rpc.1	2021-01-09 09:15:13.852	warn	(9664) State "hm-rpc.1.CENTRAL.0.PONG" has no existing object, this might lead to an error in future versions
              
              
              Platform: Windows
              RAM: 16 GB 
              Node.js: v12.20.1
              NPM: 6.14.10
              JS Controler: 3.2.1
              Admin: 4.2.0
              Web: 3.2.0
              Socket.io: 3.0.13
              Script Engine: 4.10.8
              IOT: 1.8.8
              VIS: 1.3.6
              

              Bericht 2

              Update auf Version 3.2.2 hat problemlos geklappt.

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

              @sigi234 Also das scheint wieder dieses "Windows wirft npm Pakete weg die es nicht sollte sein ... wenn es dann geklappt hat cool.

              Die "... has no existing object, this might lead to an error in future versions" sind genau die die ich im Text oben gemeint habe. Bitte bei den Adaptern meldem

              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
              1 Antwort Letzte Antwort
              0
              • apollon77A apollon77

                @ilovegym interessant. Checke ich nachher genauer. Legst mir bitte ein issue an dazu?

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

                @apollon77 Ok, 3.2.2 auf GitHub, mach Sinn FÜR ALLE nochmal zu updaten!!

                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 ? 2 Antworten Letzte Antwort
                1
                • apollon77A apollon77

                  @apollon77 Ok, 3.2.2 auf GitHub, mach Sinn FÜR ALLE nochmal zu updaten!!

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

                  @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...

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

                  apollon77A 2 Antworten 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
                    #17

                    @SBorg Bitte stoppe Controller nochmal. Mach nochmal „iobroker setup first“ und starte nochmal. Ist’s dann weg?

                    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
                    • apollon77A apollon77

                      @apollon77 Ok, 3.2.2 auf GitHub, mach Sinn FÜR ALLE nochmal zu updaten!!

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

                      @apollon77

                      das war also sowas wie ein "stay at 127.0.0.1 (localhost), dont be a 255.255.255.255 (broadcast) " Problem.. :-)

                      läuft jetzt. Adapter machen Errors... bin am Auswerten...

                      apollon77A 1 Antwort Letzte Antwort
                      0
                      • ? Ein ehemaliger Benutzer

                        @apollon77

                        das war also sowas wie ein "stay at 127.0.0.1 (localhost), dont be a 255.255.255.255 (broadcast) " Problem.. :-)

                        läuft jetzt. Adapter machen Errors... bin am Auswerten...

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

                        @ilovegym Fehler oder Warnungen?

                        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
                        1 Antwort Letzte Antwort
                        0
                        • apollon77A apollon77

                          @SBorg Bitte stoppe Controller nochmal. Mach nochmal „iobroker setup first“ und starte nochmal. Ist’s dann weg?

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

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

                          @SBorg Bitte stoppe Controller nochmal. Mach nochmal „iobroker setup first“ und starte nochmal. Ist’s dann weg?

                          Leider nein (jetzt mit 3.2.2 probiert). Scheint er auch beim Installieren ordentlich ausgeführt zu haben:

                          (Auszug Ausgabe)...
                          > iobroker.js-controller@3.2.2 install /opt/iobroker/node_modules/iobroker.js-controller
                          > node iobroker.js setup first
                          
                          
                          > @root/acme@3.1.0 postinstall /opt/iobroker/node_modules/@root/acme
                          > node scripts/postinstall
                          ...
                          

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

                          apollon77A 1 Antwort Letzte Antwort
                          0
                          • SBorgS SBorg

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

                            @SBorg Bitte stoppe Controller nochmal. Mach nochmal „iobroker setup first“ und starte nochmal. Ist’s dann weg?

                            Leider nein (jetzt mit 3.2.2 probiert). Scheint er auch beim Installieren ordentlich ausgeführt zu haben:

                            (Auszug Ausgabe)...
                            > iobroker.js-controller@3.2.2 install /opt/iobroker/node_modules/iobroker.js-controller
                            > node iobroker.js setup first
                            
                            
                            > @root/acme@3.1.0 postinstall /opt/iobroker/node_modules/@root/acme
                            > node scripts/postinstall
                            ...
                            
                            apollon77A Offline
                            apollon77A Offline
                            apollon77
                            schrieb am zuletzt editiert von
                            #21

                            @SBorg ok bitte issue Im GitHub. Checken später. File dB oder redis? Bitte mit rein packen.

                            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
                            1 Antwort Letzte Antwort
                            0
                            • apollon77A apollon77

                              @Thomas-Braun ok, den kannte ich nicht. Das muss aber eher was bei dir sein. An sich macht der kein ssh. Hast du irgend eine spezielle npmrc oder so? Versuch msl mit kompletter url. Also: „npm i https://github.com/ioBroker/ioBroker.js-controller“

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

                              @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
                              

                              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
                              • 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 Nicht stören
                                    HomoranH Nicht stören
                                    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
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          859

                                          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