NEWS
Admin Problem
-
@_techniker_ sagte in Admin Problem:
sudo iobroker start
Starte den iobroker NICHT per sudo im root-Kontext.
sudo iobroker stop iobroker fix iobroker start
-
@_techniker_
läuft ja immer noch nichtiobroker start admin
und dann
tail -f /opt/iobroker/log/iobroker.current.log
-
@homoran said in Admin Problem:
tail -f /opt/iobroker/log/iobroker.current.log
Nun kommt ein fehler
pi@ioBroker-RasPi4:~ $ iobroker start admin No connection to databases possible ... pi@ioBroker-RasPi4:~ $ tail -f /opt/iobroker/log/iobroker.current.log 2021-04-27 18:50:25.357 - info: host.ioBroker-WZ iobroker.js-controller version 3.2.16 js-controller starting 2021-04-27 18:50:25.375 - info: host.ioBroker-WZ Copyright (c) 2014-2021 bluefox, 2014 hobbyquaker 2021-04-27 18:50:25.378 - info: host.ioBroker-WZ hostname: ioBroker-WZ, node: v12.22.1 2021-04-27 18:50:25.380 - info: host.ioBroker-WZ ip addresses: 192.168.2.100 fe80::9f2b:2c44:cc7f:f55b 2021-04-27 18:50:28.417 - info: host.ioBroker-WZ connected to Objects and States 2021-04-27 18:50:28.611 - info: host.ioBroker-WZ added notifications configuration of host 2021-04-27 18:50:30.702 - info: host.ioBroker-WZ 48 instances found 2021-04-27 18:50:30.859 - warn: host.ioBroker-WZ does not start any instances on this host 2021-04-27 18:54:03.244 - info: host.ioBroker-WZ received SIGTERM 2021-04-27 18:54:03.344 - info: host.ioBroker-WZ terminated
-
@_techniker_ sagte in Admin Problem:
No connection to databases possible ...
was für eine Hardware?
lief vorher redis? -
@_techniker_
Nicht jede Rückmeldung aus der Konsole ist eine Fehlermeldung.iobroker status
liefert?
-
RasPi4
Nach der Installation lief alles normal.
Backup einspielen ohne Fehlermeldung.
Kein Aufrufen im Browser möglich.
pi@ioBroker-RasPi4:~ $ iobroker status iobroker is running on this host.
-
Komplette Ausgabe. Inkl. ALLER Zeilen in der Konsole.
So:pi@raspberrypi:~ $ iobroker status iobroker is running on this host. Objects type: file States type: redis pi@raspberrypi:~ $
-
-
@_techniker_
Was Ja? -
pi@ioBroker-RasPi4:~ $ iobroker status iobroker is running on this host. Objects type: file States type: file pi@ioBroker-RasPi4:~ $
im Browser
Hmmm...diese Seite ist leider nicht erreichbar192.168.2.100 hat eine Verbindung verweigert. Versuchen Sie Folgendes: Die Verbindung wird überprüft… Proxy und Firewall überprüfen ERR_CONNECTION_REFUSED
-
Zuvor redis verwendet?
Wie @Homoran schon gefragt hatte. -
Ja zuvor Redis verwendet.
-
@_techniker_
Dann solltest du das vielleicht wieder darauf umstellen. -
@_techniker_ sagte in Admin Problem:
Ja zuvor Redis verwendet.
und jetzt NICHT redis installiert, sondern nachträglich auf file umgestellt?
-
Habe nichts umgestellt.
Kann ich aber versuchen.
Was muß ich da machen? -
@_techniker_ sagte in Admin Problem:
Ja zuvor Redis verwendet.
und jetzt:
@_techniker_ sagte in Admin Problem:
Objects type: file
States type: fileaber:
@_techniker_ sagte in Admin Problem:Habe nichts umgestellt.
-
Verstehe. Dann stelle ich mal um, oder?
code_text ```pi@ioBroker-RasPi4:~ $ iobroker setup custom Current configuration: - Objects database: - Type: file - Host/Unix Socket: 127.0.0.1 - Port: 9001 - States database: - Type: file - Host/Unix Socket: 127.0.0.1 - Port: 9000 - Data Directory: ../../iobroker-data/ - Host name: ioBroker-WZ Type of objects DB [(f)ile, (r)edis, ...], default [file]:
-
@_techniker_ sagte in Admin Problem:
Dann stelle ich mal um, oder?
oder!
Hast du denn redis installiert?
-
pi@ioBroker-RasPi4:~ $ sudo systemctl status redis-server ● redis-server.service - Advanced key-value store Loaded: loaded (/lib/systemd/system/redis-server.service; enabled; vendor preset: enabled) Active: active (running) since Tue 2021-04-27 19:27:28 CEST; 46s ago Docs: http://redis.io/documentation, man:redis-server(1) Main PID: 902 (redis-server) Tasks: 4 (limit: 2062) CGroup: /system.slice/redis-server.service └─902 /usr/bin/redis-server 127.0.0.1:6379 Apr 27 19:27:28 ioBroker-RasPi4 systemd[1]: Starting Advanced key-value store... Apr 27 19:27:28 ioBroker-RasPi4 systemd[1]: redis-server.service: Can't open PID file /run/redis/redis-server.pid (yet?) after start: No such file or directory Apr 27 19:27:28 ioBroker-RasPi4 systemd[1]: Started Advanced key-value store. pi@ioBroker-RasPi4:~ $
-
@_techniker_
Ich habe zum Restore mal ein Tutorial erstellt
Da wird auch das Thema mit redis behandelt.https://forum.iobroker.net/topic/27271/howto-iobroker-restore-unter-linux-durchführen