Skip to content
  • 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
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. js-controller 4.0 jetzt im BETA/LATEST!

NEWS

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

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

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

js-controller 4.0 jetzt im BETA/LATEST!

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
747 Beiträge 70 Kommentatoren 224.2k Aufrufe 60 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.
  • S Offline
    S Offline
    seelmkrl
    schrieb am zuletzt editiert von
    #162
    Dieser Beitrag wurde gelöscht!
    1 Antwort Letzte Antwort
    0
    • apollon77A apollon77

      FAQ

      Known Issues

      Aktuell sind folgende Themen bekannt, welche noch parallel bearbeitet werden:

      • Admin hat bei den "Host settings" noch keine Wahlmöglichkeit für "JSONL". Daher bitte den DB Typ aktuell nicht über Admin ändern! -> Fixed since Admin 5.3.0
      • Die "Migration zu JSONL"-Meldung im Admin kommt auch bei Neuinstallationen. Dies wird spätestens mit dem Stable-Release nicht mehr vorkommen.
      • Der "Rebuild"-Button in der Adapter-Kachel im Admin5 liefert einen Fehler bei der Ausführung. Der Button in Admin wird entfernt. -> Fixed since Admin 5.3.0

      Informationen zu pot. angezeigten Meldungen und Logs

      (info) "Sets unsupported"

      In MutliHost-Umgebungen wo noch nicht alle Hosts aktualisiert sind arbeitet eine Optimierung in einem Kompatibilitätsmodus. In diesem wird ggf vom js-controller und von Adaptern beim Start einmalig die Meldung "Sets unsupported" im Loglevel "info" geloggt. Diese verschwindet wenn alle Hosts auf js-controller 4.0+ sind.

      (warn) Object XXX is invalid: obj.common.min/max has an invalid type!

      Dies ist eine neue Prüfung, wie oben bereits erwähnt, welche prüft das der Minimum bzw Maximum Wert eines Objekts auch eine Zahl ist. Wenn diese Meldung kommt dann diese bitte per Issue an den Adapter-Entwickler weitergeben, das dies im Adapter behoben wird.

      "Ignoring Directory "benchmark.files" because officially not created as meta ob ject. Please remove directory!"

      Wenn bei der Inatallation des js-controller diese Meldung kommt:

      The following notifications happened during sync:
      - Ignoring Directory "benchmark.files" because officially not created as meta ob ject. Please remove directory!
      

      Bitte ein iob upload all ausführen. Falls Einträge von Adaptern enthalten sein sollten die nicht mehr installiert sind, dann können diese Dateien manuell gelöscht werden.

      Warning: Accessing non-existent property '...' of module exports inside circular dependency

      Wenn beim Ausführen von CLI Befehlen Meldungen wie die nachstehenden angezeigt werden so liegt dies an einer alten version der Library "mogodb" im System. Diese Meldungen kommen nicht vom js-controller Upgrade sondern von der Nutzung von Node.js 14+ und dieser Library. Diese wurde vom node-red Adapter ggf installiert.

      (node:2218) Warning: Accessing non-existent property 'count' of module exports inside circular dependency
      (Use `node --trace-warnings ...` to show where the warning was created)
      (node:2218) Warning: Accessing non-existent property 'findOne' of module exports inside circular dependency
      (node:2218) Warning: Accessing non-existent property 'remove' of module exports inside circular dependency
      (node:2218) Warning: Accessing non-existent property 'updateOne' of module exports inside circular dependency
      

      Wenn ein Update des node-red Adapters (bzw Uninstall falls nicht benötigt) nicht hilft dann bitte mit npm list mongodb (im iobroker Dir /opt/iobroker) rausfinden wo es herkommt. Falls etwas von "extranous" steht dann einfal per npm uninstall mongodb (im iobroker Dir /opt/iobroker) löschen.

      Eine Backitup Instanz wird automatisch erstellt

      Dies passiert weil Backitup für Neuinstallationen ein Standardadapter ist. Der kleine Nebeneffekt ist das, wenn noch keine Backitup Instanz existiert ABER der Adapter-Code auf einem Host installiert ist dann wird dort eine Instanz angelegt. Wer das nicht will kann diese manuell wider entfernen und dann aber am besten auch den Adapter deinstallieren. Dann passiert dies nicht noch einmal.

      Infos zum Thema "Rebuilds bei Node.js Aktualisierungen"

      Generell gilt das Node.JS Updates wie unter https://forum.iobroker.net/topic/44566/how-to-node-js-für-iobroker-richtig-updaten-2021-edition beschrieben funktionieren. Der js-controller 4.0 führt nur die automatisierten Rebuilds etwas anders aus als die 3.3.

      In der neuen Version versuchen wir zuerst generell alle Module neu zu erstellen. Das sollte alle Probleme auf einen Schlag lösen. Falls das (und ja da kann es Gründe geben) nicht funktioniert ist der zweite Versuch das wirklich betroffene NPM-Paket zu identifizieren (also z.B. direkt "serialport" o.ä.) und dieses neu zu kompilieren. Das hat deutlich weniger Nebeneffekte wie die bisherigen Versuche.

      Bitte hier Feedback geben wie es geht.

      FAQ zur DB Umstellung File -> JSONL

      Ich nutze Redis. Betrifft mich das?

      Wenn Du für beide Datenbanken einen Redis einsetzt dann nicht. Es ist nur relevant wenn eine oder beide DBs "File" sind.

      Was ist denn so besser an der "JSONL"-Datenbank anstelle "File"?

      Von der Funktionalität ist alles identisch! Die beiden Datenbanken unterscheiden sich nur darin wie die Daten gespeichert werden.

      Die File-DB schreibt hier alles in einem großen JSON-File regelmäßig - bei Objekten sind dies schnell mal 20MB. Dies kann durchaus viel I/O verursachen und ist vor allem bei SD-Karten-Basierten Systemen nicht optimal, weil es die Karte sehr belastet. Aber auch für SSDs ist dies nicht optimal. Zusätzlich besteht das Problem das ein Absturz beim Schreiben dazu führt das das ganze File defekt ist. ioBroker greift in diesen Fällen auf ein Backup-File zurück.

      JSONL arbeitet hier anders. Änderungen werden erst einmal nur an die Datei angehangen und - nur wenn nötig - wird dann das File "komprimiert" und so neu geschrieben. Dies erfolgt aber viel seltener als bei der File-DB.
      Für JSONL hat es @AlCalzone mal folgendermaßen zusammengefasst:
      ➕ JSONL ist resistenter. Ein kaputtes Byte in der DB macht nicht alles kaputt und ein Absturz beim Schreibvorgang sorgt nur dafür, dass die ausstehenden Änderungen verloren gehen, nicht alles.
      ➕ JSONL schont die SD-Karte durch weniger und kleinere Schreibvorgänge (nur wenn nötig).
      ➖ JSONL braucht zumindest phasenweise etwas mehr Platz (die DB ist bis auf Kompaktierungsvorgänge append-only)
      ➖ JSONL braucht etwas länger, wenn viele Objekte in kurzer Zeit geschrieben werden sollen (wobei meine letzten Tests nur noch Unterschiede im Rahmen der Standardabweichung ergeben haben)

      Wir denken das das neue Datenbank-Handling mehr Vorteile hat - vor allem für SD-Karten- und SSD-basierte Systeme.

      Was bedeutet es das die Datenbank jetzt jsonl ist?

      Im Normalfall bedeutet hies für den täglichen Betrieb nichts. Auch die Umstellung erfolg vollautomatisch im Rahmen des js-controller Updates.
      Ein iob status wird nach der Installation anstelle "file" jetzt "jsonl" anzeigen. Das wars auch schon. Backups über BackItUp oder iob backup und auch restores funktionieren weiterhin ohne Änderungen.

      WICHTIG: Durch die automatische Datenbankumstellung ist ein direkter Downgrade oder Backup Restore eines mit 4.0 erstellten Backups nur noch auf js-controller 3.3.x möglich! Für andere Downgrade Optionen bitte im nächsten Eintrag lesen. Ein Downgrade mit Redis als Datenbank ist problemlos weiterhin möglich!

      Die Datenfiles im iobroker-data Verzeichnis haben jetzt .jsonl am Ende und nicht mehr .json. Die letzten "file DB .json"-Files werden umbenannt und liegen noch im Verzeichnis mit der Endung ".migrated".

      Kann man die EInstellungen der JSONL ändern?

      Ja, auch die JSONL Datenbank hat einige Einstellungen (wie das "writeFileInterval" der File-DB früher). Üblicherweise muss da niemand Hand anlegen, weil die Defaults von uns bereits optimiert wurden.

      Wer dennoch schauen will finden unter https://github.com/ioBroker/ioBroker.js-controller/blob/master/packages/controller/conf/iobroker-dist.json#L53-L71 (Objects) bzw https://github.com/ioBroker/ioBroker.js-controller/blob/master/packages/controller/conf/iobroker-dist.json#L99-L117 die jeweiligen Default-Werte. Anpassungen können einfach in Eurer iobroker.json manuell gemacht werden.

      Wie kann ich doch auf js-controller 3.2 oder kleiner downgraden wenn "jsonl" der DB Typ ist?

      js-controller Versionen kleiner als 3.3.x hatten die nötigen Dateien für eine "jsonl" Datenbank nicht an Board. Daher ist ein direkter Downgrade nicht möglich weil dann die Daten nicht lesbar sind!

      Daher muss ZUERST (!!) unter js-controller 4.0 die Datenbank manuell zurück auf "file" migriert werden. Dies erfolgt per iob setup custom und dort bei der Abfrage des DB Typs file angeben. Alle weiteren Fragen beantworten und dann die Migration abwarten. Danach zeigt iob statuswieder "file" an. Dann kann ein Backup für den Restore in einer kleineren Version erstellt werden oder ein Downgrade via npm i iobroker.js-controller@version (Vorher ins ioBroker Verzeichnis wechseln!) auf die gewünschte Version erfolgen.

      FAQ zu Redis "Sets" Optimierungen

      Für Redis-basierte Systeme bringt der js-controller 4.0 einige Optimierungen mit. Eine davon nutzt spezielle interne Datenstrukturen, die konsistent initialisiert werden müssen. Aufgrund einiger Edge Cases wird diese Optimierung daher automatisch nur für Single-Host Redis-Systeme genutzt. Wer auch im Multi-Host-Umfeld mit Redis für Objekte von den Optimierungen profitieren möchte kann diese manuell aktivieren. VORAB müssen aber alle Hosts auf js-controller 4.0 sein und soweit alles gut sein das es keinen partiellen Downgrade mehr gibt.

      Dann können die Optimierungen über iob object activateSets aktiviert werden, nachdem ALLE Hosts beendet wurden. So wird sichergestellt das die Datenstrukturen konsistent initialisiert werden können. Danach können alle Hosts wieder gestartet werden. Eine Deaktivierung der Optimierungen ist per iob object deactivateSets ebenso möglich.

      S Offline
      S Offline
      seelmkrl
      schrieb am zuletzt editiert von
      #163

      @apollon77 - Wie kann ich mit dem js-controller 4.0 von redis auf JSONL umstellen ?

      apollon77A 1 Antwort Letzte Antwort
      0
      • apollon77A apollon77

        @oliverio Zu "Fehler 1" tippe ich das Du zu schnell warst. In Deinem Log sieht man Das Du die Systemkonfig 18:43 gespeichert hast und damit Admin und Backiutup und Discovery neu gestartet sind. 18:43:11 war wieder alles da. und ich denke das Du irgendwie geschafft hast das Repo in dieser kurzen Zeit zu ändern als Admin sich gerade verabschliedet hat oder sowas ... aber das sehe ich nicht so genau. müsste man mal nachstellen. Passiert es auch wenn du "langsamer" bist?

        Und der Rest ist, wie foxriver76 schon gesagt auf GitHub schon gefixt. 4.0.5 mit den Fixes kommt später noch.

        OliverIOO Offline
        OliverIOO Offline
        OliverIO
        schrieb am zuletzt editiert von
        #164

        @apollon77 sagte in js-controller 4.0 jetzt im BETA/LATEST!:

        @oliverio Zu "Fehler 1" tippe ich das Du zu schnell warst. In Deinem Log sieht man Das Du die Systemkonfig 18:43 gespeichert hast und damit Admin und Backiutup und Discovery neu gestartet sind. 18:43:11 war wieder alles da. und ich denke das Du irgendwie geschafft hast das Repo in dieser kurzen Zeit zu ändern als Admin sich gerade verabschliedet hat oder sowas ... aber das sehe ich nicht so genau. müsste man mal nachstellen. Passiert es auch wenn du "langsamer" bist?

        Und der Rest ist, wie foxriver76 schon gesagt auf GitHub schon gefixt. 4.0.5 mit den Fixes kommt später noch.

        ok dann mach ich retest mit 4.0.5

        Meine Adapter und Widgets
        TVProgram, SqueezeboxRPC, OpenLiga, RSSFeed, MyTime,, pi-hole2, vis-json-template, skiinfo, vis-mapwidgets, vis-2-widgets-rssfeed
        Links im Profil

        1 Antwort Letzte Antwort
        0
        • apollon77A Online
          apollon77A Online
          apollon77
          schrieb am zuletzt editiert von
          #165

          Hallo Alle miteinander,

          wir haben die letzten Tage Euer Feeback und die kleineren Issues gesammelt und die Version 4.0.5 wird im laufe der Nacht im Latest Repo auftauchen:

          4.0.5 (2022-02-08)

          • (foxriver76) stop the database before executing upgrade self; WIll be effective for all upgrades >4.0.5
          • (foxriver76) Optimize Set activation handling to prevent some error logged on upgrade
          • (Apollon77) Fix Linux Capability updating for Docker and check Admin Flag
          • (Apollon77) Detect another Rebuild case and allo wautomatic rebuilding
          • (foxriver76) Fix adapter installation with dependencies
          • (Apollon77) Fix seq edge case
          • (foxriver76/Apollon77) Prevent several crash cases seen in Sentry

          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
          F 1 Antwort Letzte Antwort
          0
          • S seelmkrl

            @apollon77 - Wie kann ich mit dem js-controller 4.0 von redis auf JSONL umstellen ?

            apollon77A Online
            apollon77A Online
            apollon77
            schrieb am zuletzt editiert von
            #166

            @seelmkrl WIe auch schon bei den früheren versionen ... iob setup custom und dann dort als typ "jsonl" eingeben ... Dann alle Fragen zur Mkgration rentsprechend Deinen Gegebenheiten beantworten.

            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

              @crunchip sagte in js-controller 4.0 jetzt im BETA/LATEST!:

              die Meldung kommt bei jedem Adapter update

              Kannst Das ggf nochmal versuchen nachzustellen und dazu das kommando anstelle über "iob upgrade name" mal mittels ´node --trace-warnings /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js upgrade name` machen ... dann sollten mehr infos kommen ...

              crunchipC Abwesend
              crunchipC Abwesend
              crunchip
              Forum Testing Most Active
              schrieb am zuletzt editiert von
              #167

              @apollon77 so sieht es aus

              root@IoBroker:/opt/iobroker# node --trace-warnings /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js upgrade cameras                                        (node:1321) Warning: Accessing non-existent property 'count' of module exports inside circular dependency
                  at emitCircularRequireWarning (internal/modules/cjs/loader.js:675:11)
                  at Object.get (internal/modules/cjs/loader.js:689:5)
                  at Object.<anonymous> (/opt/iobroker/node_modules/mongodb/lib/operations/db_ops.js:15:42)
                  at Module._compile (internal/modules/cjs/loader.js:1085:14)
                  at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
                  at Module.load (internal/modules/cjs/loader.js:950:32)
                  at Function.Module._load (internal/modules/cjs/loader.js:790:12)
                  at Module.require (internal/modules/cjs/loader.js:974:19)
                  at require (internal/modules/cjs/helpers.js:93:18)
                  at Object.<anonymous> (/opt/iobroker/node_modules/mongodb/lib/operations/collection_ops.js:7:23)
              (node:1321) Warning: Accessing non-existent property 'findOne' of module exports inside circular dependency
                  at emitCircularRequireWarning (internal/modules/cjs/loader.js:675:11)
                  at Object.get (internal/modules/cjs/loader.js:689:5)
                  at Object.<anonymous> (/opt/iobroker/node_modules/mongodb/lib/operations/db_ops.js:16:44)
                  at Module._compile (internal/modules/cjs/loader.js:1085:14)
                  at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
                  at Module.load (internal/modules/cjs/loader.js:950:32)
                  at Function.Module._load (internal/modules/cjs/loader.js:790:12)
                  at Module.require (internal/modules/cjs/loader.js:974:19)
                  at require (internal/modules/cjs/helpers.js:93:18)
                  at Object.<anonymous> (/opt/iobroker/node_modules/mongodb/lib/operations/collection_ops.js:7:23)
              (node:1321) Warning: Accessing non-existent property 'remove' of module exports inside circular dependency
                  at emitCircularRequireWarning (internal/modules/cjs/loader.js:675:11)
                  at Object.get (internal/modules/cjs/loader.js:689:5)
                  at Object.<anonymous> (/opt/iobroker/node_modules/mongodb/lib/operations/db_ops.js:17:43)
                  at Module._compile (internal/modules/cjs/loader.js:1085:14)
                  at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
                  at Module.load (internal/modules/cjs/loader.js:950:32)
                  at Function.Module._load (internal/modules/cjs/loader.js:790:12)
                  at Module.require (internal/modules/cjs/loader.js:974:19)
                  at require (internal/modules/cjs/helpers.js:93:18)
                  at Object.<anonymous> (/opt/iobroker/node_modules/mongodb/lib/operations/collection_ops.js:7:23)
              (node:1321) Warning: Accessing non-existent property 'updateOne' of module exports inside circular dependency
                  at emitCircularRequireWarning (internal/modules/cjs/loader.js:675:11)
                  at Object.get (internal/modules/cjs/loader.js:689:5)
                  at Object.<anonymous> (/opt/iobroker/node_modules/mongodb/lib/operations/db_ops.js:18:46)
                  at Module._compile (internal/modules/cjs/loader.js:1085:14)
                  at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
                  at Module.load (internal/modules/cjs/loader.js:950:32)
                  at Function.Module._load (internal/modules/cjs/loader.js:790:12)
                  at Module.require (internal/modules/cjs/loader.js:974:19)
                  at require (internal/modules/cjs/helpers.js:93:18)
                  at Object.<anonymous> (/opt/iobroker/node_modules/mongodb/lib/operations/collection_ops.js:7:23)
              
              This upgrade of "cameras" will introduce the following changes:
              ==========================================================================
              -> 0.1.4:
              Add role for states
              ==========================================================================
              
              Would you like to upgrade cameras from @0.1.3 to @0.1.4 now? [(y)es, (n)o]:
              
              

              umgestiegen von Proxmox auf Unraid

              apollon77A 1 Antwort Letzte Antwort
              0
              • crunchipC crunchip

                @apollon77 so sieht es aus

                root@IoBroker:/opt/iobroker# node --trace-warnings /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js upgrade cameras                                        (node:1321) Warning: Accessing non-existent property 'count' of module exports inside circular dependency
                    at emitCircularRequireWarning (internal/modules/cjs/loader.js:675:11)
                    at Object.get (internal/modules/cjs/loader.js:689:5)
                    at Object.<anonymous> (/opt/iobroker/node_modules/mongodb/lib/operations/db_ops.js:15:42)
                    at Module._compile (internal/modules/cjs/loader.js:1085:14)
                    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
                    at Module.load (internal/modules/cjs/loader.js:950:32)
                    at Function.Module._load (internal/modules/cjs/loader.js:790:12)
                    at Module.require (internal/modules/cjs/loader.js:974:19)
                    at require (internal/modules/cjs/helpers.js:93:18)
                    at Object.<anonymous> (/opt/iobroker/node_modules/mongodb/lib/operations/collection_ops.js:7:23)
                (node:1321) Warning: Accessing non-existent property 'findOne' of module exports inside circular dependency
                    at emitCircularRequireWarning (internal/modules/cjs/loader.js:675:11)
                    at Object.get (internal/modules/cjs/loader.js:689:5)
                    at Object.<anonymous> (/opt/iobroker/node_modules/mongodb/lib/operations/db_ops.js:16:44)
                    at Module._compile (internal/modules/cjs/loader.js:1085:14)
                    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
                    at Module.load (internal/modules/cjs/loader.js:950:32)
                    at Function.Module._load (internal/modules/cjs/loader.js:790:12)
                    at Module.require (internal/modules/cjs/loader.js:974:19)
                    at require (internal/modules/cjs/helpers.js:93:18)
                    at Object.<anonymous> (/opt/iobroker/node_modules/mongodb/lib/operations/collection_ops.js:7:23)
                (node:1321) Warning: Accessing non-existent property 'remove' of module exports inside circular dependency
                    at emitCircularRequireWarning (internal/modules/cjs/loader.js:675:11)
                    at Object.get (internal/modules/cjs/loader.js:689:5)
                    at Object.<anonymous> (/opt/iobroker/node_modules/mongodb/lib/operations/db_ops.js:17:43)
                    at Module._compile (internal/modules/cjs/loader.js:1085:14)
                    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
                    at Module.load (internal/modules/cjs/loader.js:950:32)
                    at Function.Module._load (internal/modules/cjs/loader.js:790:12)
                    at Module.require (internal/modules/cjs/loader.js:974:19)
                    at require (internal/modules/cjs/helpers.js:93:18)
                    at Object.<anonymous> (/opt/iobroker/node_modules/mongodb/lib/operations/collection_ops.js:7:23)
                (node:1321) Warning: Accessing non-existent property 'updateOne' of module exports inside circular dependency
                    at emitCircularRequireWarning (internal/modules/cjs/loader.js:675:11)
                    at Object.get (internal/modules/cjs/loader.js:689:5)
                    at Object.<anonymous> (/opt/iobroker/node_modules/mongodb/lib/operations/db_ops.js:18:46)
                    at Module._compile (internal/modules/cjs/loader.js:1085:14)
                    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
                    at Module.load (internal/modules/cjs/loader.js:950:32)
                    at Function.Module._load (internal/modules/cjs/loader.js:790:12)
                    at Module.require (internal/modules/cjs/loader.js:974:19)
                    at require (internal/modules/cjs/helpers.js:93:18)
                    at Object.<anonymous> (/opt/iobroker/node_modules/mongodb/lib/operations/collection_ops.js:7:23)
                
                This upgrade of "cameras" will introduce the following changes:
                ==========================================================================
                -> 0.1.4:
                Add role for states
                ==========================================================================
                
                Would you like to upgrade cameras from @0.1.3 to @0.1.4 now? [(y)es, (n)o]:
                
                
                apollon77A Online
                apollon77A Online
                apollon77
                schrieb am zuletzt editiert von
                #168

                @crunchip Wie vermutet. Schau bitte mal wo das mongodb Paket bei Dir herkommt. Das ist die Ursache:

                Im ioBroker Dir bitte npm list mongodb

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

                  @crunchip Wie vermutet. Schau bitte mal wo das mongodb Paket bei Dir herkommt. Das ist die Ursache:

                  Im ioBroker Dir bitte npm list mongodb

                  crunchipC Abwesend
                  crunchipC Abwesend
                  crunchip
                  Forum Testing Most Active
                  schrieb am zuletzt editiert von
                  #169

                  @apollon77 sagte in js-controller 4.0 jetzt im BETA/LATEST!:

                  npm list mongodb

                  root@IoBroker:/opt/iobroker# npm list mongodb
                  iobroker.inst@2.0.3 /opt/iobroker
                  └── mongodb@3.2.7  extraneous
                  
                  npm ERR! extraneous: mongodb@3.2.7 /opt/iobroker/node_modules/mongodb
                  
                  

                  umgestiegen von Proxmox auf Unraid

                  apollon77A 1 Antwort Letzte Antwort
                  0
                  • crunchipC crunchip

                    @apollon77 sagte in js-controller 4.0 jetzt im BETA/LATEST!:

                    npm list mongodb

                    root@IoBroker:/opt/iobroker# npm list mongodb
                    iobroker.inst@2.0.3 /opt/iobroker
                    └── mongodb@3.2.7  extraneous
                    
                    npm ERR! extraneous: mongodb@3.2.7 /opt/iobroker/node_modules/mongodb
                    
                    
                    apollon77A Online
                    apollon77A Online
                    apollon77
                    schrieb am zuletzt editiert von
                    #170

                    @crunchip Also das kommt optional über node-red ... welchen Node-Red hast Du denn? Ggff mal auf die 2.4.2 von gestern aktualisieren. Ists danach 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
                    crunchipC 1 Antwort Letzte Antwort
                    0
                    • apollon77A apollon77

                      @crunchip Also das kommt optional über node-red ... welchen Node-Red hast Du denn? Ggff mal auf die 2.4.2 von gestern aktualisieren. Ists danach weg?

                      crunchipC Abwesend
                      crunchipC Abwesend
                      crunchip
                      Forum Testing Most Active
                      schrieb am zuletzt editiert von crunchip
                      #171

                      @apollon77 ich habe kein node-red und hatte ich auch noch nie
                      kann das von einem anderen Adapter kommen?
                      das sind alle meine installierten instanzen

                      root@IoBroker:/opt/iobroker# iob list instances
                      (node:11720) Warning: Accessing non-existent property 'count' of module exports inside circular dependency
                      (Use `node --trace-warnings ...` to show where the warning was created)
                      (node:11720) Warning: Accessing non-existent property 'findOne' of module exports inside circular dependency
                      (node:11720) Warning: Accessing non-existent property 'remove' of module exports inside circular dependency
                      (node:11720) Warning: Accessing non-existent property 'updateOne' of module exports inside circular dependency
                       system.adapter.adguard.0                : adguard               : IoBroker                                 - disabled
                      + system.adapter.admin.0                  : admin                 : IoBroker                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                      + system.adapter.alexa2.0                 : alexa2                : IoBroker                                 -  enabled
                       system.adapter.alias-manager.0          : alias-manager         : IoBroker                                 -  enabled
                      + system.adapter.backitup.0               : backitup              : IoBroker                                 -  enabled
                      + system.adapter.ble.0                    : ble                   : IoBroker                                 -  enabled
                      + system.adapter.broadlink2.0             : broadlink2            : IoBroker                                 -  enabled
                       system.adapter.cameras.0                : cameras               : IoBroker                                 - disabled, port: 8200, bind: 10.1.1.10
                      + system.adapter.chromecast.0             : chromecast            : IoBroker                                 -  enabled
                      + system.adapter.coronavirus-statistics.0 : coronavirus-statistics: IoBroker                                 -  enabled
                       system.adapter.daswetter.0              : daswetter             : IoBroker                                 - disabled
                       system.adapter.device-reminder.0        : device-reminder       : IoBroker                                 - disabled
                       system.adapter.devices.0                : devices               : IoBroker                                 -  enabled
                       system.adapter.discovery.0              : discovery             : IoBroker                                 - disabled
                       system.adapter.dwd.0                    : dwd                   : IoBroker                                 -  enabled
                       system.adapter.ebus.0                   : ebus                  : IoBroker                                 - disabled
                      + system.adapter.echarts.0                : echarts               : IoBroker                                 -  enabled
                      + system.adapter.email.0                  : email                 : IoBroker                                 -  enabled
                       system.adapter.esphome.0                : esphome               : IoBroker                                 - disabled
                       system.adapter.eventlist.0              : eventlist             : IoBroker                                 - disabled
                       system.adapter.feiertage.0              : feiertage             : IoBroker                                 -  enabled
                       system.adapter.firetv.0                 : firetv                : IoBroker                                 - disabled
                       system.adapter.flot.0                   : flot                  : IoBroker                                 -  enabled
                       system.adapter.fullcalendar.0           : fullcalendar          : IoBroker                                 - disabled
                      + system.adapter.fully-tablet-control.0   : fully-tablet-control  : IoBroker                                 -  enabled
                       system.adapter.fullybrowser.0           : fullybrowser          : IoBroker                                 - disabled
                      + system.adapter.history.0                : history               : IoBroker                                 -  enabled
                       system.adapter.hyperion.0               : hyperion              : IoBroker                                 - disabled
                       system.adapter.hyperion_ng.0            : hyperion_ng           : IoBroker                                 - disabled
                       system.adapter.ical.0                   : ical                  : IoBroker                                 -  enabled
                       system.adapter.ical.1                   : ical                  : IoBroker                                 -  enabled
                       system.adapter.icons-addictive-flavour-png.0: icons-addictive-flavour-png: IoBroker                                 -  enabled
                       system.adapter.icons-fatcow-hosting.0   : icons-fatcow-hosting  : IoBroker                                 -  enabled
                       system.adapter.icons-icons8.0           : icons-icons8          : IoBroker                                 -  enabled
                       system.adapter.icons-material-png.0     : icons-material-png    : IoBroker                                 -  enabled
                       system.adapter.icons-material-svg.0     : icons-material-svg    : IoBroker                                 -  enabled
                       system.adapter.icons-mfd-png.0          : icons-mfd-png         : IoBroker                                 -  enabled
                       system.adapter.icons-mfd-svg.0          : icons-mfd-svg         : IoBroker                                 -  enabled
                       system.adapter.icons-open-icon-library-png.0: icons-open-icon-library-png: IoBroker                                 -  enabled
                       system.adapter.icons-ultimate-png.0     : icons-ultimate-png    : IoBroker                                 -  enabled
                      + system.adapter.influxdb.0               : influxdb              : IoBroker                                 -  enabled, port: 8086
                      + system.adapter.influxdb.1               : influxdb              : IoBroker                                 -  enabled, port: 8086
                      + system.adapter.influxdb.2               : influxdb              : IoBroker                                 -  enabled, port: 8086
                      + system.adapter.influxdb.3               : influxdb              : IoBroker                                 -  enabled, port: 8086
                      + system.adapter.info.0                   : info                  : IoBroker                                 -  enabled
                       system.adapter.iogo.0                   : iogo                  : IoBroker                                 - disabled
                      + system.adapter.iot.0                    : iot                   : IoBroker                                 -  enabled
                       system.adapter.iqontrol.0               : iqontrol              : IoBroker                                 - disabled
                      + system.adapter.jarvis.0                 : jarvis                : IoBroker                                 -  enabled
                      + system.adapter.javascript.0             : javascript            : IoBroker                                 -  enabled
                       system.adapter.javascript.1             : javascript            : IoBroker                                 - disabled
                      + system.adapter.linux-control.0          : linux-control         : IoBroker                                 -  enabled
                      + system.adapter.logparser.0              : logparser             : IoBroker                                 -  enabled
                       system.adapter.material.0               : material              : IoBroker                                 -  enabled
                       system.adapter.meteoalarm.0             : meteoalarm            : IoBroker                                 - disabled
                      + system.adapter.mihome.0                 : mihome                : IoBroker                                 -  enabled, port: 9898, bind: 0.0.0.0
                       system.adapter.miio.0                   : miio                  : IoBroker                                 - disabled
                      + system.adapter.milight-smart-light.0    : milight-smart-light   : IoBroker                                 -  enabled
                       system.adapter.minuvis.0                : minuvis               : IoBroker                                 -  enabled
                       system.adapter.mobile.0                 : mobile                : IoBroker                                 - disabled
                       system.adapter.mqtt.0                   : mqtt                  : IoBroker                                 - disabled, port: 1883, bind: 0.0.0.0
                       system.adapter.mytime.0                 : mytime                : IoBroker                                 - disabled
                       system.adapter.net-tools.0              : net-tools             : IoBroker                                 - disabled
                       system.adapter.nina.0                   : nina                  : IoBroker                                 - disabled
                      + system.adapter.nut.0                    : nut                   : IoBroker                                 -  enabled
                       system.adapter.onkyo.0                  : onkyo                 : IoBroker                                 - disabled
                       system.adapter.onvif.0                  : onvif                 : IoBroker                                 - disabled
                       system.adapter.parser.0                 : parser                : IoBroker                                 - disabled
                       system.adapter.phantomjs.0              : phantomjs             : IoBroker                                 - disabled
                       system.adapter.pi-hole.0                : pi-hole               : IoBroker                                 - disabled
                       system.adapter.ping.0                   : ping                  : IoBroker                                 - disabled
                       system.adapter.pollenflug.0             : pollenflug            : IoBroker                                 - disabled
                       system.adapter.proxmox.0                : proxmox               : IoBroker                                 - disabled, port: 8006
                      + system.adapter.radar2.0                 : radar2                : IoBroker                                 -  enabled
                       system.adapter.rickshaw.0               : rickshaw              : IoBroker                                 -  enabled
                       system.adapter.roadtraffic.0            : roadtraffic           : IoBroker                                 - disabled
                       system.adapter.rssfeed.0                : rssfeed               : IoBroker                                 - disabled
                      + system.adapter.sayit.0                  : sayit                 : IoBroker                                 -  enabled, port: 0
                       system.adapter.scenes.0                 : scenes                : IoBroker                                 - disabled
                       system.adapter.scheduler.0              : scheduler             : IoBroker                                 - disabled
                       system.adapter.schoolfree.0             : schoolfree            : IoBroker                                 -  enabled
                      + system.adapter.seq.0                    : seq                   : IoBroker                                 -  enabled, port: 5341
                      + system.adapter.shelly.0                 : shelly                : IoBroker                                 -  enabled, port: 1882, bind: 0.0.0.0
                      + system.adapter.shuttercontrol.0         : shuttercontrol        : IoBroker                                 -  enabled
                      + system.adapter.simple-api.0             : simple-api            : IoBroker                                 -  enabled, port: 8087, bind: 0.0.0.0, run as: admin
                       system.adapter.slideshow.0              : slideshow             : IoBroker                                 - disabled
                      + system.adapter.smartcontrol.0           : smartcontrol          : IoBroker                                 -  enabled
                       system.adapter.snmp.0                   : snmp                  : IoBroker                                 - disabled
                      + system.adapter.socketio.0               : socketio              : IoBroker                                 -  enabled, port: 8084, bind: 0.0.0.0, run as: admin
                      + system.adapter.sonoff.0                 : sonoff                : IoBroker                                 -  enabled, port: 1885, bind: 0.0.0.0
                      + system.adapter.sourceanalytix.0         : sourceanalytix        : IoBroker                                 -  enabled
                       system.adapter.spotify-premium.0        : spotify-premium       : IoBroker                                 - disabled
                       system.adapter.statistics.0             : statistics            : IoBroker                                 - disabled
                      + system.adapter.tankerkoenig.0           : tankerkoenig          : IoBroker                                 -  enabled
                      + system.adapter.telegram.0               : telegram              : IoBroker                                 -  enabled, port: 8443, bind: 0.0.0.0
                      + system.adapter.telegram.1               : telegram              : IoBroker                                 -  enabled, port: 8443, bind: 0.0.0.0
                       system.adapter.terminal.0               : terminal              : IoBroker                                 - disabled, port: 8088, bind: 0.0.0.0, run as: admin
                      + system.adapter.text2command.0           : text2command          : IoBroker                                 -  enabled
                      + system.adapter.tr-064.0                 : tr-064                : IoBroker                                 -  enabled
                       system.adapter.traccar.0                : traccar               : IoBroker                                 - disabled
                      + system.adapter.trashschedule.0          : trashschedule         : IoBroker                                 -  enabled
                       system.adapter.tuya.0                   : tuya                  : IoBroker                                 - disabled
                       system.adapter.tvspielfilm.0            : tvspielfilm           : IoBroker                                 - disabled
                      + system.adapter.unifi.0                  : unifi                 : IoBroker                                 -  enabled
                       system.adapter.upnp.0                   : upnp                  : IoBroker                                 - disabled
                      + system.adapter.virtualpowermeter.0      : virtualpowermeter     : IoBroker                                 -  enabled
                       system.adapter.vis-bars.0               : vis-bars              : IoBroker                                 -  enabled
                       system.adapter.vis-canvas-gauges.0      : vis-canvas-gauges     : IoBroker                                 -  enabled
                       system.adapter.vis-colorpicker.0        : vis-colorpicker       : IoBroker                                 -  enabled
                       system.adapter.vis-fancyswitch.0        : vis-fancyswitch       : IoBroker                                 -  enabled
                       system.adapter.vis-google-fonts.0       : vis-google-fonts      : IoBroker                                 -  enabled
                       system.adapter.vis-history.0            : vis-history           : IoBroker                                 -  enabled
                       system.adapter.vis-hqwidgets.0          : vis-hqwidgets         : IoBroker                                 -  enabled
                       system.adapter.vis-icontwo.0            : vis-icontwo           : IoBroker                                 -  enabled
                      + system.adapter.vis-inventwo.0           : vis-inventwo          : IoBroker                                 -  enabled
                       system.adapter.vis-jqui-mfd.0           : vis-jqui-mfd          : IoBroker                                 -  enabled
                       system.adapter.vis-justgage.0           : vis-justgage          : IoBroker                                 -  enabled
                       system.adapter.vis-keyboard.0           : vis-keyboard          : IoBroker                                 -  enabled
                       system.adapter.vis-lcars.0              : vis-lcars             : IoBroker                                 -  enabled
                       system.adapter.vis-map.0                : vis-map               : IoBroker                                 -  enabled
                       system.adapter.vis-material-webfont.0   : vis-material-webfont  : IoBroker                                 -  enabled
                       system.adapter.vis-material.0           : vis-material          : IoBroker                                 -  enabled
                       system.adapter.vis-materialdesign.0     : vis-materialdesign    : IoBroker                                 -  enabled
                       system.adapter.vis-metro.0              : vis-metro             : IoBroker                                 -  enabled
                       system.adapter.vis-players.0            : vis-players           : IoBroker                                 -  enabled
                       system.adapter.vis-plumb.0              : vis-plumb             : IoBroker                                 -  enabled
                       system.adapter.vis-rgraph.0             : vis-rgraph            : IoBroker                                 -  enabled
                       system.adapter.vis-timeandweather.0     : vis-timeandweather    : IoBroker                                 -  enabled
                       system.adapter.vis-weather.0            : vis-weather           : IoBroker                                 -  enabled
                       system.adapter.vis.0                    : vis                   : IoBroker                                 -  enabled
                       system.adapter.weatherunderground.0     : weatherunderground    : IoBroker                                 -  enabled
                      + system.adapter.web.0                    : web                   : IoBroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                       system.adapter.whatsapp-cmb.0           : whatsapp-cmb          : IoBroker                                 - disabled
                      + system.adapter.wiffi-wz.0               : wiffi-wz              : IoBroker                                 -  enabled
                      + system.adapter.wled.0                   : wled                  : IoBroker                                 -  enabled
                      + system.adapter.yeelight-2.0             : yeelight-2            : IoBroker                                 -  enabled
                      + system.adapter.zigbee.0                 : zigbee                : IoBroker                                 -  enabled, port: tcp://10.1.20.7:20108
                      
                      

                      umgestiegen von Proxmox auf Unraid

                      apollon77A 1 Antwort Letzte Antwort
                      0
                      • OliverIOO Offline
                        OliverIOO Offline
                        OliverIO
                        schrieb am zuletzt editiert von
                        #172

                        @apollon77 sagte in js-controller 4.0 jetzt im BETA/LATEST!:

                        Zu "Fehler 1" tippe ich das Du zu schnell warst. In Deinem Log sieht man Das Du die Systemkonfig 18:43 gespeichert hast und damit Admin und Backiutup und Discovery neu gestartet sind. 18:43:11 war wieder alles da. und ich denke das Du irgendwie geschafft hast das Repo in dieser kurzen Zeit zu ändern als Admin sich gerade verabschliedet hat oder sowas ... aber das sehe ich nicht so genau. müsste man mal nachstellen. Passiert es auch wenn du "langsamer" bist?

                        im ersten durchgang habe ich sofort nach abschluss des assistenten
                        die config nochmal aufgerufen um das repo zu ändern.
                        Diesmal mit 4.0.5 habe ich darauf geachtet, das alle instanzen grün sind.
                        dann hat es funktioniert.

                        auch die anderen fehler sind nun behoben.
                        nur den ersten mit dem fixer befehl, habe ich vergessen zu überprüfen.

                        Meine Adapter und Widgets
                        TVProgram, SqueezeboxRPC, OpenLiga, RSSFeed, MyTime,, pi-hole2, vis-json-template, skiinfo, vis-mapwidgets, vis-2-widgets-rssfeed
                        Links im Profil

                        1 Antwort Letzte Antwort
                        1
                        • crunchipC crunchip

                          @apollon77 ich habe kein node-red und hatte ich auch noch nie
                          kann das von einem anderen Adapter kommen?
                          das sind alle meine installierten instanzen

                          root@IoBroker:/opt/iobroker# iob list instances
                          (node:11720) Warning: Accessing non-existent property 'count' of module exports inside circular dependency
                          (Use `node --trace-warnings ...` to show where the warning was created)
                          (node:11720) Warning: Accessing non-existent property 'findOne' of module exports inside circular dependency
                          (node:11720) Warning: Accessing non-existent property 'remove' of module exports inside circular dependency
                          (node:11720) Warning: Accessing non-existent property 'updateOne' of module exports inside circular dependency
                           system.adapter.adguard.0                : adguard               : IoBroker                                 - disabled
                          + system.adapter.admin.0                  : admin                 : IoBroker                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                          + system.adapter.alexa2.0                 : alexa2                : IoBroker                                 -  enabled
                           system.adapter.alias-manager.0          : alias-manager         : IoBroker                                 -  enabled
                          + system.adapter.backitup.0               : backitup              : IoBroker                                 -  enabled
                          + system.adapter.ble.0                    : ble                   : IoBroker                                 -  enabled
                          + system.adapter.broadlink2.0             : broadlink2            : IoBroker                                 -  enabled
                           system.adapter.cameras.0                : cameras               : IoBroker                                 - disabled, port: 8200, bind: 10.1.1.10
                          + system.adapter.chromecast.0             : chromecast            : IoBroker                                 -  enabled
                          + system.adapter.coronavirus-statistics.0 : coronavirus-statistics: IoBroker                                 -  enabled
                           system.adapter.daswetter.0              : daswetter             : IoBroker                                 - disabled
                           system.adapter.device-reminder.0        : device-reminder       : IoBroker                                 - disabled
                           system.adapter.devices.0                : devices               : IoBroker                                 -  enabled
                           system.adapter.discovery.0              : discovery             : IoBroker                                 - disabled
                           system.adapter.dwd.0                    : dwd                   : IoBroker                                 -  enabled
                           system.adapter.ebus.0                   : ebus                  : IoBroker                                 - disabled
                          + system.adapter.echarts.0                : echarts               : IoBroker                                 -  enabled
                          + system.adapter.email.0                  : email                 : IoBroker                                 -  enabled
                           system.adapter.esphome.0                : esphome               : IoBroker                                 - disabled
                           system.adapter.eventlist.0              : eventlist             : IoBroker                                 - disabled
                           system.adapter.feiertage.0              : feiertage             : IoBroker                                 -  enabled
                           system.adapter.firetv.0                 : firetv                : IoBroker                                 - disabled
                           system.adapter.flot.0                   : flot                  : IoBroker                                 -  enabled
                           system.adapter.fullcalendar.0           : fullcalendar          : IoBroker                                 - disabled
                          + system.adapter.fully-tablet-control.0   : fully-tablet-control  : IoBroker                                 -  enabled
                           system.adapter.fullybrowser.0           : fullybrowser          : IoBroker                                 - disabled
                          + system.adapter.history.0                : history               : IoBroker                                 -  enabled
                           system.adapter.hyperion.0               : hyperion              : IoBroker                                 - disabled
                           system.adapter.hyperion_ng.0            : hyperion_ng           : IoBroker                                 - disabled
                           system.adapter.ical.0                   : ical                  : IoBroker                                 -  enabled
                           system.adapter.ical.1                   : ical                  : IoBroker                                 -  enabled
                           system.adapter.icons-addictive-flavour-png.0: icons-addictive-flavour-png: IoBroker                                 -  enabled
                           system.adapter.icons-fatcow-hosting.0   : icons-fatcow-hosting  : IoBroker                                 -  enabled
                           system.adapter.icons-icons8.0           : icons-icons8          : IoBroker                                 -  enabled
                           system.adapter.icons-material-png.0     : icons-material-png    : IoBroker                                 -  enabled
                           system.adapter.icons-material-svg.0     : icons-material-svg    : IoBroker                                 -  enabled
                           system.adapter.icons-mfd-png.0          : icons-mfd-png         : IoBroker                                 -  enabled
                           system.adapter.icons-mfd-svg.0          : icons-mfd-svg         : IoBroker                                 -  enabled
                           system.adapter.icons-open-icon-library-png.0: icons-open-icon-library-png: IoBroker                                 -  enabled
                           system.adapter.icons-ultimate-png.0     : icons-ultimate-png    : IoBroker                                 -  enabled
                          + system.adapter.influxdb.0               : influxdb              : IoBroker                                 -  enabled, port: 8086
                          + system.adapter.influxdb.1               : influxdb              : IoBroker                                 -  enabled, port: 8086
                          + system.adapter.influxdb.2               : influxdb              : IoBroker                                 -  enabled, port: 8086
                          + system.adapter.influxdb.3               : influxdb              : IoBroker                                 -  enabled, port: 8086
                          + system.adapter.info.0                   : info                  : IoBroker                                 -  enabled
                           system.adapter.iogo.0                   : iogo                  : IoBroker                                 - disabled
                          + system.adapter.iot.0                    : iot                   : IoBroker                                 -  enabled
                           system.adapter.iqontrol.0               : iqontrol              : IoBroker                                 - disabled
                          + system.adapter.jarvis.0                 : jarvis                : IoBroker                                 -  enabled
                          + system.adapter.javascript.0             : javascript            : IoBroker                                 -  enabled
                           system.adapter.javascript.1             : javascript            : IoBroker                                 - disabled
                          + system.adapter.linux-control.0          : linux-control         : IoBroker                                 -  enabled
                          + system.adapter.logparser.0              : logparser             : IoBroker                                 -  enabled
                           system.adapter.material.0               : material              : IoBroker                                 -  enabled
                           system.adapter.meteoalarm.0             : meteoalarm            : IoBroker                                 - disabled
                          + system.adapter.mihome.0                 : mihome                : IoBroker                                 -  enabled, port: 9898, bind: 0.0.0.0
                           system.adapter.miio.0                   : miio                  : IoBroker                                 - disabled
                          + system.adapter.milight-smart-light.0    : milight-smart-light   : IoBroker                                 -  enabled
                           system.adapter.minuvis.0                : minuvis               : IoBroker                                 -  enabled
                           system.adapter.mobile.0                 : mobile                : IoBroker                                 - disabled
                           system.adapter.mqtt.0                   : mqtt                  : IoBroker                                 - disabled, port: 1883, bind: 0.0.0.0
                           system.adapter.mytime.0                 : mytime                : IoBroker                                 - disabled
                           system.adapter.net-tools.0              : net-tools             : IoBroker                                 - disabled
                           system.adapter.nina.0                   : nina                  : IoBroker                                 - disabled
                          + system.adapter.nut.0                    : nut                   : IoBroker                                 -  enabled
                           system.adapter.onkyo.0                  : onkyo                 : IoBroker                                 - disabled
                           system.adapter.onvif.0                  : onvif                 : IoBroker                                 - disabled
                           system.adapter.parser.0                 : parser                : IoBroker                                 - disabled
                           system.adapter.phantomjs.0              : phantomjs             : IoBroker                                 - disabled
                           system.adapter.pi-hole.0                : pi-hole               : IoBroker                                 - disabled
                           system.adapter.ping.0                   : ping                  : IoBroker                                 - disabled
                           system.adapter.pollenflug.0             : pollenflug            : IoBroker                                 - disabled
                           system.adapter.proxmox.0                : proxmox               : IoBroker                                 - disabled, port: 8006
                          + system.adapter.radar2.0                 : radar2                : IoBroker                                 -  enabled
                           system.adapter.rickshaw.0               : rickshaw              : IoBroker                                 -  enabled
                           system.adapter.roadtraffic.0            : roadtraffic           : IoBroker                                 - disabled
                           system.adapter.rssfeed.0                : rssfeed               : IoBroker                                 - disabled
                          + system.adapter.sayit.0                  : sayit                 : IoBroker                                 -  enabled, port: 0
                           system.adapter.scenes.0                 : scenes                : IoBroker                                 - disabled
                           system.adapter.scheduler.0              : scheduler             : IoBroker                                 - disabled
                           system.adapter.schoolfree.0             : schoolfree            : IoBroker                                 -  enabled
                          + system.adapter.seq.0                    : seq                   : IoBroker                                 -  enabled, port: 5341
                          + system.adapter.shelly.0                 : shelly                : IoBroker                                 -  enabled, port: 1882, bind: 0.0.0.0
                          + system.adapter.shuttercontrol.0         : shuttercontrol        : IoBroker                                 -  enabled
                          + system.adapter.simple-api.0             : simple-api            : IoBroker                                 -  enabled, port: 8087, bind: 0.0.0.0, run as: admin
                           system.adapter.slideshow.0              : slideshow             : IoBroker                                 - disabled
                          + system.adapter.smartcontrol.0           : smartcontrol          : IoBroker                                 -  enabled
                           system.adapter.snmp.0                   : snmp                  : IoBroker                                 - disabled
                          + system.adapter.socketio.0               : socketio              : IoBroker                                 -  enabled, port: 8084, bind: 0.0.0.0, run as: admin
                          + system.adapter.sonoff.0                 : sonoff                : IoBroker                                 -  enabled, port: 1885, bind: 0.0.0.0
                          + system.adapter.sourceanalytix.0         : sourceanalytix        : IoBroker                                 -  enabled
                           system.adapter.spotify-premium.0        : spotify-premium       : IoBroker                                 - disabled
                           system.adapter.statistics.0             : statistics            : IoBroker                                 - disabled
                          + system.adapter.tankerkoenig.0           : tankerkoenig          : IoBroker                                 -  enabled
                          + system.adapter.telegram.0               : telegram              : IoBroker                                 -  enabled, port: 8443, bind: 0.0.0.0
                          + system.adapter.telegram.1               : telegram              : IoBroker                                 -  enabled, port: 8443, bind: 0.0.0.0
                           system.adapter.terminal.0               : terminal              : IoBroker                                 - disabled, port: 8088, bind: 0.0.0.0, run as: admin
                          + system.adapter.text2command.0           : text2command          : IoBroker                                 -  enabled
                          + system.adapter.tr-064.0                 : tr-064                : IoBroker                                 -  enabled
                           system.adapter.traccar.0                : traccar               : IoBroker                                 - disabled
                          + system.adapter.trashschedule.0          : trashschedule         : IoBroker                                 -  enabled
                           system.adapter.tuya.0                   : tuya                  : IoBroker                                 - disabled
                           system.adapter.tvspielfilm.0            : tvspielfilm           : IoBroker                                 - disabled
                          + system.adapter.unifi.0                  : unifi                 : IoBroker                                 -  enabled
                           system.adapter.upnp.0                   : upnp                  : IoBroker                                 - disabled
                          + system.adapter.virtualpowermeter.0      : virtualpowermeter     : IoBroker                                 -  enabled
                           system.adapter.vis-bars.0               : vis-bars              : IoBroker                                 -  enabled
                           system.adapter.vis-canvas-gauges.0      : vis-canvas-gauges     : IoBroker                                 -  enabled
                           system.adapter.vis-colorpicker.0        : vis-colorpicker       : IoBroker                                 -  enabled
                           system.adapter.vis-fancyswitch.0        : vis-fancyswitch       : IoBroker                                 -  enabled
                           system.adapter.vis-google-fonts.0       : vis-google-fonts      : IoBroker                                 -  enabled
                           system.adapter.vis-history.0            : vis-history           : IoBroker                                 -  enabled
                           system.adapter.vis-hqwidgets.0          : vis-hqwidgets         : IoBroker                                 -  enabled
                           system.adapter.vis-icontwo.0            : vis-icontwo           : IoBroker                                 -  enabled
                          + system.adapter.vis-inventwo.0           : vis-inventwo          : IoBroker                                 -  enabled
                           system.adapter.vis-jqui-mfd.0           : vis-jqui-mfd          : IoBroker                                 -  enabled
                           system.adapter.vis-justgage.0           : vis-justgage          : IoBroker                                 -  enabled
                           system.adapter.vis-keyboard.0           : vis-keyboard          : IoBroker                                 -  enabled
                           system.adapter.vis-lcars.0              : vis-lcars             : IoBroker                                 -  enabled
                           system.adapter.vis-map.0                : vis-map               : IoBroker                                 -  enabled
                           system.adapter.vis-material-webfont.0   : vis-material-webfont  : IoBroker                                 -  enabled
                           system.adapter.vis-material.0           : vis-material          : IoBroker                                 -  enabled
                           system.adapter.vis-materialdesign.0     : vis-materialdesign    : IoBroker                                 -  enabled
                           system.adapter.vis-metro.0              : vis-metro             : IoBroker                                 -  enabled
                           system.adapter.vis-players.0            : vis-players           : IoBroker                                 -  enabled
                           system.adapter.vis-plumb.0              : vis-plumb             : IoBroker                                 -  enabled
                           system.adapter.vis-rgraph.0             : vis-rgraph            : IoBroker                                 -  enabled
                           system.adapter.vis-timeandweather.0     : vis-timeandweather    : IoBroker                                 -  enabled
                           system.adapter.vis-weather.0            : vis-weather           : IoBroker                                 -  enabled
                           system.adapter.vis.0                    : vis                   : IoBroker                                 -  enabled
                           system.adapter.weatherunderground.0     : weatherunderground    : IoBroker                                 -  enabled
                          + system.adapter.web.0                    : web                   : IoBroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                           system.adapter.whatsapp-cmb.0           : whatsapp-cmb          : IoBroker                                 - disabled
                          + system.adapter.wiffi-wz.0               : wiffi-wz              : IoBroker                                 -  enabled
                          + system.adapter.wled.0                   : wled                  : IoBroker                                 -  enabled
                          + system.adapter.yeelight-2.0             : yeelight-2            : IoBroker                                 -  enabled
                          + system.adapter.zigbee.0                 : zigbee                : IoBroker                                 -  enabled, port: tcp://10.1.20.7:20108
                          
                          

                          apollon77A Online
                          apollon77A Online
                          apollon77
                          schrieb am zuletzt editiert von
                          #173

                          @crunchip naja npm zeigt es als extra Paket an. Ich würde behaupten kannst es im iobroker dir mit „npm uninstall mongodb“ löschen.

                          Ps: gattest du vllt mal den Blutzucker Adapter drauf? Glaube der hatte das auch.

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

                            @crunchip naja npm zeigt es als extra Paket an. Ich würde behaupten kannst es im iobroker dir mit „npm uninstall mongodb“ löschen.

                            Ps: gattest du vllt mal den Blutzucker Adapter drauf? Glaube der hatte das auch.

                            crunchipC Abwesend
                            crunchipC Abwesend
                            crunchip
                            Forum Testing Most Active
                            schrieb am zuletzt editiert von
                            #174

                            @apollon77 ne hatte ich auch nicht, ok dann lösch ich es mal

                            umgestiegen von Proxmox auf Unraid

                            apollon77A 1 Antwort Letzte Antwort
                            1
                            • crunchipC crunchip

                              @apollon77 ne hatte ich auch nicht, ok dann lösch ich es mal

                              apollon77A Online
                              apollon77A Online
                              apollon77
                              schrieb am zuletzt editiert von
                              #175

                              @crunchip ich adde es mal morgen oben in die faq auch wenn es eher mit nodejs Upgrade auf 14 zu tun hat. Naja mal schauen.

                              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
                              • crunchipC Abwesend
                                crunchipC Abwesend
                                crunchip
                                Forum Testing Most Active
                                schrieb am zuletzt editiert von
                                #176

                                @apollon77 ich hab es jetzt mal gelöscht, iob gestoppt, nodejs minor update und iob gestartet( ohne fixer) mal schaun ob der js controller das richtig macht (setcap)

                                umgestiegen von Proxmox auf Unraid

                                crunchipC 1 Antwort Letzte Antwort
                                0
                                • apollon77A apollon77

                                  Hallo Alle miteinander,

                                  wir haben die letzten Tage Euer Feeback und die kleineren Issues gesammelt und die Version 4.0.5 wird im laufe der Nacht im Latest Repo auftauchen:

                                  4.0.5 (2022-02-08)

                                  • (foxriver76) stop the database before executing upgrade self; WIll be effective for all upgrades >4.0.5
                                  • (foxriver76) Optimize Set activation handling to prevent some error logged on upgrade
                                  • (Apollon77) Fix Linux Capability updating for Docker and check Admin Flag
                                  • (Apollon77) Detect another Rebuild case and allo wautomatic rebuilding
                                  • (foxriver76) Fix adapter installation with dependencies
                                  • (Apollon77) Fix seq edge case
                                  • (foxriver76/Apollon77) Prevent several crash cases seen in Sentry
                                  F Offline
                                  F Offline
                                  fastfoot
                                  schrieb am zuletzt editiert von
                                  #177

                                  @apollon77 sagte in js-controller 4.0 jetzt im BETA/LATEST!:

                                  (foxriver76) stop the database before executing upgrade self; WIll be effective for all upgrades >4.0.5

                                  bedeutet dies dass der iobroker dann vorher nicht mehr gestoppt werden muss?

                                  Das Update auf 4.0.5 lief auf 2 Systemen ohne Probleme und ohne den Fixer zu benötigen

                                  iobroker läuft unter Docker auf QNAP TS-451+
                                  SkriptRecovery: https://forum.iobroker.net/post/930558

                                  apollon77A 1 Antwort Letzte Antwort
                                  0
                                  • F fastfoot

                                    @apollon77 sagte in js-controller 4.0 jetzt im BETA/LATEST!:

                                    (foxriver76) stop the database before executing upgrade self; WIll be effective for all upgrades >4.0.5

                                    bedeutet dies dass der iobroker dann vorher nicht mehr gestoppt werden muss?

                                    Das Update auf 4.0.5 lief auf 2 Systemen ohne Probleme und ohne den Fixer zu benötigen

                                    apollon77A Online
                                    apollon77A Online
                                    apollon77
                                    schrieb am zuletzt editiert von
                                    #178

                                    @fastfoot neee. Muss immer noch gestoppt werden. Es ist nur so das das „Upgrade Self“ Kommando eine Datenbank öffnet - und zwar die „alte“ Version. Dann erfolgt die Installation und in dem Zuge wird „setup First“ ausgeführt die dann mit dem „neuen Code“ gegen diese „alte“ Datenbank Version verbindet. Das ist aktuell der Grund für diese Fehler die angezeigt werden und gegen die wir nichts tun können.

                                    Daher wird vor dem npm Befehl bei Upgrade Self jetzt die alte Datenbank beendet - damit öffnet setup First dann seine eigene „neue“ Version. Damit sollte sowas nicht mehr passieren

                                    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

                                      @chrisxy sagte in js-controller 4.0 jetzt im BETA/LATEST!:

                                      EADDRNOTAVAIL: address not available 192.168.2.200:2001

                                      Da scheint irgendetwas anderes auf Port 2001 zu Hören, und daher kann der Adapter nicht starten ... Stelle sicher das da nicht noch Zombie Prozesse laufen

                                      C Offline
                                      C Offline
                                      ChrisXY
                                      schrieb am zuletzt editiert von ChrisXY
                                      #179

                                      @apollon77 said in js-controller 4.0 jetzt im BETA/LATEST!:

                                      @chrisxy sagte in js-controller 4.0 jetzt im BETA/LATEST!:

                                      EADDRNOTAVAIL: address not available 192.168.2.200:2001

                                      Da scheint irgendetwas anderes auf Port 2001 zu Hören, und daher kann der Adapter nicht starten ... Stelle sicher das da nicht noch Zombie Prozesse laufen

                                      Das ist was von Homematic. Laut Adapter ist dort meine neue IP 192.168.4.100 Hinterlegt die 192.168.2.200 ist ALT .. wo auch immer das her ist. Nach iob stop scheint alles aber aus zu sein,

                                      @apollon77 said in js-controller 4.0 jetzt im BETA/LATEST!:

                                      @chrisxy Ääähmm ... was Hast Du genau hier getan? Das ist ist ein Migration-Prozess ... so mir scheint es als ob du aktiv über "iob setup custom" eine Migration zu "file" gemacht hast und dabei gab es einen Permission Fehler.

                                      Um es jetzt zu fixen:
                                      1.) iob fix um die Rechtefehler zu fixen
                                      2.) Wenn DU zurück zum letzten Redis Stand willst editiere die /opt/iobroker/iobroker-data/iobroker.json und ändere bei objects und states jeweils den Typ in "redis" da wo jetzt scheinbar "file" steht.

                                      Danach sollte erstmal alles wieder laufen

                                      Also mein iob läuft mit Redis. Nach dem iob upgrade self und Neustart hat iob Status "file" vorher "redis"
                                      Ich werde es nochmal versuchen und die Datei mal anpassen. Schauen was Passiert.

                                      EDIT: Nach iob upgrade self sagt iob status : file .. wenn ich aber die iobroker,json öffne steht bei beiden Typ: redis ...

                                      Folgende Meldung bekomme ich bei iob upgrade self:

                                      root@iobroker:/# cd /opt/iobroker/
                                      root@iobroker:/opt/iobroker# iob upgrade self
                                      Update js-controller from @3.3.22 to @4.0.5
                                      NPM version: 6.14.10
                                      npm install iobroker.js-controller@4.0.5 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
                                      In file included from ../src/unix_dgram.cc:5:
                                      ../../nan/nan.h: In function 'void Nan::AsyncQueueWorker(Nan::AsyncWorker*)':
                                      ../../nan/nan.h:2298:62: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type]
                                           , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                                                                    ^
                                      In file included from ../../nan/nan.h:54,
                                                       from ../src/unix_dgram.cc:5:
                                      ../src/unix_dgram.cc: At global scope:
                                      /home/iobroker/.cache/node-gyp/14.15.4/include/node/node.h:758:43: warning: cast between incompatible function types from 'void (*)(v8::Local<v8::Object>)' to 'node::addon_register_func' {aka 'void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)'} [-Wcast-function-type]
                                             (node::addon_register_func) (regfunc),                          \
                                                                                 ^
                                      /home/iobroker/.cache/node-gyp/14.15.4/include/node/node.h:792:3: note: in expansion of macro 'NODE_MODULE_X'
                                         NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                                         ^~~~~~~~~~~~~
                                      ../src/unix_dgram.cc:404:1: note: in expansion of macro 'NODE_MODULE'
                                       NODE_MODULE(unix_dgram, Initialize)
                                       ^~~~~~~~~~~
                                      
                                      apollon77A 1 Antwort Letzte Antwort
                                      0
                                      • DiginixD Offline
                                        DiginixD Offline
                                        Diginix
                                        schrieb am zuletzt editiert von
                                        #180

                                        @apollon77 Update von 3.3.22 auf 4.0.5 lief durch mit folgender Ausgabe:

                                        Update js-controller from @3.3.22 to @4.0.5
                                        NPM version: 6.14.16
                                        npm install iobroker.js-controller@4.0.5 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
                                        In file included from ../../nan/nan.h:56,
                                                         from ../src/unix_dgram.cc:5:
                                        /home/iobroker/.cache/node-gyp/14.19.0/include/node/node.h:793:43: warning: cast between incompatible function types from âvoid (*)(v8::Local<v8::Object>)â to ânode::addon_register_funcâ {aka âvoid (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)â} [-Wcast-function-type]
                                          793 |       (node::addon_register_func) (regfunc),                          \
                                              |                                           ^
                                        /home/iobroker/.cache/node-gyp/14.19.0/include/node/node.h:827:3: note: in expansion of macro âNODE_MODULE_Xâ
                                          827 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                                              |   ^~~~~~~~~~~~~
                                        ../src/unix_dgram.cc:404:1: note: in expansion of macro âNODE_MODULEâ
                                          404 | NODE_MODULE(unix_dgram, Initialize)
                                              | ^~~~~~~~~~~
                                        Server Objects 127.0.0.1:51724 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.features.useSets"]
                                        Server States 127.0.0.1:42094 Error from InMemDB: Error: GET-UNSUPPORTED for namespace meta.: Data=["meta.states.protocolVersion"]
                                        Server Objects 127.0.0.1:51724 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.protocolVersion"]
                                        Server States 127.0.0.1:42096 Error from InMemDB: Error: PSUBSCRIBE-UNSUPPORTED for namespace meta.: Data=["meta.*"]
                                        Server Objects 127.0.0.1:51724 Error from InMemDB: Error: Unknown LUA script load
                                        Server Objects 127.0.0.1:51724 Error from InMemDB: Error: Unknown LUA script load
                                        Server Objects 127.0.0.1:51724 Error from InMemDB: Error: Unknown LUA script load
                                        Server Objects 127.0.0.1:51724 Error from InMemDB: Error: SET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.features.useSets",{"type":"Buffer","data":[49]}]
                                        Could not migrate objects to corresponding sets: Error SET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.features.useSets",{"type":"Buffer","data":[49]}]
                                        

                                        Hoffentlich ok so.

                                        iobroker@iobroker:/opt/iobroker$ iobroker start
                                        iobroker@iobroker:/opt/iobroker$ iobroker status
                                        iobroker is running on this host.
                                        
                                        
                                        Objects type: jsonl
                                        States  type: jsonl
                                        /usr/bin/iobroker: line 8: 37859 Killed                  node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js "$@"
                                        

                                        Die letzte Zeile kam nur beim ersten mal status. Danach nicht mehr.

                                        Meine /opt/iobroker/iobroker-data/iobroker.json enthält aber deutlich weniger Blöcke als hier gezeigt:
                                        https://github.com/ioBroker/ioBroker.js-controller/blob/master/packages/controller/conf/iobroker-dist.json#L53-L71

                                        {
                                          "system": {
                                            "memoryLimitMB": 0,
                                            "hostname": ""
                                          },
                                          "multihostService": {
                                            "enabled": false,
                                            "secure": true
                                          },
                                          "network": {
                                            "IPv4": true,
                                            "IPv6": true,
                                            "bindAddress": null,
                                            "useSystemNpm": true
                                          },
                                          "objects": {
                                            "type": "jsonl",
                                            "typeComment": "Possible values: 'file' - [port 9001], redis - [port 6379], couch - [port 5984].",
                                            "host": "127.0.0.1",
                                            "port": 9001,
                                            "user": "",
                                            "pass": "",
                                            "noFileCache": false,
                                            "connectTimeout": 2000,
                                            "writeFileInterval": 3600000,
                                            "options": {
                                              "auth_pass": null,
                                              "retry_max_delay": 5000
                                            }
                                          },
                                          "states": {
                                            "type": "jsonl",
                                            "typeComment": "Possible values: 'file' - [port 9000], 'redis' - [port 6379].",
                                            "host": "127.0.0.1",
                                            "port": 9000,
                                            "maxQueue": 1000,
                                            "writeFileInterval": 60000,
                                            "options": {
                                              "auth_pass": null,
                                              "retry_max_delay": 5000
                                            }
                                          },
                                          "log": {
                                            "level": "warn",
                                            "maxDays": 14,
                                            "noStdout": true,
                                            "transport": {
                                              "file1": {
                                                "zippedArchive": false,
                                                "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/"
                                        }
                                        


                                        Wie bekommt man die mal auf den neusten Standard?
                                        Wird bei jsonl objects.writeFileInterval: 3600000 und states.writeFileInterval: 60000 ignoriert?

                                        ..:: So long! Tom ::..

                                        NUC7i3 (Ubuntu Proxmox VM) | Echo Dots 2+3. Gen | Xiaomi Sensoren | Mi Robot 1S | Yeelight | Sonoff | Shelly | H801 RGB | Gosund SP1 | NodeMCU+ESP32 | Kostal Plenticore PV+BYD | openWB

                                        apollon77A 1 Antwort Letzte Antwort
                                        0
                                        • AlligatorA Offline
                                          AlligatorA Offline
                                          Alligator
                                          schrieb am zuletzt editiert von
                                          #181

                                          Hallo an alle,

                                          auch bei mir funktionieren keine Updates mehr!

                                          Node.js
                                          v14.19.0
                                          NPM
                                          v6.14.16

                                          Dem JS-Controller hatte ich auf 4.0.4 geupdatet und alle Instanzen sind auf Grün und laufen.

                                          Aber beim Versuch eines Updates läuft es durch aber der Adapter startet immer wieder mit der alten Version. auch ein Downgrade geht nicht.

                                          Ein Update auf denn JS-Controller 4.0.5 ging auch nicht. Bei dem versuch den JS-Controller per Downgrade auf 3.3.22 zu bringen wurde mir stattdessen der 4.0.5 eingespielt . Aber auch mit dem Funktioniert weder Update noch Downgrade. Auch ein erneuter versuch auf JS-Controller 3.3.22 Downzugraden blieb erfolglos.

                                          Installations Verlauf:

                                          $ iobroker upgrade iot@1.9.5
                                          
                                          Update iot from @1.9.3 to @1.9.5
                                          
                                          host.SmartHomeServer Adapter "system.adapter.iot.0" is stopped.
                                          
                                          NPM version: 6.14.16
                                          
                                          Installing iobroker.iot@1.9.5... (System call)
                                          
                                          Could not check npm version: This directory tree does not contain a package.json
                                          
                                          Assuming that correct version is installed.
                                          
                                          host.SmartHomeServer Adapter "system.adapter.iot.0" is started
                                          
                                          upload [18] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/actions.js actions.js application/javascript
                                          
                                          upload [17] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/alexalogo.png alexalogo.png image/png
                                          
                                          upload [16] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/asset-manifest.json asset-manifest.json application/json
                                          
                                          upload [15] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/blockly.js blockly.js application/javascript
                                          
                                          upload [14] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/favicon.ico favicon.ico image/vnd.microsoft.icon
                                          
                                          upload [13] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/index_m.html index_m.html text/html
                                          
                                          upload [12] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/iot.png iot.png image/png
                                          
                                          upload [11] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/manifest.json manifest.json application/json
                                          
                                          upload [10] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/css/2.faf2f676.chunk.css static/css/2.faf2f676.chunk.css text/css
                                          
                                          upload [9] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/css/2.faf2f676.chunk.css.map static/css/2.faf2f676.chunk.css.map application/json
                                          
                                          upload [8] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/css/main.e2d673ee.chunk.css static/css/main.e2d673ee.chunk.css text/css
                                          
                                          upload [7] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/css/main.e2d673ee.chunk.css.map static/css/main.e2d673ee.chunk.css.map application/json
                                          
                                          upload [6] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/js/2.1b9b16a0.chunk.js static/js/2.1b9b16a0.chunk.js application/javascript
                                          
                                          upload [5] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/js/2.1b9b16a0.chunk.js.LICENSE.txt static/js/2.1b9b16a0.chunk.js.LICENSE.txt text/plain
                                          
                                          upload [4] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/js/2.1b9b16a0.chunk.js.map static/js/2.1b9b16a0.chunk.js.map application/json
                                          
                                          upload [3] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/js/main.20d2f37b.chunk.js static/js/main.20d2f37b.chunk.js application/javascript
                                          
                                          upload [2] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/js/main.20d2f37b.chunk.js.map static/js/main.20d2f37b.chunk.js.map application/json
                                          
                                          upload [1] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/js/runtime-main.ef534f76.js static/js/runtime-main.ef534f76.js application/javascript
                                          
                                          upload [0] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/js/runtime-main.ef534f76.js.map static/js/runtime-main.ef534f76.js.map application/json
                                          
                                          Process exited with code 0
                                          

                                          und der dazugehörige LOG

                                          host.SmartHomeServer
                                          2022-02-09 12:05:01.891	info	instance system.adapter.dwd.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                                          host.SmartHomeServer
                                          2022-02-09 12:05:00.043	info	instance system.adapter.dwd.0 started with pid 19837
                                          
                                          iot.0
                                          2022-02-09 12:03:12.290	info	Connection changed: connect
                                          
                                          iot.0
                                          2022-02-09 12:03:11.887	warn	Cannot update api-secret: undefined
                                          
                                          iot.0
                                          2022-02-09 12:03:11.869	info	Connecting with a18wym7vjdl22g.iot.eu-west-1.amazonaws.com
                                          
                                          iot.0
                                          2022-02-09 12:03:11.846	info	starting. Version 1.9.3 in /opt/iobroker/node_modules/iobroker.iot, node: v14.19.0, js-controller: 4.0.5
                                          host.SmartHomeServer
                                          2022-02-09 12:03:11.046	info	instance system.adapter.iot.0 started with pid 19205
                                          host.SmartHomeServer
                                          2022-02-09 12:03:09.408	info	iobroker exit 0
                                          host.SmartHomeServer
                                          2022-02-09 12:03:08.393	info	iobroker upload [0] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/js/runtime-main.ef534f76.js.map static/js/runtime-main.ef534f76.js.map application/json
                                          host.SmartHomeServer
                                          2022-02-09 12:03:08.389	info	iobroker upload [1] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/js/runtime-main.ef534f76.js static/js/runtime-main.ef534f76.js application/javascript
                                          host.SmartHomeServer
                                          2022-02-09 12:03:08.385	info	iobroker upload [2] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/js/main.20d2f37b.chunk.js.map static/js/main.20d2f37b.chunk.js.map application/json
                                          host.SmartHomeServer
                                          2022-02-09 12:03:08.380	info	iobroker upload [3] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/js/main.20d2f37b.chunk.js static/js/main.20d2f37b.chunk.js application/javascript
                                          host.SmartHomeServer
                                          2022-02-09 12:03:08.374	info	instance system.adapter.iot.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                                          host.SmartHomeServer
                                          2022-02-09 12:03:08.149	info	iobroker upload [4] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/js/2.1b9b16a0.chunk.js.map static/js/2.1b9b16a0.chunk.js.map application/json
                                          host.SmartHomeServer
                                          2022-02-09 12:03:08.147	info	iobroker upload [5] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/js/2.1b9b16a0.chunk.js.LICENSE.txt static/js/2.1b9b16a0.chunk.js.LICENSE.txt text/plain
                                          host.SmartHomeServer
                                          2022-02-09 12:03:08.136	info	iobroker upload [6] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/js/2.1b9b16a0.chunk.js static/js/2.1b9b16a0.chunk.js application/javascript
                                          host.SmartHomeServer
                                          2022-02-09 12:03:08.133	info	iobroker upload [7] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/css/main.e2d673ee.chunk.css.map static/css/main.e2d673ee.chunk.css.map application/json
                                          host.SmartHomeServer
                                          2022-02-09 12:03:08.131	info	iobroker upload [8] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/css/main.e2d673ee.chunk.css static/css/main.e2d673ee.chunk.css text/css
                                          host.SmartHomeServer
                                          2022-02-09 12:03:08.129	info	iobroker upload [9] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/css/2.faf2f676.chunk.css.map static/css/2.faf2f676.chunk.css.map application/json
                                          host.SmartHomeServer
                                          2022-02-09 12:03:08.126	info	iobroker upload [10] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/css/2.faf2f676.chunk.css static/css/2.faf2f676.chunk.css text/css
                                          host.SmartHomeServer
                                          2022-02-09 12:03:08.123	info	iobroker upload [11] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/manifest.json manifest.json application/json
                                          host.SmartHomeServer
                                          2022-02-09 12:03:08.120	info	iobroker upload [12] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/iot.png iot.png image/png
                                          host.SmartHomeServer
                                          2022-02-09 12:03:08.100	info	iobroker upload [13] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/index_m.html index_m.html text/html
                                          host.SmartHomeServer
                                          2022-02-09 12:03:08.097	info	iobroker upload [14] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/favicon.ico favicon.ico image/vnd.microsoft.icon
                                          host.SmartHomeServer
                                          2022-02-09 12:03:08.094	info	iobroker upload [15] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/blockly.js blockly.js application/javascript
                                          host.SmartHomeServer
                                          2022-02-09 12:03:08.091	info	iobroker upload [16] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/asset-manifest.json asset-manifest.json application/json
                                          host.SmartHomeServer
                                          2022-02-09 12:03:08.087	info	iobroker upload [17] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/alexalogo.png alexalogo.png image/png
                                          host.SmartHomeServer
                                          2022-02-09 12:03:08.079	info	iobroker upload [18] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/actions.js actions.js application/javascript
                                          
                                          iot.0
                                          2022-02-09 12:03:07.957	info	Got terminate signal TERMINATE_YOURSELF
                                          host.SmartHomeServer
                                          2022-02-09 12:03:07.957	info	stopInstance system.adapter.iot.0 send kill signal
                                          host.SmartHomeServer
                                          2022-02-09 12:03:07.955	info	stopInstance system.adapter.iot.0 (force=false, process=true)
                                          host.SmartHomeServer
                                          2022-02-09 12:03:07.954	info	"system.adapter.iot.0" enabled
                                          host.SmartHomeServer
                                          2022-02-09 12:03:07.943	info	iobroker host.SmartHomeServer Adapter "system.adapter.iot.0" is started
                                          host.SmartHomeServer
                                          2022-02-09 12:03:07.943	error	iobroker Assuming that correct version is installed.
                                          host.SmartHomeServer
                                          2022-02-09 12:03:07.942	error	iobroker Could not check npm version: This directory tree does not contain a package.json
                                          host.SmartHomeServer
                                          2022-02-09 12:03:07.940	info	iobroker Installing iobroker.iot@1.9.5... (System call)
                                          host.SmartHomeServer
                                          2022-02-09 12:03:07.938	info	iobroker NPM version: 6.14.16
                                          
                                          iot.0
                                          2022-02-09 12:03:07.829	info	Connection lost
                                          
                                          iot.0
                                          2022-02-09 12:03:07.828	info	Connection changed: disconnect
                                          
                                          iot.0
                                          2022-02-09 12:03:07.782	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                          
                                          iot.0
                                          2022-02-09 12:03:07.781	info	terminating
                                          
                                          iot.0
                                          2022-02-09 12:03:07.778	info	Got terminate signal TERMINATE_YOURSELF
                                          host.SmartHomeServer
                                          2022-02-09 12:03:07.777	info	stopInstance system.adapter.iot.0 send kill signal
                                          host.SmartHomeServer
                                          2022-02-09 12:03:07.775	info	stopInstance system.adapter.iot.0 (force=false, process=true)
                                          host.SmartHomeServer
                                          2022-02-09 12:03:07.774	info	"system.adapter.iot.0" disabled
                                          host.SmartHomeServer
                                          2022-02-09 12:03:07.763	info	iobroker host.SmartHomeServer Adapter "system.adapter.iot.0" is stopped.
                                          host.SmartHomeServer
                                          2022-02-09 12:03:07.748	info	iobroker Update iot from @1.9.3 to @1.9.5
                                          host.SmartHomeServer
                                          2022-02-09 12:03:06.457	info	iobroker upgrade iot@1.9.5
                                          

                                          It's done when it's done, but it's never really finished!

                                          Lg euer Alligator :P

                                          System: Dell Optiplex3020 mit Intel i3, 8gb Ram und 120gb SSD (Debian 11 mit ioBrocker)

                                          PS: Wer Rechtschreibfehler findet darf sie gern behalten. Ich habe noch mehr davon. :)

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


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate
                                          FAQ Cloud / IOT
                                          HowTo: Node.js-Update
                                          HowTo: Backup/Restore
                                          Downloads
                                          BLOG

                                          763

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          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
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe