NEWS
Error 25
-
sudoers scheint auch 'nen Knick zu haben. Aber ich weiß nicht ob das auf dem DiätPi nicht irgendwie auch auf Diät sitzt und nur Knäckebrot bekommt.
-
Das Anlegen des Ordners hat geholfen.
thommy@DietPi:/opt/iobroker$ sudo mkdir /home/iobroker thommy@DietPi:/opt/iobroker$ sudo chown iobroker:iobroker /home/iobroker thommy@DietPi:/opt/iobroker$ thommy@DietPi:/opt/iobroker$ thommy@DietPi:/opt/iobroker$ iobroker add sonoff --host DietPi --debug NPM version: 6.14.17 Installing iobroker.sonoff@2.5.1... (System call) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"}) + iobroker.sonoff@2.5.1 added 15 packages from 19 contributors in 37.07s 38 packages are looking for funding run `npm fund` for details host.DietPi install adapter sonoff upload [3] sonoff.admin /opt/iobroker/node_modules/iobroker.sonoff/admin/index.html index.html text/html upload [2] sonoff.admin /opt/iobroker/node_modules/iobroker.sonoff/admin/index_m.html index_m.html text/html upload [1] sonoff.admin /opt/iobroker/node_modules/iobroker.sonoff/admin/sonoff.png sonoff.png image/png upload [0] sonoff.admin /opt/iobroker/node_modules/iobroker.sonoff/admin/words.js words.js application/javascript host.DietPi object system.adapter.sonoff created/updated host.DietPi create instance sonoff host.DietPi object system.adapter.sonoff.0.alive created host.DietPi object system.adapter.sonoff.0.connected created host.DietPi object system.adapter.sonoff.0.compactMode created host.DietPi object system.adapter.sonoff.0.cpu created host.DietPi object system.adapter.sonoff.0.cputime created host.DietPi object system.adapter.sonoff.0.memHeapUsed created host.DietPi object system.adapter.sonoff.0.memHeapTotal created host.DietPi object system.adapter.sonoff.0.memRss created host.DietPi object system.adapter.sonoff.0.uptime created host.DietPi object system.adapter.sonoff.0.inputCount created host.DietPi object system.adapter.sonoff.0.outputCount created host.DietPi object system.adapter.sonoff.0.eventLoopLag created host.DietPi object system.adapter.sonoff.0.sigKill created host.DietPi object system.adapter.sonoff.0.logLevel created host.DietPi object sonoff.0.info created host.DietPi object sonoff.0.info.connection created host.DietPi object system.adapter.sonoff.0 created thommy@DietPi:/opt/iobroker$
-
@thomas-braun sagte in Error 25:
auch auf Diät sitzt und nur Knäckebrot bekommt.
Dietpi ist abgespeckt , habe es als VM ( Grafana / Influx )
-
ls -la /home/
-
@glasfaser sagte in Error 25:
Dietpi ist abgespeckt ,
ich hab damals iobroker darauf nicht ans laufen gebracht. Hätte zu viele Klimmzüge gebraucht, wo ich mich nicht mit auskenne
-
thommy@DietPi:/opt/iobroker$ ls -la /home/ insgesamt 20 drwxr-xr-x 5 root root 4096 15. Jun 20:09 . drwxr-xr-x 18 root root 4096 29. Mai 14:11 .. drwxr-xr-x 2 dietpi dietpi 4096 19. Okt 2021 dietpi drwxr-xr-x 3 iobroker iobroker 4096 15. Jun 20:11 iobroker drwxr-xr-x 9 thommy thommy 4096 15. Jun 19:58 thommy thommy@DietPi:/opt/iobroker$
Vielen lieben Dank für eure Großartige hilfe!!!
-
und das hier?
@glasfaser sagte in Error 25:
@homoran sagte in Error 25:
@thomas-braun bist du sicher dass da nicht noch mehr krumm ist?ich würde mal in dem Verzeichniss mal schauen was da drin ist ..!?
sudo ls -la /home/thommy/
-
sudo ls -la /home/thommy/
thommy@DietPi:/opt/iobroker$ sudo ls -la /home/thommy/ insgesamt 64 drwxr-xr-x 9 thommy thommy 4096 15. Jun 19:58 . drwxr-xr-x 5 root root 4096 15. Jun 20:09 .. -rw------- 1 thommy thommy 5313 15. Jun 16:44 .bash_history -rw-r--r-- 1 thommy thommy 220 4. Nov 2021 .bash_logout -rw-r--r-- 1 thommy thommy 3716 15. Jun 19:58 .bashrc drwxr-xr-x 5 thommy thommy 4096 15. Jun 14:14 .cache drwx------ 4 thommy thommy 4096 4. Nov 2021 .config drwxr-xr-x 3 thommy thommy 4096 15. Jun 12:49 i0broker drwxr-xr-x 2 thommy thommy 4096 4. Nov 2021 .iobroker drwx------ 3 thommy thommy 4096 4. Nov 2021 .local lrwxrwxrwx 1 root root 13 15. Jun 18:31 node -> /usr/bin/node lrwxrwxrwx 1 root root 15 15. Jun 18:31 nodejs -> /usr/bin/nodejs -rw------- 1 thommy thommy 0 15. Jun 18:37 .node_repl_history drwxr-xr-x 5 thommy thommy 4096 15. Jun 14:14 .npm -rw------- 1 thommy thommy 36 15. Jun 14:09 .npmrc -rw-r--r-- 1 thommy thommy 807 4. Nov 2021 .profile drwxr-xr-x 3 thommy thommy 4096 4. Nov 2021 .terminfo -rw-r--r-- 1 thommy thommy 2945 1. Mai 07:27 terminfo.txt thommy@DietPi:/opt/iobroker$
-
sieht schon Witzig aus .... das Verzeichniss
drwxr-xr-x 3 thommy thommy 4096 15. Jun 12:49 i0broker
-
Die Essentials sind dann jetzt da.
Warum der iobroker kein Zuhause hat(te) wäre aber interessant zu wissen.
Muss mir vielleicht das Diät-Zeuch mal anschauen, wie das so tickt.Hast du die Kiste mal komplett neugebootet?
Danach bitte deniobroker fix
nochmal. Vielleicht ruckelt sich sudoers mit vorhandenem ~ jetzt zurecht.
-
@thomas-brodmann sagte in Error 25:
@Glasfaser
Das ist viel 'witziger'...lrwxrwxrwx 1 root root 13 15. Jun 18:31 node -> /usr/bin/node
lrwxrwxrwx 1 root root 15 15. Jun 18:31 nodejs -> /usr/bin/nodejsAlso doch wieder als root rumgepfuscht...
-
@glasfaser sagte in Error 25:
sieht schon Witzig aus .... das Verzeichniss
drwxr-xr-x 3 thommy thommy 4096 15. Jun 12:49 i0broker
ist das eine Null in i0Broker??
-
-
Ja ... wie Null Bock
-
@thomas-braun sagte in Error 25:
Muss mir vielleicht das Diät-Zeuch mal anschauen, wie das so tickt.
aber nicht so wie @Thomas-Brodmann node vorher mit der Hand installieren
Da hab ich auch noch keine Antwort
-
@thomas-brodmann sagte in Error 25:
Node und nodejs muss doch als sudo installiert werden.
Oder nicht?
Nein!
die müssen gar nicht installiert wrden, das macht der Installer. -
Steht aber so in der Beschreibung:
Node.js neu installieren für Linux und Raspberry 2/3
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt install -y nodejs
sudo reboot]
-
@thomas-brodmann sagte in Error 25:
Steht aber so in der Beschreibung:
wo?
rotes Ausrufezeichen gelesen?
mit dem aktuellen Installer von ioBroker (siehe unten) wird auf einem System ohne node.js automatisch die aktuell empfohlene Version von node.js mit installiert! Eine vorherige separate Installation von node.js ist somit nicht mehr nötig.
-
thommy@DietPi:~$ iobroker stop Stopping iobroker controller daemon... iobroker controller daemon stopped. No "killall.sh" script found. Just stop. thommy@DietPi:~$ iobroker fix library: loaded Library version=2022-06-15 ========================================================================== Welcome to the ioBroker installation fixer! Script version: 2022-06-03 You might need to enter your password a couple of times. ========================================================================== ========================================================================== Installing prerequisites (1/3) ========================================================================== [sudo] Passwort für thommy: OK:1 https://deb.debian.org/debian bullseye InRelease OK:2 https://deb.debian.org/debian bullseye-updates InRelease OK:3 https://deb.debian.org/debian-security bullseye-security InRelease OK:4 https://deb.debian.org/debian bullseye-backports InRelease OK:6 https://deb.nodesource.com/node_14.x bullseye InRelease OK:5 https://armbian.site-meganet.com/apt bullseye InRelease Paketlisten werden gelesen… Fertig 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... ========================================================================== Your installation was fixed successfully Run iobroker start to start ioBroker again! ========================================================================== thommy@DietPi:~$ iobroker start Starting iobroker controller daemon... iobroker controller daemon started. PID: 2094 thommy@DietPi:~$
-
@thomas-brodmann sagte in Error 25:
Node und nodejs muss doch als sudo installiert werden.
Oder nicht?Pakete installiert grundsätzlich natürlich immer mit root-Rechten.
Das führt aber nicht zu Links dazu im /home von thommy. (Die dann auch noch dem root gehören.)