NEWS
[gelöst] Neuinstall auf Proxmox VM - ioBroker startet nicht
-
Hallo zusammen,
ich habe ioBroker nach Anleitung auf einer VM mit DEBIAN 9.6 istalliert.
Nach Reboot läuft ioBroker nicht, also:
user@ioBroker:~$ iobroker start Starting iobroker controller daemon... iobroker controller daemon started. PID: 442
Dann aber:
user@ioBroker:~$ iobroker status iobroker is not running
Während der Installation gab es einige Warnungen und Fehlermeldungen (gekürzt auf relevante Ausgaben):
! ````
user@ioBroker:/opt/iobroker$ sudo npm install iobroker --unsafe-perm
...
NPM version: 6.4.1
npm version >= 5: disabling package-lock
npm install iobroker.discovery@stable --production --save
npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies.
...
npm notice created a lockfile as package-lock.json. You should commit this file.
...- iobroker.discovery@1.2.1
added 210 packages from 90 contributors, removed 39 packages and audited 523 packages in 67.23s
found 1 low severity vulnerability
runnpm audit fix
to fix them, ornpm audit
for details
...
npm install --production (System call) in "/opt/iobroker/node_modules/iobroker.admin"
npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN deprecated graceful-fs@3.0.11: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated graceful-fs@1.2.3: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
npm notice created a lockfile as package-lock.json. You should commit this file.
...
npm install --production (System call) in "/opt/iobroker/node_modules/iobroker.discovery"
npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies.
npm WARN deprecated graceful-fs@3.0.11: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated graceful-fs@1.2.3: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
npm notice created a lockfile as package-lock.json. You should commit this file.
...
added 160 packages from 132 contributors and audited 1646 packages in 97.84s
found 23 vulnerabilities (17 low, 6 high)
runnpm audit fix
to fix them, ornpm audit
for details
packet folder is: /opt/iobroker/node_modules/iobroker.js-controller | exists: true
Write "./iobroker start" to start the ioBroker
Non-critical error: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker/lib/../install/linux/iobroker.sh'
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'
npm WARN iobroker No description
npm WARN iobroker No repository field.
npm WARN iobroker No README data
npm WARN iobroker No license field.
! + iobroker@1.1.2
added 47 packages from 25 contributors and audited 77 packages in 209.006s
found 0 vulnerabilities
! ````Nachfolgender Aufruf von npm audit zeigt:
user@ioBroker:/opt/iobroker$ nnpm audit npm ERR! code ELOCKVERIFY npm ERR! Errors were found in your package-lock.json, run npm install to fix them. npm ERR! Missing: iobroker.admin@^3.4.7 npm ERR! Missing: iobroker.discovery@^1.2.1 npm ERR! Missing: iobroker.js-controller@^1.4.2 npm ERR! A complete log of this run can be found in: npm ERR! /home/user/.npm/_logs/2018-11-18T09_49_07_456Z-debug.log
Mag sein, dass für viele von euch diese Meldungen selbstredent sind - für mich sind sie es leider nicht. :oops:
Gruß
Manfred
- iobroker.discovery@1.2.1
-
Also die Warnmeldungen bei der Installation kannst du ignorieren. Habe ich auf einer neuen PI Installation auch bekommen.
Wenn du iobroker gestartet hast, kommst du dann wirklich nicht auf die Startseite?
Das iobroker nach reboot nicht läuft wurde im Forum auch schon diskutiert und ich habe dazu gestern ein Issue auf GIT geöffnet.
https://github.com/ioBroker/ioBroker/issues/73
Wenn du iobroker gestartet hast, was kommt im logfile?
Was bringt````
ps -ef |grep io -
Wenn du iobroker gestartet hast, kommst du dann wirklich nicht auf die Startseite? `
Wie oben bereits gepostet:user@ioBroker:~$ iobroker start Starting iobroker controller daemon... iobroker controller daemon started. PID: 543 user@ioBroker:~$ iobroker status iobroker is not running
Obwohl die Meldung kommt, dass der iobroker controller daemon gestartet ist, sagt der Status "not running".
Wenn du iobroker gestartet hast, was kommt im logfile? `
Das Verzeichnis /opt/iobroker/log ist leer.
Was bringt
ps -ef |grep io
`user@ioBroker:/opt/iobroker/log$ ps -ef |grep io root 9 2 0 10:54 ? 00:00:00 [migration/0] root 15 2 0 10:54 ? 00:00:00 [migration/1] root 30 2 0 10:54 ? 00:00:00 [bioset] root 84 2 0 10:54 ? 00:00:00 [bioset] root 85 2 0 10:54 ? 00:00:00 [bioset] root 86 2 0 10:54 ? 00:00:00 [bioset] root 87 2 0 10:54 ? 00:00:00 [bioset] root 88 2 0 10:54 ? 00:00:00 [bioset] root 89 2 0 10:54 ? 00:00:00 [bioset] root 90 2 0 10:54 ? 00:00:00 [bioset] root 91 2 0 10:54 ? 00:00:00 [bioset] root 101 2 0 10:54 ? 00:00:00 [bioset] root 102 2 0 10:54 ? 00:00:00 [bioset] message+ 377 1 0 10:54 ? 00:00:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation avahi 383 1 0 10:54 ? 00:00:00 avahi-daemon: running [ioBroker.local] user 586 419 0 12:18 pts/0 00:00:00 grep io
-
Steht etwas im Syslog?
Kann es sein das iobroker nicht die notwendigen Rechte hat?
Müsste mal mein Test Proxmox starten und schauen wie ich es damals gemacht habe
Eventuell mal drei Sessions öffnen und die logs syslog und iobroker log monitoren während du iobroker startest.
-
Frag mich nicht warum - jetzt komme ich auf die Webseite.
"iobroker status" zeigt auch jetzt, dass er läuft. Das war nachweislich (siehe oben) vorher nach scheinbar erfolgreichem Start nicht der Fall.
Jetzt muss ich nur noch der Ursahce auf die Spur kommen, warum ioBroker beim Start der Maschine nicht hoch kommt.
-
Das iobroker nach reboot nicht läuft wurde im Forum auch schon diskutiert und ich habe dazu gestern ein Issue auf GIT geöffnet.
Kann man das irgendwie manuell fixen? Möchte meine Neuinstallation gerne in Richtung Produktivsystem weiterführen.
-
Kann man das irgendwie manuell fixen? `
https://forum.iobroker.net/viewtopic.php?f=34&t=7019&start=300#p153021. Wenn nicht als User root, dann alle Befehle mit sudo davor. -
Hat geklappt. Danke!
-
Hat geklappt. `
Dann markiere bitte das Thema im Betreff des ersten Beitrags als [gelöst].