Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Wir Empfehlen: Node.js 20.x :-)

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Wir Empfehlen: Node.js 20.x :-)

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators @LastActionHero last edited by

      @lastactionhero dann warst du bestimmt vorhin noch als root unterwegs.
      Das solltest du nie machen.
      Meld dich vernünftig ab und dann als ioadmin wieder sn.

      Vorher solltest du aber den ioadmin noch in die Gruppe sudo packen

      1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @LastActionHero last edited by Thomas Braun

        @lastactionhero

        Und nix aus der Konsole löschen.
        Immer auch den LogIn Prompt zeigen. Gerade bei Berchtigungsgeschichten.
        Darfst du denn das /home/iobroker betreten?

        ls -l /home/
        

        anschauen.

        L 1 Reply Last reply Reply Quote 0
        • L
          LastActionHero @Thomas Braun last edited by LastActionHero

          @thomas-braun
          ich habe garkein login... sobald ich aus der Proxmox Umgebung heraus die Konsole der LXC öffne, sieht es so aus:

          root@iobroker:~# su ioadmin
          $ ls -l /home/
          total 8
          drwxr-xr-x 2 ioadmin  ioadmin  4096 Dec  3 10:47 ioadmin
          drwxr-xr-x 4 iobroker iobroker 4096 Nov 16 15:32 iobroker
          $ 
          
          Thomas Braun Homoran Negalein 3 Replies Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @LastActionHero last edited by

            @lastactionhero

            Dann ist da irgendwas kaputt bei deinem Setup.

            1 Reply Last reply Reply Quote 0
            • Homoran
              Homoran Global Moderator Administrators @LastActionHero last edited by

              @lastactionhero sagte in Wir Empfehlen: Node.js 20.x 🙂:

              root@iobroker:~# su ioadmin

              du sollst dich nicht als root einloggen!
              und dann wechseln.
              Direkt als user einloggen!

              1 Reply Last reply Reply Quote 0
              • Negalein
                Negalein Global Moderator @LastActionHero last edited by

                @lastactionhero sagte in Wir Empfehlen: Node.js 20.x 🙂:

                aus der Proxmox Umgebung heraus die Konsole der LXC öffne

                mach es nicht direkt in der Proxmox Konsole.
                Verwende zB Putty, MobaXterm, ...

                L 1 Reply Last reply Reply Quote 0
                • L
                  LastActionHero @Negalein last edited by

                  @negalein Hab ich nun gemacht, ändert nur nix am output

                  ioBroker LXC provided by https://tteck.github.io/Proxmox/
                  
                  $ ls -l /home/
                  total 8
                  drwxr-xr-x 2 ioadmin  ioadmin  4096 Dec  3 10:47 ioadmin
                  drwxr-xr-x 4 iobroker iobroker 4096 Nov 16 15:32 iobroker
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @LastActionHero last edited by

                    @lastactionhero

                    Wie hast du den ioadmin denn ins Leben gerufen? Der hat vermutlich kein home und damit auch keine weiteren Dateien, die das Umfeld für den user definieren.

                    cd
                    cat /etc/passwd
                    

                    anschauen.

                    L 1 Reply Last reply Reply Quote 0
                    • L
                      LastActionHero @Thomas Braun last edited by

                      @thomas-braun said in Wir Empfehlen: Node.js 20.x 🙂:

                      cat /etc/passwd

                      habe ich via "useradd -m ioadmin" aus der Proxmox Konsole gemacht

                      $ cd
                      $ cat /etc/passwd
                      root:x:0:0:root:/root:/bin/bash
                      daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin
                      bin:x:2:2:bin:/bin:/usr/sbin/nologin
                      sys:x:3:3:sys:/dev:/usr/sbin/nologin
                      sync:x:4:65534:sync:/bin:/bin/sync
                      games:x:5:60:games:/usr/games:/usr/sbin/nologin
                      man:x:6:12:man:/var/cache/man:/usr/sbin/nologin
                      lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin
                      mail:x:8:8:mail:/var/mail:/usr/sbin/nologin
                      news:x:9:9:news:/var/spool/news:/usr/sbin/nologin
                      uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin
                      proxy:x:13:13:proxy:/bin:/usr/sbin/nologin
                      www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin
                      backup:x:34:34:backup:/var/backups:/usr/sbin/nologin
                      list:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologin
                      irc:x:39:39:ircd:/run/ircd:/usr/sbin/nologin
                      gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/usr/sbin/nologin
                      nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin
                      _apt:x:100:65534::/nonexistent:/usr/sbin/nologin
                      postfix:x:101:106::/var/spool/postfix:/usr/sbin/nologin
                      sshd:x:102:65534::/run/sshd:/usr/sbin/nologin
                      systemd-network:x:103:111:systemd Network Management,,,:/run/systemd:/usr/sbin/nologin
                      systemd-resolve:x:104:112:systemd Resolver,,,:/run/systemd:/usr/sbin/nologin
                      messagebus:x:105:113::/nonexistent:/usr/sbin/nologin
                      systemd-timesync:x:106:114:systemd Time Synchronization,,,:/run/systemd:/usr/sbin/nologin
                      systemd-coredump:x:999:999:systemd Core Dumper:/:/usr/sbin/nologin
                      iobroker:x:1000:1000::/home/iobroker:/usr/sbin/nologin
                      _rpc:x:107:65534::/run/rpcbind:/usr/sbin/nologin
                      statd:x:108:65534::/var/lib/nfs:/usr/sbin/nologin
                      ioadmin:x:1001:1001::/home/ioadmin:/bin/sh
                      
                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @LastActionHero last edited by Thomas Braun

                        @lastactionhero sagte in Wir Empfehlen: Node.js 20.x 🙂:

                        ioadmin:x:1001:1001::/home/ioadmin:/bin/sh
                        

                        ist ungünstig.

                        Ändere das mal auf

                        ioadmin:x:1001:1001::/home/ioadmin:/bin/bash
                        

                        Dann den user aus- und wieder einloggen.

                        L 1 Reply Last reply Reply Quote 0
                        • L
                          LastActionHero @Thomas Braun last edited by

                          @thomas-braun wenn ich das via nano machen möchte, kann ich nicht speichern. File is unwritable

                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @LastActionHero last edited by

                            @lastactionhero

                            Mit root-Rechten.

                            L 1 Reply Last reply Reply Quote 0
                            • L
                              LastActionHero @Thomas Braun last edited by

                              @thomas-braun auch nicht, weder von der Proxmox konsole, noch mit sudo

                              $ sudo nano /etc/passwd
                              [sudo] password for ioadmin: 
                              Sorry, user ioadmin is not allowed to execute '/usr/bin/nano /etc/passwd' as root on iobroker.homenet.local.
                              
                              Thomas Braun Homoran 3 Replies Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @LastActionHero last edited by

                                @lastactionhero sagte in Wir Empfehlen: Node.js 20.x 🙂:

                                weder von der Proxmox konsole

                                Lass die verkrüppelte Konsole aus dem Spiel.

                                1 Reply Last reply Reply Quote 1
                                • Homoran
                                  Homoran Global Moderator Administrators @LastActionHero last edited by

                                  @lastactionhero sagte in Wir Empfehlen: Node.js 20.x 🙂:

                                  noch mit sudo

                                  hast du das befolgt?

                                  @homoran sagte in Wir Empfehlen: Node.js 20.x 🙂:

                                  @lastactionhero dann warst du bestimmt vorhin noch als root unterwegs.
                                  Das solltest du nie machen.
                                  Meld dich vernünftig ab und dann als ioadmin wieder sn.

                                  Vorher solltest du aber den ioadmin noch in die Gruppe sudo packen

                                  1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @LastActionHero last edited by

                                    @lastactionhero

                                    Als root:

                                    chsh -s /bin/bash ioadmin
                                    usermod -a -G sudo ioadmin
                                    

                                    Dann den ioadmin abmelden oder gleich den Container durchstarten.

                                    L 1 Reply Last reply Reply Quote 0
                                    • L
                                      LastActionHero @Thomas Braun last edited by

                                      @thomas-braun Vielen Herzlichen Dank für eure Hilfe, das wars!! Update auf 20 lief damit problemlos durch!! Mit diesen Containern und dem Usermanagement bin ich noch nicht firm, das muss ich für mich noch nacharbeiten!

                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @LastActionHero last edited by

                                        @lastactionhero

                                        Zeig jetzt (nach dem Reboot des Containers) mal die Ausgabe von

                                        iob diag
                                        

                                        in der Langfassung.

                                        L 1 Reply Last reply Reply Quote 0
                                        • L
                                          LastActionHero @Thomas Braun last edited by

                                          @thomas-braun und ich dachte schon, ich sei fertig...

                                          *** iob diag is starting up, please wait ***
                                          iob diag needs to be updated. Please execute 'iobroker fix' first.
                                          ioadmin@iobroker:~$ iobroker fix
                                          
                                          Your system is booting into 'graphical.target', which means that a user interface or desktop is available. Usually a server is running without a desktop to have more RAM available. Do you want to switch to 'multi-user.target'? (y/N)
                                          library: loaded
                                          Library version=2024-10-22
                                          ioBroker or some processes are still running:
                                          119 iobroker.js-con
                                          311 io.admin.0
                                          352 io.javascript.0
                                          378 io.scenes.0
                                          393 io.history.0
                                          408 io.telegram.0
                                          423 io.hue.0
                                          438 io.hm-rpc.0
                                          468 io.hm-rega.0
                                          483 io.hm-rpc.1
                                          498 io.sonos.0
                                          530 io.mqtt.0
                                          545 io.tr-064.0
                                          583 io.discovery.0
                                          598 io.web.0
                                          616 io.lovelace.0
                                          640 io.trashschedul
                                          708 io.yahka.0
                                          723 io.smartgarden.
                                          Please stop them first and try again!
                                          ioadmin@iobroker:~$ 
                                          
                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @LastActionHero last edited by

                                            @lastactionhero sagte in Wir Empfehlen: Node.js 20.x 🙂:

                                            Please stop them first and try again!

                                            iob stop
                                            iob fix
                                            iob start
                                            iob diag
                                            
                                            L 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            915
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            46
                                            217
                                            40437
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo