NEWS
IOBroker Auto-Install - Kein Zugriff auf Admin-UI
-
sudo netstat -tulpen | grep -v 127.0.0.1
-
nils@ubuntu-server:/opt/iobroker$ sudo netstat -tulpen | grep -v 127.0.0.1 Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 101 18475 761/systemd-resolve tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 21961 1081/sshd tcp 0 0 0.0.0.0:9001 0.0.0.0:* LISTEN 111 29217 932/node tcp 0 0 0.0.0.0:10000 0.0.0.0:* LISTEN 0 22370 1529/perl tcp6 0 0 :::22 :::* LISTEN 0 21963 1081/sshd tcp6 0 0 :::8888 :::* LISTEN 998 24923 861/chronograf tcp6 0 0 :::3000 :::* LISTEN 112 22639 897/grafana-server tcp6 0 0 :::8443 :::* LISTEN 111 30848 925/java tcp6 0 0 :::5007 :::* LISTEN 111 30891 925/java tcp6 0 0 :::8080 :::* LISTEN 111 30851 925/java udp 0 0 0.0.0.0:39559 0.0.0.0:* 113 49186 4918/avahi-daemon: udp 0 0 0.0.0.0:10000 0.0.0.0:* 0 22371 1529/perl udp 0 0 127.0.0.53:53 0.0.0.0:* 101 18474 761/systemd-resolve udp 0 0 0.0.0.0:5353 0.0.0.0:* 113 49184 4918/avahi-daemon: udp6 0 0 192.168.178.150:49835 :::* 111 29476 925/java udp6 0 0 :::46813 :::* 113 49187 4918/avahi-daemon: udp6 0 0 :::1900 :::* 111 30901 925/java udp6 0 0 :::50363 :::* 111 25274 925/java udp6 0 0 :::5353 :::* 111 30143 925/java udp6 0 0 :::5353 :::* 113 49185 4918/avahi-daemon:
-
tcp 0 0 0.0.0.0:9001 0.0.0.0:* LISTEN 111 29217 932/node
Der Port 9001 wird auch vom ioBroker benötigt, bei dir läuft da irgendwas von node drauf. Keine Ahnung wie das dahinkommt. Starte mal die Kiste komplett durch.
Wenn das kein Überbleibsel ist dann kannst du per iobroker custom install auch den Port ändern. -
Wahnsinn, das muss jetzt keiner verstehen.
Nachdem Reboot 9001 aus der Netstat nicht mehr sichtbar und Web UI erreichbar.
Besten Dank!
-
@nils50122 sagte in IOBroker Auto-Install - Kein Zugriff auf Admin-UI:
Wahnsinn, das muss jetzt keiner verstehen.
Das kommt von dem rumgehampel als root auf dem Server.
Nicht tun. -
Bisher ging das immer gut
Next Problem:
Beim Aufrufen der Instanz iot.Adapter im WebUI kommt folgende Fehlermeldung "Cannot load socket.io.js!"
Da scheint noch etwas nicht zu passen.
-
iobroker fix iobroker list adapters iobroker list instances
-
system.adapter.admin : admin - v3.7.8 system.adapter.discovery : discovery - v2.2.2 system.adapter.info : info - v1.7.2 system.adapter.iot : iot - v1.5.2
+ system.adapter.admin.0 : admin - enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin + system.adapter.discovery.0 : discovery - enabled system.adapter.info.0 : info - enabled system.adapter.iot.0 : iot - disabled
-
@nils50122
Das ist alles? Kann eigentlich nicht sein.
Und bitte komplette Eingabezeile posten, ich will sehen zu welchem Befehl die Ausgabe gehört. -
Nun kommt der Fehler nicht mehr.
-
iobroker update iobroker upgrade
-
Jetzt kommt genau der Logeintrag der meinen Docker-Container zerschossen hat (Upgrade auf IOBroker 4)
host.ubuntu-server 2020-05-28 18:32:45.224 error startInstance system.adapter.iot.0: required adapter "admin" has wrong version. Installed "3.7.8", required ">=4.0.1"!
Gibt es da eine richtige Vorgehensweise?
-
@nils50122
Jo, updaten...iobroker update iobroker upgrade
-
@Thomas-Braun said in IOBroker Auto-Install - Kein Zugriff auf Admin-UI:
iobroker upgrade
nils@ubuntu-server:/opt/iobroker$ iobroker update Used repository: default hash changed or no sources cached => force download of new sources Cannot download json from http://download.iobroker.net/sources-dist.json. Error: Error: ESOCKETTIMEDOUT update done nils@ubuntu-server:/opt/iobroker$ iobroker upgrade /opt/iobroker/node_modules/standard-as-callback/built/index.js:6 throw e; ^ TypeError: Cannot read property 'indexOf' of undefined at Upgrade.upgradeAdapter (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupUpgrade.js:155:21) at Upgrade.upgradeAdapterHelper (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupUpgrade.js:41:14) at /opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:647:37 at /opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:2205:45 at /opt/iobroker/node_modules/iobroker.objects-redis/index.js:1:83661 at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23) at /opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49 at processTicksAndRejections (internal/process/task_queues.js:97:5)
-
@nils50122
Der Server kommt nicht raus:Cannot download json from http://download.iobroker.net/sources-dist.json
-
Welchen Grund kann es dafür geben?
Ohne Internetzugriff wären ja die ganzen Paketinstallationen nicht gelaufen.
nils@ubuntu-server:/opt/iobroker$ ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. 64 bytes from 8.8.8.8: icmp_seq=1 ttl=55 time=14.2 ms 64 bytes from 8.8.8.8: icmp_seq=2 ttl=55 time=13.3 ms nils@ubuntu-server:/opt/iobroker$ nslookup > google.de Server: 127.0.0.53 Address: 127.0.0.53#53 Non-authoritative answer: Name: google.de Address: 172.217.21.227 Name: google.de Address: 2a00:1450:4001:81c::2003 >
-
@nils50122
Füg malhttp://iobroker.live/repo/sources-dist.json
als weiteren Verwahrungsort hinzu. Geht über den 'Schraubenschlüssel' / zweiter Reiter dann.
-
Erledigt.
Allerdings holt sich der Iobroker nur den default.
nils@ubuntu-server:/opt/iobroker$ iobroker update Used repository: default hash changed or no sources cached => force download of new sources Cannot download json from http://download.iobroker.net/sources-dist.json. Error: Error: ESOCKETTIMEDOUT update done
-
@nils50122
Hast du auch den Verwahlungsort umgestellt?Schaut so aus bei mir:
-
Danke, nun bekomme ich auch die Aktualisierung direkt in der UI angezeigt.