NEWS
ioBroker - keine Datenbank-Verbindung
-
dmesg -T | grep -i ext4 [Sat May 15 11:14:18 2021] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=PARTUUID=738a4d67-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait [Sat May 15 11:14:21 2021] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [Sat May 15 11:14:21 2021] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. [Sat May 15 11:14:24 2021] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)Ich bin hier auch diese Anleitung durch gegangen: elzershark.com
Doch da erhalte ich während der Ausführung folgenden Fehler
========================================================================== Installing ioBroker (3/4) ========================================================================== npm ERR! code 22 npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller npm ERR! command failed npm ERR! command sh -c node iobroker.js setup first npm ERR! No connection to databases possible ... npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2021-05-15T09_09_16_803Z-debug.logAlso ich hab immer Probleme mit dem js-controller, der lässt sich aber nicht neu installieren.
@sunshineh
Vergiss den Elsterhai. Da kommt erfahrunggemäß nur Mist bei rum.Hast du jetzt den ganzen Quatsch den der da in
seiner Anleitungseinem Pfusch verzapft durchgeführt? -
Ich bin bis Zeile 17 gekommen und hab dann nur Fehlermeldungen bekommen.
Glaubst du es wäre besser, das ganze System einfach neu aufzusetzen? Gibt es die Möglichkeit, dass ich mir Adapter oder meine erstellte VIS Oberfläche noch irgendwie sichere? -
Ich bin bis Zeile 17 gekommen und hab dann nur Fehlermeldungen bekommen.
Glaubst du es wäre besser, das ganze System einfach neu aufzusetzen? Gibt es die Möglichkeit, dass ich mir Adapter oder meine erstellte VIS Oberfläche noch irgendwie sichere?@sunshineh
Das heißt du hast bisher keine regelmäßigen Backups von deiner Installation?Was passiert denn nun bei
cd /opt/iobroker sudo -H -u iobroker npm install iobrokerBitte VOLLSTÄNDIGE Ein- und Ausgaben, inkl. login prompt. Kopier einfach die komplette Konsole.
-
@sunshineh
Das heißt du hast bisher keine regelmäßigen Backups von deiner Installation?Was passiert denn nun bei
cd /opt/iobroker sudo -H -u iobroker npm install iobrokerBitte VOLLSTÄNDIGE Ein- und Ausgaben, inkl. login prompt. Kopier einfach die komplette Konsole.
login as: pi@192.168.0.177's password: Linux ioBroker-GartenHalle 5.10.17-v7+ #1414 SMP Fri Apr 30 13:18:35 BST 2021 armv7l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Sat May 15 11:14:35 2021 from 192.168.0.245 SSH is enabled and the default password for the 'pi' user has not been changed. This is a security risk - please login as the 'pi' user and type 'passwd' to set a new password. Wi-Fi is currently blocked by rfkill. Use raspi-config to set the country before use. pi@ioBroker-GartenHalle:~ $ cd /opt/iobroker pi@ioBroker-GartenHalle:/opt/iobroker $ sudo -H -u iobroker npm install iobroker npm WARN deprecated request@2.88.0: request has been deprecated, see https://github.com/request/request/issues/3142 npm ERR! code 22 npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller npm ERR! command failed npm ERR! command sh -c node iobroker.js setup first npm ERR! No connection to databases possible ... npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2021-05-15T12_05_43_676Z-debug.log -
login as: pi@192.168.0.177's password: Linux ioBroker-GartenHalle 5.10.17-v7+ #1414 SMP Fri Apr 30 13:18:35 BST 2021 armv7l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Sat May 15 11:14:35 2021 from 192.168.0.245 SSH is enabled and the default password for the 'pi' user has not been changed. This is a security risk - please login as the 'pi' user and type 'passwd' to set a new password. Wi-Fi is currently blocked by rfkill. Use raspi-config to set the country before use. pi@ioBroker-GartenHalle:~ $ cd /opt/iobroker pi@ioBroker-GartenHalle:/opt/iobroker $ sudo -H -u iobroker npm install iobroker npm WARN deprecated request@2.88.0: request has been deprecated, see https://github.com/request/request/issues/3142 npm ERR! code 22 npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller npm ERR! command failed npm ERR! command sh -c node iobroker.js setup first npm ERR! No connection to databases possible ... npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2021-05-15T12_05_43_676Z-debug.log@sunshineh sagte in ioBroker - keine Datenbank-Verbindung:
npm ERR! No connection to databases possible
Merkwürdig.
Hast du da mal auf redis umgestellt?
Was liefertiobroker statusAm Rande: Dein Passwort für den pi solltest du auch mal von 'raspberry' auf was individuelles ändern.
sudo netstat -tulpenbringt?
-
login as: pi@192.168.0.177's password: Linux ioBroker-GartenHalle 5.10.17-v7+ #1414 SMP Fri Apr 30 13:18:35 BST 2021 armv7l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Sat May 15 11:14:35 2021 from 192.168.0.245 SSH is enabled and the default password for the 'pi' user has not been changed. This is a security risk - please login as the 'pi' user and type 'passwd' to set a new password. Wi-Fi is currently blocked by rfkill. Use raspi-config to set the country before use. pi@ioBroker-GartenHalle:~ $ cd /opt/iobroker pi@ioBroker-GartenHalle:/opt/iobroker $ sudo -H -u iobroker npm install iobroker npm WARN deprecated request@2.88.0: request has been deprecated, see https://github.com/request/request/issues/3142 npm ERR! code 22 npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller npm ERR! command failed npm ERR! command sh -c node iobroker.js setup first npm ERR! No connection to databases possible ... npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2021-05-15T12_05_43_676Z-debug.lognode/npm richtig installiert?
which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs -
@sunshineh
Vergiss den Elsterhai. Da kommt erfahrunggemäß nur Mist bei rum.Hast du jetzt den ganzen Quatsch den der da in
seiner Anleitungseinem Pfusch verzapft durchgeführt?Im Backup-Ordner habe ich folgendes gefunden
pi@ioBroker-GartenHalle:/opt/iobroker/backups $ dir 2021_04_12-22_58_14_backupiobroker.tar.gz 2021_05_03-00_16_22_backupiobroker.tar.gzKopier ich mir die jetzt auf meinen PC und setzt das System neu auf, oder kann ich die auch wieder einspielen?
-
@sunshineh sagte in ioBroker - keine Datenbank-Verbindung:
npm ERR! No connection to databases possible
Merkwürdig.
Hast du da mal auf redis umgestellt?
Was liefertiobroker statusAm Rande: Dein Passwort für den pi solltest du auch mal von 'raspberry' auf was individuelles ändern.
sudo netstat -tulpenbringt?
-
pi@ioBroker-GartenHalle:/opt/iobroker $ which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs
/usr/bin/nodejs
/usr/bin/node
/usr/bin/npm
v16.1.0
v16.1.0@sunshineh
Das ist nicht die vollständige Ausgabe.
Aber nodeJS16 kommt i.d.R. mit npm7 daher und das funktioniert noch nicht zusammen mit dem js-controller Setup. Da kommen deine Probleme her.
Installier SAUBER nodeJS12 (max. nodeJS14). Anleitung wie das richtig geht in meiner Signatur.(Edit:) Warum hast du eigentlich im ersten Beitrag geschrieben, es sei nodeJS 12 installiert? Da ist vermutlich so einiges krumm in dem System, was nodeJS angeht. Kann aber auch zusätzlich noch durch den Murks den die Elsterforelle da immer fabriziert verfrickelt worden sein.
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden