NEWS
IOBroker Auto-Install - Kein Zugriff auf Admin-UI
-
@nils50122
root shell ist Mist und node 14 ist auch noch nicht die empfohlene node Version. Installier node 12. -
hab ich soeben getan, wie bekomme ich die 14.3 wieder runter?
-
@nils50122
Als user:sudo nano /etc/apt/sources.list.d/nodesource.list
Da aus 14 eine 12 machen und abspeichern.
sudo apt update sudo apt install nodejs=12.17.0-1nodesource1
-
Das stand bereits drin:
deb https://deb.nodesource.com/node_12.x bionic main deb-src https://deb.nodesource.com/node_12.x bionic main
Ist der Name das Pakets richtig? Weder mit nodejs=12.17.0-1nodesource1 noch nodejs=12.17.0.-1 bekommt er etwas gefunden.
-
apt policy nodejs
-
root@ubuntu-server:/opt/iobroker/log# sudo apt install nodejs= 12.17.0-1nodesource1 Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig E: Version »« für »nodejs« konnte nicht gefunden werden. E: Paket 12.17.0-1nodesource1 kann nicht gefunden werden. E: Mittels des Musters »12.17.0-1nodesource1« konnte kein Paket gefunden werden. E: Mittels regulärem Ausdruck »12.17.0-1nodesource1« konnte kein Paket gefunden werden. root@ubuntu-server:/opt/iobroker/log# sudo apt install nodejs= 12.17.0-1 Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig E: Version »« für »nodejs« konnte nicht gefunden werden. E: Paket 12.17.0-1 kann nicht gefunden werden. E: Mittels des Musters »12.17.0-1« konnte kein Paket gefunden werden. E: Mittels regulärem Ausdruck »12.17.0-1« konnte kein Paket gefunden werden. root@ubuntu-server:/opt/iobroker/log# apt policy nodejs nodejs: Installiert: 14.3.0-1nodesource1 Installationskandidat: 14.3.0-1nodesource1 Versionstabelle: *** 14.3.0-1nodesource1 100 100 /var/lib/dpkg/status 12.17.0-1nodesource1 500 500 https://deb.nodesource.com/node_12.x bionic/main amd64 Packages 8.10.0~dfsg-2ubuntu0.4 500 500 http://de.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages 8.10.0~dfsg-2ubuntu0.2 500 500 http://de.archive.ubuntu.com/ubuntu bionic-security/universe amd64 Packages 8.10.0~dfsg-2 500 500 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
-
@nils50122 Du bist immer noch als root unterwegs. Ich bin dann raus.
-
Sorry, hab nun die Commans als User ausgeführt, nun ist ein Downgrade auf 12.17 erfolgt.
Danach habe ich "curl -sL https://iobroker.net/fix.sh | bash" ausgeführt, iobroker start. -> Leider immer noch nicht zu erreichen.
-
which nodejs && nodejs -v && which node && node -v && which npm && npm -v
-
nils@ubuntu-server:~$ which nodejs && nodejs -v && which node && node -v && which npm && npm -v /usr/bin/nodejs v12.17.0 /usr/bin/node v12.17.0 /usr/bin/npm 6.14.4
-
cd /opt/iobroker sudo -H -u iobroker npm install iobroker.js-controller
-
@Thomas-Braun said in IOBroker Auto-Install - Kein Zugriff auf Admin-UI:
sudo -H -u iobroker npm install iobroker.js-controller
nils@ubuntu-server:/opt/iobroker$ sudo -H -u iobroker npm install iobroker.js-co ntroller > iobroker.js-controller@2.2.10 preinstall /opt/iobroker/node_modules/iobroker.j s-controller > node lib/preinstallCheck.js NPM version: 6.14.4 > @serialport/bindings@2.0.8 install /opt/iobroker/node_modules/@serialport/bind ings > prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild > iobroker.js-controller@2.2.10 install /opt/iobroker/node_modules/iobroker.js-c ontroller > node iobroker.js setup first Socket.io Server detected. Please update to js-controller 2.0 or higher! Socket.io Server detected. Please update to js-controller 2.0 or higher! Socket.io Server detected. Please update to js-controller 2.0 or higher! Socket.io Server detected. Please update to js-controller 2.0 or higher! Socket.io Server detected. Please update to js-controller 2.0 or higher! Socket.io Server detected. Please update to js-controller 2.0 or higher! Socket.io Server detected. Please update to js-controller 2.0 or higher! Socket.io Server detected. Please update to js-controller 2.0 or higher! Socket.io Server detected. Please update to js-controller 2.0 or higher! Socket.io Server detected. Please update to js-controller 2.0 or higher! Socket.io Server detected. Please update to js-controller 2.0 or higher! Socket.io Server detected. Please update to js-controller 2.0 or higher! Socket.io Server detected. Please update to js-controller 2.0 or higher! Socket.io Server detected. Please update to js-controller 2.0 or higher! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.7 (node_modules/osx-temperature-sensor): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) + iobroker.js-controller@2.2.10 added 41 packages from 37 contributors and updated 1 package in 40.146s 4 packages are looking for funding run `npm fund` for details
-
@nils50122 sagte in IOBroker Auto-Install - Kein Zugriff auf Admin-UI:
netstat -tulpen | grep -v 127.0.0.1
-
(Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) 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 - tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 21961 - tcp 0 0 0.0.0.0:9001 0.0.0.0:* LISTEN 111 29217 - tcp 0 0 0.0.0.0:10000 0.0.0.0:* LISTEN 0 22370 - tcp6 0 0 :::22 :::* LISTEN 0 21963 - tcp6 0 0 :::8888 :::* LISTEN 998 24923 - tcp6 0 0 :::3000 :::* LISTEN 112 22639 - tcp6 0 0 :::8443 :::* LISTEN 111 30848 - tcp6 0 0 :::5007 :::* LISTEN 111 30891 - tcp6 0 0 :::8080 :::* LISTEN 111 30851 - udp 0 0 0.0.0.0:39559 0.0.0.0:* 113 49186 - udp 0 0 0.0.0.0:10000 0.0.0.0:* 0 22371 - udp 0 0 127.0.0.53:53 0.0.0.0:* 101 18474 - udp 0 0 0.0.0.0:5353 0.0.0.0:* 113 49184 - udp6 0 0 192.168.178.150:49835 :::* 111 29476 - udp6 0 0 :::46813 :::* 113 49187 - udp6 0 0 :::1900 :::* 111 30901 - udp6 0 0 :::50363 :::* 111 25274 - udp6 0 0 :::5353 :::* 111 30143 - udp6 0 0 :::5353 :::* 113 49185 -
-
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.