NEWS
iobroker geht nicht nach stromausfall
-
@thomas-braun said in iobroker geht nicht nach stromausfall:
iob stop
ich bekomme schonn hier fehler
ubuntu@ubuntu:/opt/iobroker$ iob update Used repository: stable hash unchanged, use cached sources update done Cannot find view "system" for search "instance" Error: Cannot find view "system" at ObjectsInMemoryServerClass._getObjectView (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3313:59) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) Adapter "admin" : 6.10.1 , installed 5.2.1 [Updateable] Adapter "alexa2" : 3.25.2 , installed 3.9.3 [Updateable] Adapter "backitup" : 2.6.23 , installed 2.2.2 [Updateable] Adapter "cloud" : 4.4.1 , installed 4.1.0 [Updateable] Adapter "discovery" : 3.1.0 , installed 2.7.0 [Updateable] Adapter "flot" : 1.12.0 , installed 1.10.6 [Updateable] Adapter "heatingcontrol": 2.11.1 , installed 2.7.2 [Updateable] Adapter "history" : 2.2.6 , installed 1.9.14 [Updateable] Adapter "ical" : 1.13.3 , installed 1.11.4 [Updateable] Adapter "info" : 1.9.26 , installed 1.9.8 [Updateable] Adapter "iot" : 1.14.5 , installed 1.8.22 [Updateable] Adapter "javascript" : 7.1.4 , installed 5.2.13 [Updateable] Controller "js-controller" : 5.0.12 , installed 3.3.22 [Updateable] Adapter "linkeddevices" : 1.5.5 , installed 1.4.3 [Updateable] Adapter "mobile" : 1.0.1 , installed 1.0.1 Adapter "radar2" : 2.0.7 , installed 2.0.3 [Updateable] Adapter "rpi2" : 1.3.2 , installed 1.3.1 [Updateable] Adapter "shuttercontrol": 1.6.1 , installed 1.2.1 [Updateable] Adapter "simple-api" : 2.7.2 , installed 2.6.2 [Updateable] Adapter "socketio" : 6.5.5 , installed 3.1.4 [Updateable] Adapter "telegram" : 1.16.0 , installed 1.10.0 [Updateable] Adapter "text2command" : 3.0.2 , installed 2.1.1 [Updateable] Adapter "tr-064" : 4.2.18 , installed 4.2.14 [Updateable] Adapter "vis" : 1.4.16 , installed 1.4.5 [Updateable] Adapter "vis-colorpicker": 2.0.3 , installed 1.2.0 [Updateable] Adapter "vis-hqwidgets" : 1.4.0 , installed 1.1.7 [Updateable] Adapter "vis-jqui-mfd" : 1.0.12 , installed 1.0.12 Adapter "vis-metro" : 1.2.0 , installed 1.1.2 [Updateable] Adapter "vis-timeandweather": 1.2.2 , installed 1.1.7 [Updateable] Adapter "web" : 6.1.2 , installed 3.4.9 [Updateable] Adapter "zwave2" : 3.0.5 , installed 2.4.1 [Updateable] ubuntu@ubuntu:/opt/iobroker$ iob upgrade all -y Cannot find view "system" for search "instance" Cannot find view "system" Cannot find view "system" for search "instance" Cannot find view "system" Cannot find view "system" for search "instance" Cannot find view "system" Cannot find view "system" for search "instance" Cannot find view "system" Cannot find view "system" for search "instance" Cannot find view "system" Cannot find view "system" for search "instance" Cannot find view "system" Cannot find view "system" for search "instance" Cannot find view "system" Cannot find view "system" for search "instance" Cannot find view "system" Cannot find view "system" for search "instance" Cannot find view "system" Cannot find view "system" for search "instance" Cannot find view "system" Cannot find view "system" for search "instance" Cannot find view "system" Cannot find view "system" for search "instance" Cannot find view "system" Cannot find view "system" for search "instance" Cannot find view "system" Cannot find view "system" for search "instance" Cannot find view "system" Cannot find view "system" for search "instance" Cannot find view "system" Cannot find view "system" for search "instance" Cannot find view "system" Cannot find view "system" for search "instance" Cannot find view "system" Cannot find view "system" for search "instance" Cannot find view "system" Cannot find view "system" for search "instance" Cannot find view "system" Cannot find view "system" for search "instance" Cannot find view "system" Cannot find view "system" for search "instance" Cannot find view "system" Cannot find view "system" for search "instance" Cannot find view "system" Cannot find view "system" for search "instance" Cannot find view "system" Cannot find view "system" for search "instance" Cannot find view "system" Cannot find view "system" for search "instance" Cannot find view "system" Cannot find view "system" for search "instance" Cannot find view "system" Cannot find view "system" for search "instance" Cannot find view "system" Cannot find view "system" for search "instance" Cannot find view "system" ubuntu@ubuntu:/opt/iobroker
-
@thomas-braun sagte in iobroker geht nicht nach stromausfall:
js-controller: 3.3.22
ich glaube mich dunkel daran zu erinnern, das man von so alten installationen nicht in einem rutsch auf aktuell aktualisieren kann.
ich musste damals erst auf die letzte 3er version mit npm install den js-controller aktualisieren und dann ging es wieder mit iob upgrade weiter.das ist aber nicht sicher, wie gesagt kann mich nur dunkel daran erinnern.
auch das einspielen eines backups könnte von so alten versionen problematisch sein. aber da müssen sich hier noch andere dazu äußern -
Ich hatte mich jetzt hieran orientiert:
Darüber hinaus ist der js-controller 5.0 generell kompatibel mit allen bestehenden ioBroker-Systemen. Ein Update von der 2.0/2.1/2.2/3.x ist problemlos möglich. Wir empfehlen allerings vor dem Update auf die 5.0 idealerweise ein Update auf die 4.0 und vorher auf 3.3.x durchzuführen, da ein Downgrade nach einem erfolgten Update nur auf eine 3.3.x möglich ist (siehe FAQ)! Nur die Node.js Version muss weiterhin mindestens 16.x sein, wie oben bereits ausgeführt.
Eine zwingende Installation von Vorversionen lese ich da nicht heraus.
-
@thomas-braun
wenn es klappt, dann gutist gesichert, das sein Datenspeicher noch gut ist?
Nach Stromausfall zicken manchmal die SD-Cards rum -
@oliverio sagte in iobroker geht nicht nach stromausfall:
wenn es klappt, dann gut
Offenbar klappt es nicht.
Cannot find view "system" for search "instance"
Da gab es aber auch schon mal was gegen. Ich hab nur gerade kein Heilmittel parat.
-
@oliverio sagte in iobroker geht nicht nach stromausfall:
Nach Stromausfall zicken manchmal die SD-Cards rum
Ja, die fressen dann offene files...
Ist hier ja auch offenbar passiert. -
Die Fehlermeldung scheint auf redis hinzuweisen, das er da die system.* datenpunkte nicht findet.
evtl ist die redis db kaputtError: Cannot find view "system" at ObjectsInMemoryServerClass._getObjectView (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3313:59)
-
Da hab ich überhaupt keine Aktien drin.
Damals war glaube ich File/File der Standard? -
@oliverio was soll dann genau machen ?
-
-
@thomas-braun said in iobroker geht nicht nach stromausfall:
apt policy redis*
ubuntu@ubuntu:/opt/iobroker$ apt policy redis* redis-server: Installed: (none) Candidate: 5:6.0.11-1 Version table: 5:6.0.11-1 500 500 http://ports.ubuntu.com/ubuntu-ports hirsute/universe armhf Packages redis-redisearch-doc: Installed: (none) Candidate: 1:1.2.2-3 Version table: 1:1.2.2-3 500 500 http://ports.ubuntu.com/ubuntu-ports hirsute/universe armhf Packages redis-sentinel: Installed: (none) Candidate: 5:6.0.11-1 Version table: 5:6.0.11-1 500 500 http://ports.ubuntu.com/ubuntu-ports hirsute/universe armhf Packages redis-tools: Installed: (none) Candidate: 5:6.0.11-1 Version table: 5:6.0.11-1 500 500 http://ports.ubuntu.com/ubuntu-ports hirsute/universe armhf Packages redis-redisearch: Installed: (none) Candidate: 1:1.2.2-3 Version table: 1:1.2.2-3 500 500 http://ports.ubuntu.com/ubuntu-ports hirsute/universe armhf Packages redis: Installed: (none) Candidate: 5:6.0.11-1 Version table: 5:6.0.11-1 500 500 http://ports.ubuntu.com/ubuntu-ports hirsute/universe armhf Packages ubuntu@ubuntu:/opt/iobroker$ apt policy redis redis: Installed: (none) Candidate: 5:6.0.11-1 Version table: 5:6.0.11-1 500 500 http://ports.ubuntu.com/ubuntu-ports hirsute/universe armhf Packages ubuntu@ubuntu:/opt/iobroker$
-
@esmax666 sagte in iobroker geht nicht nach stromausfall:
Demnach kann das nicht direkt über redis gelaufen sein. Sonst müsste da irgendwas aus der Ecke installiert sein.
cd /opt/iobroker npm install iobroker.js-controller@4.0.24
liefert?
-
ubuntu@ubuntu:/opt/iobroker$ cd /opt/iobroker ubuntu@ubuntu:/opt/iobroker$ npm install iobroker.js-controller@4.0.24 added 48 packages, removed 33 packages, and changed 52 packages in 1m 86 packages are looking for funding run `npm fund` for details ubuntu@ubuntu:/opt/iobroker$ ~^C ubuntu@ubuntu:/opt/iobroker$ apt policy redis* redis-server: Installed: (none) Candidate: 5:6.0.11-1 Version table: 5:6.0.11-1 500 500 http://ports.ubuntu.com/ubuntu-ports hirsute/universe armhf Packages redis-redisearch-doc: Installed: (none) Candidate: 1:1.2.2-3 Version table: 1:1.2.2-3 500 500 http://ports.ubuntu.com/ubuntu-ports hirsute/universe armhf Packages redis-sentinel: Installed: (none) Candidate: 5:6.0.11-1 Version table: 5:6.0.11-1 500 500 http://ports.ubuntu.com/ubuntu-ports hirsute/universe armhf Packages redis-tools: Installed: (none) Candidate: 5:6.0.11-1 Version table: 5:6.0.11-1 500 500 http://ports.ubuntu.com/ubuntu-ports hirsute/universe armhf Packages redis-redisearch: Installed: (none) Candidate: 1:1.2.2-3 Version table: 1:1.2.2-3 500 500 http://ports.ubuntu.com/ubuntu-ports hirsute/universe armhf Packages redis: Installed: (none) Candidate: 5:6.0.11-1 Version table: 5:6.0.11-1 500 500 http://ports.ubuntu.com/ubuntu-ports hirsute/universe armhf Packages ubuntu@ubuntu:/opt/iobroker$
-
iob restart ...etwas abwarten... iob status
-
@thomas-braun said in iobroker geht nicht nach stromausfall:
iob status
ubuntu@ubuntu:/opt/iobroker$ iob restart ubuntu@ubuntu:/opt/iobroker$ iob status iobroker is running on this host. Objects type: jsonl States type: jsonl ubuntu@ubuntu:/opt/iobroker$
-
@esmax666
Okay, schaut schon besser aus.iob update iob upgrade all -y
-
@thomas-braun said in iobroker geht nicht nach stromausfall:
iob upgrade all -y
ok läuft er braucht noch ein bisschen zeit
-
Klar, da muss ja jetzt jeder Adapter eine Zeitreise in die Gegenwart antreten.
Kannst 'ne Runde spazieren gehen. Das wird länger dauern. -
@thomas-braun ja klar, und wenn es fertig is soll ich ein ubuntu update nochmachen ?
alsosudo apt-get update sudo apt-get upgrade sudo reboot
-
@oliverio sagte in iobroker geht nicht nach stromausfall:
Die Fehlermeldung scheint auf redis hinzuweisen, das er da die system.* datenpunkte nicht findet.
evtl ist die redis db kaputtError: **Cannot find view "system"** at ObjectsInMemoryServerClass._getObjectView (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3313:59)
hab ich nur noch von hier in Erinnerung
https://forum.iobroker.net/topic/43325/mini-howto-cannot-find-view-system-for-search-host