Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. broker Admin nicht erreichbar + Failed to lock DB file

    NEWS

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    broker Admin nicht erreichbar + Failed to lock DB file

    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      kasten bier last edited by

      n Abend zusammen,
      Zusammenfassung mal am Anfang
      iobroker seit Februar 2022 auf raspi am Laufen. im letzten halben Jahr zwei mal "offline". mit Netzstecker ziehen und einstöpseln wieder am Laufen.
      Sonntag 0:00 Uhr wieder offline. Hardboot am Montag wie "immer". Dann neugierigerweise echarts-adapter aktualisiert. Dieser funktionierte, hat aber die alten Presets nicht geladen und neue nicht gespeichert. Zugriff nur auf History-Daten. Hab mich geärgert. Node.js ist wohl zu alt .Backup von backupit-adapter vom Samstag "geladen" - nix passiert. Admin nicht erreichbar. Tastatur und Monitor angeklemmt. System läuft anscheinend. Nur der Admin nicht.
      Runtergeahren , SD-karte in den Windows-Rechner und mit win32DiskImager ein backup gemacht. 64gb - dauert. dann nocht mit ext2explore direkt alle "relevanten " Daten kopiert (Backups, history usw. - alles unterhalbiobroker-data).
      Gelesen und gelesen, viele Befehle ausprobiert. Dann wieder über ssh auf den raspi ( wegen besserer kopierbarkeit der Befehle) und die alte Node.js aktualisiert. dann das system komplett aktualisiert. Zwischendurch versucht, per Browser auf den Admin zu kommen - geht nicht. Ich könnte in die Tischkante beissen..., das Ding soll doch nur Daten speichern.
      Jetzt frage ich hier:
      Wenn ich alles zu dem Thema zusammenfasse, sieht es für mich Linux-Laien so aus, als wenn diese Datei nicht bearbeitet werden kann:
      2023-09-26 00:09:10.586 - error: host.iobroker-pi-Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
      was mitunter am BLE-Adater liegen kann.
      Hier die altzen Daten meines Systems

      pi@iobroker-pi:~ $ node -v
      v12.22.6
      pi@iobroker-pi:~ $ npm -v
      6.14.15
      iobroker list instances
        system.adapter.admin.0                  : admin                 : iobroker-pi                                                                          -  enabled, port: 8081, bind: 0.0.0.0, run as: admi                                            n
      + system.adapter.backitup.0               : backitup              : iobroker-pi                                                                          -  enabled
        system.adapter.ble.0                    : ble                   : iobroker-pi                                                                          - disabled
        system.adapter.discovery.0              : discovery             : iobroker-pi                                                                          - disabled
        system.adapter.echarts.0                : echarts               : iobroker-pi                                                                          - disabled
        system.adapter.flot.0                   : flot                  : iobroker-pi                                                                          - disabled
        system.adapter.fritzdect.0              : fritzdect             : iobroker-pi                                                                          - disabled
        system.adapter.habpanel.0               : habpanel              : iobroker-pi                                                                          - disabled
        system.adapter.history.0                : history               : iobroker-pi                                                                          - disabled
        system.adapter.jarvis.0                 : jarvis                : iobroker-pi                                                                          - disabled
        system.adapter.javascript.0             : javascript            : iobroker-pi                                                                          - disabled
        system.adapter.javascript.1             : javascript            : iobroker-pi                                                                          - disabled
        system.adapter.mqtt.0                   : mqtt                  : iobroker-pi                                                                          - disabled, port: 1883, bind: 0.0.0.0
        system.adapter.mqtt.1                   : mqtt                  : iobroker-pi                                                                          - disabled, port: 1885, bind: 0.0.0.0
        system.adapter.netatmo-crawler.1        : netatmo-crawler       : iobroker-pi                                                                          - disabled
        system.adapter.netatmo-crawler.2        : netatmo-crawler       : iobroker-pi                                                                          - disabled
        system.adapter.parser.0                 : parser                : iobroker-pi                                                                          - disabled
        system.adapter.shelly.0                 : shelly                : iobroker-pi                                                                          - disabled, port: 1882, bind: 0.0.0.0
        system.adapter.smartmeter.0             : smartmeter            : iobroker-pi                                                                          - disabled
        system.adapter.sonoff.0                 : sonoff                : iobroker-pi                                                                          - disabled, port: 1883, bind: 0.0.0.0
        system.adapter.sourceanalytix.0         : sourceanalytix        : iobroker-pi                                                                          - disabled
        system.adapter.statistics.0             : statistics            : iobroker-pi                                                                          - disabled
        system.adapter.vis-bars.0               : vis-bars              : iobroker-pi                                                                          - disabled
        system.adapter.vis-history.0            : vis-history           : iobroker-pi                                                                          - disabled
        system.adapter.vis-hqwidgets.0          : vis-hqwidgets         : iobroker-pi                                                                          - disabled
        system.adapter.vis-rgraph.0             : vis-rgraph            : iobroker-pi                                                                          - disabled
        system.adapter.vis.0                    : vis                   : iobroker-pi                                                                          - disabled
        system.adapter.web.0                    : web                   : iobroker-pi                                                                          - disabled, port: 8082, bind: 0.0.0.0, run as: admi                                            n
      
      

      und hier nach den updates

      pi@iobroker-pi:~ $ node -v
      v18.17.1
      pi@iobroker-pi:~ $ npm -v
      9.6.7
      
      
      /opt/iobroker $ node node_modules/iobroker.js-controller/controll                                                  er.js --logs
      2023-09-26 00:09:08.428  - info: host.iobroker-pi iobroker.js-controller version                                                   4.0.23 js-controller starting
      2023-09-26 00:09:08.444  - info: host.iobroker-pi Copyright (c) 2014-2022 bluefo                                                  x, 2014 hobbyquaker
      2023-09-26 00:09:08.445  - info: host.iobroker-pi hostname: iobroker-pi, node: v                                                  18.17.1
      2023-09-26 00:09:08.448  - info: host.iobroker-pi ip addresses: 192.168.178.50 2                                                  a03:32a0:ac08:5f81:b76b:fc6b:bbd1:9f9b fe80::1c88:9cd8:fad:ad61
      2023-09-26 00:09:10.586  - error: host.iobroker-pi-Server Cannot start inMem-obj                                                  ects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.j                                                  sonl"!
      

      ich hab auch noch das log mit --watch kopiert

      iob logs --watch
      2023-09-26 00:00:25.540  - info: vis.0 (17604) starting. Version 1.4.16 in /opt/iobroker/node_modules/iobroker.vis, node: v18.17.1                               , js-controller: 4.0.23
      2023-09-26 00:00:26.025  - info: vis.0 (17604) vis license is OK.
      2023-09-26 00:00:27.200  - info: vis.0 (17604) Terminated (NO_ERROR): Without reason
      2023-09-26 00:03:29.086  - info: host.iobroker-pi iobroker npm-rebuild: rebuilt dependencies successfully
      2023-09-26 00:03:29.120  - info: host.iobroker-pi iobroker npm-rebuild:
      2023-09-26 00:03:29.121  - info: host.iobroker-pi iobroker npm-rebuild: Rebuilding native modules done
      2023-09-26 00:03:30.150  - info: host.iobroker-pi iobroker npm-rebuild: exit 0
      2023-09-26 00:03:31.430  - info: host.iobroker-pi instance system.adapter.admin.0 started with pid 18211
      2023-09-26 00:03:32.896  - error: host.iobroker-pi Caught by controller[0]: node:internal/modules/cjs/loader:1080
      2023-09-26 00:03:32.896  - error: host.iobroker-pi Caught by controller[0]:   throw err;
      2023-09-26 00:03:32.896  - error: host.iobroker-pi Caught by controller[0]:   ^
      2023-09-26 00:03:32.897  - error: host.iobroker-pi Caught by controller[0]: Error: Cannot find module '@iobroker/types'
      2023-09-26 00:03:32.897  - error: host.iobroker-pi Caught by controller[0]: Require stack:
      2023-09-26 00:03:32.897  - error: host.iobroker-pi Caught by controller[0]: - /opt/iobroker/node_modules/@iobroker/socket-classes/                               node_modules/@iobroker/adapter-core/build/index.js
      2023-09-26 00:03:32.898  - error: host.iobroker-pi Caught by controller[0]: - /opt/iobroker/node_modules/@iobroker/socket-classes/                               lib/socketCommands.js
      2023-09-26 00:03:32.898  - error: host.iobroker-pi Caught by controller[0]: - /opt/iobroker/node_modules/@iobroker/socket-classes/                               lib/socketCommon.js
      2023-09-26 00:03:32.898  - error: host.iobroker-pi Caught by controller[0]: - /opt/iobroker/node_modules/@iobroker/socket-classes/                               lib/socketAdmin.js
      2023-09-26 00:03:32.898  - error: host.iobroker-pi Caught by controller[0]: - /opt/iobroker/node_modules/@iobroker/socket-classes/                               index.js
      2023-09-26 00:03:32.898  - error: host.iobroker-pi Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.admin/main.js
      2023-09-26 00:03:32.899  - error: host.iobroker-pi Caught by controller[0]:     at Module._resolveFilename (node:internal/modules/                               cjs/loader:1077:15)
      2023-09-26 00:03:32.899  - error: host.iobroker-pi Caught by controller[0]:     at Module._load (node:internal/modules/cjs/loader:                               922:27)
      2023-09-26 00:03:32.899  - error: host.iobroker-pi Caught by controller[0]:     at Module.require (node:internal/modules/cjs/loade                               r:1143:19)
      2023-09-26 00:03:32.899  - error: host.iobroker-pi Caught by controller[0]:     at require (node:internal/modules/cjs/helpers:121:                               18)
      2023-09-26 00:03:32.900  - error: host.iobroker-pi Caught by controller[0]:     at Object.<anonymous> (/opt/iobroker/node_modules/                               @iobroker/socket-classes/node_modules/@iobroker/adapter-core/build/index.js:21:1)
      2023-09-26 00:03:32.900  - error: host.iobroker-pi Caught by controller[0]:     at Module._compile (node:internal/modules/cjs/load                               er:1256:14)
      2023-09-26 00:03:32.900  - error: host.iobroker-pi Caught by controller[0]:     at Module._extensions..js (node:internal/modules/c                               js/loader:1310:10)
      2023-09-26 00:03:32.900  - error: host.iobroker-pi Caught by controller[0]:     at Module.load (node:internal/modules/cjs/loader:1                               119:32)
      2023-09-26 00:03:32.900  - error: host.iobroker-pi Caught by controller[0]:     at Module._load (node:internal/modules/cjs/loader:                               960:12)
      2023-09-26 00:03:32.901  - error: host.iobroker-pi Caught by controller[0]:     at Module.require (node:internal/modules/cjs/loade                               r:1143:19) {
      2023-09-26 00:03:32.901  - error: host.iobroker-pi Caught by controller[0]:   code: 'MODULE_NOT_FOUND',
      2023-09-26 00:03:32.901  - error: host.iobroker-pi Caught by controller[0]:   requireStack: [
      2023-09-26 00:03:32.901  - error: host.iobroker-pi Caught by controller[0]:     '/opt/iobroker/node_modules/@iobroker/socket-class                               es/node_modules/@iobroker/adapter-core/build/index.js',
      2023-09-26 00:03:32.902  - error: host.iobroker-pi Caught by controller[0]:     '/opt/iobroker/node_modules/@iobroker/socket-class                               es/lib/socketCommands.js',
      2023-09-26 00:03:32.902  - error: host.iobroker-pi Caught by controller[0]:     '/opt/iobroker/node_modules/@iobroker/socket-class                               es/lib/socketCommon.js',
      2023-09-26 00:03:32.902  - error: host.iobroker-pi Caught by controller[0]:     '/opt/iobroker/node_modules/@iobroker/socket-class                               es/lib/socketAdmin.js',
      2023-09-26 00:03:32.902  - error: host.iobroker-pi Caught by controller[0]:     '/opt/iobroker/node_modules/@iobroker/socket-class                               es/index.js',
      2023-09-26 00:03:32.902  - error: host.iobroker-pi Caught by controller[0]:     '/opt/iobroker/node_modules/iobroker.admin/main.js                               '
      2023-09-26 00:03:32.903  - error: host.iobroker-pi Caught by controller[0]:   ]
      2023-09-26 00:03:32.903  - error: host.iobroker-pi Caught by controller[0]: }
      2023-09-26 00:03:32.903  - error: host.iobroker-pi Caught by controller[0]: Node.js v18.17.1
      2023-09-26 00:03:32.903  - error: host.iobroker-pi instance system.adapter.admin.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
      2023-09-26 00:03:32.904  - info: host.iobroker-pi Adapter system.adapter.admin.0 needs rebuild and will be restarted afterwards.
      2023-09-26 00:03:32.904  - info: host.iobroker-pi system.adapter.admin.0 will be rebuilt
      2023-09-26 00:03:32.904  - warn: host.iobroker-pi adapter "admin" seems to be installed for a different version of Node.js. Trying                                to rebuild it... 2 attempt
      2023-09-26 00:03:32.905  - info: host.iobroker-pi iobroker rebuild
      2023-09-26 00:03:34.350  - info: host.iobroker-pi iobroker npm-rebuild: Rebuilding native modules ...
      2023-09-26 00:03:46.059  - info: host.iobroker-pi received SIGTERM
      2023-09-26 00:03:46.065  - info: host.iobroker-pi stopInstance system.adapter.admin.0 (force=false, process=false)
      2023-09-26 00:03:46.066  - info: host.iobroker-pi stopInstance system.adapter.history.0 (force=false, process=false)
      2023-09-26 00:03:46.072  - info: host.iobroker-pi stopInstance system.adapter.javascript.0 (force=false, process=false)
      2023-09-26 00:03:46.073  - info: host.iobroker-pi stopInstance system.adapter.javascript.1 (force=false, process=false)
      2023-09-26 00:03:46.074  - info: host.iobroker-pi stopInstance system.adapter.smartmeter.0 (force=false, process=false)
      2023-09-26 00:03:46.074  - info: host.iobroker-pi stopInstance system.adapter.sonoff.0 (force=false, process=false)
      2023-09-26 00:03:46.076  - info: host.iobroker-pi stopInstance system.adapter.mqtt.0 (force=false, process=false)
      2023-09-26 00:03:46.077  - info: host.iobroker-pi stopInstance system.adapter.mqtt.1 (force=false, process=false)
      2023-09-26 00:03:46.077  - info: host.iobroker-pi stopInstance system.adapter.backitup.0 (force=false, process=true)
      2023-09-26 00:03:46.078  - info: host.iobroker-pi stopInstance system.adapter.discovery.0 (force=false, process=false)
      2023-09-26 00:03:46.079  - info: host.iobroker-pi stopInstance system.adapter.habpanel.0 (force=false, process=false)
      2023-09-26 00:03:46.080  - info: host.iobroker-pi stopInstance system.adapter.netatmo-crawler.1 (force=false, process=false)
      2023-09-26 00:03:46.082  - info: host.iobroker-pi stopInstance system.adapter.parser.0 (force=false, process=false)
      2023-09-26 00:03:46.083  - info: host.iobroker-pi stopInstance system.adapter.shelly.0 (force=false, process=false)
      2023-09-26 00:03:46.084  - info: host.iobroker-pi stopInstance system.adapter.web.0 (force=false, process=false)
      2023-09-26 00:03:46.085  - info: host.iobroker-pi stopInstance system.adapter.statistics.0 (force=false, process=false)
      2023-09-26 00:03:46.085  - info: host.iobroker-pi stopInstance system.adapter.sourceanalytix.0 (force=false, process=false)
      2023-09-26 00:03:46.087  - info: host.iobroker-pi stopInstance system.adapter.jarvis.0 (force=false, process=false)
      2023-09-26 00:03:46.089  - info: host.iobroker-pi stopInstance system.adapter.vis.0 (force=false, process=false)
      2023-09-26 00:03:46.090  - info: host.iobroker-pi stopInstance system.adapter.vis-hqwidgets.0 (force=false, process=false)
      2023-09-26 00:03:46.091  - info: host.iobroker-pi stopInstance system.adapter.vis-rgraph.0 (force=false, process=false)
      2023-09-26 00:03:46.091  - info: host.iobroker-pi stopInstance system.adapter.vis-bars.0 (force=false, process=false)
      2023-09-26 00:03:46.092  - info: host.iobroker-pi stopInstance system.adapter.vis-history.0 (force=false, process=false)
      2023-09-26 00:03:46.093  - info: host.iobroker-pi stopInstance system.adapter.ble.0 (force=false, process=false)
      2023-09-26 00:03:46.094  - info: host.iobroker-pi stopInstance system.adapter.netatmo-crawler.2 (force=false, process=false)
      2023-09-26 00:03:46.094  - info: host.iobroker-pi stopInstance system.adapter.fritzdect.0 (force=false, process=false)
      2023-09-26 00:03:46.096  - info: host.iobroker-pi stopInstance system.adapter.echarts.0 (force=false, process=false)
      2023-09-26 00:03:46.118  - info: host.iobroker-pi iobroker npm-rebuild: exit null
      2023-09-26 00:03:46.154  - info: host.iobroker-pi stopInstance system.adapter.backitup.0 send kill signal
      2023-09-26 00:03:47.156  - info: host.iobroker-pi stopInstance system.adapter.backitup.0 killing pid 17201
      2023-09-26 00:03:46.089  - info: backitup.0 (17201) cleaned everything up...
      2023-09-26 00:03:48.588  - warn: host.iobroker-pi instance system.adapter.backitup.0 terminated due to SIGTERM
      2023-09-26 00:03:48.589  - info: host.iobroker-pi instance system.adapter.backitup.0 terminated with code null ()
      2023-09-26 00:03:48.589  - info: host.iobroker-pi All instances are stopped.
      2023-09-26 00:03:49.297  - info: host.iobroker-pi terminated
      2023-09-26 00:04:11.224  - info: host.iobroker-pi iobroker.js-controller version 4.0.23 js-controller starting
      2023-09-26 00:04:11.232  - info: host.iobroker-pi Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
      2023-09-26 00:04:11.233  - info: host.iobroker-pi hostname: iobroker-pi, node: v18.17.1
      2023-09-26 00:04:11.234  - info: host.iobroker-pi ip addresses: 192.168.178.50 2a03:32a0:ac08:5f81:b76b:fc6b:bbd1:9f9b fe80::1c88:                               9cd8:fad:ad61
      2023-09-26 00:04:14.137  - info: host.iobroker-pi connected to Objects and States
      2023-09-26 00:04:14.180  - info: host.iobroker-pi added notifications configuration of host
      2023-09-26 00:04:15.136  - info: host.iobroker-pi 28 instances found
      2023-09-26 00:04:15.181  - info: host.iobroker-pi starting 2 instances
      2023-09-26 00:04:15.514  - info: host.iobroker-pi instance system.adapter.admin.0 started with pid 682
      2023-09-26 00:04:17.338  - error: host.iobroker-pi Caught by controller[0]: node:internal/modules/cjs/loader:1080
      2023-09-26 00:04:17.339  - error: host.iobroker-pi Caught by controller[0]:   throw err;
      2023-09-26 00:04:17.339  - error: host.iobroker-pi Caught by controller[0]:   ^
      2023-09-26 00:04:17.339  - error: host.iobroker-pi Caught by controller[0]: Error: Cannot find module '@iobroker/types'
      2023-09-26 00:04:17.340  - error: host.iobroker-pi Caught by controller[0]: Require stack:
      2023-09-26 00:04:17.340  - error: host.iobroker-pi Caught by controller[0]: - /opt/iobroker/node_modules/@iobroker/socket-classes/                               node_modules/@iobroker/adapter-core/build/index.js
      2023-09-26 00:04:17.341  - error: host.iobroker-pi Caught by controller[0]: - /opt/iobroker/node_modules/@iobroker/socket-classes/                               lib/socketCommands.js
      2023-09-26 00:04:17.341  - error: host.iobroker-pi Caught by controller[0]: - /opt/iobroker/node_modules/@iobroker/socket-classes/                               lib/socketCommon.js
      2023-09-26 00:04:17.342  - error: host.iobroker-pi Caught by controller[0]: - /opt/iobroker/node_modules/@iobroker/socket-classes/                               lib/socketAdmin.js
      2023-09-26 00:04:17.343  - error: host.iobroker-pi Caught by controller[0]: - /opt/iobroker/node_modules/@iobroker/socket-classes/                               index.js
      2023-09-26 00:04:17.343  - error: host.iobroker-pi Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.admin/main.js
      2023-09-26 00:04:17.343  - error: host.iobroker-pi Caught by controller[0]:     at Module._resolveFilename (node:internal/modules/                               cjs/loader:1077:15)
      2023-09-26 00:04:17.344  - error: host.iobroker-pi Caught by controller[0]:     at Module._load (node:internal/modules/cjs/loader:                               922:27)
      2023-09-26 00:04:17.344  - error: host.iobroker-pi Caught by controller[0]:     at Module.require (node:internal/modules/cjs/loade                               r:1143:19)
      2023-09-26 00:04:17.344  - error: host.iobroker-pi Caught by controller[0]:     at require (node:internal/modules/cjs/helpers:121:                               18)
      2023-09-26 00:04:17.344  - error: host.iobroker-pi Caught by controller[0]:     at Object.<anonymous> (/opt/iobroker/node_modules/                               @iobroker/socket-classes/node_modules/@iobroker/adapter-core/build/index.js:21:1)
      2023-09-26 00:04:17.345  - error: host.iobroker-pi Caught by controller[0]:     at Module._compile (node:internal/modules/cjs/load                               er:1256:14)
      2023-09-26 00:04:17.345  - error: host.iobroker-pi Caught by controller[0]:     at Module._extensions..js (node:internal/modules/c                               js/loader:1310:10)
      2023-09-26 00:04:17.345  - error: host.iobroker-pi Caught by controller[0]:     at Module.load (node:internal/modules/cjs/loader:1                               119:32)
      2023-09-26 00:04:17.346  - error: host.iobroker-pi Caught by controller[0]:     at Module._load (node:internal/modules/cjs/loader:                               960:12)
      2023-09-26 00:04:17.346  - error: host.iobroker-pi Caught by controller[0]:     at Module.require (node:internal/modules/cjs/loade                               r:1143:19) {
      2023-09-26 00:04:17.346  - error: host.iobroker-pi Caught by controller[0]:   code: 'MODULE_NOT_FOUND',
      2023-09-26 00:04:17.346  - error: host.iobroker-pi Caught by controller[0]:   requireStack: [
      2023-09-26 00:04:17.347  - error: host.iobroker-pi Caught by controller[0]:     '/opt/iobroker/node_modules/@iobroker/socket-class                               es/node_modules/@iobroker/adapter-core/build/index.js',
      2023-09-26 00:04:17.347  - error: host.iobroker-pi Caught by controller[0]:     '/opt/iobroker/node_modules/@iobroker/socket-class                               es/lib/socketCommands.js',
      2023-09-26 00:04:17.347  - error: host.iobroker-pi Caught by controller[0]:     '/opt/iobroker/node_modules/@iobroker/socket-class                               es/lib/socketCommon.js',
      2023-09-26 00:04:17.347  - error: host.iobroker-pi Caught by controller[0]:     '/opt/iobroker/node_modules/@iobroker/socket-class                               es/lib/socketAdmin.js',
      2023-09-26 00:04:17.348  - error: host.iobroker-pi Caught by controller[0]:     '/opt/iobroker/node_modules/@iobroker/socket-class                               es/index.js',
      2023-09-26 00:04:17.348  - error: host.iobroker-pi Caught by controller[0]:     '/opt/iobroker/node_modules/iobroker.admin/main.js                               '
      2023-09-26 00:04:17.348  - error: host.iobroker-pi Caught by controller[0]:   ]
      2023-09-26 00:04:17.349  - error: host.iobroker-pi Caught by controller[0]: }
      2023-09-26 00:04:17.349  - error: host.iobroker-pi Caught by controller[0]: Node.js v18.17.1
      2023-09-26 00:04:17.350  - error: host.iobroker-pi instance system.adapter.admin.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
      2023-09-26 00:04:17.350  - info: host.iobroker-pi Adapter system.adapter.admin.0 needs rebuild and will be restarted afterwards.
      2023-09-26 00:04:17.355  - info: host.iobroker-pi system.adapter.admin.0 will be rebuilt
      2023-09-26 00:04:17.356  - warn: host.iobroker-pi adapter "admin" seems to be installed for a different version of Node.js. Trying                                to rebuild it... 1 attempt
      2023-09-26 00:04:17.357  - info: host.iobroker-pi iobroker rebuild
      2023-09-26 00:04:19.051  - info: host.iobroker-pi iobroker npm-rebuild: Rebuilding native modules ...
      2023-09-26 00:04:19.275  - info: host.iobroker-pi instance system.adapter.backitup.0 started with pid 707
      2023-09-26 00:04:22.192  - info: backitup.0 (707) starting. Version 2.1.17 in /opt/iobroker/node_modules/iobroker.backitup, node:                                v18.17.1, js-controller: 4.0.23
      2023-09-26 00:04:22.276  - info: backitup.0 (707) [iobroker] backup was activated at 02:40 every 1 day(s)
      2023-09-26 00:05:03.055  - info: vis.0 (1101) starting. Version 1.4.16 in /opt/iobroker/node_modules/iobroker.vis, node: v18.17.1,                                js-controller: 4.0.23
      2023-09-26 00:05:03.582  - info: vis.0 (1101) vis license is OK.
      2023-09-26 00:05:07.279  - info: vis.0 (1101) Terminated (NO_ERROR): Without reason
      2023-09-26 00:06:29.290  - info: host.iobroker-pi iobroker npm-rebuild: rebuilt dependencies successfully
      2023-09-26 00:06:29.324  - info: host.iobroker-pi iobroker npm-rebuild:
      2023-09-26 00:06:29.325  - info: host.iobroker-pi iobroker npm-rebuild: Rebuilding native modules done
      2023-09-26 00:06:30.353  - info: host.iobroker-pi iobroker npm-rebuild: exit 0
      2023-09-26 00:06:30.567  - info: host.iobroker-pi instance system.adapter.admin.0 started with pid 1683
      2023-09-26 00:06:32.021  - error: host.iobroker-pi Caught by controller[0]: node:internal/modules/cjs/loader:1080
      2023-09-26 00:06:32.021  - error: host.iobroker-pi Caught by controller[0]:   throw err;
      2023-09-26 00:06:32.021  - error: host.iobroker-pi Caught by controller[0]:   ^
      2023-09-26 00:06:32.022  - error: host.iobroker-pi Caught by controller[0]: Error: Cannot find module '@iobroker/types'
      2023-09-26 00:06:32.022  - error: host.iobroker-pi Caught by controller[0]: Require stack:
      2023-09-26 00:06:32.022  - error: host.iobroker-pi Caught by controller[0]: - /opt/iobroker/node_modules/@iobroker/socket-classes/                               node_modules/@iobroker/adapter-core/build/index.js
      2023-09-26 00:06:32.022  - error: host.iobroker-pi Caught by controller[0]: - /opt/iobroker/node_modules/@iobroker/socket-classes/                               lib/socketCommands.js
      2023-09-26 00:06:32.023  - error: host.iobroker-pi Caught by controller[0]: - /opt/iobroker/node_modules/@iobroker/socket-classes/                               lib/socketCommon.js
      2023-09-26 00:06:32.023  - error: host.iobroker-pi Caught by controller[0]: - /opt/iobroker/node_modules/@iobroker/socket-classes/                               lib/socketAdmin.js
      2023-09-26 00:06:32.023  - error: host.iobroker-pi Caught by controller[0]: - /opt/iobroker/node_modules/@iobroker/socket-classes/                               index.js
      2023-09-26 00:06:32.023  - error: host.iobroker-pi Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.admin/main.js
      2023-09-26 00:06:32.024  - error: host.iobroker-pi Caught by controller[0]:     at Module._resolveFilename (node:internal/modules/                               cjs/loader:1077:15)
      2023-09-26 00:06:32.024  - error: host.iobroker-pi Caught by controller[0]:     at Module._load (node:internal/modules/cjs/loader:                               922:27)
      2023-09-26 00:06:32.024  - error: host.iobroker-pi Caught by controller[0]:     at Module.require (node:internal/modules/cjs/loade                               r:1143:19)
      2023-09-26 00:06:32.024  - error: host.iobroker-pi Caught by controller[0]:     at require (node:internal/modules/cjs/helpers:121:                               18)
      2023-09-26 00:06:32.024  - error: host.iobroker-pi Caught by controller[0]:     at Object.<anonymous> (/opt/iobroker/node_modules/                               @iobroker/socket-classes/node_modules/@iobroker/adapter-core/build/index.js:21:1)
      2023-09-26 00:06:32.025  - error: host.iobroker-pi Caught by controller[0]:     at Module._compile (node:internal/modules/cjs/load                               er:1256:14)
      2023-09-26 00:06:32.025  - error: host.iobroker-pi Caught by controller[0]:     at Module._extensions..js (node:internal/modules/c                               js/loader:1310:10)
      2023-09-26 00:06:32.025  - error: host.iobroker-pi Caught by controller[0]:     at Module.load (node:internal/modules/cjs/loader:1                               119:32)
      2023-09-26 00:06:32.025  - error: host.iobroker-pi Caught by controller[0]:     at Module._load (node:internal/modules/cjs/loader:                               960:12)
      2023-09-26 00:06:32.026  - error: host.iobroker-pi Caught by controller[0]:     at Module.require (node:internal/modules/cjs/loade                               r:1143:19) {
      2023-09-26 00:06:32.026  - error: host.iobroker-pi Caught by controller[0]:   code: 'MODULE_NOT_FOUND',
      2023-09-26 00:06:32.026  - error: host.iobroker-pi Caught by controller[0]:   requireStack: [
      2023-09-26 00:06:32.026  - error: host.iobroker-pi Caught by controller[0]:     '/opt/iobroker/node_modules/@iobroker/socket-class                               es/node_modules/@iobroker/adapter-core/build/index.js',
      2023-09-26 00:06:32.027  - error: host.iobroker-pi Caught by controller[0]:     '/opt/iobroker/node_modules/@iobroker/socket-class                               es/lib/socketCommands.js',
      2023-09-26 00:06:32.027  - error: host.iobroker-pi Caught by controller[0]:     '/opt/iobroker/node_modules/@iobroker/socket-class                               es/lib/socketCommon.js',
      2023-09-26 00:06:32.027  - error: host.iobroker-pi Caught by controller[0]:     '/opt/iobroker/node_modules/@iobroker/socket-class                               es/lib/socketAdmin.js',
      2023-09-26 00:06:32.027  - error: host.iobroker-pi Caught by controller[0]:     '/opt/iobroker/node_modules/@iobroker/socket-class                               es/index.js',
      2023-09-26 00:06:32.027  - error: host.iobroker-pi Caught by controller[0]:     '/opt/iobroker/node_modules/iobroker.admin/main.js                               '
      2023-09-26 00:06:32.028  - error: host.iobroker-pi Caught by controller[0]:   ]
      2023-09-26 00:06:32.028  - error: host.iobroker-pi Caught by controller[0]: }
      2023-09-26 00:06:32.028  - error: host.iobroker-pi Caught by controller[0]: Node.js v18.17.1
      2023-09-26 00:06:32.028  - error: host.iobroker-pi instance system.adapter.admin.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
      2023-09-26 00:06:32.029  - info: host.iobroker-pi Adapter system.adapter.admin.0 needs rebuild and will be restarted afterwards.
      2023-09-26 00:06:32.029  - info: host.iobroker-pi system.adapter.admin.0 will be rebuilt
      2023-09-26 00:06:32.029  - warn: host.iobroker-pi adapter "admin" seems to be installed for a different version of Node.js. Trying                                to rebuild it... 2 attempt
      2023-09-26 00:06:32.030  - info: host.iobroker-pi iobroker rebuild
      2023-09-26 00:06:33.397  - info: host.iobroker-pi iobroker npm-rebuild: Rebuilding native modules ...
      2023-09-26 00:06:56.953  - info: vis.0 (2085) starting. Version 1.4.16 in /opt/iobroker/node_modules/iobroker.vis, node: v18.17.1,                                js-controller: 4.0.23
      2023-09-26 00:06:57.467  - info: vis.0 (2085) vis license is OK.
      2023-09-26 00:06:58.569  - info: vis.0 (2085) Terminated (NO_ERROR): Without reason
      2023-09-26 00:08:23.838  - info: host.iobroker-pi iobroker npm-rebuild: rebuilt dependencies successfully
      2023-09-26 00:08:23.871  - info: host.iobroker-pi iobroker npm-rebuild:
      2023-09-26 00:08:23.872  - info: host.iobroker-pi iobroker npm-rebuild: Rebuilding native modules done
      2023-09-26 00:08:24.899  - info: host.iobroker-pi iobroker npm-rebuild: exit 0
      2023-09-26 00:08:25.173  - info: host.iobroker-pi instance system.adapter.admin.0 started with pid 2697
      2023-09-26 00:08:26.623  - error: host.iobroker-pi Caught by controller[0]: node:internal/modules/cjs/loader:1080
      2023-09-26 00:08:26.624  - error: host.iobroker-pi Caught by controller[0]:   throw err;
      2023-09-26 00:08:26.624  - error: host.iobroker-pi Caught by controller[0]:   ^
      2023-09-26 00:08:26.625  - error: host.iobroker-pi Caught by controller[0]: Error: Cannot find module '@iobroker/types'
      2023-09-26 00:08:26.625  - error: host.iobroker-pi Caught by controller[0]: Require stack:
      2023-09-26 00:08:26.625  - error: host.iobroker-pi Caught by controller[0]: - /opt/iobroker/node_modules/@iobroker/socket-classes/                               node_modules/@iobroker/adapter-core/build/index.js
      2023-09-26 00:08:26.625  - error: host.iobroker-pi Caught by controller[0]: - /opt/iobroker/node_modules/@iobroker/socket-classes/                               lib/socketCommands.js
      2023-09-26 00:08:26.625  - error: host.iobroker-pi Caught by controller[0]: - /opt/iobroker/node_modules/@iobroker/socket-classes/                               lib/socketCommon.js
      2023-09-26 00:08:26.626  - error: host.iobroker-pi Caught by controller[0]: - /opt/iobroker/node_modules/@iobroker/socket-classes/                               lib/socketAdmin.js
      2023-09-26 00:08:26.626  - error: host.iobroker-pi Caught by controller[0]: - /opt/iobroker/node_modules/@iobroker/socket-classes/                               index.js
      2023-09-26 00:08:26.626  - error: host.iobroker-pi Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.admin/main.js
      2023-09-26 00:08:26.626  - error: host.iobroker-pi Caught by controller[0]:     at Module._resolveFilename (node:internal/modules/                               cjs/loader:1077:15)
      2023-09-26 00:08:26.627  - error: host.iobroker-pi Caught by controller[0]:     at Module._load (node:internal/modules/cjs/loader:                               922:27)
      2023-09-26 00:08:26.627  - error: host.iobroker-pi Caught by controller[0]:     at Module.require (node:internal/modules/cjs/loade                               r:1143:19)
      2023-09-26 00:08:26.627  - error: host.iobroker-pi Caught by controller[0]:     at require (node:internal/modules/cjs/helpers:121:                               18)
      2023-09-26 00:08:26.627  - error: host.iobroker-pi Caught by controller[0]:     at Object.<anonymous> (/opt/iobroker/node_modules/                               @iobroker/socket-classes/node_modules/@iobroker/adapter-core/build/index.js:21:1)
      2023-09-26 00:08:26.628  - error: host.iobroker-pi Caught by controller[0]:     at Module._compile (node:internal/modules/cjs/load                               er:1256:14)
      2023-09-26 00:08:26.628  - error: host.iobroker-pi Caught by controller[0]:     at Module._extensions..js (node:internal/modules/c                               js/loader:1310:10)
      2023-09-26 00:08:26.628  - error: host.iobroker-pi Caught by controller[0]:     at Module.load (node:internal/modules/cjs/loader:1                               119:32)
      2023-09-26 00:08:26.628  - error: host.iobroker-pi Caught by controller[0]:     at Module._load (node:internal/modules/cjs/loader:                               960:12)
      2023-09-26 00:08:26.628  - error: host.iobroker-pi Caught by controller[0]:     at Module.require (node:internal/modules/cjs/loade                               r:1143:19) {
      2023-09-26 00:08:26.629  - error: host.iobroker-pi Caught by controller[0]:   code: 'MODULE_NOT_FOUND',
      2023-09-26 00:08:26.629  - error: host.iobroker-pi Caught by controller[0]:   requireStack: [
      2023-09-26 00:08:26.629  - error: host.iobroker-pi Caught by controller[0]:     '/opt/iobroker/node_modules/@iobroker/socket-class                               es/node_modules/@iobroker/adapter-core/build/index.js',
      2023-09-26 00:08:26.629  - error: host.iobroker-pi Caught by controller[0]:     '/opt/iobroker/node_modules/@iobroker/socket-class                               es/lib/socketCommands.js',
      2023-09-26 00:08:26.630  - error: host.iobroker-pi Caught by controller[0]:     '/opt/iobroker/node_modules/@iobroker/socket-class                               es/lib/socketCommon.js',
      2023-09-26 00:08:26.630  - error: host.iobroker-pi Caught by controller[0]:     '/opt/iobroker/node_modules/@iobroker/socket-class                               es/lib/socketAdmin.js',
      2023-09-26 00:08:26.630  - error: host.iobroker-pi Caught by controller[0]:     '/opt/iobroker/node_modules/@iobroker/socket-class                               es/index.js',
      2023-09-26 00:08:26.630  - error: host.iobroker-pi Caught by controller[0]:     '/opt/iobroker/node_modules/iobroker.admin/main.js                               '
      2023-09-26 00:08:26.630  - error: host.iobroker-pi Caught by controller[0]:   ]
      2023-09-26 00:08:26.631  - error: host.iobroker-pi Caught by controller[0]: }
      2023-09-26 00:08:26.631  - error: host.iobroker-pi Caught by controller[0]: Node.js v18.17.1
      2023-09-26 00:08:26.631  - error: host.iobroker-pi instance system.adapter.admin.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
      2023-09-26 00:08:26.631  - info: host.iobroker-pi Adapter system.adapter.admin.0 needs rebuild and will be restarted afterwards.
      2023-09-26 00:08:26.632  - info: host.iobroker-pi system.adapter.admin.0 will be rebuilt
      2023-09-26 00:08:26.632  - warn: host.iobroker-pi adapter "admin" seems to be installed for a different version of Node.js. Trying                                to rebuild it... 3 attempt
      2023-09-26 00:08:26.632  - info: host.iobroker-pi iobroker rebuild
      2023-09-26 00:08:28.000  - info: host.iobroker-pi iobroker npm-rebuild: Rebuilding native modules ...
      2023-09-26 00:08:51.862  - info: vis.0 (3101) starting. Version 1.4.16 in /opt/iobroker/node_modules/iobroker.vis, node: v18.17.1,                                js-controller: 4.0.23
      2023-09-26 00:08:52.384  - info: vis.0 (3101) vis license is OK.
      2023-09-26 00:08:53.444  - info: vis.0 (3101) Terminated (NO_ERROR): Without reason
      2023-09-26 00:09:08.428  - info: host.iobroker-pi iobroker.js-controller version 4.0.23 js-controller starting
      2023-09-26 00:09:08.444  - info: host.iobroker-pi Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
      2023-09-26 00:09:08.445  - info: host.iobroker-pi hostname: iobroker-pi, node: v18.17.1
      2023-09-26 00:09:08.448  - info: host.iobroker-pi ip addresses: 192.168.178.50 2a03:32a0:ac08:5f81:b76b:fc6b:bbd1:9f9b fe80::1c88:                               9cd8:fad:ad61
      2023-09-26 00:09:10.586  - error: host.iobroker-pi-Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/io                               broker/iobroker-data/objects.jsonl"!
      2023-09-26 00:10:15.501  - info: host.iobroker-pi iobroker npm-rebuild: rebuilt dependencies successfully
      2023-09-26 00:10:15.535  - info: host.iobroker-pi iobroker npm-rebuild:
      2023-09-26 00:10:15.537  - info: host.iobroker-pi iobroker npm-rebuild: Rebuilding native modules done
      2023-09-26 00:10:16.562  - info: host.iobroker-pi iobroker npm-rebuild: exit 0
      2023-09-26 00:10:16.821  - info: host.iobroker-pi instance system.adapter.admin.0 started with pid 3701
      2023-09-26 00:10:18.256  - error: host.iobroker-pi Caught by controller[0]: node:internal/modules/cjs/loader:1080
      2023-09-26 00:10:18.257  - error: host.iobroker-pi Caught by controller[0]:   throw err;
      2023-09-26 00:10:18.257  - error: host.iobroker-pi Caught by controller[0]:   ^
      2023-09-26 00:10:18.257  - error: host.iobroker-pi Caught by controller[0]: Error: Cannot find module '@iobroker/types'
      2023-09-26 00:10:18.258  - error: host.iobroker-pi Caught by controller[0]: Require stack:
      2023-09-26 00:10:18.258  - error: host.iobroker-pi Caught by controller[0]: - /opt/iobroker/node_modules/@iobroker/socket-classes/                               node_modules/@iobroker/adapter-core/build/index.js
      2023-09-26 00:10:18.258  - error: host.iobroker-pi Caught by controller[0]: - /opt/iobroker/node_modules/@iobroker/socket-classes/                               lib/socketCommands.js
      2023-09-26 00:10:18.258  - error: host.iobroker-pi Caught by controller[0]: - /opt/iobroker/node_modules/@iobroker/socket-classes/                               lib/socketCommon.js
      2023-09-26 00:10:18.258  - error: host.iobroker-pi Caught by controller[0]: - /opt/iobroker/node_modules/@iobroker/socket-classes/                               lib/socketAdmin.js
      2023-09-26 00:10:18.259  - error: host.iobroker-pi Caught by controller[0]: - /opt/iobroker/node_modules/@iobroker/socket-classes/                               index.js
      2023-09-26 00:10:18.259  - error: host.iobroker-pi Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.admin/main.js
      2023-09-26 00:10:18.259  - error: host.iobroker-pi Caught by controller[0]:     at Module._resolveFilename (node:internal/modules/                               cjs/loader:1077:15)
      2023-09-26 00:10:18.259  - error: host.iobroker-pi Caught by controller[0]:     at Module._load (node:internal/modules/cjs/loader:                               922:27)
      2023-09-26 00:10:18.260  - error: host.iobroker-pi Caught by controller[0]:     at Module.require (node:internal/modules/cjs/loade                               r:1143:19)
      2023-09-26 00:10:18.260  - error: host.iobroker-pi Caught by controller[0]:     at require (node:internal/modules/cjs/helpers:121:                               18)
      2023-09-26 00:10:18.260  - error: host.iobroker-pi Caught by controller[0]:     at Object.<anonymous> (/opt/iobroker/node_modules/                               @iobroker/socket-classes/node_modules/@iobroker/adapter-core/build/index.js:21:1)
      2023-09-26 00:10:18.260  - error: host.iobroker-pi Caught by controller[0]:     at Module._compile (node:internal/modules/cjs/load                               er:1256:14)
      2023-09-26 00:10:18.260  - error: host.iobroker-pi Caught by controller[0]:     at Module._extensions..js (node:internal/modules/c                               js/loader:1310:10)
      2023-09-26 00:10:18.261  - error: host.iobroker-pi Caught by controller[0]:     at Module.load (node:internal/modules/cjs/loader:1                               119:32)
      2023-09-26 00:10:18.261  - error: host.iobroker-pi Caught by controller[0]:     at Module._load (node:internal/modules/cjs/loader:                               960:12)
      2023-09-26 00:10:18.261  - error: host.iobroker-pi Caught by controller[0]:     at Module.require (node:internal/modules/cjs/loade                               r:1143:19) {
      2023-09-26 00:10:18.261  - error: host.iobroker-pi Caught by controller[0]:   code: 'MODULE_NOT_FOUND',
      2023-09-26 00:10:18.262  - error: host.iobroker-pi Caught by controller[0]:   requireStack: [
      2023-09-26 00:10:18.262  - error: host.iobroker-pi Caught by controller[0]:     '/opt/iobroker/node_modules/@iobroker/socket-class                               es/node_modules/@iobroker/adapter-core/build/index.js',
      2023-09-26 00:10:18.262  - error: host.iobroker-pi Caught by controller[0]:     '/opt/iobroker/node_modules/@iobroker/socket-class                               es/lib/socketCommands.js',
      2023-09-26 00:10:18.262  - error: host.iobroker-pi Caught by controller[0]:     '/opt/iobroker/node_modules/@iobroker/socket-class                               es/lib/socketCommon.js',
      2023-09-26 00:10:18.262  - error: host.iobroker-pi Caught by controller[0]:     '/opt/iobroker/node_modules/@iobroker/socket-class                               es/lib/socketAdmin.js',
      2023-09-26 00:10:18.263  - error: host.iobroker-pi Caught by controller[0]:     '/opt/iobroker/node_modules/@iobroker/socket-class                               es/index.js',
      2023-09-26 00:10:18.263  - error: host.iobroker-pi Caught by controller[0]:     '/opt/iobroker/node_modules/iobroker.admin/main.js                               '
      2023-09-26 00:10:18.263  - error: host.iobroker-pi Caught by controller[0]:   ]
      2023-09-26 00:10:18.263  - error: host.iobroker-pi Caught by controller[0]: }
      2023-09-26 00:10:18.263  - error: host.iobroker-pi Caught by controller[0]: Node.js v18.17.1
      2023-09-26 00:10:18.264  - error: host.iobroker-pi instance system.adapter.admin.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
      2023-09-26 00:10:18.264  - info: host.iobroker-pi Rebuild for adapter system.adapter.admin.0 not successful in 3 tries. Adapter wi                               ll not be restarted again. Please execute "npm install --production" in adapter directory manually.
      

      Was kann ich jetzt tun, um den Admin wieder erreichbar zu machen ?

      Ich möchte natürlich alle Daten, Objekte und scripte behalten.
      In welches Verzeichnis muß ich mich hangeln, um den "npm install" anzustossen ?

      Schon mal Danke von einem verzweifelten Anfänger.

      Thomas Braun Glasfaser 3 Replies Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @kasten bier last edited by

        @kasten-bier sagte in broker Admin nicht erreichbar + Failed to lock DB file:

        it Netzstecker ziehen und einstöpseln wieder am Laufen.

        Du spielst in deiner Freizeit gerne Russisch Roulette?

        1 Reply Last reply Reply Quote 0
        • Glasfaser
          Glasfaser @kasten bier last edited by

          @kasten-bier sagte in broker Admin nicht erreichbar + Failed to lock DB file:

          iobroker seit Februar 2022 auf raspi am Laufen.

          schlecht denn , so wie du hier alles zeigst , hast du sein System und ioBroker nicht mehr danach auf dem laufendem gehalten :

          v12.22.6

          dann

          js-controller: 4.0.23

          Hast du ein Backup !?

          im letzten halben Jahr zwei mal "offline". mit Netzstecker ziehen und einstöpseln wieder am Laufen.

          und das .. macht man nicht !

          K 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @kasten bier last edited by Thomas Braun

            @kasten-bier

            iob stop
            iob fix
            iob start
            

            WARTEN

            iob diag
            

            sagt dann? Langfassung bitte.

            K 3 Replies Last reply Reply Quote 0
            • K
              kasten bier @Thomas Braun last edited by

              @glasfaser
              ja das vom Samstag hatte ich eingespielt, seitdem läuft ist der admin nicht mehr erreichbar.

              Glasfaser 1 Reply Last reply Reply Quote 0
              • Glasfaser
                Glasfaser @kasten bier last edited by Glasfaser

                @kasten-bier sagte in broker Admin nicht erreichbar + Failed to lock DB file:

                @glasfaser
                ja das vom Samstag hatte ich eingespielt,

                Das kommt aber nicht bei einer Restore :

                warn: host.iobroker-pi adapter "admin" seems to be installed for a different version of Node.js. Trying

                Homoran 1 Reply Last reply Reply Quote 0
                • K
                  kasten bier @Thomas Braun last edited by

                  @thomas-braun
                  hier die summary:
                  Copy text starting here:

                  ======================= SUMMARY =======================
                                       v.2023-06-20
                  
                  
                     Static hostname: iobroker-pi
                           Icon name: computer
                          Machine ID: 8c7521687f1c426fafe88f497be66f04
                             Boot ID: d3b295b8436d44e2beb25306385497a1
                    Operating System: Raspbian GNU/Linux 10 (buster)
                              Kernel: Linux 5.10.103-v7l+
                        Architecture: arm
                  
                  Installation:           native
                  Kernel:                 armv7l
                  Userland:               armhf
                  Timezone:               Europe/Berlin (CEST, +0200)
                  User-ID:                1000
                  X-Server:               false
                  Boot Target:            multi-user.target
                  
                  Pending OS-Updates:     0
                  Pending iob updates:    19
                  
                  Nodejs-Installation:    /usr/bin/nodejs         v18.17.1
                                          /usr/bin/node           v18.17.1
                                          /usr/bin/npm            9.6.7
                                          /usr/bin/npx            9.6.7
                  
                  Recommended versions are nodejs 18.x.y and npm 9.x.y
                  Your nodejs installation is correct
                  
                  MEMORY:
                                total        used        free      shared  buff/cache   available
                  Mem:           1.9G        404M        920M         16M        597M        1.4G
                  Swap:           99M          0B         99M
                  Total:         2.0G        404M        1.0G
                  
                  Active iob-Instances:   2
                  Active repo(s): stable
                  
                  ioBroker Core:          js-controller           4.0.23
                                          admin                   6.2.23
                  
                  ioBroker Status:        iobroker is running on this host.
                  
                  
                  Objects type: jsonl
                  States  type: jsonl
                  
                  Status admin and web instance:
                    system.adapter.admin.0                  : admin                 : iobroker-pi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                    system.adapter.web.0                    : web                   : iobroker-pi                              - disabled, port: 8082, bind: 0.0.0.0, run as: admin
                  
                  Objects:                25289
                  States:                 2599
                  
                  Size of iob-Database:
                  
                  34M     /opt/iobroker/iobroker-data/objects.jsonl
                  3.8M    /opt/iobroker/iobroker-data/objects.json.migrated
                  3.8M    /opt/iobroker/iobroker-data/objects.json.bak.migrated
                  768K    /opt/iobroker/iobroker-data/states.jsonl
                  88K     /opt/iobroker/iobroker-data/states.json.migrated
                  88K     /opt/iobroker/iobroker-data/states.json.bak.migrated
                  0       /opt/iobroker/iobroker-data/states.json.broken
                  
                  
                  
                  =================== END OF SUMMARY ====================
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators @Glasfaser last edited by

                    @glasfaser sagte in broker Admin nicht erreichbar + Failed to lock DB file:

                    Das kommt aber nicht bei einer Restore :

                    doch, wen das Backup von

                    @kasten-bier sagte in broker Admin nicht erreichbar + Failed to lock DB file:

                    node -v
                    v12.22.6

                    ist und die neue

                    @kasten-bier sagte in broker Admin nicht erreichbar + Failed to lock DB file:

                    v18.17.1

                    dann kommt

                    @kasten-bier sagte in broker Admin nicht erreichbar + Failed to lock DB file:

                    Trying to rebuild it... 2 attempt

                    was natürlich dauert

                    1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @kasten bier last edited by

                      @kasten-bier sagte in broker Admin nicht erreichbar + Failed to lock DB file:

                      hier die summary:

                      Das ist nicht die Langfassung.

                      1 Reply Last reply Reply Quote 0
                      • K
                        kasten bier @Thomas Braun last edited by

                        @thomas-braun
                        sind mehr als 10000 Zeichen , habs mal als txt hochgeladen.iob diag.txt

                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @kasten bier last edited by Thomas Braun

                          @kasten-bier

                          Wo hast du die nodejs@18.17.1 denn her?
                          Nicht ordentlich aus einem Repo, das läuft nämlich auf 16 bei dir.

                          K 1 Reply Last reply Reply Quote 0
                          • K
                            kasten bier @Thomas Braun last edited by

                            @thomas-braun
                            oje, ich hab gestern vor verzweiflung einfach in dem Befehl:

                            curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
                            sudo apt-get install -y nodejs
                            

                            aus der 16 eine 18 gemacht, glaube ich mich zu erinnern.

                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @kasten bier last edited by

                              @kasten-bier

                              Versuch mal das node-fix-Skript aus meiner Signatur.

                              K 1 Reply Last reply Reply Quote 0
                              • K
                                kasten bier @Thomas Braun last edited by kasten bier

                                @thomas-braun
                                das script ist durchgelaufen, leider keine Admin-Seite da.

                                Ist ein Downgrade auf 16.x möglich ?
                                Hat mich gestern angemeckert, daß mein 18er aktueller wäre.

                                Thomas Braun Glasfaser 2 Replies Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @kasten bier last edited by

                                  @kasten-bier sagte in broker Admin nicht erreichbar + Failed to lock DB file:

                                  Ist ein Downgrade auf 16.x möglich ?

                                  Wozu?

                                  iob update
                                  iob upgrade all -y
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • Glasfaser
                                    Glasfaser @kasten bier last edited by

                                    @kasten-bier sagte in broker Admin nicht erreichbar + Failed to lock DB file:

                                    Ist ein Downgrade auf 16.x möglich ?

                                    @Thomas-Braun

                                    Nur zur Info bevor er damit weiter macht :

                                    Operating System: Raspbian GNU/Linux 10 (buster)

                                    und so eine lange ... unendliche Liste habe ich noch nie gesehen in seinem Log
                                    mit :

                                    npm ERR! code ELSPROBLEMS

                                    Thomas Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @Glasfaser last edited by

                                      @glasfaser sagte in broker Admin nicht erreichbar + Failed to lock DB file:

                                      und so eine lange ... unendliche Liste habe ich noch nie gesehen

                                      Hab ich natürlich gesehen. Überwiegend extraneous. Die dürfte man mit

                                      npm prune
                                      rausbekommen. Aber dafür braucht es erstmal eine stabile Basis bei nodejs und Co.

                                      1 Reply Last reply Reply Quote 0
                                      • K
                                        kasten bier @Glasfaser last edited by

                                        @glasfaser said in broker Admin nicht erreichbar + Failed to lock DB file:

                                        @kasten-bier sagte in broker Admin nicht erreichbar + Failed to lock DB file:

                                        und das .. macht man nicht !

                                        Naja, es wurde ja eh nix mehr auf die sd-karte geschrieben, jedenfalls lief der admin nicht / nicht erreichbar und meine tasmota-Steckdosen haben geblinkt, weil kein mqqt-server mehr lief.

                                        Gruß

                                        Thomas Braun 2 Replies Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @kasten bier last edited by

                                          @kasten-bier

                                          Macht man trotzdem nicht. Nie. Also im Sinne von GAR NICHT.

                                          1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @kasten bier last edited by

                                            @kasten-bier

                                            Wie sieht die Basis denn nun aus bei dir?

                                            nodesjs 18.18.0 sauber drauf?

                                            K 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

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

                                            850
                                            Online

                                            32.0k
                                            Users

                                            80.6k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            34
                                            742
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo