NEWS
Gelöst: Nach Restore: No connection to databases possible
-
nodeJS Downgrade steht hier beschrieben:
https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian
iobroker status
sagt?
Vielleicht magst du auch mal das 'iob_diag'-Skript verwenden:
-
@thomas-braun
Vielen Dank,
wie gesagt, iobroker status liefert:
No connection to objects 127.0.0.1:6379[redis]
Das iob-diag-cript liefert folgendes:
Output iob-diag-script.txt
Den Downgrade versuche ich gleich noch. -
-
Wolltest du das nicht auf Bullseye laufen haben?
-
@dragricola sagte in Nach Restore: No connection to databases possible, restart:
Den Downgrade versuche ich gleich noch.
iob stop sudo apt install nodejs=16.18.1-deb-1nodesource1 iob start
Fertig.
-
@thomas-braun
redis:
Installed: (none)
Candidate: 5:5.0.14-1+deb10u2
Version table:
5:5.0.14-1+deb10u2 500
500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages -
Dann installier redis mal.
Das war ja offenbar zuvor auch die Datenbank für states oder objects (oder beides) -
@thomas-braun said in Nach Restore: No connection to databases possible, restart:
Wolltest
Ursprünglich ja, aber nachdem es mit Bullseye nicht geklappt hat, habe ich es zuletzt auch nochmal auf Buster probiert.
Wie installiere ich Redis unter Debian? Mit
sudo add-apt-repository ppa:chris-lea/redis-server
klappt es nicht (das ist wohl der Befehl für ubuntu)
Der Downgrade auf nodejs V16 hat geklappt, löst jedoch leider nicht das Problem. -
sudo apt install redis
Hast du dir jetzt das ppa reingeklatscht?
Das dürfte auch für ubuntu nicht die erste Wahl sein. Man nimmt möglichst die Versionen aus den offiziellen Quellen.sudo apt update
anschauen.
-
@thomas-braun said in Nach Restore: No connection to databases possible, restart:
sudo apt update
nochmals vielen Dank, jetzt nach der redis installation meldet iobroker wenigstens einen Status zurück:
iobroker status
Cannot read system.config: null (OK when migrating or restoring)
iobroker is running on this host.At least one iobroker host is running.
Objects type: redis
States type: redisIn den logs sind allerdings noch Fehlermeldungen:
Logs aus iobroker nach Restart.txt
und der Admin ist immer noch nicht aufrufbarEine ppa-Installation scheint nicht erfolgt zu sein. Die Meldung war:
sudo: add-apt-repository: command not found -
@dragricola sagte in Nach Restore: No connection to databases possible, restart:
Eine ppa-Installation scheint nicht erfolgt zu sein.
Nicht vermuten...
sudo apt update
anschauen.
-
Hat sich der host name der Kiste geändert?
-
@thomas-braun
sudo apt update liefert:
Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:3 https://deb.nodesource.com/node_16.x buster InRelease
Hit:4 https://dl.yarnpkg.com/debian stable InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.Hilft das Log aus meinem letzten Beitrag weiter?
-
@dragricola sagte in Nach Restore: No connection to databases possible, restart:
Hilft das Log aus meinem letzten Beitrag weiter?
Jein.
Hostname geändert?Bitte Auszüge in Textform in CodeTags eingebettet heir rein.
-
@thomas-braun
Den Host-Namen habe ich meines Wissens wieder bei der Installation gleich vergeben. Allerdings ohne das präfix host. davor.2022-11-12 16:10:44.878 - info: host.raspberrypi4-iob iobroker _restart 2022-11-12 16:10:50.341 - info: host.raspberrypi4-iob iobroker.js-controller version 4.0.23 js-controller starting 2022-11-12 16:10:50.349 - info: host.raspberrypi4-iob Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker 2022-11-12 16:10:50.350 - info: host.raspberrypi4-iob hostname: raspberrypi4-iob, node: v16.18.1 2022-11-12 16:10:50.353 - info: host.raspberrypi4-iob ip addresses: 192.168.178.126 fe80::436b:c1e:289f:c0ed 2022-11-12 16:11:08.610 - error: host.raspberrypi4-iob Cannot read system.config: null (OK when migrating or restoring) 2022-11-12 16:11:08.625 - error: host.raspberrypi4-iob Cannot find view "system" for search "host" 2022-11-12 16:11:08.715 - info: host.raspberrypi4-iob connected to Objects and States 2022-11-12 16:11:08.745 - info: host.raspberrypi4-iob Node.js version has changed from unknown to 16.18.1 2022-11-12 16:11:08.793 - info: host.raspberrypi4-iob added notifications configuration of host 2022-11-12 16:11:08.800 - info: host.raspberrypi4-iob Successfully updated capabilities "cap_net_admin, cap_net_bind_service, cap_net_raw" for /usr/bin/node 2022-11-12 16:11:08.811 - error: host.raspberrypi4-iob Cannot find view "system" for search "instance" 2022-11-12 16:11:08.813 - error: host.raspberrypi4-iob Could not add notifications config of this host: Could not get notifications setup from instances: Cannot find view "system" 2022-11-12 16:11:08.826 - info: host.raspberrypi4-iob Plugin sentry Sentry Plugin disabled for this process because sending of statistic data is disabled for the system 2022-11-12 16:11:08.836 - error: host.raspberrypi4-iob Cannot find view "system" for search "state" 2022-11-12 16:11:08.837 - error: host.raspberrypi4-iob Cannot find view "system" for search "instance" 2022-11-12 16:11:08.841 - error: host.raspberrypi4-iob Could not collect system.host.raspberrypi4-iob states to check for obsolete states: Error: Cannot find view "system" 2022-11-12 16:11:08.842 - error: host.raspberrypi4-iob _design/system missing - call node iobroker.js setup 2022-11-12 16:11:08.843 - info: host.raspberrypi4-iob no instances found 2022-11-12 16:11:08.843 - info: host.raspberrypi4-iob no instances found 2022-11-12 16:11:09.054 - info: host.raspberrypi4-iob Created UUID: 958fb34d-ae20-1453-74c4-b251ccab0b04 2022-11-12 16:25:19.450 - info: host.raspberrypi4-iob received SIGTERM 2022-11-12 16:25:19.469 - info: host.raspberrypi4-iob terminated 2022-11-12 16:25:21.831 - info: host.raspberrypi4-iob iobroker.js-controller version 4.0.23 js-controller starting 2022-11-12 16:25:21.838 - info: host.raspberrypi4-iob Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker 2022-11-12 16:25:21.840 - info: host.raspberrypi4-iob hostname: raspberrypi4-iob, node: v16.18.1 2022-11-12 16:25:21.842 - info: host.raspberrypi4-iob ip addresses: 192.168.178.126 fe80::436b:c1e:289f:c0ed 2022-11-12 16:25:21.936 - error: host.raspberrypi4-iob Cannot read system.config: null (OK when migrating or restoring) 2022-11-12 16:25:21.948 - error: host.raspberrypi4-iob Cannot find view "system" for search "host" 2022-11-12 16:25:22.013 - info: host.raspberrypi4-iob connected to Objects and States 2022-11-12 16:25:22.035 - info: host.raspberrypi4-iob added notifications configuration of host 2022-11-12 16:25:22.054 - error: host.raspberrypi4-iob Cannot find view "system" for search "instance" 2022-11-12 16:25:22.057 - error: host.raspberrypi4-iob Could not add notifications config of this host: Could not get notifications setup from instances: Cannot find view "system" 2022-11-12 16:25:22.085 - info: host.raspberrypi4-iob Plugin sentry Sentry Plugin disabled for this process because sending of statistic data is disabled for the system 2022-11-12 16:25:22.097 - error: host.raspberrypi4-iob Cannot find view "system" for search "state" 2022-11-12 16:25:22.099 - error: host.raspberrypi4-iob Cannot find view "system" for search "instance" 2022-11-12 16:25:22.105 - error: host.raspberrypi4-iob Could not collect system.host.raspberrypi4-iob states to check for obsolete states: Error: Cannot find view "system" 2022-11-12 16:25:22.107 - error: host.raspberrypi4-iob _design/system missing - call node iobroker.js setup 2022-11-12 16:25:22.108 - info: host.raspberrypi4-iob no instances found 2022-11-12 16:25:22.108 - info: host.raspberrypi4-iob no instances found
-
-
pi@raspberrypi4-iob:~ $ iob stop pi@raspberrypi4-iob:~ $ iob host this Cannot read system.config: null (OK when migrating or restoring) Cannot find view "system" for search "host" An unknown error occurred: Cannot find view "system" pi@raspberrypi4-iob:~ $ iob start
-
iobroker setup first
-
jaa, ... jetzt meldet sich der admin wieder mit der Welcome-Seite und dem Setup Assistenten. Kann ich den irgendwie überspringen? Setup ist ja bereits erfolgt.
Ich würde das ganze auch nochmals mit bullseye durchführen. Was gibt es dabei zu beachten?
-
@dragricola sagte in Nach Restore: No connection to databases possible, restart:
Kann ich den irgendwie überspringen?
Weiß ich nicht, ich setze meine Kisten nicht sooooo oft neu auf.
Skip dich einfach durch, so viel ist da ja nicht einzustellen.Was gibt es dabei zu beachten?
Das gleiche wie hier.