NEWS
Umstellung auf iobroker nicht als root
-
v.2023-10-10 Static hostname: zotac Icon name: computer-desktop Chassis: desktop 🖥️ Operating System: Debian GNU/Linux 12 (bookworm) Kernel: Linux 6.1.0-13-amd64 Architecture: x86-64 Hardware Vendor: ASRock Hardware Model: H81M-DGS Firmware Version: P2.00 Installation: native Kernel: x86_64 Userland: amd64 Timezone: Europe/Berlin (CEST, +0200) User-ID: 1000 X-Server: true Boot Target: graphical.target Pending OS-Updates: 0 Pending iob updates: 8 Nodejs-Installation: /usr/bin/nodejs v18.18.2 /usr/bin/node v18.18.2 /usr/bin/npm 9.8.1 /usr/bin/npx 9.8.1 /usr/bin/corepack 0.19.0 Recommended versions are nodejs and npm Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 16G 11G 423M 137M 4.9G 4.8G Swap: 34G 3.2G 31G Total: 50G 14G 31G Active iob-Instances: 20 Active repo(s): live-stable ioBroker Core: js-controller 5.0.12 admin 6.10.2 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: system.adapter.admin.0 : admin : zotac - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.web.0 : web : zotac - enabled, port: 8082, bind: 0.0.0.0, run as: admin Objects: 12656 States: 10563 Size of iob-Database: 21M /opt/iobroker/iobroker-data/objects.jsonl 18M /opt/iobroker/iobroker-data/objects.json.migrated 18M /opt/iobroker/iobroker-data/objects.json.bak.migrated 18M /opt/iobroker/iobroker-data/objects.json.bak 18M /opt/iobroker/iobroker-data/objects.json 3.4M /opt/iobroker/iobroker-data/states.jsonl 2.9M /opt/iobroker/iobroker-data/states.json.migrated 2.9M /opt/iobroker/iobroker-data/states.json.bak.migrated 2.9M /opt/iobroker/iobroker-data/states.json.bak 2.9M /opt/iobroker/iobroker-data/states.json =================== END OF SUMMARY ====================
=== Mark text until here for copying ===
iob diag 28,29s user 5,45s system 19% cpu 2:51,91 total -
Wassen das für'n komischer Prompt? Hab ich noch nie gesehen:
wh@zotac /opt/iobroker %
Entweder ist das # für root logins oder $ für einen user. Aber % kenn ich nicht.
-
@thomas-braun sagte in Umstellung auf iobroker nicht als root:
Wassen das für'n komischer Prompt? Hab ich noch nie gesehen:
wh@zotac /opt/iobroker %
Entweder ist das # für root logins oder $ für einen user. Aber % kenn ich nicht.
Habe das in zsh so eingestellt. Ist aber der User wh. Kein root.
-
.k zsh kenn ich nicht genau. Ein bash prompt kann man zwar auch umstellen, ist aber eher ungewöhnlich.
Noch als Hinweis: iob_diag verwendet bash, keine Ahnung ob es unter der zsh da zu Komplikationen kommt.
-
@thomas-braun
bash ist natürlich auch da.2023-10-14 21:16:55.685 - error: host.zotac instance system.adapter.admin.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2023-10-14 21:16:55.685 - info: host.zotac Restart adapter system.adapter.admin.0 because enabled 2023-10-14 21:17:25.720 - info: host.zotac instance system.adapter.admin.0 started with pid 488395 2023-10-14 21:17:25.975 - error: host.zotac Caught by controller[0]: /opt/iobroker/node_modules/iobroker.admin/main.js:21 2023-10-14 21:17:25.975 - error: host.zotac Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.admin/main.js:21:44) 2023-10-14 21:17:25.975 - error: host.zotac instance system.adapter.admin.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2023-10-14 21:17:25.975 - info: host.zotac Restart adapter system.adapter.admin.0 because enabled
-
@sissiwup
Kann ich das neu installieren und meine Einstellungen übernehmen? -
-
@thomas-braun
Nix, also keinen Fehler.wh@zotac:/opt/iobroker$ iob start admin wh@zotac:/opt/iobroker$
023-10-14 21:46:08.216 - info: host.zotac instance system.adapter.admin.0 started with pid 610506 2023-10-14 21:46:08.542 - error: host.zotac Caught by controller[0]: /opt/iobroker/node_modules/iobroker.admin/main.js:21 2023-10-14 21:46:08.544 - error: host.zotac Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.admin/main.js:21:44) 2023-10-14 21:46:08.546 - error: host.zotac instance system.adapter.admin.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2023-10-14 21:46:08.546 - info: host.zotac Restart adapter system.adapter.admin.0 because enabled 2023-10-14 21:46:38.578 - info: host.zotac instance system.adapter.admin.0 started with pid 611113 2023-10-14 21:46:38.897 - error: host.zotac Caught by controller[0]: /opt/iobroker/node_modules/iobroker.admin/main.js:21 2023-10-14 21:46:38.898 - error: host.zotac Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.admin/main.js:21:44) 2023-10-14 21:46:38.899 - error: host.zotac instance system.adapter.admin.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2023-10-14 21:46:38.899 - info: host.zotac Restart adapter system.adapter.admin.0 because enabled
-
@thomas-braun
Kann das mit den vielen Fehlern aus diag zu tun haben? -
@sissiwup sagte in Umstellung auf iobroker nicht als root:
Kann das mit den vielen Fehlern aus diag zu tun haben?
Welche? Gib mal die Langfassung.
Bei den Repos solltest du ran, die sind mittlerweile alle auf die neue Nomenklatur umgestellt. -
-
Bitte den Text aus der Konsole hier rein.
-
-
@thomas-braun sagte in Umstellung auf iobroker nicht als root:
Bitte den Text aus der Konsole hier rein.
seine Ausgabe ist zu groß dafür !
Bitte schreibe einen kürzeren Beitrag. Beiträge können nicht länger als 100000 Zeichen sein.
-
Keine Ahnung wo anfangen...
-
@glasfaser sagte in Umstellung auf iobroker nicht als root:
@thomas-braun sagte in Umstellung auf iobroker nicht als root:
Bitte den Text aus der Konsole hier rein.
seine Ausgabe ist zu groß dafür !
Bitte schreibe einen kürzeren Beitrag. Beiträge können nicht länger als 100000 Zeichen sein.
Yep, habe deshalb die Datei hochgeladen. Die 1. ist mit Pipe, die 2. ist vom Bildschirm kopiert.
-
@thomas-braun sagte in Umstellung auf iobroker nicht als root:
Keine Ahnung wo anfangen...
Bis heute Mittag lief noch alles
Dann habe ich gedacht, versuch doch mal nicht als root es zum laufen zu bekommen.
Die Installation ist sehr alt ... -
iobroker debug admin Debugger listening on ws://127.0.0.1:9229/7d01f783-1cea-4812-bd8c-47e6dcf47180 For help, see: https://nodejs.org/en/docs/inspector /opt/iobroker/node_modules/iobroker.admin/main.js:21 const getInstalledInfo = utils.commonTools.getInstalledInfo; ^ TypeError: Cannot read properties of undefined (reading 'getInstalledInfo') at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.admin/main.js:21:44) at Module._compile (node:internal/modules/cjs/loader:1256:14) at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) at Module.load (node:internal/modules/cjs/loader:1119:32) at Module._load (node:internal/modules/cjs/loader:960:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12) at node:internal/main/run_main_module:23:47 Node.js v18.18.2```
-
@sissiwup
Hab jetzt mal neu installiert. Dann ging leider vis nicht.
Hier habe ich gesehen nur vis 1.4.0 geht. Das habe ich dann installiert. (vis@1.4.0)
Danach geht das update auf vis 1.4.16 auch wieder.Lasse das backup jetzt mal einspielen. Mal sehen was morgen früh so läuft.
node-red fehlten nodes, das war aber kein Problem.Immerhin läuft es jetzt wohl nicht mehr als root gestartet.
-
Willkommen in meinem Leben
Exakt die gleichen Probleme hatte ich heute.