NEWS
iObroker not accessible
-
@vraanaa sagte in iObroker not accessible:
@thomas-braun meinst du dass ich remote vnc
desktop benutzen nicht?
kann ich auch durch putty zum ssh gehen. -
iobroker status
-
@thomas-braun gleiche
pi@raspberrypi:~ $ iobroker status node:internal/modules/cjs/loader:988 throw err; ^ Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' at Function.Module._resolveFilename (node:internal/modules/cjs/loader:985:15) at Function.Module._load (node:internal/modules/cjs/loader:833:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) at node:internal/main/run_main_module:22:47 { code: 'MODULE_NOT_FOUND', requireStack: [] }
-
cd /opt/iobroker sudo -H -u iobroker npm install iobroker.js-controller
-
pi@raspberrypi:~ $ cd /opt/iobroker pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller npm ERR! code 24 npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller npm ERR! command failed npm ERR! command sh -c -- node iobroker.js setup first npm ERR! Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"! npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-12-12T22_41_51_919Z-debug-0.log
-
@vraanaa sagte in iObroker not accessible:
systemctl status iobroker.service sudo lsof /opt/iobroker/iobroker-data/objects.jsonl
-
pi@raspberrypi:/opt/iobroker $ systemctl status iobroker.servicesystemctl status iobroker.service Unit iobroker.servicesystemctl.service could not be found. Unit status.service could not be found. * iobroker.service - ioBroker Server Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2022-12-12 23:46:34 CET; 550ms ago Docs: http://iobroker.net Main PID: 7175 (node) Tasks: 7 (limit: 4915) CPU: 534ms CGroup: /system.slice/iobroker.service `-7175 /usr/bin/node /opt/iobroker/node_modules/iobroker.js-controller/controller.js pro 12 23:46:35 raspberrypi bash[7175]: Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/controller.js' pro 12 23:46:35 raspberrypi bash[7175]: at Function.Module._resolveFilename (node:internal/modules/cjs/loader:985:15) pro 12 23:46:35 raspberrypi bash[7175]: at Function.Module._load (node:internal/modules/cjs/loader:833:27) pro 12 23:46:35 raspberrypi bash[7175]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) pro 12 23:46:35 raspberrypi bash[7175]: at node:internal/main/run_main_module:22:47 { pro 12 23:46:35 raspberrypi bash[7175]: code: 'MODULE_NOT_FOUND', pro 12 23:46:35 raspberrypi bash[7175]: requireStack: [] pro 12 23:46:35 raspberrypi bash[7175]: } pro 12 23:46:35 raspberrypi systemd[1]: iobroker.service: Main process exited, code=exited, status=1/FAILURE pro 12 23:46:35 raspberrypi systemd[1]: iobroker.service: Failed with result 'exit-code'. pi@raspberrypi:/opt/iobroker $ sudo lsof /opt/iobroker/iobroker-data/objects.jsonl pi@raspberrypi:/opt/iobroker $ systemctl status iobroker.service sudo lsof /opt/iobroker/iobroker-data/objects.jsonl * iobroker.service - ioBroker Server Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Mon 2022-12-12 23:48:20 CET; 654ms ago Docs: http://iobroker.net Process: 7409 ExecStart=/usr/bin/bash -c ${NODE} /opt/iobroker/node_modules/iobroker.js-controller/controller.js (code=exited, status=1/FAILURE) Main PID: 7409 (code=exited, status=1/FAILURE) CPU: 657ms
-
sudo systemctl disable iobroker.service sudo systemctl stop iobroker.service cd /opt/iobroker sudo -H -u iobroker npm install iobroker.js-controller
-
pi@raspberrypi:~ $ sudo systemctl disable iobroker.service pi@raspberrypi:~ $ sudo systemctl stop iobroker.service pi@raspberrypi:~ $ cd /opt/iobroker pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller npm ERR! code 22 npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller npm ERR! command failed npm ERR! command sh -c -- node iobroker.js setup first npm ERR! No connection to databases possible ... npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-12-12T23_22_21_375Z-debug-0.log pi@raspberrypi:/opt/iobroker $
-
No idea.
-
@thomas-braun Thank you anyway. Youre the best - I have a backup image of my iobroker - maybe to completely reinstall entire system...
Maybe will help.
If I will install entire RPI - new installation will come with Bullseye - or what I need to take care of if I renew entire installation?Thank you for your time and support
-
If you want to completely reinstall:
Download the Raspberry OS Imager at their site and choose the 64bit Lite Version.