NEWS
ioBroker als Standard User anmelden
-
@Thomas-Braun sagte in ioBroker als Standard User anmelden:
@Habedere Was läuft denn da als Betriebssystem?
lsb_release -aHallo Thomas,
der orange spuckt folgendes aus...root@orangepizero:~# lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 9.13 (stretch) Release: 9.13 Codename: stretchcat /etc/passwd | grep 1000 -
cat /etc/passwd | grep 1000root@orangepizero:~# cat /etc/passwd | grep 1000 iobroker:x:1000:1000::/home/iobroker:/usr/sbin/nologin -
root@orangepizero:~# cat /etc/passwd | grep 1000 iobroker:x:1000:1000::/home/iobroker:/usr/sbin/nologinadduser DEIN_GEWÜNSCHTER_USERNNAMEDann
usermod -aG sudo DER_NEUANGELEGTE_USERexitUnd dann mit dem neuen User anmelden und nie mehr direkt als root.
-
adduser DEIN_GEWÜNSCHTER_USERNNAMEDann
usermod -aG sudo DER_NEUANGELEGTE_USERexitUnd dann mit dem neuen User anmelden und nie mehr direkt als root.
@Thomas-Braun
Vielen Dank für die Anleitung! Hat einwandfrei geklappt und bin auch drin...
Aber ioBroker springt nicht an bzw. komme ich nicht auf die Web Flächepi@orangepizero:~$ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs /usr/bin/nodejs v12.20.0 /usr/bin/node v12.20.0 /usr/bin/npm 6.14.8 nodejs: Installed: 12.20.0-1nodesource1 Candidate: 12.20.0-1nodesource1 Version table: *** 12.20.0-1nodesource1 500 500 https://deb.nodesource.com/node_12.x stretch/main armhf Packages 100 /var/lib/dpkg/status 8.11.1~dfsg-2~bpo9+1 100 100 http://httpredir.debian.org/debian stretch-backports/main armhf Packages 4.8.2~dfsg-1 500 500 http://httpredir.debian.org/debian stretch/main armhf Packagespi@orangepizero:~$ iobroker list instances + instance is aliveEine Idee was ich da evtl. versemmelt habe?!
-
@Thomas-Braun
Vielen Dank für die Anleitung! Hat einwandfrei geklappt und bin auch drin...
Aber ioBroker springt nicht an bzw. komme ich nicht auf die Web Flächepi@orangepizero:~$ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs /usr/bin/nodejs v12.20.0 /usr/bin/node v12.20.0 /usr/bin/npm 6.14.8 nodejs: Installed: 12.20.0-1nodesource1 Candidate: 12.20.0-1nodesource1 Version table: *** 12.20.0-1nodesource1 500 500 https://deb.nodesource.com/node_12.x stretch/main armhf Packages 100 /var/lib/dpkg/status 8.11.1~dfsg-2~bpo9+1 100 100 http://httpredir.debian.org/debian stretch-backports/main armhf Packages 4.8.2~dfsg-1 500 500 http://httpredir.debian.org/debian stretch/main armhf Packagespi@orangepizero:~$ iobroker list instances + instance is aliveEine Idee was ich da evtl. versemmelt habe?!
-
@Thomas-Braun
ähhh da kommt gleich garnix
-
@Thomas-Braun
ähhh da kommt gleich garnix
@Habedere
Nix vertippt?
Bitte mal die Ein- und Ausgaben der Konsole posten.
Zusätzlich vielleicht zuvor nochiobroker restart iobroker status -
@Habedere
Nix vertippt?
Bitte mal die Ein- und Ausgaben der Konsole posten.
Zusätzlich vielleicht zuvor nochiobroker restart iobroker statuspi@orangepizero:~$ iobroker restart pi@orangepizero:~$ iobroker status iobroker is not running on this host. No iobroker host is running. Objects type: file States type: fileHätte aber mit "iobroker start" versucht der Gerät zu starten. Evtl. hat meine SD eine Macke?! lief ja vorhin auch. Aber dann würde wohl garnichts mehr gehen...
-
pi@orangepizero:~$ iobroker restart pi@orangepizero:~$ iobroker status iobroker is not running on this host. No iobroker host is running. Objects type: file States type: fileHätte aber mit "iobroker start" versucht der Gerät zu starten. Evtl. hat meine SD eine Macke?! lief ja vorhin auch. Aber dann würde wohl garnichts mehr gehen...
-
@Thomas-Braun sagte in ioBroker als Standard User anmelden:
iobroker fix
ähh gute Frage :)
Also der orange soll nur den m-Bus auslesen und die Daten an den Raspi senden der mit SQL Datenbank etc. auf einer SSD läuft. Würde also als Slave bezeichnen...Fix hatte ich mehrfach versucht...
pi@orangepizero:~$ iobroker fix library: loaded Library version=2020-12-07 ========================================================================== Welcome to the ioBroker installation fixer! Script version: 2020-12-07 You might need to enter your password a couple of times. ========================================================================== ========================================================================== Installing prerequisites (1/3) ========================================================================== [sudo] password for pi: Hit:1 http://security.debian.org stretch/updates InRelease Ign:2 http://httpredir.debian.org/debian stretch InRelease Hit:3 http://httpredir.debian.org/debian stretch-updates InRelease Hit:4 http://httpredir.debian.org/debian stretch-backports InRelease Hit:5 http://httpredir.debian.org/debian stretch Release Hit:7 https://deb.nodesource.com/node_12.x stretch InRelease Hit:6 https://minio.k-space.ee/armbian/apt stretch InRelease Reading package lists... Done Installed gcc-c++ ========================================================================== Checking ioBroker user and directory permissions (2/3) ========================================================================== Created /etc/sudoers.d/iobroker Fixing directory permissions... ========================================================================== Checking autostart (3/3) ========================================================================== Enabling autostart... Autostart enabled! ========================================================================== Your installation was fixed successfully Run iobroker start to start ioBroker again! ========================================================================== pi@orangepizero:~$ -
@Thomas-Braun sagte in ioBroker als Standard User anmelden:
iobroker fix
ähh gute Frage :)
Also der orange soll nur den m-Bus auslesen und die Daten an den Raspi senden der mit SQL Datenbank etc. auf einer SSD läuft. Würde also als Slave bezeichnen...Fix hatte ich mehrfach versucht...
pi@orangepizero:~$ iobroker fix library: loaded Library version=2020-12-07 ========================================================================== Welcome to the ioBroker installation fixer! Script version: 2020-12-07 You might need to enter your password a couple of times. ========================================================================== ========================================================================== Installing prerequisites (1/3) ========================================================================== [sudo] password for pi: Hit:1 http://security.debian.org stretch/updates InRelease Ign:2 http://httpredir.debian.org/debian stretch InRelease Hit:3 http://httpredir.debian.org/debian stretch-updates InRelease Hit:4 http://httpredir.debian.org/debian stretch-backports InRelease Hit:5 http://httpredir.debian.org/debian stretch Release Hit:7 https://deb.nodesource.com/node_12.x stretch InRelease Hit:6 https://minio.k-space.ee/armbian/apt stretch InRelease Reading package lists... Done Installed gcc-c++ ========================================================================== Checking ioBroker user and directory permissions (2/3) ========================================================================== Created /etc/sudoers.d/iobroker Fixing directory permissions... ========================================================================== Checking autostart (3/3) ========================================================================== Enabling autostart... Autostart enabled! ========================================================================== Your installation was fixed successfully Run iobroker start to start ioBroker again! ========================================================================== pi@orangepizero:~$sudo apt update sudo apt dist-upgrade sudo reboot -
sudo apt update sudo apt dist-upgrade sudo reboot@Thomas-Braun
Hatte ich auch versucht - wenn ich aber zum Schluss mit "Y" bestätige bricht er trotzdem ab...pi@orangepizero:~$ sudo apt update Hit:1 http://security.debian.org stretch/updates InRelease Ign:2 http://httpredir.debian.org/debian stretch InRelease Hit:3 http://httpredir.debian.org/debian stretch-updates InRelease Hit:4 http://httpredir.debian.org/debian stretch-backports InRelease Hit:5 http://httpredir.debian.org/debian stretch Release Hit:7 https://deb.nodesource.com/node_12.x stretch InRelease Hit:6 https://us.mirrors.fossho.st/armbian/apt stretch InRelease Reading package lists... Done Building dependency tree Reading state information... Done 1 package can be upgraded. Run 'apt list --upgradable' to see it. pi@orangepizero:~$ sudo apt dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: linux-libc-dev 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 1,540 kB of archives. After this operation, 7,168 B of additional disk space will be used. Do you want to continue? [Y/n] y Abort. pi@orangepizero:~$ -
@Thomas-Braun
Hatte ich auch versucht - wenn ich aber zum Schluss mit "Y" bestätige bricht er trotzdem ab...pi@orangepizero:~$ sudo apt update Hit:1 http://security.debian.org stretch/updates InRelease Ign:2 http://httpredir.debian.org/debian stretch InRelease Hit:3 http://httpredir.debian.org/debian stretch-updates InRelease Hit:4 http://httpredir.debian.org/debian stretch-backports InRelease Hit:5 http://httpredir.debian.org/debian stretch Release Hit:7 https://deb.nodesource.com/node_12.x stretch InRelease Hit:6 https://us.mirrors.fossho.st/armbian/apt stretch InRelease Reading package lists... Done Building dependency tree Reading state information... Done 1 package can be upgraded. Run 'apt list --upgradable' to see it. pi@orangepizero:~$ sudo apt dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: linux-libc-dev 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 1,540 kB of archives. After this operation, 7,168 B of additional disk space will be used. Do you want to continue? [Y/n] y Abort. pi@orangepizero:~$@Habedere
Installier das Paket mal. -
@Habedere
Installier das Paket mal.@Thomas-Braun
Würde ich ja gerne - deswegen bestätige ich ja mit Y
Klappt aber nicht.
Er schreibt trotzdem "Abort" -
@Thomas-Braun
Würde ich ja gerne - deswegen bestätige ich ja mit Y
Klappt aber nicht.
Er schreibt trotzdem "Abort"@Habedere
Versuch mal mit Z zubestätigen...
Wenn das funktioniert: Stell die LOCALES auf Deutschland ein. Inkl. der Uhrzeit. -
@Habedere
Versuch mal mit Z zubestätigen...
Wenn das funktioniert: Stell die LOCALES auf Deutschland ein. Inkl. der Uhrzeit.@Thomas-Braun
Nope - hatte ich auch versucht.After this operation, 7,168 B of additional disk space will be used. Do you want to continue? [Y/n] Z Abort. -
@Thomas-Braun
Nope - hatte ich auch versucht.After this operation, 7,168 B of additional disk space will be used. Do you want to continue? [Y/n] Z Abort. -
@Thomas-Braun
Nope - hatte ich auch versucht.After this operation, 7,168 B of additional disk space will be used. Do you want to continue? [Y/n] Z Abort.@Habedere Du nimmst aber schon ein großes Y, oder?
-
-
@Habedere Du nimmst aber schon ein großes Y, oder?
Tasks: 103 total, 1 running, 57 sleeping, 0 stopped, 0 zombie %Cpu(s): 0.3 us, 0.5 sy, 0.0 ni, 99.2 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st KiB Mem : 505156 total, 122888 free, 80960 used, 301308 buff/cache KiB Swap: 252576 total, 251808 free, 768 used. 413176 avail Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 4383 pi 20 0 7052 2788 2300 R 2.9 0.6 0:01.06 top 456 root 20 0 0 0 0 S 0.3 0.0 0:10.35 xradio_bh 1 root 20 0 27432 5980 3840 S 0.0 1.2 0:10.27 systemd 2 root 20 0 0 0 0 S 0.0 0.0 0:00.02 kthreadd 3 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 rcu_gp 4 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 rcu_par_gp 8 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 mm_percpu_wq 9 root 20 0 0 0 0 S 0.0 0.0 0:00.45 ksoftirqd/0 10 root 20 0 0 0 0 I 0.0 0.0 0:00.96 rcu_sched 11 root 20 0 0 0 0 I 0.0 0.0 0:00.00 rcu_bh 12 root rt 0 0 0 0 S 0.0 0.0 0:00.18 migration/0 13 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuhp/0 14 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuhp/1 15 root rt 0 0 0 0 S 0.0 0.0 0:00.01 migration/1 16 root 20 0 0 0 0 S 0.0 0.0 0:00.30 ksoftirqd/1 19 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuhp/2 20 root rt 0 0 0 0 S 0.0 0.0 0:00.19 migration/2 21 root 20 0 0 0 0 S 0.0 0.0 0:00.11 ksoftirqd/2 24 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuhp/3 25 root rt 0 0 0 0 S 0.0 0.0 0:00.19 migration/3 26 root 20 0 0 0 0 S 0.0 0.0 0:00.04 ksoftirqd/3 29 root 20 0 0 0 0 S 0.0 0.0 0:00.03 kdevtmpfs 30 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 netns 34 root 20 0 0 0 0 I 0.0 0.0 0:00.30 kworker/3:1-eve 35 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kauditd 36 root 20 0 0 0 0 S 0.0 0.0 0:00.00 oom_reaper 37 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 writeback 38 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kcompactd0 39 root 25 5 0 0 0 S 0.0 0.0 0:00.00 ksmd 40 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 crypto 41 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kintegrityd 42 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kblockd 43 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 ata_sff 44 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 devfreq_wq 45 root rt 0 0 0 0 S 0.0 0.0 0:00.00 watchdogd 46 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 rpciod 47 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kworker/u9:0 48 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 xprtiod 49 root 20 0 0 0 0 S 0.0 0.0 0:00.58 kswapd0 50 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 nfsiod 51 root 20 0 0 0 0 S 0.0 0.0 0:00.00 jfsIO@Thomas-Braun
Beides versucht...After this operation, 7,168 B of additional disk space will be used. Do you want to continue? [Y/n] Y Abort.
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