NEWS
iobroker startet nach Stromausfall nicht mehr
-
Habe jetzt den Beitrag https://forum.iobroker.net/topic/43325/mini-howto-cannot-find-view-system-for-search-host?_=1616096619995 durchgeführt. Leider keine Besserung. Kann nach wie vor mein iobroker via web nicht öffnen.
-
-
iobroker status Uncaught Rejection: TypeError: Cannot read properties of undefined (reading 'warning') at ObjectsInMemoryServer.initBackupDir (/opt/iobroker/node_modules/@iobroker/db-base/lib/inMemFileDB.js:187:22) at new InMemoryFileDB (/opt/iobroker/node_modules/@iobroker/db-base/lib/inMemFileDB.js:83:18) at new ObjectsInMemoryFileDB (/opt/iobroker/node_modules/@iobroker/db-objects-file/lib/objects/objectsInMemFileDB.js:34:9) at new ObjectsInMemoryJsonlDB (/opt/iobroker/node_modules/@iobroker/db-objects-jsonl/lib/objects/objectsInMemJsonlDB.js:58:9) at new ObjectsInMemoryServer (/opt/iobroker/node_modules/@iobroker/db-objects-jsonl/lib/objects/objectsInMemServerRedis.js:57:9) at new ObjectsInMemoryServerClass (/opt/iobroker/node_modules/@iobroker/db-objects-jsonl/lib/objects/objectsInMemServerClass.js:34:30) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:3123:27)
iobroker stop pi@raspberrypi:/opt/iobroker/iobroker-data/backup-objects $ iobroker fix library: loaded Library version=2022-02-10 ========================================================================== Welcome to the ioBroker installation fixer! Script version: 2022-02-13 You might need to enter your password a couple of times. ========================================================================== ========================================================================== Installing prerequisites (1/3) ========================================================================== Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Get:2 http://archive.raspberrypi.org/debian bullseye InRelease [23.7 kB] Hit:3 https://repos.influxdata.com/debian bullseye InRelease Hit:4 https://deb.nodesource.com/node_16.x bullseye InRelease Get:5 https://archive.raspbian.org/raspbian buster InRelease [15.0 kB] Get:6 http://archive.raspberrypi.org/debian bullseye/main armhf Packages [279 kB] Fetched 317 kB in 1s (213 kB/s) Reading package lists... Done Installed gcc-c++ Installed python-dev ========================================================================== Checking ioBroker user and directory permissions (2/3) ========================================================================== Created /etc/sudoers.d/iobroker Fixing directory permissions... ========================================================================== Checking autostart (3/3) ========================================================================== Enabling autostart... Autostart enabled! ========================================================================== Your installation was fixed successfully Run iobroker start to start ioBroker again! ========================================================================== pi@raspberrypi:/opt/iobroker/iobroker-data/backup-objects $ iobroker start
Nach wie vor kein Zugriff via ip auf meinem iobroker
-
Auch du fährst da einen Mix aus zwei Releases in den sources.lists
Das gibt früher oder später Kopfschmerzen. Eher früher.Ist hier auch ein Problem:
https://forum.iobroker.net/topic/54420/iobroker-mit-120-auslastung-und-no-connection-to-database/3Räum die Quellen auf.
-
nano /etc/apt/sources.list.d/influxdb.list GNU nano 5.4 /etc/apt/sources.list.d/influxdb.list deb https://repos.influxdata.com/debian bullseye stable
Was muss ich mit der Quelle machen?
-
Nee, die influxdb.list ist bei dir richtig.
Du hast einen falschen Eintrag hier:https://archive.raspbian.org/raspbian buster InRelease
Ich weiß aber so aus dem Kopf nicht, in welcher der Dateien in
/etc/apt/sources.list.d/
das drin steht.
Kann auch aus der Datei
/etc/apt/sources.list
kommen. -
deb http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi # Uncomment line below then 'apt-get update' to enable 'apt-get source' #deb-src http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi deb https://archive.raspbian.org/raspbian buster main contrib non-free deb-src https://archive.raspbian.org/raspbian buster main contrib non-free
Ich habe
deb https://archive.raspbian.org/raspbian buster main contrib non-free deb-src https://archive.raspbian.org/raspbian buster main contrib non-free
gelöscht. Und dann nochmal iobroker status
iobroker stop
iobroker fix
iobroker start
durchgeführt, leider nach wie vor kein Zugriff:/ -
Ich hätte ja einfach buster durch bullseye ersetzt.
So bekommst du keine Updates mehr aus der Quelle und kannst nicht auf Pakete von dort zugreifen.Und bitte nix nacherzählen, komplette Ein- und Ausgaben aus der Konsole posten.
-
pi@raspberrypi:~ $ iobroker stop pi@raspberrypi:~ $ iobroker fix library: loaded Library version=2022-02-10 ========================================================================== Welcome to the ioBroker installation fixer! Script version: 2022-02-13 You might need to enter your password a couple of times. ========================================================================== ========================================================================== Installing prerequisites (1/3) ========================================================================== Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease Hit:3 https://repos.influxdata.com/debian bullseye InRelease Hit:4 https://deb.nodesource.com/node_16.x bullseye InRelease Get:5 https://archive.raspbian.org/raspbian bullseye InRelease [15.0 kB] Get:6 https://archive.raspbian.org/raspbian bullseye/contrib Sources [81.9 kB] Get:7 https://archive.raspbian.org/raspbian bullseye/main Sources [12.2 MB] Get:8 https://archive.raspbian.org/raspbian bullseye/non-free Sources [140 kB] Get:9 https://archive.raspbian.org/raspbian bullseye/main armhf Packages [13.2 MB] Get:10 https://archive.raspbian.org/raspbian bullseye/contrib armhf Packages [60.2 kB] Get:11 https://archive.raspbian.org/raspbian bullseye/non-free armhf Packages [106 kB] Fetched 25.9 MB in 11s (2,460 kB/s) Reading package lists... Done Installed gcc-c++ Installed python-dev ========================================================================== Checking ioBroker user and directory permissions (2/3) ========================================================================== Created /etc/sudoers.d/iobroker Fixing directory permissions... ========================================================================== Checking autostart (3/3) ========================================================================== Enabling autostart... Autostart enabled! ========================================================================== Your installation was fixed successfully Run iobroker start to start ioBroker again! ========================================================================== pi@raspberrypi:~ $ iobroker start pi@raspberrypi:~ $ iobroker status Uncaught Rejection: TypeError: Cannot read properties of undefined (reading 'warning') at ObjectsInMemoryServer.initBackupDir (/opt/iobroker/node_modules/@iobroker/db-base/lib/inMemFileDB.js:187:22) at new InMemoryFileDB (/opt/iobroker/node_modules/@iobroker/db-base/lib/inMemFileDB.js:83:18) at new ObjectsInMemoryFileDB (/opt/iobroker/node_modules/@iobroker/db-objects-file/lib/objects/objectsInMemFileDB.js:34:9) at new ObjectsInMemoryJsonlDB (/opt/iobroker/node_modules/@iobroker/db-objects-jsonl/lib/objects/objectsInMemJsonlDB.js:58:9) at new ObjectsInMemoryServer (/opt/iobroker/node_modules/@iobroker/db-objects-jsonl/lib/objects/objectsInMemServerRedis.js:57:9) at new ObjectsInMemoryServerClass (/opt/iobroker/node_modules/@iobroker/db-objects-jsonl/lib/objects/objectsInMemServerClass.js:34:30) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:3123:27)
-
Versuch mal
iobroker stop cd /opt/iobroker sudo -H -u iobroker npm install iobroker.js-controller
-
@thomas-braun said in iobroker startet nach Stromausfall nicht mehr:
sudo -H -u iobroker npm install iobroker.js-controller
VIELEN DANK! Zugriff auf meinen iobroker habe ich schonmal!!!