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

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

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Tester
  4. Alpha Test js-controller Kiera (v6.0)

NEWS

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

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

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

Alpha Test js-controller Kiera (v6.0)

Geplant Angeheftet Gesperrt Verschoben Tester
alphajs-controllerkieratest
234 Beiträge 20 Kommentatoren 44.6k Aufrufe 25 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.
  • mcm1957M mcm1957

    @foxriver76
    sql ist da aber eher der Gegenbeweis. Da steht ^3.0.3 drinnen. Und trotzdem crashed es.

    foxriver76F Offline
    foxriver76F Offline
    foxriver76
    Developer
    schrieb am zuletzt editiert von foxriver76
    #11

    @mcm1957 ne die offizielle version von sql hat 2.6.0 daher crasht es https://www.npmjs.com/package/iobroker.sql?activeTab=code

    Was auf GitHub steht hat keine Auswirkung wenn es nicht von GitHub installiert wurde

    Videotutorials & mehr

    Hier könnt ihr mich unterstützen.

    mcm1957M 1 Antwort Letzte Antwort
    0
    • foxriver76F foxriver76
      Aktuelle Test Version 6.0.0
      Veröffentlichungsdatum 22.05.2024

      Hallo ioBroker-Community,

      Heute möchte ich Euch den js-controller 6.0 für einen ersten Alpha-test zur Verfügung stellen. Dieser Post enthält alle wichtigen Infos.

      Node.js Versions-Anforderungen

      In diesem Release entfällt Node.js 14.x und 16.x. Die unterstützten Node.js Versionen sind: 18.x, 20.x und voraussichtlich 22.x. Die empfohlene Node.js Version für ioBroker haben wir vor kurzem auf 20.x angehoben.
      Bitte beachtet weiterhin bei Node.js Updates die Anleitung im Forum unter https://forum.iobroker.net/topic/64032/update-nodejs-best-practise-supported-14-16-und-18 !

      Informationen zur Version

      In dieser Version wurde die Umstellung des Quellcodes auf TypeScript nochmal vorangetrieben (5.X 76%, mit 6.X 90% der Codebase), wodurch am Ende die Stabilität weiter steigt weil viele Code-Fehler nicht mehr auftreten können.
      Ebenfalls läuft der Controller nun komplett als ESM Modul, was uns technisch alle Möglichkeiten offen hält und auch Adapter nun komplett als ESM Module laufen können und somit keine Einschränkungen mehr haben falls Dependencies nur für ESM verfügbar sind.
      Weiterhin sind auch einige neue Features unter anderem die Möglichkeit des automatisierten Adapter-Upgrades (Admin Funktionalität wird zeitnah implementiert), Informationen über das System Management (neue Pakete, restart nötig, ...) sowie das Management von geblockten Adapter-Versionen hinzugefügt.
      Auch wenn mit dieser Version keine neuen relevanten Prüfungen hinzukommen, die zu Log-Ausgaben bei Adaptern führen, meldet aktuelle Logausgaben bitte weiterhin bei den Adaptern.

      Detailliertere Informationen zu allen Änderungen und Features findet Ihr weiter unten und im Changelog. Ich hoffe auch diesmal auf Eure tatkräftige Unterstützung, sodass der Latest-Release dann genau so reibungslos verläuft wie bei den letzten Versionen.

      Für die aktive Mitarbeit an dieser Version des js-controller bedanke mich diesmal wieder besonders bei Apollon77, AlCalzone und natürlich Bluefox und auch ein paar weiteren Entwicklern!

      Darüber hinaus ist der js-controller 6.0 generell kompatibel mit allen bestehenden ioBroker-Systemen. Ein Update von der Version 5.x ist problemlos möglich.
      Ansonsten empfehlen wir ein schrittweises Update auf die 6.0 (3.3.x -> 4.0 -> 5.0).

      Installation

      VOR der Installation

      Wie bei jedem Test dieser Art: Bitte macht ein Backup! iobroker backup bzw kopieren des iobroker-data Verzeichnisses reichen an sich aus. Bitte nicht das node_modules Verzeichnis einfach kopieren, da sonst symbolische Links kaputt gehen können, was zu größeren Problemen danach führt.
      Eine alte 5.0.x-Version des js-controller kann im Notfall einfach wieder per npm install iobroker.js-controller@version ("version" durch die gewünschte Versionsnummer ersetzen) installiert werden und sollte alles wieder herstellen (Letzter Stable Stand ist die 5.0.19)

      Nötige Adapter-Aktualisierungen

      Am besten VOR dem js-controller Update alle verfügbaren Adapter-Updates prüfen und alle Updates installieren, die im Changelog auf Optimierungen oder Anpassungen für den js-controller 5.0 oder höher hinweisen.
      Mit den stable Versionen der jeweiligen Adapter sollten keine Probleme auftreten, falls doch bitte hier melden.

      Achtung: MASTER/SLAVE-Systeme Reihenfolgen beachten!

      Bei einem Multi-Host-System, welches auf js-controller 5.0.x läuft, ist es beim Update auf Version 6.0 empfohlen, zuerst das Master-System zu aktualisieren. Der Master muss dann wieder gestartet werden. Die Slaves werden danach aktualisiert!

      Bei Updates von Master/Slave-Systemen mit js-controller 4.x oder früher Bitte die jeweiligen Update Threads der empfohlenen Zwischenversionen prüfen.

      Windows

      Generell muss das Update manuell via npm installiert werden. Zusätzlich muss einmalig bei bestehenden Installationen der fixer ausgeführt werden und falls noch vorhanden die iobroker.bat gelöscht werden.

      Hierzu werden folgende Befehle genutzt:

      del iobroker.bat
      iob fix
      

      Anschließend im ioBroker-Verzeichnis nach stoppen des ioBroker den Befehl npm i iobroker.js-controller@next --omit=dev ausführen.

      Linux

      • ioBroker stoppen (iobroker stop)
      • Prüfen das keine Prozesse (Adapter, Backups) mehr laufen (ps auxww|grep io und auch ps auxww|grep backup). Es passiert manchmal das trotz dem Stoppen noch Zombies zurückbleiben
      • cd /opt/iobroker
      • Das Update erfolgt via npm i iobroker.js-controller@next --omit=dev
      • ioBroker starten (iobroker start)

      Bei Fehlern:

      Wenn bei der Installation Fehler wegen fehlender Zugriffsrechte auftreten, am besten den Installation-Fixer (iobroker fix wer schon einen js-controller 2.x oder höher hat, alternativ weiterhin manuell via curl -sL https://iobroker.net/fix.sh | bash -) nutzen und die Installation wiederholen.
      Falls es auch danach noch Fehler gibt, bitte die Installation erneut mittels sudo -H -u iobroker npm install iobroker.js-controller@next --omit=dev versuchen. Bitte berichtet solche Fälle hier im Thread.

      NACH der Installation

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

      Falls im Log Warn-Meldungen auftauchen mit dem Hinweis diese an den Entwickler zu senden, dann bitte schauen welcher Adapter es ist und entsprechend dort Issues bitte anlegen!
      Was hat sich geändert, was besonders ansehen/beachten?

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

      • generell siehe Changelog, speziell auch für die Features
      • generell bitte im CLI und auch sonst überall drüber schauen. Die Typescript und ESM Umstellungen haben sehr viel Code angefasst.

      Speziell die Entwickler sollten bitte die genannten Deprecations und neuen Features anschauen und beachten.

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

      6.0.1 Release Kiera

      Breaking changes

      • Support for Node.js 16 is dropped!
      • Binary states have been removed
      • Let's encrypt has been removed

      Features

      • (foxriver76) Added possibility to automatically upgrade adapters (see https://github.com/ioBroker/ioBroker.js-controller?tab=readme-ov-file#automatic-adapter-upgrade)
      • (foxriver76) if updates for OS packages are available a notification is generated (Linux only)
      • (foxriver76) the controller creates a notification if free disk space is critical (see https://github.com/ioBroker/ioBroker.js-controller?tab=readme-ov-file#disk-space-warnings)
      • (foxriver76) allow to ignore specific adapter versions (see https://github.com/ioBroker/ioBroker.js-controller?tab=readme-ov-file#ignoring-specific-adapter-version)
      • (foxriver76) if an adapter is blocklisted and thus stopped the controller now generates a notification
      • (foxriver76) allow to configure redis tls during setup custom

      Optimizations and fixes

      • (foxriver76) we now send SIGKILL instead of SIGTERM if adapter does not stop in normal time to prevent ghost processes
      • (foxriver76) prevent crash case if an invalid pattern is scanned in the database
      • (foxriver76) we now log the pid if a adapter process is stopped
      • (foxriver76/Apollon77) fixed crash case on file rotation
      • (foxriver76) optimized error messages and help text for cli commands url and install
      • (foxriver76) if users want to install non existing adapters we now hint to the url command instead of recommending the use of npm
      • (foxriver76) when interacting with aliases we no longer check permissions of the alias and the original object, we now only check the alias
      • (foxriver76) host object is now already created during setup first run, allowing eg to disable sentry globally before first start of ioBroker
      • (foxriver76) if the user sets a custom title for instances this is now preserved during upload
      • (foxriver76) on reinstallation of adapters we uninstall the package manually first to ensure a correct reinstall
      • (foxriver76) fixed problem on multihost discover
      • (foxriver76) if getState is called on a non existing or non linked alias we return null like for all other non existing states
      • (foxriver76) optimize alias subscribe performance for non-redis dbs
      • (foxriver76/bluefox/Apollon77) updated dependencies
      • (foxriver76/bluefox/Apollon77) minor fixes and stability improvements

      Developer relevant DEPRECATIONS/WARNINGS

      • (foxriver76) adapters need to specify adapter-core version 3.1.4 or higher or allow an upgrade to this version by specifying e.g. ^3.x.x
      • (foxriver76) it is now validated that obj.native is of type Record<string, unknown>
      • (foxriver76) Let's encrypt has been removed (@iobroker/webeserver should be used instead)
      • (foxriver76) deprecated delete/createState/channel/device methods
      • (foxriver76) deprecated ioPack common.license which is replaced by the new object common.licenseInfo
      • (foxriver76) ioPack mode subscribe has been removed as you can achieve the same with mode once and setting system.adapter.xy.alive state (also removed common.wakeup and common.subscribe because of this)

      Developer relevant new features

      • (foxriver76) js-controller (and thus the whole ioBroker) is now running as an ESM module internally while staying a 100 % backward compatible to adapters written in cjs
      • (foxriver76) adapters can now be written as ESM modules having full support (including compact mode)
      • (foxriver76) we provide all exports as ESM and as CJS to allow adapter developers to choose what to use
      • (foxriver76) added convenient methods to manage node modules (see https://github.com/ioBroker/ioBroker.js-controller?tab=readme-ov-file#managing-node-modules)
      • (foxriver76) allow to specify reason and exit code on adapter.stop
      • (foxriver76) if you blocklist a version in your io-package.json the controller won't start it anymore and will generate a notification
      • (foxriver76) for adapters of type schedule and connectionType set to cloud the schedule will be automatically delayed by up to 60 seconds randomly per user if the CRON does not contain a seconds argument, this is to prevent DDoS attacks

      Developer relevant optimizations and fixes

      • (foxriver76) fixed crash case if an malformed object was defined in ioPack instanceObjects
      • (foxriver76) when interacting with aliases we no longer check permissions of the alias and the original object, we now only check the alias
      • (foxriver76) if getState is called on a non-existing or non-linked alias we return null like for all other non-existing states
      • (foxriver76/bluefox) multiple improvements on type level

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

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

      Bitte checkt auch die "Known issues Liste" (zweiter Post) mit den Dingen die aktuell während der Alpha bekannt sind und bis zum Releasen noch angepasst werden.

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

      Bitte postet auch die Ausgabe von iob diag mit rein.
      Wir wünschen allen viel Spaß beim Testen und vielen Dank für Eure Unterstützung!

      Moritz

      FeuersturmF Online
      FeuersturmF Online
      Feuersturm
      schrieb am zuletzt editiert von
      #12

      @foxriver76 Ich habe meine System gerade einmal auf nodejs 20 (über iob nodejs-update 20 aktualisiert, da du ganz am Anfang geschrieben hattest, dass die Empfehlung jetzt nodejs20 ist.

      Wenn ich jetzt den js-controller installieren will kommt folgende Fehlermeldung

      proxmox@ioBrokerTestsystem:~$ iob stop
      proxmox@ioBrokerTestsystem:~$ cd /opt/iobroker/
      proxmox@ioBrokerTestsystem:/opt/iobroker$ npm i iobroker.js-controller@next --omit=dev
      npm ERR! code EBADENGINE
      npm ERR! engine Unsupported engine
      npm ERR! engine Not compatible with your version of node/npm: @appland/appmap-agent-js@13.9.1
      npm ERR! notsup Not compatible with your version of node/npm: @appland/appmap-agent-js@13.9.1
      npm ERR! notsup Required: {"node":"14.x.x || 16.x.x || 17.x.x || 18.x.x || 19.x.x"}
      npm ERR! notsup Actual:   {"npm":"10.5.2","node":"v20.13.1"}
      
      npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-05-22T11_53_14_435Z-debug-0.log
      
      

      iob diag:

      Skript v.2024-04-21
      
      *** BASE SYSTEM ***
      Static hostname: ioBrokerTestsystem
            Icon name: computer-container
              Chassis: container
       Virtualization: lxc
      Operating System: Ubuntu 22.04.4 LTS
               Kernel: Linux 6.5.13-1-pve
         Architecture: x86-64
      
      model name      : Intel(R) Celeron(R) CPU  N3150  @ 1.60GHz
      Docker          : false
      Virtualization  : lxc
      Kernel          : x86_64
      Userland        : 64 bit
      
      Systemuptime and Load:
      13:58:17 up 10:47,  2 users,  load average: 3.28, 2.65, 2.81
      CPU threads: 4
      
      
      *** Time and Time Zones ***
                    Local time: Wed 2024-05-22 13:58:18 CEST
                Universal time: Wed 2024-05-22 11:58:18 UTC
                      RTC time: n/a
                     Time zone: Europe/Berlin (CEST, +0200)
      System clock synchronized: yes
                   NTP service: inactive
               RTC in local TZ: no
      
      *** Users and Groups ***
      User that called 'iob diag':
      proxmox
      HOME=/home/proxmox
      GROUPS=proxmox sudo iobroker
      
      User that is running 'js-controller':
      js-controller is not running
      
      *** Display-Server-Setup ***
      Display-Server: false
      Desktop:
      Terminal:       tty
      Boot Target:    graphical.target
      
      *** MEMORY ***
                    total        used        free      shared  buff/cache   available
      Mem:            6.0G        313M        4.6G        0.0K        1.1G        5.7G
      Swap:           1.5G        0.0K        1.5G
      Total:          7.5G        313M        6.1G
      
      Active iob-Instances:   1
      
              6000 M total memory
               313 M used memory
               258 M active memory
               910 M inactive memory
              4600 M free memory
                 0 M buffer memory
              1086 M swap cache
              1512 M total swap
                 0 M used swap
              1511 M free swap
      
      *** top - Table Of Processes  ***
      top - 13:58:18 up 10:47,  2 users,  load average: 3.28, 2.65, 2.81
      Tasks:  37 total,   1 running,  36 sleeping,   0 stopped,   0 zombie
      %Cpu(s):  4.8 us, 14.3 sy,  0.0 ni, 81.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
      MiB Mem :   6000.0 total,   4599.5 free,    313.8 used,   1086.8 buff/cache
      MiB Swap:   1512.0 total,   1512.0 free,      0.0 used.   5686.2 avail Mem
      
      *** FAILED SERVICES ***
      
       UNIT                   LOAD   ACTIVE SUB    DESCRIPTION
      * run-rpc_pipefs.mount   loaded failed failed RPC Pipe File System
      * sys-kernel-debug.mount loaded failed failed Kernel Debug File System
      * iobroker.service       loaded failed failed ioBroker Server
      
      LOAD   = Reflects whether the unit definition was properly loaded.
      ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
      SUB    = The low-level unit activation state, values depend on unit type.
      3 loaded units listed.
      
      *** FILESYSTEM ***
      Filesystem                          Type   Size  Used Avail Use% Mounted on
      /dev/mapper/data2-vm--3108--disk--1 ext4    20G  9.3G  9.3G  51% /
      none                                tmpfs  492K  4.0K  488K   1% /dev
      tmpfs                               tmpfs  7.7G     0  7.7G   0% /dev/shm
      tmpfs                               tmpfs  3.1G  156K  3.1G   1% /run
      tmpfs                               tmpfs  5.0M     0  5.0M   0% /run/lock
      tmpfs                               tmpfs  1.0M     0  1.0M   0% /run/credentials/systemd-sysusers.service
      tmpfs                               tmpfs  1.6G     0  1.6G   0% /run/user/1001
      
      Messages concerning ext4 filesystem in dmesg:
      dmesg: read kernel buffer failed: Operation not permitted
      
      Show mounted filesystems:
      TARGET                                        SOURCE                              FSTYPE     OPTIONS
      /                                             /dev/mapper/data2-vm--3108--disk--1 ext4       rw,relatime,stripe=16
      |-/run                                        tmpfs                               tmpfs      rw,nosuid,nodev,size=3206044k,nr_inodes=819200,mode=755,uid=100000,gid=100000,inode64
      | |-/run/lock                                 tmpfs                               tmpfs      rw,nosuid,nodev,noexec,relatime,size=5120k,uid=100000,gid=100000,inode64
      | |-/run/credentials/systemd-sysusers.service tmpfs                               tmpfs      ro,nosuid,nodev,noexec,relatime,size=1024k,nr_inodes=1024,mode=700,uid=100000,gid=100000,inode64
      | `-/run/user/1001                            tmpfs                               tmpfs      rw,nosuid,nodev,relatime,size=1603020k,nr_inodes=400755,mode=700,uid=101001,gid=101001,inode64
      |-/dev                                        none                                tmpfs      rw,relatime,size=492k,mode=755,uid=100000,gid=100000,inode64
      | |-/dev/shm                                  tmpfs                               tmpfs      rw,nosuid,nodev,uid=100000,gid=100000,inode64
      | |-/dev/mqueue                               mqueue                              mqueue     rw,nosuid,nodev,noexec,relatime
      | |-/dev/full                                 udev[/full]                         devtmpfs   rw,nosuid,relatime,size=7981392k,nr_inodes=1995348,mode=755,inode64
      | |-/dev/null                                 udev[/null]                         devtmpfs   rw,nosuid,relatime,size=7981392k,nr_inodes=1995348,mode=755,inode64
      | |-/dev/random                               udev[/random]                       devtmpfs   rw,nosuid,relatime,size=7981392k,nr_inodes=1995348,mode=755,inode64
      | |-/dev/tty                                  udev[/tty]                          devtmpfs   rw,nosuid,relatime,size=7981392k,nr_inodes=1995348,mode=755,inode64
      | |-/dev/urandom                              udev[/urandom]                      devtmpfs   rw,nosuid,relatime,size=7981392k,nr_inodes=1995348,mode=755,inode64
      | |-/dev/zero                                 udev[/zero]                         devtmpfs   rw,nosuid,relatime,size=7981392k,nr_inodes=1995348,mode=755,inode64
      | |-/dev/pts                                  devpts                              devpts     rw,nosuid,noexec,relatime,gid=100005,mode=620,ptmxmode=666,max=1026
      | |-/dev/ptmx                                 devpts[/ptmx]                       devpts     rw,nosuid,noexec,relatime,gid=100005,mode=620,ptmxmode=666,max=1026
      | |-/dev/console                              devpts[/0]                          devpts     rw,nosuid,noexec,relatime,gid=100005,mode=620,ptmxmode=666,max=1026
      | |-/dev/tty1                                 devpts[/1]                          devpts     rw,nosuid,noexec,relatime,gid=100005,mode=620,ptmxmode=666,max=1026
      | `-/dev/tty2                                 devpts[/2]                          devpts     rw,nosuid,noexec,relatime,gid=100005,mode=620,ptmxmode=666,max=1026
      |-/proc                                       proc                                proc       rw,nosuid,nodev,noexec,relatime
      | |-/proc/sys                                 proc[/sys]                          proc       ro,relatime
      | | |-/proc/sys/net                           proc[/sys/net]                      proc       rw,nosuid,nodev,noexec,relatime
      | | `-/proc/sys/kernel/random/boot_id         none[/.lxc-boot-id]                 tmpfs      ro,nosuid,nodev,noexec,relatime,size=492k,mode=755,uid=100000,gid=100000,inode64
      | |-/proc/sysrq-trigger                       proc[/sysrq-trigger]                proc       ro,relatime
      | |-/proc/cpuinfo                             lxcfs[/proc/cpuinfo]                fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other
      | |-/proc/diskstats                           lxcfs[/proc/diskstats]              fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other
      | |-/proc/loadavg                             lxcfs[/proc/loadavg]                fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other
      | |-/proc/meminfo                             lxcfs[/proc/meminfo]                fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other
      | |-/proc/slabinfo                            lxcfs[/proc/slabinfo]               fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other
      | |-/proc/stat                                lxcfs[/proc/stat]                   fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other
      | |-/proc/swaps                               lxcfs[/proc/swaps]                  fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other
      | `-/proc/uptime                              lxcfs[/proc/uptime]                 fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other
      `-/sys                                        sysfs                               sysfs      ro,nosuid,nodev,noexec,relatime
       |-/sys/fs/fuse/connections                  fusectl                             fusectl    rw,nosuid,nodev,noexec,relatime
       |-/sys/devices/virtual/net                  sysfs[/devices/virtual/net]         sysfs      rw,nosuid,nodev,noexec,relatime
       |-/sys/fs/cgroup                            none                                cgroup2    rw,nosuid,nodev,noexec,relatime
       `-/sys/devices/system/cpu                   lxcfs[/sys/devices/system/cpu]      fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other
      
      Files in neuralgic directories:
      
      /var:
      1.6G    /var/
      698M    /var/log
      689M    /var/log/journal/db91a8d9813048b3b0d9627361bf92a2
      689M    /var/log/journal
      507M    /var/lib
      
      Hint: You are currently not seeing messages from other users and the system.
           Users in groups 'adm', 'systemd-journal' can see all messages.
           Pass -q to turn off this notice.
      Archived and active journals take up 48.0M in the file system.
      
      /opt/iobroker/backups:
      109M    /opt/iobroker/backups/
      
      /opt/iobroker/iobroker-data:
      1.3G    /opt/iobroker/iobroker-data/
      1.1G    /opt/iobroker/iobroker-data/files
      223M    /opt/iobroker/iobroker-data/files/vis
      215M    /opt/iobroker/iobroker-data/files/vis/widgets
      203M    /opt/iobroker/iobroker-data/files/vis-2
      
      The five largest files in iobroker-data are:
      35M     /opt/iobroker/iobroker-data/files/devices.admin/static/js/main.24f2bb56.js.map
      35M     /opt/iobroker/iobroker-data/files/device-manager.admin/build/tab.js.map
      27M     /opt/iobroker/iobroker-data/files/tankerkoenig.admin/build/index.js.map
      26M     /opt/iobroker/iobroker-data/files/scenes.admin/static/js/main.8947f24d.js.map
      24M     /opt/iobroker/iobroker-data/files/web.admin/static/js/main.135279a0.js.map
      
      USB-Devices by-id:
      USB-Sticks -  Avoid direct links to /dev/tty* in your adapter setups, please always prefer the links 'by-id':
      
      No Devices found 'by-id'
      
      
      
      
      *** NodeJS-Installation ***
      
      /usr/bin/nodejs         v20.13.1
      /usr/bin/node           v20.13.1
      /usr/bin/npm            10.5.2
      /usr/bin/npx            10.5.2
      /usr/bin/corepack       0.28.0
      
      
      nodejs:
       Installed: 20.13.1-1nodesource1
       Candidate: 20.13.1-1nodesource1
       Version table:
      *** 20.13.1-1nodesource1 1001
             500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
             100 /var/lib/dpkg/status
          20.13.0-1nodesource1 1001
             500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
          20.12.2-1nodesource1 1001
             500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
          20.12.1-1nodesource1 1001
             500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
          20.12.0-1nodesource1 1001
             500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
          20.11.1-1nodesource1 1001
             500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
          20.11.0-1nodesource1 1001
             500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
          20.10.0-1nodesource1 1001
             500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
          20.9.0-1nodesource1 1001
             500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
          20.8.1-1nodesource1 1001
             500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
          20.8.0-1nodesource1 1001
             500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
          20.7.0-1nodesource1 1001
             500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
          20.6.1-1nodesource1 1001
             500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
          20.6.0-1nodesource1 1001
             500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
          20.5.1-1nodesource1 1001
             500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
          20.5.0-1nodesource1 1001
             500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
          20.4.0-1nodesource1 1001
             500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
          20.3.1-1nodesource1 1001
             500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
          20.3.0-1nodesource1 1001
             500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
          20.2.0-1nodesource1 1001
             500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
          20.1.0-1nodesource1 1001
             500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
          20.0.0-1nodesource1 1001
             500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
          12.22.9~dfsg-1ubuntu3.5 500
             500 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages
             500 http://archive.ubuntu.com/ubuntu jammy-security/universe amd64 Packages
          12.22.9~dfsg-1ubuntu3 500
             500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
      
      Temp directories causing npm8 problem: 0
      No problems detected
      
      Errors in npm tree:
      
      *** ioBroker-Installation ***
      
      ioBroker Status
      iobroker is not running on this host.
      
      
      Objects type: jsonl
      States  type: jsonl
      
      Core adapters versions
      js-controller:  5.0.19
      admin:          6.17.11
      javascript:     8.3.1
      
      nodejs modules from github:     5
      +-- iobroker.fully-tablet-control@0.3.4-0 (git+ssh://git@github.com/xXBJXx/ioBroker.fully-tablet-control.git#7117121d4e659a2ddf69feb2698a4014588a5f94)
      +-- iobroker.rainbird@0.2.3 (git+ssh://git@github.com/StrathCole/ioBroker.rainbird.git#0caa24dcbb11024865ff9161c6f6bb5e6db6a9ce)
      +-- iobroker.samsung-community@0.5.0 (git+ssh://git@github.com/iobroker-community-adapters/ioBroker.samsung-community.git#dd5c173cf9056c3ab9bd45006f17bb639d9ff5f8)
      | +-- samsungtv@0.0.0 (git+ssh://git@github.com/luca-saggese/samsungtv.git#7fc20107455414e2afb94022682e0787e8635550)
      +-- iobroker.valloxmv@1.2.0 (git+ssh://git@github.com/hacki11/ioBroker.valloxmv.git#51ef16846b53016d658f1df5afa0cf42296000be)
      
      Adapter State
       system.adapter.admin.0                  : admin                 : ioBrokerTestsystem                       -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
       system.adapter.backitup.0               : backitup              : ioBrokerTestsystem                       -  enabled
       system.adapter.benchmark.0              : benchmark             : ioBrokerTestsystem                       - disabled
       system.adapter.daswetter.0              : daswetter             : ioBrokerTestsystem                       -  enabled
       system.adapter.device-manager.0         : device-manager        : ioBrokerTestsystem                       -  enabled
       system.adapter.device-watcher.0         : device-watcher        : ioBrokerTestsystem                       - disabled
       system.adapter.devices.0                : devices               : ioBrokerTestsystem                       - disabled
       system.adapter.discovery.0              : discovery             : ioBrokerNew                              -  enabled
       system.adapter.discovery.1              : discovery             : ioBrokerTestsystem                       -  enabled
       system.adapter.dwd.0                    : dwd                   : ioBrokerTestsystem                       -  enabled
       system.adapter.echarts.0                : echarts               : ioBrokerTestsystem                       -  enabled
       system.adapter.fritzbox.0               : fritzbox              : ioBrokerTestsystem                       -  enabled
       system.adapter.fully-tablet-control.0   : fully-tablet-control  : ioBrokerTestsystem                       - disabled
       system.adapter.history.1                : history               : ioBrokerNew                              - disabled
       system.adapter.hm-rega.0                : hm-rega               : ioBrokerTestsystem                       -  enabled
       system.adapter.hm-rpc.0                 : hm-rpc                : ioBrokerTestsystem                       -  enabled, port: 0
       system.adapter.hue.0                    : hue                   : ioBrokerTestsystem                       -  enabled, port: 443
       system.adapter.ical.0                   : ical                  : ioBrokerTestsystem                       - disabled
       system.adapter.ical.1                   : ical                  : ioBrokerTestsystem                       - disabled
       system.adapter.ical.2                   : ical                  : ioBrokerTestsystem                       - disabled
       system.adapter.ical.3                   : ical                  : ioBrokerTestsystem                       - disabled
       system.adapter.ical.4                   : ical                  : ioBrokerTestsystem                       - disabled
       system.adapter.ical.5                   : ical                  : ioBrokerTestsystem                       -  enabled
       system.adapter.icons-material-png.0     : icons-material-png    : ioBrokerTestsystem                       - disabled
       system.adapter.icons-mfd-svg.0          : icons-mfd-svg         : ioBrokerTestsystem                       - disabled
       system.adapter.icons-ultimate-png.0     : icons-ultimate-png    : ioBrokerTestsystem                       - disabled
       system.adapter.influxdb.0               : influxdb              : ioBrokerTestsystem                       -  enabled, port: 8086
       system.adapter.javascript.0             : javascript            : ioBrokerTestsystem                       -  enabled
       system.adapter.mqtt.0                   : mqtt                  : ioBrokerTestsystem                       - disabled, port: 1883, bind: 0.0.0.0
       system.adapter.nina.0                   : nina                  : ioBrokerTestsystem                       -  enabled
       system.adapter.openweathermap.0         : openweathermap        : ioBrokerTestsystem                       -  enabled
       system.adapter.proxmox.0                : proxmox               : ioBrokerTestsystem                       -  enabled, port: 8006
       system.adapter.rainbird.0               : rainbird              : ioBrokerTestsystem                       - disabled
       system.adapter.samsung-community.0      : samsung-community     : ioBrokerTestsystem                       - disabled
       system.adapter.sayit.0                  : sayit                 : ioBrokerTestsystem                       - disabled, port: 0
       system.adapter.scenes.0                 : scenes                : ioBrokerTestsystem                       -  enabled
       system.adapter.scheduler.0              : scheduler             : ioBrokerTestsystem                       - disabled
       system.adapter.simple-api.0             : simple-api            : ioBrokerTestsystem                       - disabled, port: 8087, bind: 0.0.0.0, run as: admin
       system.adapter.socketio.0               : socketio              : ioBrokerTestsystem                       - disabled, port: 8084, bind: 192.168.178.77, run as: admin
       system.adapter.spotify-premium.0        : spotify-premium       : ioBrokerTestsystem                       - disabled
       system.adapter.sql.0                    : sql                   : ioBrokerNew                              - disabled, port: 3306
       system.adapter.tankerkoenig.0           : tankerkoenig          : ioBrokerTestsystem                       -  enabled
       system.adapter.telegram.0               : telegram              : ioBrokerTestsystem                       - disabled, port: 8443, bind: 0.0.0.0
       system.adapter.tr-064.0                 : tr-064                : ioBrokerTestsystem                       -  enabled
       system.adapter.trashschedule.0          : trashschedule         : ioBrokerTestsystem                       -  enabled
       system.adapter.unifi.0                  : unifi                 : ioBrokerTestsystem                       -  enabled
       system.adapter.valloxmv.0               : valloxmv              : ioBrokerTestsystem                       - disabled, port: 80
       system.adapter.vis-2-widgets-energy.0   : vis-2-widgets-energy  : ioBrokerTestsystem                       - disabled
       system.adapter.vis-2-widgets-gauges.0   : vis-2-widgets-gauges  : ioBrokerTestsystem                       - disabled
       system.adapter.vis-2-widgets-jaeger-design.0: vis-2-widgets-jaeger-design: ioBrokerTestsystem                       - disabled
       system.adapter.vis-2-widgets-material.0 : vis-2-widgets-material: ioBrokerTestsystem                       - disabled
       system.adapter.vis-2.0                  : vis-2                 : ioBrokerTestsystem                       -  enabled
       system.adapter.vis-fancyswitch.0        : vis-fancyswitch       : ioBrokerTestsystem                       - disabled
       system.adapter.vis-google-fonts.0       : vis-google-fonts      : ioBrokerTestsystem                       -  enabled
       system.adapter.vis-history.0            : vis-history           : ioBrokerTestsystem                       - disabled
       system.adapter.vis-inventwo.0           : vis-inventwo          : ioBrokerTestsystem                       -  enabled
       system.adapter.vis-jqui-mfd.0           : vis-jqui-mfd          : ioBrokerTestsystem                       - disabled
       system.adapter.vis-justgage.0           : vis-justgage          : ioBrokerTestsystem                       - disabled
       system.adapter.vis-map.0                : vis-map               : ioBrokerTestsystem                       - disabled
       system.adapter.vis-materialdesign.0     : vis-materialdesign    : ioBrokerTestsystem                       - disabled
       system.adapter.vis-timeandweather.0     : vis-timeandweather    : ioBrokerTestsystem                       - disabled
       system.adapter.vis.0                    : vis                   : ioBrokerTestsystem                       -  enabled
       system.adapter.web.0                    : web                   : ioBrokerTestsystem                       -  enabled, port: 8082, bind: 192.168.178.77, run as: admin
       system.adapter.worx.0                   : worx                  : ioBrokerTestsystem                       - disabled
      
      + instance is alive
      
      Enabled adapters with bindings
       system.adapter.admin.0                  : admin                 : ioBrokerTestsystem                       -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
       system.adapter.hm-rpc.0                 : hm-rpc                : ioBrokerTestsystem                       -  enabled, port: 0
       system.adapter.hue.0                    : hue                   : ioBrokerTestsystem                       -  enabled, port: 443
       system.adapter.influxdb.0               : influxdb              : ioBrokerTestsystem                       -  enabled, port: 8086
       system.adapter.proxmox.0                : proxmox               : ioBrokerTestsystem                       -  enabled, port: 8006
       system.adapter.web.0                    : web                   : ioBrokerTestsystem                       -  enabled, port: 8082, bind: 192.168.178.77, run as: admin
      
      ioBroker-Repositories
      stable        : http://download.iobroker.net/sources-dist.json
      beta          : http://download.iobroker.net/sources-dist-latest.json
      
      Active repo(s): beta
      
      Installed ioBroker-Instances
      Used repository: beta
      Adapter    "admin"        : 6.17.11  , installed 6.17.11
      Adapter    "backitup"     : 2.11.0   , installed 2.11.0
      Adapter    "benchmark"    : 1.2.0    , installed 1.2.0
      Adapter    "daswetter"    : 3.1.13   , installed 3.1.13
      Adapter    "device-watcher": 2.12.1  , installed 2.12.1
      Adapter    "devices"      : 1.1.5    , installed 1.1.5
      Adapter    "discovery"    : 4.5.0    , installed 4.5.0
      Adapter    "dwd"          : 2.8.5    , installed 2.8.5
      Adapter    "echarts"      : 1.7.2    , installed 1.7.2
      Adapter    "fritzbox"     : 0.6.0    , installed 0.6.0
      Adapter    "hm-rega"      : 4.0.0    , installed 4.0.0
      Adapter    "hm-rpc"       : 1.17.0   , installed 1.17.0
      Adapter    "hue"          : 3.11.0   , installed 3.11.0
      Adapter    "ical"         : 1.15.0   , installed 1.15.0
      Adapter    "icons-material-png": 0.1.0, installed 0.1.0
      Adapter    "icons-mfd-svg": 1.2.0    , installed 1.2.0
      Adapter    "icons-ultimate-png": 1.0.1, installed 1.0.1
      Adapter    "influxdb"     : 4.0.2    , installed 4.0.2
      Adapter    "javascript"   : 8.3.1    , installed 8.3.1
      Controller "js-controller": 5.0.19   , installed 5.0.19
      Adapter    "mqtt"         : 5.2.0    , installed 5.2.0
      Adapter    "nina"         : 0.0.26   , installed 0.0.26
      Adapter    "openweathermap": 1.0.4   , installed 1.0.4
      Adapter    "proxmox"      : 2.3.0    , installed 2.3.0
      Adapter    "rainbird"     : 0.2.2    , installed 0.2.3
      Adapter    "sayit"        : 3.0.5    , installed 3.0.5
      Adapter    "scenes"       : 3.0.4    , installed 3.0.4
      Adapter    "scheduler"    : 1.3.12   , installed 1.3.12
      Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
      Adapter    "socketio"     : 6.7.0    , installed 6.7.0
      Adapter    "spotify-premium": 1.5.0  , installed 1.5.0
      Adapter    "tankerkoenig" : 3.4.0    , installed 3.4.0
      Adapter    "telegram"     : 3.2.1    , installed 3.2.1
      Adapter    "tr-064"       : 4.3.0    , installed 4.3.0
      Adapter    "trashschedule": 3.3.0    , installed 3.3.0
      Adapter    "unifi"        : 0.7.0    , installed 0.7.0
      Adapter    "valloxmv"     : 1.2.0    , installed 1.2.0
      Adapter    "vis"          : 1.5.6    , installed 1.5.6
      Adapter    "vis-2"        : 2.9.63   , installed 2.9.63
      Adapter    "vis-2-widgets-energy": 0.3.11, installed 0.3.11
      Adapter    "vis-2-widgets-gauges": 1.0.3, installed 1.0.3
      Adapter    "vis-2-widgets-jaeger-design": 1.1.23, installed 1.1.23
      Adapter    "vis-2-widgets-material": 1.3.32, installed 1.3.32
      Adapter    "vis-fancyswitch": 1.1.0  , installed 1.1.0
      Adapter    "vis-google-fonts": 1.0.4 , installed 1.0.4
      Adapter    "vis-history"  : 1.0.0    , installed 1.0.0
      Adapter    "vis-inventwo" : 3.3.4    , installed 3.3.4
      Adapter    "vis-jqui-mfd" : 1.1.1    , installed 1.1.1
      Adapter    "vis-justgage" : 2.1.7    , installed 2.1.7
      Adapter    "vis-map"      : 1.1.0    , installed 1.1.0
      Adapter    "vis-materialdesign": 0.5.9, installed 0.5.9
      Adapter    "vis-timeandweather": 1.2.2, installed 1.2.2
      Adapter    "web"          : 6.2.5    , installed 6.2.5
      Adapter    "worx"         : 3.0.2    , installed 3.0.2
      Adapter    "ws"           : 2.6.1    , installed 2.6.1
      
      Objects and States
      Please stand by - This may take a while
      Objects:        12986
      States:         11386
      
      *** OS-Repositories and Updates ***
      Hit:1 https://deb.nodesource.com/node_20.x nodistro InRelease
      Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease
      Hit:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
      Hit:4 http://archive.ubuntu.com/ubuntu jammy-security InRelease
      Reading package lists...
      Pending Updates: 0
      
      *** Listening Ports ***
      Active Internet connections (only servers)
      Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name
      tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      0          17872762   300/master
      tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      0          17873349   1/init
      tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          17872599   130/sshd: /usr/sbin
      tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN      102        17870806   95/systemd-resolved
      tcp6       0      0 :::3000                 :::*                    LISTEN      108        17876054   113/grafana-server
      tcp6       0      0 :::111                  :::*                    LISTEN      0          17873351   1/init
      tcp6       0      0 :::22                   :::*                    LISTEN      0          17872610   130/sshd: /usr/sbin
      tcp6       0      0 ::1:25                  :::*                    LISTEN      0          17872763   300/master
      udp        0      0 127.0.0.53:53           0.0.0.0:*                           102        17870805   95/systemd-resolved
      udp        0      0 0.0.0.0:111             0.0.0.0:*                           0          17873350   1/init
      udp6       0      0 :::111                  :::*                                0          17873352   1/init
      
      *** Log File - Last 25 Lines ***
      
      

      foxriver76F 1 Antwort Letzte Antwort
      0
      • foxriver76F foxriver76

        @mcm1957 ne die offizielle version von sql hat 2.6.0 daher crasht es https://www.npmjs.com/package/iobroker.sql?activeTab=code

        Was auf GitHub steht hat keine Auswirkung wenn es nicht von GitHub installiert wurde

        mcm1957M Online
        mcm1957M Online
        mcm1957
        schrieb am zuletzt editiert von mcm1957
        #13

        @foxriver76
        OK, sorry - mein Fehler.
        Ich bin davon ausgegangen dass jemand der js-controller 6 alpha installiert auch die latest Versionen der anderern Adapter installiert hat.

        Offenbar ist der SQL Adapter auf GH um einiges weiter als der npm / latest / stable Stand :sob:

        Alles klar soweit.

        Entwicklung u Betreuung: envertech-pv, hoymiles-ms, ns-client, pid, snmp Adapter;
        Support Repositoryverwaltung.

        Wer Danke sagen will, kann nen Kaffee spendieren: https://paypal.me/mcm1957atiobroker

        LESEN - gute Forenbeitrage

        foxriver76F 1 Antwort Letzte Antwort
        0
        • mcm1957M mcm1957

          @foxriver76
          OK, sorry - mein Fehler.
          Ich bin davon ausgegangen dass jemand der js-controller 6 alpha installiert auch die latest Versionen der anderern Adapter installiert hat.

          Offenbar ist der SQL Adapter auf GH um einiges weiter als der npm / latest / stable Stand :sob:

          Alles klar soweit.

          foxriver76F Offline
          foxriver76F Offline
          foxriver76
          Developer
          schrieb am zuletzt editiert von
          #14

          @mcm1957 Ja, es ist echt nur auf GitHub mit 3.x sql latest und stable ist 2 jahre alt

          Videotutorials & mehr

          Hier könnt ihr mich unterstützen.

          1 Antwort Letzte Antwort
          0
          • FeuersturmF Feuersturm

            @foxriver76 Ich habe meine System gerade einmal auf nodejs 20 (über iob nodejs-update 20 aktualisiert, da du ganz am Anfang geschrieben hattest, dass die Empfehlung jetzt nodejs20 ist.

            Wenn ich jetzt den js-controller installieren will kommt folgende Fehlermeldung

            proxmox@ioBrokerTestsystem:~$ iob stop
            proxmox@ioBrokerTestsystem:~$ cd /opt/iobroker/
            proxmox@ioBrokerTestsystem:/opt/iobroker$ npm i iobroker.js-controller@next --omit=dev
            npm ERR! code EBADENGINE
            npm ERR! engine Unsupported engine
            npm ERR! engine Not compatible with your version of node/npm: @appland/appmap-agent-js@13.9.1
            npm ERR! notsup Not compatible with your version of node/npm: @appland/appmap-agent-js@13.9.1
            npm ERR! notsup Required: {"node":"14.x.x || 16.x.x || 17.x.x || 18.x.x || 19.x.x"}
            npm ERR! notsup Actual:   {"npm":"10.5.2","node":"v20.13.1"}
            
            npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-05-22T11_53_14_435Z-debug-0.log
            
            

            iob diag:

            Skript v.2024-04-21
            
            *** BASE SYSTEM ***
            Static hostname: ioBrokerTestsystem
                  Icon name: computer-container
                    Chassis: container
             Virtualization: lxc
            Operating System: Ubuntu 22.04.4 LTS
                     Kernel: Linux 6.5.13-1-pve
               Architecture: x86-64
            
            model name      : Intel(R) Celeron(R) CPU  N3150  @ 1.60GHz
            Docker          : false
            Virtualization  : lxc
            Kernel          : x86_64
            Userland        : 64 bit
            
            Systemuptime and Load:
            13:58:17 up 10:47,  2 users,  load average: 3.28, 2.65, 2.81
            CPU threads: 4
            
            
            *** Time and Time Zones ***
                          Local time: Wed 2024-05-22 13:58:18 CEST
                      Universal time: Wed 2024-05-22 11:58:18 UTC
                            RTC time: n/a
                           Time zone: Europe/Berlin (CEST, +0200)
            System clock synchronized: yes
                         NTP service: inactive
                     RTC in local TZ: no
            
            *** Users and Groups ***
            User that called 'iob diag':
            proxmox
            HOME=/home/proxmox
            GROUPS=proxmox sudo iobroker
            
            User that is running 'js-controller':
            js-controller is not running
            
            *** Display-Server-Setup ***
            Display-Server: false
            Desktop:
            Terminal:       tty
            Boot Target:    graphical.target
            
            *** MEMORY ***
                          total        used        free      shared  buff/cache   available
            Mem:            6.0G        313M        4.6G        0.0K        1.1G        5.7G
            Swap:           1.5G        0.0K        1.5G
            Total:          7.5G        313M        6.1G
            
            Active iob-Instances:   1
            
                    6000 M total memory
                     313 M used memory
                     258 M active memory
                     910 M inactive memory
                    4600 M free memory
                       0 M buffer memory
                    1086 M swap cache
                    1512 M total swap
                       0 M used swap
                    1511 M free swap
            
            *** top - Table Of Processes  ***
            top - 13:58:18 up 10:47,  2 users,  load average: 3.28, 2.65, 2.81
            Tasks:  37 total,   1 running,  36 sleeping,   0 stopped,   0 zombie
            %Cpu(s):  4.8 us, 14.3 sy,  0.0 ni, 81.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
            MiB Mem :   6000.0 total,   4599.5 free,    313.8 used,   1086.8 buff/cache
            MiB Swap:   1512.0 total,   1512.0 free,      0.0 used.   5686.2 avail Mem
            
            *** FAILED SERVICES ***
            
             UNIT                   LOAD   ACTIVE SUB    DESCRIPTION
            * run-rpc_pipefs.mount   loaded failed failed RPC Pipe File System
            * sys-kernel-debug.mount loaded failed failed Kernel Debug File System
            * iobroker.service       loaded failed failed ioBroker Server
            
            LOAD   = Reflects whether the unit definition was properly loaded.
            ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
            SUB    = The low-level unit activation state, values depend on unit type.
            3 loaded units listed.
            
            *** FILESYSTEM ***
            Filesystem                          Type   Size  Used Avail Use% Mounted on
            /dev/mapper/data2-vm--3108--disk--1 ext4    20G  9.3G  9.3G  51% /
            none                                tmpfs  492K  4.0K  488K   1% /dev
            tmpfs                               tmpfs  7.7G     0  7.7G   0% /dev/shm
            tmpfs                               tmpfs  3.1G  156K  3.1G   1% /run
            tmpfs                               tmpfs  5.0M     0  5.0M   0% /run/lock
            tmpfs                               tmpfs  1.0M     0  1.0M   0% /run/credentials/systemd-sysusers.service
            tmpfs                               tmpfs  1.6G     0  1.6G   0% /run/user/1001
            
            Messages concerning ext4 filesystem in dmesg:
            dmesg: read kernel buffer failed: Operation not permitted
            
            Show mounted filesystems:
            TARGET                                        SOURCE                              FSTYPE     OPTIONS
            /                                             /dev/mapper/data2-vm--3108--disk--1 ext4       rw,relatime,stripe=16
            |-/run                                        tmpfs                               tmpfs      rw,nosuid,nodev,size=3206044k,nr_inodes=819200,mode=755,uid=100000,gid=100000,inode64
            | |-/run/lock                                 tmpfs                               tmpfs      rw,nosuid,nodev,noexec,relatime,size=5120k,uid=100000,gid=100000,inode64
            | |-/run/credentials/systemd-sysusers.service tmpfs                               tmpfs      ro,nosuid,nodev,noexec,relatime,size=1024k,nr_inodes=1024,mode=700,uid=100000,gid=100000,inode64
            | `-/run/user/1001                            tmpfs                               tmpfs      rw,nosuid,nodev,relatime,size=1603020k,nr_inodes=400755,mode=700,uid=101001,gid=101001,inode64
            |-/dev                                        none                                tmpfs      rw,relatime,size=492k,mode=755,uid=100000,gid=100000,inode64
            | |-/dev/shm                                  tmpfs                               tmpfs      rw,nosuid,nodev,uid=100000,gid=100000,inode64
            | |-/dev/mqueue                               mqueue                              mqueue     rw,nosuid,nodev,noexec,relatime
            | |-/dev/full                                 udev[/full]                         devtmpfs   rw,nosuid,relatime,size=7981392k,nr_inodes=1995348,mode=755,inode64
            | |-/dev/null                                 udev[/null]                         devtmpfs   rw,nosuid,relatime,size=7981392k,nr_inodes=1995348,mode=755,inode64
            | |-/dev/random                               udev[/random]                       devtmpfs   rw,nosuid,relatime,size=7981392k,nr_inodes=1995348,mode=755,inode64
            | |-/dev/tty                                  udev[/tty]                          devtmpfs   rw,nosuid,relatime,size=7981392k,nr_inodes=1995348,mode=755,inode64
            | |-/dev/urandom                              udev[/urandom]                      devtmpfs   rw,nosuid,relatime,size=7981392k,nr_inodes=1995348,mode=755,inode64
            | |-/dev/zero                                 udev[/zero]                         devtmpfs   rw,nosuid,relatime,size=7981392k,nr_inodes=1995348,mode=755,inode64
            | |-/dev/pts                                  devpts                              devpts     rw,nosuid,noexec,relatime,gid=100005,mode=620,ptmxmode=666,max=1026
            | |-/dev/ptmx                                 devpts[/ptmx]                       devpts     rw,nosuid,noexec,relatime,gid=100005,mode=620,ptmxmode=666,max=1026
            | |-/dev/console                              devpts[/0]                          devpts     rw,nosuid,noexec,relatime,gid=100005,mode=620,ptmxmode=666,max=1026
            | |-/dev/tty1                                 devpts[/1]                          devpts     rw,nosuid,noexec,relatime,gid=100005,mode=620,ptmxmode=666,max=1026
            | `-/dev/tty2                                 devpts[/2]                          devpts     rw,nosuid,noexec,relatime,gid=100005,mode=620,ptmxmode=666,max=1026
            |-/proc                                       proc                                proc       rw,nosuid,nodev,noexec,relatime
            | |-/proc/sys                                 proc[/sys]                          proc       ro,relatime
            | | |-/proc/sys/net                           proc[/sys/net]                      proc       rw,nosuid,nodev,noexec,relatime
            | | `-/proc/sys/kernel/random/boot_id         none[/.lxc-boot-id]                 tmpfs      ro,nosuid,nodev,noexec,relatime,size=492k,mode=755,uid=100000,gid=100000,inode64
            | |-/proc/sysrq-trigger                       proc[/sysrq-trigger]                proc       ro,relatime
            | |-/proc/cpuinfo                             lxcfs[/proc/cpuinfo]                fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other
            | |-/proc/diskstats                           lxcfs[/proc/diskstats]              fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other
            | |-/proc/loadavg                             lxcfs[/proc/loadavg]                fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other
            | |-/proc/meminfo                             lxcfs[/proc/meminfo]                fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other
            | |-/proc/slabinfo                            lxcfs[/proc/slabinfo]               fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other
            | |-/proc/stat                                lxcfs[/proc/stat]                   fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other
            | |-/proc/swaps                               lxcfs[/proc/swaps]                  fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other
            | `-/proc/uptime                              lxcfs[/proc/uptime]                 fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other
            `-/sys                                        sysfs                               sysfs      ro,nosuid,nodev,noexec,relatime
             |-/sys/fs/fuse/connections                  fusectl                             fusectl    rw,nosuid,nodev,noexec,relatime
             |-/sys/devices/virtual/net                  sysfs[/devices/virtual/net]         sysfs      rw,nosuid,nodev,noexec,relatime
             |-/sys/fs/cgroup                            none                                cgroup2    rw,nosuid,nodev,noexec,relatime
             `-/sys/devices/system/cpu                   lxcfs[/sys/devices/system/cpu]      fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other
            
            Files in neuralgic directories:
            
            /var:
            1.6G    /var/
            698M    /var/log
            689M    /var/log/journal/db91a8d9813048b3b0d9627361bf92a2
            689M    /var/log/journal
            507M    /var/lib
            
            Hint: You are currently not seeing messages from other users and the system.
                 Users in groups 'adm', 'systemd-journal' can see all messages.
                 Pass -q to turn off this notice.
            Archived and active journals take up 48.0M in the file system.
            
            /opt/iobroker/backups:
            109M    /opt/iobroker/backups/
            
            /opt/iobroker/iobroker-data:
            1.3G    /opt/iobroker/iobroker-data/
            1.1G    /opt/iobroker/iobroker-data/files
            223M    /opt/iobroker/iobroker-data/files/vis
            215M    /opt/iobroker/iobroker-data/files/vis/widgets
            203M    /opt/iobroker/iobroker-data/files/vis-2
            
            The five largest files in iobroker-data are:
            35M     /opt/iobroker/iobroker-data/files/devices.admin/static/js/main.24f2bb56.js.map
            35M     /opt/iobroker/iobroker-data/files/device-manager.admin/build/tab.js.map
            27M     /opt/iobroker/iobroker-data/files/tankerkoenig.admin/build/index.js.map
            26M     /opt/iobroker/iobroker-data/files/scenes.admin/static/js/main.8947f24d.js.map
            24M     /opt/iobroker/iobroker-data/files/web.admin/static/js/main.135279a0.js.map
            
            USB-Devices by-id:
            USB-Sticks -  Avoid direct links to /dev/tty* in your adapter setups, please always prefer the links 'by-id':
            
            No Devices found 'by-id'
            
            
            
            
            *** NodeJS-Installation ***
            
            /usr/bin/nodejs         v20.13.1
            /usr/bin/node           v20.13.1
            /usr/bin/npm            10.5.2
            /usr/bin/npx            10.5.2
            /usr/bin/corepack       0.28.0
            
            
            nodejs:
             Installed: 20.13.1-1nodesource1
             Candidate: 20.13.1-1nodesource1
             Version table:
            *** 20.13.1-1nodesource1 1001
                   500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                   100 /var/lib/dpkg/status
                20.13.0-1nodesource1 1001
                   500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                20.12.2-1nodesource1 1001
                   500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                20.12.1-1nodesource1 1001
                   500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                20.12.0-1nodesource1 1001
                   500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                20.11.1-1nodesource1 1001
                   500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                20.11.0-1nodesource1 1001
                   500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                20.10.0-1nodesource1 1001
                   500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                20.9.0-1nodesource1 1001
                   500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                20.8.1-1nodesource1 1001
                   500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                20.8.0-1nodesource1 1001
                   500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                20.7.0-1nodesource1 1001
                   500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                20.6.1-1nodesource1 1001
                   500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                20.6.0-1nodesource1 1001
                   500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                20.5.1-1nodesource1 1001
                   500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                20.5.0-1nodesource1 1001
                   500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                20.4.0-1nodesource1 1001
                   500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                20.3.1-1nodesource1 1001
                   500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                20.3.0-1nodesource1 1001
                   500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                20.2.0-1nodesource1 1001
                   500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                20.1.0-1nodesource1 1001
                   500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                20.0.0-1nodesource1 1001
                   500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                12.22.9~dfsg-1ubuntu3.5 500
                   500 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages
                   500 http://archive.ubuntu.com/ubuntu jammy-security/universe amd64 Packages
                12.22.9~dfsg-1ubuntu3 500
                   500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
            
            Temp directories causing npm8 problem: 0
            No problems detected
            
            Errors in npm tree:
            
            *** ioBroker-Installation ***
            
            ioBroker Status
            iobroker is not running on this host.
            
            
            Objects type: jsonl
            States  type: jsonl
            
            Core adapters versions
            js-controller:  5.0.19
            admin:          6.17.11
            javascript:     8.3.1
            
            nodejs modules from github:     5
            +-- iobroker.fully-tablet-control@0.3.4-0 (git+ssh://git@github.com/xXBJXx/ioBroker.fully-tablet-control.git#7117121d4e659a2ddf69feb2698a4014588a5f94)
            +-- iobroker.rainbird@0.2.3 (git+ssh://git@github.com/StrathCole/ioBroker.rainbird.git#0caa24dcbb11024865ff9161c6f6bb5e6db6a9ce)
            +-- iobroker.samsung-community@0.5.0 (git+ssh://git@github.com/iobroker-community-adapters/ioBroker.samsung-community.git#dd5c173cf9056c3ab9bd45006f17bb639d9ff5f8)
            | +-- samsungtv@0.0.0 (git+ssh://git@github.com/luca-saggese/samsungtv.git#7fc20107455414e2afb94022682e0787e8635550)
            +-- iobroker.valloxmv@1.2.0 (git+ssh://git@github.com/hacki11/ioBroker.valloxmv.git#51ef16846b53016d658f1df5afa0cf42296000be)
            
            Adapter State
             system.adapter.admin.0                  : admin                 : ioBrokerTestsystem                       -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
             system.adapter.backitup.0               : backitup              : ioBrokerTestsystem                       -  enabled
             system.adapter.benchmark.0              : benchmark             : ioBrokerTestsystem                       - disabled
             system.adapter.daswetter.0              : daswetter             : ioBrokerTestsystem                       -  enabled
             system.adapter.device-manager.0         : device-manager        : ioBrokerTestsystem                       -  enabled
             system.adapter.device-watcher.0         : device-watcher        : ioBrokerTestsystem                       - disabled
             system.adapter.devices.0                : devices               : ioBrokerTestsystem                       - disabled
             system.adapter.discovery.0              : discovery             : ioBrokerNew                              -  enabled
             system.adapter.discovery.1              : discovery             : ioBrokerTestsystem                       -  enabled
             system.adapter.dwd.0                    : dwd                   : ioBrokerTestsystem                       -  enabled
             system.adapter.echarts.0                : echarts               : ioBrokerTestsystem                       -  enabled
             system.adapter.fritzbox.0               : fritzbox              : ioBrokerTestsystem                       -  enabled
             system.adapter.fully-tablet-control.0   : fully-tablet-control  : ioBrokerTestsystem                       - disabled
             system.adapter.history.1                : history               : ioBrokerNew                              - disabled
             system.adapter.hm-rega.0                : hm-rega               : ioBrokerTestsystem                       -  enabled
             system.adapter.hm-rpc.0                 : hm-rpc                : ioBrokerTestsystem                       -  enabled, port: 0
             system.adapter.hue.0                    : hue                   : ioBrokerTestsystem                       -  enabled, port: 443
             system.adapter.ical.0                   : ical                  : ioBrokerTestsystem                       - disabled
             system.adapter.ical.1                   : ical                  : ioBrokerTestsystem                       - disabled
             system.adapter.ical.2                   : ical                  : ioBrokerTestsystem                       - disabled
             system.adapter.ical.3                   : ical                  : ioBrokerTestsystem                       - disabled
             system.adapter.ical.4                   : ical                  : ioBrokerTestsystem                       - disabled
             system.adapter.ical.5                   : ical                  : ioBrokerTestsystem                       -  enabled
             system.adapter.icons-material-png.0     : icons-material-png    : ioBrokerTestsystem                       - disabled
             system.adapter.icons-mfd-svg.0          : icons-mfd-svg         : ioBrokerTestsystem                       - disabled
             system.adapter.icons-ultimate-png.0     : icons-ultimate-png    : ioBrokerTestsystem                       - disabled
             system.adapter.influxdb.0               : influxdb              : ioBrokerTestsystem                       -  enabled, port: 8086
             system.adapter.javascript.0             : javascript            : ioBrokerTestsystem                       -  enabled
             system.adapter.mqtt.0                   : mqtt                  : ioBrokerTestsystem                       - disabled, port: 1883, bind: 0.0.0.0
             system.adapter.nina.0                   : nina                  : ioBrokerTestsystem                       -  enabled
             system.adapter.openweathermap.0         : openweathermap        : ioBrokerTestsystem                       -  enabled
             system.adapter.proxmox.0                : proxmox               : ioBrokerTestsystem                       -  enabled, port: 8006
             system.adapter.rainbird.0               : rainbird              : ioBrokerTestsystem                       - disabled
             system.adapter.samsung-community.0      : samsung-community     : ioBrokerTestsystem                       - disabled
             system.adapter.sayit.0                  : sayit                 : ioBrokerTestsystem                       - disabled, port: 0
             system.adapter.scenes.0                 : scenes                : ioBrokerTestsystem                       -  enabled
             system.adapter.scheduler.0              : scheduler             : ioBrokerTestsystem                       - disabled
             system.adapter.simple-api.0             : simple-api            : ioBrokerTestsystem                       - disabled, port: 8087, bind: 0.0.0.0, run as: admin
             system.adapter.socketio.0               : socketio              : ioBrokerTestsystem                       - disabled, port: 8084, bind: 192.168.178.77, run as: admin
             system.adapter.spotify-premium.0        : spotify-premium       : ioBrokerTestsystem                       - disabled
             system.adapter.sql.0                    : sql                   : ioBrokerNew                              - disabled, port: 3306
             system.adapter.tankerkoenig.0           : tankerkoenig          : ioBrokerTestsystem                       -  enabled
             system.adapter.telegram.0               : telegram              : ioBrokerTestsystem                       - disabled, port: 8443, bind: 0.0.0.0
             system.adapter.tr-064.0                 : tr-064                : ioBrokerTestsystem                       -  enabled
             system.adapter.trashschedule.0          : trashschedule         : ioBrokerTestsystem                       -  enabled
             system.adapter.unifi.0                  : unifi                 : ioBrokerTestsystem                       -  enabled
             system.adapter.valloxmv.0               : valloxmv              : ioBrokerTestsystem                       - disabled, port: 80
             system.adapter.vis-2-widgets-energy.0   : vis-2-widgets-energy  : ioBrokerTestsystem                       - disabled
             system.adapter.vis-2-widgets-gauges.0   : vis-2-widgets-gauges  : ioBrokerTestsystem                       - disabled
             system.adapter.vis-2-widgets-jaeger-design.0: vis-2-widgets-jaeger-design: ioBrokerTestsystem                       - disabled
             system.adapter.vis-2-widgets-material.0 : vis-2-widgets-material: ioBrokerTestsystem                       - disabled
             system.adapter.vis-2.0                  : vis-2                 : ioBrokerTestsystem                       -  enabled
             system.adapter.vis-fancyswitch.0        : vis-fancyswitch       : ioBrokerTestsystem                       - disabled
             system.adapter.vis-google-fonts.0       : vis-google-fonts      : ioBrokerTestsystem                       -  enabled
             system.adapter.vis-history.0            : vis-history           : ioBrokerTestsystem                       - disabled
             system.adapter.vis-inventwo.0           : vis-inventwo          : ioBrokerTestsystem                       -  enabled
             system.adapter.vis-jqui-mfd.0           : vis-jqui-mfd          : ioBrokerTestsystem                       - disabled
             system.adapter.vis-justgage.0           : vis-justgage          : ioBrokerTestsystem                       - disabled
             system.adapter.vis-map.0                : vis-map               : ioBrokerTestsystem                       - disabled
             system.adapter.vis-materialdesign.0     : vis-materialdesign    : ioBrokerTestsystem                       - disabled
             system.adapter.vis-timeandweather.0     : vis-timeandweather    : ioBrokerTestsystem                       - disabled
             system.adapter.vis.0                    : vis                   : ioBrokerTestsystem                       -  enabled
             system.adapter.web.0                    : web                   : ioBrokerTestsystem                       -  enabled, port: 8082, bind: 192.168.178.77, run as: admin
             system.adapter.worx.0                   : worx                  : ioBrokerTestsystem                       - disabled
            
            + instance is alive
            
            Enabled adapters with bindings
             system.adapter.admin.0                  : admin                 : ioBrokerTestsystem                       -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
             system.adapter.hm-rpc.0                 : hm-rpc                : ioBrokerTestsystem                       -  enabled, port: 0
             system.adapter.hue.0                    : hue                   : ioBrokerTestsystem                       -  enabled, port: 443
             system.adapter.influxdb.0               : influxdb              : ioBrokerTestsystem                       -  enabled, port: 8086
             system.adapter.proxmox.0                : proxmox               : ioBrokerTestsystem                       -  enabled, port: 8006
             system.adapter.web.0                    : web                   : ioBrokerTestsystem                       -  enabled, port: 8082, bind: 192.168.178.77, run as: admin
            
            ioBroker-Repositories
            stable        : http://download.iobroker.net/sources-dist.json
            beta          : http://download.iobroker.net/sources-dist-latest.json
            
            Active repo(s): beta
            
            Installed ioBroker-Instances
            Used repository: beta
            Adapter    "admin"        : 6.17.11  , installed 6.17.11
            Adapter    "backitup"     : 2.11.0   , installed 2.11.0
            Adapter    "benchmark"    : 1.2.0    , installed 1.2.0
            Adapter    "daswetter"    : 3.1.13   , installed 3.1.13
            Adapter    "device-watcher": 2.12.1  , installed 2.12.1
            Adapter    "devices"      : 1.1.5    , installed 1.1.5
            Adapter    "discovery"    : 4.5.0    , installed 4.5.0
            Adapter    "dwd"          : 2.8.5    , installed 2.8.5
            Adapter    "echarts"      : 1.7.2    , installed 1.7.2
            Adapter    "fritzbox"     : 0.6.0    , installed 0.6.0
            Adapter    "hm-rega"      : 4.0.0    , installed 4.0.0
            Adapter    "hm-rpc"       : 1.17.0   , installed 1.17.0
            Adapter    "hue"          : 3.11.0   , installed 3.11.0
            Adapter    "ical"         : 1.15.0   , installed 1.15.0
            Adapter    "icons-material-png": 0.1.0, installed 0.1.0
            Adapter    "icons-mfd-svg": 1.2.0    , installed 1.2.0
            Adapter    "icons-ultimate-png": 1.0.1, installed 1.0.1
            Adapter    "influxdb"     : 4.0.2    , installed 4.0.2
            Adapter    "javascript"   : 8.3.1    , installed 8.3.1
            Controller "js-controller": 5.0.19   , installed 5.0.19
            Adapter    "mqtt"         : 5.2.0    , installed 5.2.0
            Adapter    "nina"         : 0.0.26   , installed 0.0.26
            Adapter    "openweathermap": 1.0.4   , installed 1.0.4
            Adapter    "proxmox"      : 2.3.0    , installed 2.3.0
            Adapter    "rainbird"     : 0.2.2    , installed 0.2.3
            Adapter    "sayit"        : 3.0.5    , installed 3.0.5
            Adapter    "scenes"       : 3.0.4    , installed 3.0.4
            Adapter    "scheduler"    : 1.3.12   , installed 1.3.12
            Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
            Adapter    "socketio"     : 6.7.0    , installed 6.7.0
            Adapter    "spotify-premium": 1.5.0  , installed 1.5.0
            Adapter    "tankerkoenig" : 3.4.0    , installed 3.4.0
            Adapter    "telegram"     : 3.2.1    , installed 3.2.1
            Adapter    "tr-064"       : 4.3.0    , installed 4.3.0
            Adapter    "trashschedule": 3.3.0    , installed 3.3.0
            Adapter    "unifi"        : 0.7.0    , installed 0.7.0
            Adapter    "valloxmv"     : 1.2.0    , installed 1.2.0
            Adapter    "vis"          : 1.5.6    , installed 1.5.6
            Adapter    "vis-2"        : 2.9.63   , installed 2.9.63
            Adapter    "vis-2-widgets-energy": 0.3.11, installed 0.3.11
            Adapter    "vis-2-widgets-gauges": 1.0.3, installed 1.0.3
            Adapter    "vis-2-widgets-jaeger-design": 1.1.23, installed 1.1.23
            Adapter    "vis-2-widgets-material": 1.3.32, installed 1.3.32
            Adapter    "vis-fancyswitch": 1.1.0  , installed 1.1.0
            Adapter    "vis-google-fonts": 1.0.4 , installed 1.0.4
            Adapter    "vis-history"  : 1.0.0    , installed 1.0.0
            Adapter    "vis-inventwo" : 3.3.4    , installed 3.3.4
            Adapter    "vis-jqui-mfd" : 1.1.1    , installed 1.1.1
            Adapter    "vis-justgage" : 2.1.7    , installed 2.1.7
            Adapter    "vis-map"      : 1.1.0    , installed 1.1.0
            Adapter    "vis-materialdesign": 0.5.9, installed 0.5.9
            Adapter    "vis-timeandweather": 1.2.2, installed 1.2.2
            Adapter    "web"          : 6.2.5    , installed 6.2.5
            Adapter    "worx"         : 3.0.2    , installed 3.0.2
            Adapter    "ws"           : 2.6.1    , installed 2.6.1
            
            Objects and States
            Please stand by - This may take a while
            Objects:        12986
            States:         11386
            
            *** OS-Repositories and Updates ***
            Hit:1 https://deb.nodesource.com/node_20.x nodistro InRelease
            Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease
            Hit:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
            Hit:4 http://archive.ubuntu.com/ubuntu jammy-security InRelease
            Reading package lists...
            Pending Updates: 0
            
            *** Listening Ports ***
            Active Internet connections (only servers)
            Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name
            tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      0          17872762   300/master
            tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      0          17873349   1/init
            tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          17872599   130/sshd: /usr/sbin
            tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN      102        17870806   95/systemd-resolved
            tcp6       0      0 :::3000                 :::*                    LISTEN      108        17876054   113/grafana-server
            tcp6       0      0 :::111                  :::*                    LISTEN      0          17873351   1/init
            tcp6       0      0 :::22                   :::*                    LISTEN      0          17872610   130/sshd: /usr/sbin
            tcp6       0      0 ::1:25                  :::*                    LISTEN      0          17872763   300/master
            udp        0      0 127.0.0.53:53           0.0.0.0:*                           102        17870805   95/systemd-resolved
            udp        0      0 0.0.0.0:111             0.0.0.0:*                           0          17873350   1/init
            udp6       0      0 :::111                  :::*                                0          17873352   1/init
            
            *** Log File - Last 25 Lines ***
            
            

            foxriver76F Offline
            foxriver76F Offline
            foxriver76
            Developer
            schrieb am zuletzt editiert von
            #15

            @feuersturm sagte in Alpha Test js-controller Kiera (v6.0):

            @appland/appmap-agent-js

            das dürfte nicht vom controller kommen, mach mal npm ls @appland/appmap-agent-js in /opt/iobroker

            Videotutorials & mehr

            Hier könnt ihr mich unterstützen.

            FeuersturmF 1 Antwort Letzte Antwort
            0
            • foxriver76F foxriver76

              @feuersturm sagte in Alpha Test js-controller Kiera (v6.0):

              @appland/appmap-agent-js

              das dürfte nicht vom controller kommen, mach mal npm ls @appland/appmap-agent-js in /opt/iobroker

              FeuersturmF Online
              FeuersturmF Online
              Feuersturm
              schrieb am zuletzt editiert von
              #16

              @foxriver76 Das ist die Ausgabe

              proxmox@ioBrokerTestsystem:/opt/iobroker$ npm ls @appland/appmap-agent-js
              iobroker.inst@2.0.3 /opt/iobroker
              `-- iobroker.device-manager@0.0.3
                `-- @appland/appmap-agent-js@13.9.1
              
              
              foxriver76F 1 Antwort Letzte Antwort
              0
              • FeuersturmF Feuersturm

                @foxriver76 Das ist die Ausgabe

                proxmox@ioBrokerTestsystem:/opt/iobroker$ npm ls @appland/appmap-agent-js
                iobroker.inst@2.0.3 /opt/iobroker
                `-- iobroker.device-manager@0.0.3
                  `-- @appland/appmap-agent-js@13.9.1
                
                
                foxriver76F Offline
                foxriver76F Offline
                foxriver76
                Developer
                schrieb am zuletzt editiert von
                #17

                @feuersturm die inkompatible dependency bringt der device-manager Adapter mit, gerne dort mal ein Issue eröffnen. Ansonsten kannst du natürlich auch gerne mit node v18 testen.

                Videotutorials & mehr

                Hier könnt ihr mich unterstützen.

                FeuersturmF 1 Antwort Letzte Antwort
                0
                • foxriver76F foxriver76

                  @feuersturm die inkompatible dependency bringt der device-manager Adapter mit, gerne dort mal ein Issue eröffnen. Ansonsten kannst du natürlich auch gerne mit node v18 testen.

                  FeuersturmF Online
                  FeuersturmF Online
                  Feuersturm
                  schrieb am zuletzt editiert von
                  #18

                  @foxriver76 Danke. Issue https://github.com/ioBroker/ioBroker.device-manager/issues/42 wurde beim device-manager erstellt. Dann mach ich mal ein downgrade :-)

                  mcm1957M 1 Antwort Letzte Antwort
                  0
                  • FeuersturmF Online
                    FeuersturmF Online
                    Feuersturm
                    schrieb am zuletzt editiert von
                    #19

                    @foxriver76 Nach dem Downgrade auf nodejs18 ging die Installation vom js-controller6 ohne Probleme.
                    Beim Start wirft der Admin Adapter 6.17.11 fehler und kann nicht gestartet werden.

                    2024-05-22 14:28:04.907  - info: host.ioBrokerTestsystem iobroker.js-controller version 6.0.0 js-controller starting
                    2024-05-22 14:28:04.921  - info: host.ioBrokerTestsystem Copyright (c) 2014-2023 bluefox, 2014 hobbyquaker
                    2024-05-22 14:28:04.925  - info: host.ioBrokerTestsystem hostname: ioBrokerTestsystem, node: v18.20.3
                    2024-05-22 14:28:04.929  - info: host.ioBrokerTestsystem ip addresses: 192.168.178.77 fe80::f854:cfff:fe5f:6c25
                    2024-05-22 14:28:07.666  - info: host.ioBrokerTestsystem connected to Objects and States
                    2024-05-22 14:28:07.713  - info: host.ioBrokerTestsystem added notifications configuration of host
                    2024-05-22 14:28:08.866  - info: host.ioBrokerTestsystem 64 instances found
                    2024-05-22 14:28:08.975  - info: host.ioBrokerTestsystem starting 27 instances
                    2024-05-22 14:28:09.740  - info: host.ioBrokerTestsystem Delete state "system.host.ioBrokerTestsystem.versions.nodeCurrent"
                    2024-05-22 14:28:09.822  - info: host.ioBrokerTestsystem Delete state "system.host.ioBrokerTestsystem.versions.nodeNewest"
                    2024-05-22 14:28:09.893  - info: host.ioBrokerTestsystem Delete state "system.host.ioBrokerTestsystem.versions.nodeNewestNext"
                    2024-05-22 14:28:09.929  - info: host.ioBrokerTestsystem instance system.adapter.admin.0 started with pid 19670
                    2024-05-22 14:28:10.082  - info: host.ioBrokerTestsystem Delete state "system.host.ioBrokerTestsystem.versions.npmCurrent"
                    2024-05-22 14:28:10.108  - info: host.ioBrokerTestsystem Delete state "system.host.ioBrokerTestsystem.versions.npmNewest"
                    2024-05-22 14:28:10.126  - info: host.ioBrokerTestsystem Delete state "system.host.ioBrokerTestsystem.versions.npmNewestNext"
                    2024-05-22 14:28:10.137  - info: host.ioBrokerTestsystem Some obsolete host states deleted.
                    2024-05-22 14:28:13.695  - info: host.ioBrokerTestsystem instance system.adapter.influxdb.0 started with pid 19677
                    2024-05-22 14:28:16.342  - info: admin.0 (19670) starting. Version 6.17.11 in /opt/iobroker/node_modules/iobroker.admin, node: v18.20.3, js-controller: 6.0.0
                    2024-05-22 14:28:16.436  - info: admin.0 (19670) requesting all objects
                    2024-05-22 14:28:20.148  - info: admin.0 (19670) received all objects
                    2024-05-22 14:28:20.331  - info: host.ioBrokerTestsystem instance system.adapter.javascript.0 started with pid 19708
                    2024-05-22 14:28:20.749  - error: admin.0 (19670) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                    2024-05-22 14:28:20.753  - error: admin.0 (19670) unhandled promise rejection: utils.commonTools.session is not a function
                    2024-05-22 14:28:20.768  - error: admin.0 (19670) TypeError: utils.commonTools.session is not a function
                        at Web.#init (/opt/iobroker/node_modules/iobroker.admin/build-backend/lib/web.js:451:50)
                        at new Web (/opt/iobroker/node_modules/iobroker.admin/build-backend/lib/web.js:167:19)
                        at /opt/iobroker/node_modules/iobroker.admin/build-backend/main.js:1289:46
                        at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.admin/build-backend/main.js:1136:25)
                        at processImmediate (node:internal/timers:478:21)
                    2024-05-22 14:28:20.772  - error: admin.0 (19670) utils.commonTools.session is not a function
                    2024-05-22 14:28:21.208  - info: admin.0 (19670) terminating http server on port 8081
                    2024-05-22 14:28:21.215  - info: admin.0 (19670) terminating
                    2024-05-22 14:28:21.221  - warn: admin.0 (19670) Terminated (UNCAUGHT_EXCEPTION): Without reason
                    2024-05-22 14:28:21.237  - info: admin.0 (19670) Request actual repository...
                    2024-05-22 14:28:21.738  - info: admin.0 (19670) terminating
                    2024-05-22 14:28:22.423  - warn: admin.0 (19670) redis get admin.0.info.newsLastId, error - Connection is closed.
                    2024-05-22 14:28:22.445  - warn: admin.0 (19670) get state error: Connection is closed.
                    2024-05-22 14:28:22.518  - warn: admin.0 (19670) get state error: Connection is closed.
                    2024-05-22 14:28:22.526  - warn: admin.0 (19670) get state error: Connection is closed.
                    2024-05-22 14:28:22.530  - warn: admin.0 (19670) get state error: Connection is closed.
                    2024-05-22 14:28:22.534  - warn: admin.0 (19670) get state error: Connection is closed.
                    2024-05-22 14:28:22.538  - warn: admin.0 (19670) get state error: Connection is closed.
                    2024-05-22 14:28:22.594  - warn: admin.0 (19670) Cannot check node.js/npm version
                    2024-05-22 14:28:22.981  - error: host.ioBrokerTestsystem Caught by controller[0]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
                    2024-05-22 14:28:22.986  - error: host.ioBrokerTestsystem Caught by controller[0]: TypeError: utils.commonTools.session is not a function
                    2024-05-22 14:28:22.992  - error: host.ioBrokerTestsystem Caught by controller[0]:     at Web.#init (/opt/iobroker/node_modules/iobroker.admin/build-backend/lib/web.js:451:50)
                    2024-05-22 14:28:22.997  - error: host.ioBrokerTestsystem Caught by controller[0]:     at new Web (/opt/iobroker/node_modules/iobroker.admin/build-backend/lib/web.js:167:19)
                    2024-05-22 14:28:23.001  - error: host.ioBrokerTestsystem Caught by controller[0]:     at /opt/iobroker/node_modules/iobroker.admin/build-backend/main.js:1289:46
                    2024-05-22 14:28:23.007  - error: host.ioBrokerTestsystem Caught by controller[0]:     at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.admin/build-backend/main.js:1136:25)
                    2024-05-22 14:28:23.011  - error: host.ioBrokerTestsystem Caught by controller[0]:     at processImmediate (node:internal/timers:478:21)
                    2024-05-22 14:28:23.015  - error: host.ioBrokerTestsystem instance system.adapter.admin.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                    
                    
                    foxriver76F 1 Antwort Letzte Antwort
                    0
                    • FeuersturmF Feuersturm

                      @foxriver76 Danke. Issue https://github.com/ioBroker/ioBroker.device-manager/issues/42 wurde beim device-manager erstellt. Dann mach ich mal ein downgrade :-)

                      mcm1957M Online
                      mcm1957M Online
                      mcm1957
                      schrieb am zuletzt editiert von
                      #20

                      @feuersturm said in Alpha Test js-controller Kiera (v6.0):

                      @foxriver76 Danke. Issue https://github.com/ioBroker/ioBroker.device-manager/issues/42 wurde beim device-manager erstellt. Dann mach ich mal ein downgrade :-)

                      Da muss der device-manager ev. intensiver angepasst werden. Das Repo von appmap-agent-js wurde archiviert und auf npm ist das package nicht mehr via Suche zu finden.
                      https://github.com/getappmap/appmap-agent-js

                      Ist aber für js-controlelr 6 irrelevant.

                      Entwicklung u Betreuung: envertech-pv, hoymiles-ms, ns-client, pid, snmp Adapter;
                      Support Repositoryverwaltung.

                      Wer Danke sagen will, kann nen Kaffee spendieren: https://paypal.me/mcm1957atiobroker

                      LESEN - gute Forenbeitrage

                      1 Antwort Letzte Antwort
                      0
                      • foxriver76F foxriver76
                        Aktuelle Test Version 6.0.0
                        Veröffentlichungsdatum 22.05.2024

                        Hallo ioBroker-Community,

                        Heute möchte ich Euch den js-controller 6.0 für einen ersten Alpha-test zur Verfügung stellen. Dieser Post enthält alle wichtigen Infos.

                        Node.js Versions-Anforderungen

                        In diesem Release entfällt Node.js 14.x und 16.x. Die unterstützten Node.js Versionen sind: 18.x, 20.x und voraussichtlich 22.x. Die empfohlene Node.js Version für ioBroker haben wir vor kurzem auf 20.x angehoben.
                        Bitte beachtet weiterhin bei Node.js Updates die Anleitung im Forum unter https://forum.iobroker.net/topic/64032/update-nodejs-best-practise-supported-14-16-und-18 !

                        Informationen zur Version

                        In dieser Version wurde die Umstellung des Quellcodes auf TypeScript nochmal vorangetrieben (5.X 76%, mit 6.X 90% der Codebase), wodurch am Ende die Stabilität weiter steigt weil viele Code-Fehler nicht mehr auftreten können.
                        Ebenfalls läuft der Controller nun komplett als ESM Modul, was uns technisch alle Möglichkeiten offen hält und auch Adapter nun komplett als ESM Module laufen können und somit keine Einschränkungen mehr haben falls Dependencies nur für ESM verfügbar sind.
                        Weiterhin sind auch einige neue Features unter anderem die Möglichkeit des automatisierten Adapter-Upgrades (Admin Funktionalität wird zeitnah implementiert), Informationen über das System Management (neue Pakete, restart nötig, ...) sowie das Management von geblockten Adapter-Versionen hinzugefügt.
                        Auch wenn mit dieser Version keine neuen relevanten Prüfungen hinzukommen, die zu Log-Ausgaben bei Adaptern führen, meldet aktuelle Logausgaben bitte weiterhin bei den Adaptern.

                        Detailliertere Informationen zu allen Änderungen und Features findet Ihr weiter unten und im Changelog. Ich hoffe auch diesmal auf Eure tatkräftige Unterstützung, sodass der Latest-Release dann genau so reibungslos verläuft wie bei den letzten Versionen.

                        Für die aktive Mitarbeit an dieser Version des js-controller bedanke mich diesmal wieder besonders bei Apollon77, AlCalzone und natürlich Bluefox und auch ein paar weiteren Entwicklern!

                        Darüber hinaus ist der js-controller 6.0 generell kompatibel mit allen bestehenden ioBroker-Systemen. Ein Update von der Version 5.x ist problemlos möglich.
                        Ansonsten empfehlen wir ein schrittweises Update auf die 6.0 (3.3.x -> 4.0 -> 5.0).

                        Installation

                        VOR der Installation

                        Wie bei jedem Test dieser Art: Bitte macht ein Backup! iobroker backup bzw kopieren des iobroker-data Verzeichnisses reichen an sich aus. Bitte nicht das node_modules Verzeichnis einfach kopieren, da sonst symbolische Links kaputt gehen können, was zu größeren Problemen danach führt.
                        Eine alte 5.0.x-Version des js-controller kann im Notfall einfach wieder per npm install iobroker.js-controller@version ("version" durch die gewünschte Versionsnummer ersetzen) installiert werden und sollte alles wieder herstellen (Letzter Stable Stand ist die 5.0.19)

                        Nötige Adapter-Aktualisierungen

                        Am besten VOR dem js-controller Update alle verfügbaren Adapter-Updates prüfen und alle Updates installieren, die im Changelog auf Optimierungen oder Anpassungen für den js-controller 5.0 oder höher hinweisen.
                        Mit den stable Versionen der jeweiligen Adapter sollten keine Probleme auftreten, falls doch bitte hier melden.

                        Achtung: MASTER/SLAVE-Systeme Reihenfolgen beachten!

                        Bei einem Multi-Host-System, welches auf js-controller 5.0.x läuft, ist es beim Update auf Version 6.0 empfohlen, zuerst das Master-System zu aktualisieren. Der Master muss dann wieder gestartet werden. Die Slaves werden danach aktualisiert!

                        Bei Updates von Master/Slave-Systemen mit js-controller 4.x oder früher Bitte die jeweiligen Update Threads der empfohlenen Zwischenversionen prüfen.

                        Windows

                        Generell muss das Update manuell via npm installiert werden. Zusätzlich muss einmalig bei bestehenden Installationen der fixer ausgeführt werden und falls noch vorhanden die iobroker.bat gelöscht werden.

                        Hierzu werden folgende Befehle genutzt:

                        del iobroker.bat
                        iob fix
                        

                        Anschließend im ioBroker-Verzeichnis nach stoppen des ioBroker den Befehl npm i iobroker.js-controller@next --omit=dev ausführen.

                        Linux

                        • ioBroker stoppen (iobroker stop)
                        • Prüfen das keine Prozesse (Adapter, Backups) mehr laufen (ps auxww|grep io und auch ps auxww|grep backup). Es passiert manchmal das trotz dem Stoppen noch Zombies zurückbleiben
                        • cd /opt/iobroker
                        • Das Update erfolgt via npm i iobroker.js-controller@next --omit=dev
                        • ioBroker starten (iobroker start)

                        Bei Fehlern:

                        Wenn bei der Installation Fehler wegen fehlender Zugriffsrechte auftreten, am besten den Installation-Fixer (iobroker fix wer schon einen js-controller 2.x oder höher hat, alternativ weiterhin manuell via curl -sL https://iobroker.net/fix.sh | bash -) nutzen und die Installation wiederholen.
                        Falls es auch danach noch Fehler gibt, bitte die Installation erneut mittels sudo -H -u iobroker npm install iobroker.js-controller@next --omit=dev versuchen. Bitte berichtet solche Fälle hier im Thread.

                        NACH der Installation

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

                        Falls im Log Warn-Meldungen auftauchen mit dem Hinweis diese an den Entwickler zu senden, dann bitte schauen welcher Adapter es ist und entsprechend dort Issues bitte anlegen!
                        Was hat sich geändert, was besonders ansehen/beachten?

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

                        • generell siehe Changelog, speziell auch für die Features
                        • generell bitte im CLI und auch sonst überall drüber schauen. Die Typescript und ESM Umstellungen haben sehr viel Code angefasst.

                        Speziell die Entwickler sollten bitte die genannten Deprecations und neuen Features anschauen und beachten.

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

                        6.0.1 Release Kiera

                        Breaking changes

                        • Support for Node.js 16 is dropped!
                        • Binary states have been removed
                        • Let's encrypt has been removed

                        Features

                        • (foxriver76) Added possibility to automatically upgrade adapters (see https://github.com/ioBroker/ioBroker.js-controller?tab=readme-ov-file#automatic-adapter-upgrade)
                        • (foxriver76) if updates for OS packages are available a notification is generated (Linux only)
                        • (foxriver76) the controller creates a notification if free disk space is critical (see https://github.com/ioBroker/ioBroker.js-controller?tab=readme-ov-file#disk-space-warnings)
                        • (foxriver76) allow to ignore specific adapter versions (see https://github.com/ioBroker/ioBroker.js-controller?tab=readme-ov-file#ignoring-specific-adapter-version)
                        • (foxriver76) if an adapter is blocklisted and thus stopped the controller now generates a notification
                        • (foxriver76) allow to configure redis tls during setup custom

                        Optimizations and fixes

                        • (foxriver76) we now send SIGKILL instead of SIGTERM if adapter does not stop in normal time to prevent ghost processes
                        • (foxriver76) prevent crash case if an invalid pattern is scanned in the database
                        • (foxriver76) we now log the pid if a adapter process is stopped
                        • (foxriver76/Apollon77) fixed crash case on file rotation
                        • (foxriver76) optimized error messages and help text for cli commands url and install
                        • (foxriver76) if users want to install non existing adapters we now hint to the url command instead of recommending the use of npm
                        • (foxriver76) when interacting with aliases we no longer check permissions of the alias and the original object, we now only check the alias
                        • (foxriver76) host object is now already created during setup first run, allowing eg to disable sentry globally before first start of ioBroker
                        • (foxriver76) if the user sets a custom title for instances this is now preserved during upload
                        • (foxriver76) on reinstallation of adapters we uninstall the package manually first to ensure a correct reinstall
                        • (foxriver76) fixed problem on multihost discover
                        • (foxriver76) if getState is called on a non existing or non linked alias we return null like for all other non existing states
                        • (foxriver76) optimize alias subscribe performance for non-redis dbs
                        • (foxriver76/bluefox/Apollon77) updated dependencies
                        • (foxriver76/bluefox/Apollon77) minor fixes and stability improvements

                        Developer relevant DEPRECATIONS/WARNINGS

                        • (foxriver76) adapters need to specify adapter-core version 3.1.4 or higher or allow an upgrade to this version by specifying e.g. ^3.x.x
                        • (foxriver76) it is now validated that obj.native is of type Record<string, unknown>
                        • (foxriver76) Let's encrypt has been removed (@iobroker/webeserver should be used instead)
                        • (foxriver76) deprecated delete/createState/channel/device methods
                        • (foxriver76) deprecated ioPack common.license which is replaced by the new object common.licenseInfo
                        • (foxriver76) ioPack mode subscribe has been removed as you can achieve the same with mode once and setting system.adapter.xy.alive state (also removed common.wakeup and common.subscribe because of this)

                        Developer relevant new features

                        • (foxriver76) js-controller (and thus the whole ioBroker) is now running as an ESM module internally while staying a 100 % backward compatible to adapters written in cjs
                        • (foxriver76) adapters can now be written as ESM modules having full support (including compact mode)
                        • (foxriver76) we provide all exports as ESM and as CJS to allow adapter developers to choose what to use
                        • (foxriver76) added convenient methods to manage node modules (see https://github.com/ioBroker/ioBroker.js-controller?tab=readme-ov-file#managing-node-modules)
                        • (foxriver76) allow to specify reason and exit code on adapter.stop
                        • (foxriver76) if you blocklist a version in your io-package.json the controller won't start it anymore and will generate a notification
                        • (foxriver76) for adapters of type schedule and connectionType set to cloud the schedule will be automatically delayed by up to 60 seconds randomly per user if the CRON does not contain a seconds argument, this is to prevent DDoS attacks

                        Developer relevant optimizations and fixes

                        • (foxriver76) fixed crash case if an malformed object was defined in ioPack instanceObjects
                        • (foxriver76) when interacting with aliases we no longer check permissions of the alias and the original object, we now only check the alias
                        • (foxriver76) if getState is called on a non-existing or non-linked alias we return null like for all other non-existing states
                        • (foxriver76/bluefox) multiple improvements on type level

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

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

                        Bitte checkt auch die "Known issues Liste" (zweiter Post) mit den Dingen die aktuell während der Alpha bekannt sind und bis zum Releasen noch angepasst werden.

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

                        Bitte postet auch die Ausgabe von iob diag mit rein.
                        Wir wünschen allen viel Spaß beim Testen und vielen Dank für Eure Unterstützung!

                        Moritz

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

                        @foxriver76 sagte in Alpha Test js-controller Kiera (v6.0):

                        Windows
                        Generell muss das Update manuell via npm installiert werden.
                        Hierzu im ioBroker-Verzeichnis nach stoppen des ioBroker den Befehl npm i iobroker.js-controller@next --omit=dev ausführen.

                        Hallo,

                        nach dem installieren startet der IOB nicht, er beendet sich immer automatisch.

                        Screenshot (759).png Screenshot (760).png

                        **********************************************************
                        ***               Welcome to ioBroker.                 ***
                        ***                                                    ***
                        ***     Type 'iob help' for list of instructions.      ***
                        ***                For more help see                   ***
                        ***     https://github.com/ioBroker/ioBroker.docs      ***
                        **********************************************************
                        
                        Your environment has been set up for using Node.js 18.20.3 (x64) and npm.
                        
                        C:\Test>npm ls @iobroker/adapter-core
                        iobroker.inst@3.0.0 C:\Test
                        +-- iobroker.admin@6.13.16
                        | +-- @iobroker/adapter-core@3.1.4
                        | `-- @iobroker/socket-classes@1.5.0
                        |   `-- @iobroker/adapter-core@3.1.4 deduped
                        +-- iobroker.backitup@2.11.0
                        | `-- @iobroker/adapter-core@3.1.4 deduped
                        +-- iobroker.discovery@4.4.0
                        | `-- @iobroker/adapter-core@3.1.4 deduped
                        `-- iobroker.js-controller@6.0.1-alpha.0-20240522-f267270b9
                          `-- @iobroker/adapter-core@3.1.4 deduped
                        
                        
                        C:\Test>
                        

                        Edit:

                        Bin wieder auf Version 5.0.19 , alles läuft wieder.

                        Screenshot (762).png

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

                        GaspodeG 1 Antwort Letzte Antwort
                        0
                        • sigi234S sigi234

                          @foxriver76 sagte in Alpha Test js-controller Kiera (v6.0):

                          Windows
                          Generell muss das Update manuell via npm installiert werden.
                          Hierzu im ioBroker-Verzeichnis nach stoppen des ioBroker den Befehl npm i iobroker.js-controller@next --omit=dev ausführen.

                          Hallo,

                          nach dem installieren startet der IOB nicht, er beendet sich immer automatisch.

                          Screenshot (759).png Screenshot (760).png

                          **********************************************************
                          ***               Welcome to ioBroker.                 ***
                          ***                                                    ***
                          ***     Type 'iob help' for list of instructions.      ***
                          ***                For more help see                   ***
                          ***     https://github.com/ioBroker/ioBroker.docs      ***
                          **********************************************************
                          
                          Your environment has been set up for using Node.js 18.20.3 (x64) and npm.
                          
                          C:\Test>npm ls @iobroker/adapter-core
                          iobroker.inst@3.0.0 C:\Test
                          +-- iobroker.admin@6.13.16
                          | +-- @iobroker/adapter-core@3.1.4
                          | `-- @iobroker/socket-classes@1.5.0
                          |   `-- @iobroker/adapter-core@3.1.4 deduped
                          +-- iobroker.backitup@2.11.0
                          | `-- @iobroker/adapter-core@3.1.4 deduped
                          +-- iobroker.discovery@4.4.0
                          | `-- @iobroker/adapter-core@3.1.4 deduped
                          `-- iobroker.js-controller@6.0.1-alpha.0-20240522-f267270b9
                            `-- @iobroker/adapter-core@3.1.4 deduped
                          
                          
                          C:\Test>
                          

                          Edit:

                          Bin wieder auf Version 5.0.19 , alles läuft wieder.

                          Screenshot (762).png

                          GaspodeG Online
                          GaspodeG Online
                          Gaspode
                          schrieb am zuletzt editiert von Gaspode
                          #22

                          @sigi234 said in Alpha Test js-controller Kiera (v6.0):

                          nach dem installieren startet der IOB nicht, er beendet sich immer automatisch.

                          Exakt das Gleiche beobachte ich auch. Beim Start wird nicht mal was in die Log Datei geschrieben, auch nicht, wenn ich die Controller Log Ausgabe auf Debug schalte.

                          Ach ja:

                          npm ls @iobroker/adapter-core
                          iobroker.inst@3.0.0 C:\ioBroker\SmartHome1
                          +-- iobroker.admin@6.17.11
                          | +-- @iobroker/adapter-core@3.1.4
                          | `-- @iobroker/socket-classes@1.5.0
                          |   `-- @iobroker/adapter-core@3.1.4 deduped
                          +-- iobroker.backitup@2.11.0
                          | `-- @iobroker/adapter-core@3.1.4 deduped
                          +-- iobroker.discovery@4.5.0
                          | `-- @iobroker/adapter-core@3.1.4 deduped
                          +-- iobroker.habpanel@0.5.0
                          | `-- @iobroker/adapter-core@2.6.8
                          +-- iobroker.javascript@8.3.1
                          | `-- @iobroker/adapter-core@3.1.4 deduped
                          +-- iobroker.js-controller@6.0.1-alpha.0-20240522-f267270b9
                          | `-- @iobroker/adapter-core@3.1.4 deduped
                          +-- iobroker.socketio@6.7.0
                          | `-- @iobroker/adapter-core@3.1.4 deduped
                          +-- iobroker.web@6.2.5
                          | +-- @iobroker/adapter-core@3.1.4 deduped
                          | +-- iobroker.simple-api@2.7.2
                          | | `-- @iobroker/adapter-core@2.6.8
                          | +-- iobroker.socketio@6.6.1
                          | | `-- @iobroker/adapter-core@3.1.4 deduped
                          | `-- iobroker.ws@2.5.11
                          |   `-- @iobroker/adapter-core@3.1.4 deduped
                          `-- iobroker.ws@2.6.1
                            `-- @iobroker/adapter-core@3.1.4 deduped
                          
                          foxriver76F 1 Antwort Letzte Antwort
                          0
                          • FeuersturmF Feuersturm

                            @foxriver76 Nach dem Downgrade auf nodejs18 ging die Installation vom js-controller6 ohne Probleme.
                            Beim Start wirft der Admin Adapter 6.17.11 fehler und kann nicht gestartet werden.

                            2024-05-22 14:28:04.907  - info: host.ioBrokerTestsystem iobroker.js-controller version 6.0.0 js-controller starting
                            2024-05-22 14:28:04.921  - info: host.ioBrokerTestsystem Copyright (c) 2014-2023 bluefox, 2014 hobbyquaker
                            2024-05-22 14:28:04.925  - info: host.ioBrokerTestsystem hostname: ioBrokerTestsystem, node: v18.20.3
                            2024-05-22 14:28:04.929  - info: host.ioBrokerTestsystem ip addresses: 192.168.178.77 fe80::f854:cfff:fe5f:6c25
                            2024-05-22 14:28:07.666  - info: host.ioBrokerTestsystem connected to Objects and States
                            2024-05-22 14:28:07.713  - info: host.ioBrokerTestsystem added notifications configuration of host
                            2024-05-22 14:28:08.866  - info: host.ioBrokerTestsystem 64 instances found
                            2024-05-22 14:28:08.975  - info: host.ioBrokerTestsystem starting 27 instances
                            2024-05-22 14:28:09.740  - info: host.ioBrokerTestsystem Delete state "system.host.ioBrokerTestsystem.versions.nodeCurrent"
                            2024-05-22 14:28:09.822  - info: host.ioBrokerTestsystem Delete state "system.host.ioBrokerTestsystem.versions.nodeNewest"
                            2024-05-22 14:28:09.893  - info: host.ioBrokerTestsystem Delete state "system.host.ioBrokerTestsystem.versions.nodeNewestNext"
                            2024-05-22 14:28:09.929  - info: host.ioBrokerTestsystem instance system.adapter.admin.0 started with pid 19670
                            2024-05-22 14:28:10.082  - info: host.ioBrokerTestsystem Delete state "system.host.ioBrokerTestsystem.versions.npmCurrent"
                            2024-05-22 14:28:10.108  - info: host.ioBrokerTestsystem Delete state "system.host.ioBrokerTestsystem.versions.npmNewest"
                            2024-05-22 14:28:10.126  - info: host.ioBrokerTestsystem Delete state "system.host.ioBrokerTestsystem.versions.npmNewestNext"
                            2024-05-22 14:28:10.137  - info: host.ioBrokerTestsystem Some obsolete host states deleted.
                            2024-05-22 14:28:13.695  - info: host.ioBrokerTestsystem instance system.adapter.influxdb.0 started with pid 19677
                            2024-05-22 14:28:16.342  - info: admin.0 (19670) starting. Version 6.17.11 in /opt/iobroker/node_modules/iobroker.admin, node: v18.20.3, js-controller: 6.0.0
                            2024-05-22 14:28:16.436  - info: admin.0 (19670) requesting all objects
                            2024-05-22 14:28:20.148  - info: admin.0 (19670) received all objects
                            2024-05-22 14:28:20.331  - info: host.ioBrokerTestsystem instance system.adapter.javascript.0 started with pid 19708
                            2024-05-22 14:28:20.749  - error: admin.0 (19670) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                            2024-05-22 14:28:20.753  - error: admin.0 (19670) unhandled promise rejection: utils.commonTools.session is not a function
                            2024-05-22 14:28:20.768  - error: admin.0 (19670) TypeError: utils.commonTools.session is not a function
                                at Web.#init (/opt/iobroker/node_modules/iobroker.admin/build-backend/lib/web.js:451:50)
                                at new Web (/opt/iobroker/node_modules/iobroker.admin/build-backend/lib/web.js:167:19)
                                at /opt/iobroker/node_modules/iobroker.admin/build-backend/main.js:1289:46
                                at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.admin/build-backend/main.js:1136:25)
                                at processImmediate (node:internal/timers:478:21)
                            2024-05-22 14:28:20.772  - error: admin.0 (19670) utils.commonTools.session is not a function
                            2024-05-22 14:28:21.208  - info: admin.0 (19670) terminating http server on port 8081
                            2024-05-22 14:28:21.215  - info: admin.0 (19670) terminating
                            2024-05-22 14:28:21.221  - warn: admin.0 (19670) Terminated (UNCAUGHT_EXCEPTION): Without reason
                            2024-05-22 14:28:21.237  - info: admin.0 (19670) Request actual repository...
                            2024-05-22 14:28:21.738  - info: admin.0 (19670) terminating
                            2024-05-22 14:28:22.423  - warn: admin.0 (19670) redis get admin.0.info.newsLastId, error - Connection is closed.
                            2024-05-22 14:28:22.445  - warn: admin.0 (19670) get state error: Connection is closed.
                            2024-05-22 14:28:22.518  - warn: admin.0 (19670) get state error: Connection is closed.
                            2024-05-22 14:28:22.526  - warn: admin.0 (19670) get state error: Connection is closed.
                            2024-05-22 14:28:22.530  - warn: admin.0 (19670) get state error: Connection is closed.
                            2024-05-22 14:28:22.534  - warn: admin.0 (19670) get state error: Connection is closed.
                            2024-05-22 14:28:22.538  - warn: admin.0 (19670) get state error: Connection is closed.
                            2024-05-22 14:28:22.594  - warn: admin.0 (19670) Cannot check node.js/npm version
                            2024-05-22 14:28:22.981  - error: host.ioBrokerTestsystem Caught by controller[0]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
                            2024-05-22 14:28:22.986  - error: host.ioBrokerTestsystem Caught by controller[0]: TypeError: utils.commonTools.session is not a function
                            2024-05-22 14:28:22.992  - error: host.ioBrokerTestsystem Caught by controller[0]:     at Web.#init (/opt/iobroker/node_modules/iobroker.admin/build-backend/lib/web.js:451:50)
                            2024-05-22 14:28:22.997  - error: host.ioBrokerTestsystem Caught by controller[0]:     at new Web (/opt/iobroker/node_modules/iobroker.admin/build-backend/lib/web.js:167:19)
                            2024-05-22 14:28:23.001  - error: host.ioBrokerTestsystem Caught by controller[0]:     at /opt/iobroker/node_modules/iobroker.admin/build-backend/main.js:1289:46
                            2024-05-22 14:28:23.007  - error: host.ioBrokerTestsystem Caught by controller[0]:     at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.admin/build-backend/main.js:1136:25)
                            2024-05-22 14:28:23.011  - error: host.ioBrokerTestsystem Caught by controller[0]:     at processImmediate (node:internal/timers:478:21)
                            2024-05-22 14:28:23.015  - error: host.ioBrokerTestsystem instance system.adapter.admin.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                            
                            
                            foxriver76F Offline
                            foxriver76F Offline
                            foxriver76
                            Developer
                            schrieb am zuletzt editiert von
                            #23

                            @feuersturm Kannst du nochmal neu installieren

                            gleiches gilt für @Thomas-Braun ich hoffe die Fehler sind gefixt.

                            Videotutorials & mehr

                            Hier könnt ihr mich unterstützen.

                            FeuersturmF 1 Antwort Letzte Antwort
                            0
                            • GaspodeG Gaspode

                              @sigi234 said in Alpha Test js-controller Kiera (v6.0):

                              nach dem installieren startet der IOB nicht, er beendet sich immer automatisch.

                              Exakt das Gleiche beobachte ich auch. Beim Start wird nicht mal was in die Log Datei geschrieben, auch nicht, wenn ich die Controller Log Ausgabe auf Debug schalte.

                              Ach ja:

                              npm ls @iobroker/adapter-core
                              iobroker.inst@3.0.0 C:\ioBroker\SmartHome1
                              +-- iobroker.admin@6.17.11
                              | +-- @iobroker/adapter-core@3.1.4
                              | `-- @iobroker/socket-classes@1.5.0
                              |   `-- @iobroker/adapter-core@3.1.4 deduped
                              +-- iobroker.backitup@2.11.0
                              | `-- @iobroker/adapter-core@3.1.4 deduped
                              +-- iobroker.discovery@4.5.0
                              | `-- @iobroker/adapter-core@3.1.4 deduped
                              +-- iobroker.habpanel@0.5.0
                              | `-- @iobroker/adapter-core@2.6.8
                              +-- iobroker.javascript@8.3.1
                              | `-- @iobroker/adapter-core@3.1.4 deduped
                              +-- iobroker.js-controller@6.0.1-alpha.0-20240522-f267270b9
                              | `-- @iobroker/adapter-core@3.1.4 deduped
                              +-- iobroker.socketio@6.7.0
                              | `-- @iobroker/adapter-core@3.1.4 deduped
                              +-- iobroker.web@6.2.5
                              | +-- @iobroker/adapter-core@3.1.4 deduped
                              | +-- iobroker.simple-api@2.7.2
                              | | `-- @iobroker/adapter-core@2.6.8
                              | +-- iobroker.socketio@6.6.1
                              | | `-- @iobroker/adapter-core@3.1.4 deduped
                              | `-- iobroker.ws@2.5.11
                              |   `-- @iobroker/adapter-core@3.1.4 deduped
                              `-- iobroker.ws@2.6.1
                                `-- @iobroker/adapter-core@3.1.4 deduped
                              
                              foxriver76F Offline
                              foxriver76F Offline
                              foxriver76
                              Developer
                              schrieb am zuletzt editiert von
                              #24

                              @gaspode Kannst du mal direkt mittels node die controller.js ausführen (liegt in deinen node_modules/iobroker.js-controller/controller.js), da müsste dann ein Fehler auftauchen hoffe ich.

                              Videotutorials & mehr

                              Hier könnt ihr mich unterstützen.

                              GaspodeG 1 Antwort Letzte Antwort
                              0
                              • foxriver76F foxriver76

                                @gaspode Kannst du mal direkt mittels node die controller.js ausführen (liegt in deinen node_modules/iobroker.js-controller/controller.js), da müsste dann ein Fehler auftauchen hoffe ich.

                                GaspodeG Online
                                GaspodeG Online
                                Gaspode
                                schrieb am zuletzt editiert von
                                #25

                                @foxriver76 said in Alpha Test js-controller Kiera (v6.0):

                                @gaspode Kannst du mal direkt mittels node die controller.js ausführen

                                Ja, dann läuft er hoch.

                                Start per Service liefert im Service error log file daemon\iob_smarthome1.err.log:

                                C:\ioBroker\SmartHome1\controller.js:2
                                require('./node_modules/iobroker.js-controller/controller.js');
                                ^
                                
                                Error [ERR_REQUIRE_ESM]: require() of ES Module C:\ioBroker\SmartHome1\node_modules\iobroker.js-controller\controller.js from C:\ioBroker\SmartHome1\controller.js not supported.
                                C:\ioBroker\SmartHome1\node_modules\iobroker.js-controller\controller.js is treated as an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which declares all .js files in that package scope as ES modules.
                                Instead either rename C:\ioBroker\SmartHome1\node_modules\iobroker.js-controller\controller.js to end in .cjs, change the requiring code to use dynamic import() which is available in all CommonJS modules, or change "type": "module" to "type": "commonjs" in C:\ioBroker\SmartHome1\node_modules\iobroker.js-controller\package.json to treat all .js files as CommonJS (using .mjs for all ES modules instead).
                                
                                    at Object.<anonymous> (C:\ioBroker\SmartHome1\controller.js:2:1) {
                                  code: 'ERR_REQUIRE_ESM'
                                }
                                
                                Node.js v18.20.3
                                C:\ioBroker\SmartHome1\controller.js:2
                                require('./node_modules/iobroker.js-controller/controller.js');
                                ^
                                
                                Error [ERR_REQUIRE_ESM]: require() of ES Module C:\ioBroker\SmartHome1\node_modules\iobroker.js-controller\controller.js from C:\ioBroker\SmartHome1\controller.js not supported.
                                C:\ioBroker\SmartHome1\node_modules\iobroker.js-controller\controller.js is treated as an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which declares all .js files in that package scope as ES modules.
                                Instead either rename C:\ioBroker\SmartHome1\node_modules\iobroker.js-controller\controller.js to end in .cjs, change the requiring code to use dynamic import() which is available in all CommonJS modules, or change "type": "module" to "type": "commonjs" in C:\ioBroker\SmartHome1\node_modules\iobroker.js-controller\package.json to treat all .js files as CommonJS (using .mjs for all ES modules instead).
                                
                                    at Object.<anonymous> (C:\ioBroker\SmartHome1\controller.js:2:1) {
                                  code: 'ERR_REQUIRE_ESM'
                                }
                                
                                Node.js v18.20.3
                                C:\ioBroker\SmartHome1\controller.js:2
                                require('./node_modules/iobroker.js-controller/controller.js');
                                ^
                                
                                Error [ERR_REQUIRE_ESM]: require() of ES Module C:\ioBroker\SmartHome1\node_modules\iobroker.js-controller\controller.js from C:\ioBroker\SmartHome1\controller.js not supported.
                                C:\ioBroker\SmartHome1\node_modules\iobroker.js-controller\controller.js is treated as an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which declares all .js files in that package scope as ES modules.
                                Instead either rename C:\ioBroker\SmartHome1\node_modules\iobroker.js-controller\controller.js to end in .cjs, change the requiring code to use dynamic import() which is available in all CommonJS modules, or change "type": "module" to "type": "commonjs" in C:\ioBroker\SmartHome1\node_modules\iobroker.js-controller\package.json to treat all .js files as CommonJS (using .mjs for all ES modules instead).
                                
                                    at Object.<anonymous> (C:\ioBroker\SmartHome1\controller.js:2:1) {
                                  code: 'ERR_REQUIRE_ESM'
                                }
                                
                                Node.js v18.20.3
                                
                                
                                foxriver76F 1 Antwort Letzte Antwort
                                0
                                • GaspodeG Gaspode

                                  @foxriver76 said in Alpha Test js-controller Kiera (v6.0):

                                  @gaspode Kannst du mal direkt mittels node die controller.js ausführen

                                  Ja, dann läuft er hoch.

                                  Start per Service liefert im Service error log file daemon\iob_smarthome1.err.log:

                                  C:\ioBroker\SmartHome1\controller.js:2
                                  require('./node_modules/iobroker.js-controller/controller.js');
                                  ^
                                  
                                  Error [ERR_REQUIRE_ESM]: require() of ES Module C:\ioBroker\SmartHome1\node_modules\iobroker.js-controller\controller.js from C:\ioBroker\SmartHome1\controller.js not supported.
                                  C:\ioBroker\SmartHome1\node_modules\iobroker.js-controller\controller.js is treated as an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which declares all .js files in that package scope as ES modules.
                                  Instead either rename C:\ioBroker\SmartHome1\node_modules\iobroker.js-controller\controller.js to end in .cjs, change the requiring code to use dynamic import() which is available in all CommonJS modules, or change "type": "module" to "type": "commonjs" in C:\ioBroker\SmartHome1\node_modules\iobroker.js-controller\package.json to treat all .js files as CommonJS (using .mjs for all ES modules instead).
                                  
                                      at Object.<anonymous> (C:\ioBroker\SmartHome1\controller.js:2:1) {
                                    code: 'ERR_REQUIRE_ESM'
                                  }
                                  
                                  Node.js v18.20.3
                                  C:\ioBroker\SmartHome1\controller.js:2
                                  require('./node_modules/iobroker.js-controller/controller.js');
                                  ^
                                  
                                  Error [ERR_REQUIRE_ESM]: require() of ES Module C:\ioBroker\SmartHome1\node_modules\iobroker.js-controller\controller.js from C:\ioBroker\SmartHome1\controller.js not supported.
                                  C:\ioBroker\SmartHome1\node_modules\iobroker.js-controller\controller.js is treated as an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which declares all .js files in that package scope as ES modules.
                                  Instead either rename C:\ioBroker\SmartHome1\node_modules\iobroker.js-controller\controller.js to end in .cjs, change the requiring code to use dynamic import() which is available in all CommonJS modules, or change "type": "module" to "type": "commonjs" in C:\ioBroker\SmartHome1\node_modules\iobroker.js-controller\package.json to treat all .js files as CommonJS (using .mjs for all ES modules instead).
                                  
                                      at Object.<anonymous> (C:\ioBroker\SmartHome1\controller.js:2:1) {
                                    code: 'ERR_REQUIRE_ESM'
                                  }
                                  
                                  Node.js v18.20.3
                                  C:\ioBroker\SmartHome1\controller.js:2
                                  require('./node_modules/iobroker.js-controller/controller.js');
                                  ^
                                  
                                  Error [ERR_REQUIRE_ESM]: require() of ES Module C:\ioBroker\SmartHome1\node_modules\iobroker.js-controller\controller.js from C:\ioBroker\SmartHome1\controller.js not supported.
                                  C:\ioBroker\SmartHome1\node_modules\iobroker.js-controller\controller.js is treated as an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which declares all .js files in that package scope as ES modules.
                                  Instead either rename C:\ioBroker\SmartHome1\node_modules\iobroker.js-controller\controller.js to end in .cjs, change the requiring code to use dynamic import() which is available in all CommonJS modules, or change "type": "module" to "type": "commonjs" in C:\ioBroker\SmartHome1\node_modules\iobroker.js-controller\package.json to treat all .js files as CommonJS (using .mjs for all ES modules instead).
                                  
                                      at Object.<anonymous> (C:\ioBroker\SmartHome1\controller.js:2:1) {
                                    code: 'ERR_REQUIRE_ESM'
                                  }
                                  
                                  Node.js v18.20.3
                                  
                                  
                                  foxriver76F Offline
                                  foxriver76F Offline
                                  foxriver76
                                  Developer
                                  schrieb am zuletzt editiert von foxriver76
                                  #26

                                  @gaspode kannst du den Inhalt von controller.js zeigen, das klingt iwie als wurde das irgendwie nicht aktualisiert.

                                  Bzw. ist das bei dir eine controller.js die im Root-verzeichnis der Installation liegt? Wird die vom Installer erstellt, weißt du das evtl? Dann müsste diese auch angepasst werden von uns für die ESM Thematik.

                                  Videotutorials & mehr

                                  Hier könnt ihr mich unterstützen.

                                  Thomas BraunT GaspodeG 2 Antworten Letzte Antwort
                                  0
                                  • foxriver76F foxriver76

                                    @gaspode kannst du den Inhalt von controller.js zeigen, das klingt iwie als wurde das irgendwie nicht aktualisiert.

                                    Bzw. ist das bei dir eine controller.js die im Root-verzeichnis der Installation liegt? Wird die vom Installer erstellt, weißt du das evtl? Dann müsste diese auch angepasst werden von uns für die ESM Thematik.

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

                                    @foxriver76

                                    Nein, hier hagelt es weiterhin Fehler beim bauen.
                                    Genaueres später, mit richtigem Terminal.

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

                                    1 Antwort Letzte Antwort
                                    0
                                    • foxriver76F foxriver76

                                      @gaspode kannst du den Inhalt von controller.js zeigen, das klingt iwie als wurde das irgendwie nicht aktualisiert.

                                      Bzw. ist das bei dir eine controller.js die im Root-verzeichnis der Installation liegt? Wird die vom Installer erstellt, weißt du das evtl? Dann müsste diese auch angepasst werden von uns für die ESM Thematik.

                                      GaspodeG Online
                                      GaspodeG Online
                                      Gaspode
                                      schrieb am zuletzt editiert von
                                      #28

                                      @foxriver76 said in Alpha Test js-controller Kiera (v6.0):

                                      Dann müsste diese auch angepasst werden von uns für die ESM Thematik.

                                      Ja, in die Richtung hab ich auch schon überlegt. Der Service wird so angelegt:

                                      const svc = new Service({
                                          name: process.env.iobServiceName ? process.env.iobServiceName : 'ioBroker',
                                          description: 'ioBroker service.',
                                          script: require('path').join(__dirname, 'controller.js'),
                                          env: {
                                              name: 'NODE_ENV',
                                              value: 'production'
                                          }
                                      });
                                      

                                      Und controller.js liegt tatsächlich im Inst. Root und lautet

                                      'use strict';
                                      require('./node_modules/iobroker.js-controller/controller.js');
                                      
                                      foxriver76F 1 Antwort Letzte Antwort
                                      0
                                      • GaspodeG Gaspode

                                        @foxriver76 said in Alpha Test js-controller Kiera (v6.0):

                                        Dann müsste diese auch angepasst werden von uns für die ESM Thematik.

                                        Ja, in die Richtung hab ich auch schon überlegt. Der Service wird so angelegt:

                                        const svc = new Service({
                                            name: process.env.iobServiceName ? process.env.iobServiceName : 'ioBroker',
                                            description: 'ioBroker service.',
                                            script: require('path').join(__dirname, 'controller.js'),
                                            env: {
                                                name: 'NODE_ENV',
                                                value: 'production'
                                            }
                                        });
                                        

                                        Und controller.js liegt tatsächlich im Inst. Root und lautet

                                        'use strict';
                                        require('./node_modules/iobroker.js-controller/controller.js');
                                        
                                        foxriver76F Offline
                                        foxriver76F Offline
                                        foxriver76
                                        Developer
                                        schrieb am zuletzt editiert von
                                        #29

                                        @gaspode Hm okay die required dann wiederum die vom Controller. Die müsste jetzt eigentlich das require durch import ersetzen. Was passiert wenn du mal hart editierst und das require durch import ersetzt?

                                        Videotutorials & mehr

                                        Hier könnt ihr mich unterstützen.

                                        GaspodeG 1 Antwort Letzte Antwort
                                        1
                                        • foxriver76F foxriver76

                                          @gaspode Hm okay die required dann wiederum die vom Controller. Die müsste jetzt eigentlich das require durch import ersetzen. Was passiert wenn du mal hart editierst und das require durch import ersetzt?

                                          GaspodeG Online
                                          GaspodeG Online
                                          Gaspode
                                          schrieb am zuletzt editiert von
                                          #30

                                          @foxriver76 said in Alpha Test js-controller Kiera (v6.0):

                                          Was passiert wenn du mal hart editierst und das require durch import ersetzt?

                                          Läuft.

                                          Die Datei kommt übrigens von hier:
                                          https://github.com/ioBroker/ioBroker/blob/master/install/windows/controller.js
                                          Sie wird vom Windows Installationsscript im Installationsverlauf dort hin kopiert.

                                          foxriver76F 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

                                          436

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          Themen

                                          1.3m

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

                                          • Du hast noch kein Konto? Registrieren

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