Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Änderungen iob CLI/Installer/Fixer mit Root Accounts

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.5k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.1k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    2.7k

Änderungen iob CLI/Installer/Fixer mit Root Accounts

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
202 Beiträge 25 Kommentatoren 39.3k Aufrufe 30 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • Thomas BraunT Thomas Braun

    @arteck

    Kann ich nicht nachstellen.

    -rw-rwxr--+   1 root root      0 Oct 22 15:42 testfile_vom_root
    

    Nach dem Fixer:

    -rw-rwxr--+   1 iobroker iobroker      0 Oct 22 15:42 testfile_vom_root
    

    Passt also hier.

    arteckA Offline
    arteckA Offline
    arteck
    Developer Most Active
    schrieb am zuletzt editiert von arteck
    #105

    @thomas-braun lass den mal in masse laufen über 3k files und so 50 Ordner mit Unterordnern
    aber ist ja ehh gefixt..laut Ingo

    zigbee hab ich, zwave auch, nuc's genauso und HA auch

    Thomas BraunT 1 Antwort Letzte Antwort
    0
    • arteckA arteck

      @thomas-braun lass den mal in masse laufen über 3k files und so 50 Ordner mit Unterordnern
      aber ist ja ehh gefixt..laut Ingo

      Thomas BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      schrieb am zuletzt editiert von
      #106

      @arteck sagte in Änderungen iob CLI/Installer/Fixer mit Root Accounts:

      lass den mal in masse laufen über 3k files und so 50 Ordner..

      Die Anzahl an Dateien spielt keine Rolle, das wird rekursiv über den Dateibaum gekippt.

      aber ist ja ehh gefixt..laut Ingo

      Der hatte aber keinen Bezug zum Eigentümer einer Datei.

      Linux-Werkzeugkasten:
      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
      NodeJS Fixer Skript:
      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

      arteckA 1 Antwort Letzte Antwort
      0
      • Rene55R Rene55

        @apollon77 Entweder war ich zu schnell oder ... . Leider gleicher Fehler wie vorhin (Unexpected token '<', "<!doctype "... is not valid JSON)

        apollon77A Offline
        apollon77A Offline
        apollon77
        schrieb am zuletzt editiert von
        #107

        @rene55 Nee ich hab ne stelle vergessen :-) ... Neuer fix kommt gleich

        Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

        • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
        • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
        1 Antwort Letzte Antwort
        0
        • ChaotC Offline
          ChaotC Offline
          Chaot
          schrieb am zuletzt editiert von
          #108

          Bei mir läuft der Fixer nicht mehr. Keine Ahnung warum

          haus@ioBroker:~$ iob status
          iobroker is running on this host.
          
          
          Objects type: jsonl
          States  type: redis
          haus@ioBroker:~$ iob stop
          Could not send "SIGTERM" to process 203: kill EPERM
          No "killall.sh" script found. Just stop.
          haus@ioBroker:~$ iob fix
          iobroker fix
          
          Execute the installation fixer script, this updates your ioBroker installation
          
          Options:
            --help  Show help  [boolean]
          haus@ioBroker:~$ 
          

          Controler Update auf 7.0.1 ist fehlgeschlagen. Dann wollte ich den Fixer laufen lassen und bekam diese Meldung.Jetzt bin ich auf 7.0.0 zurück und habe immer noch die Meldung.

          ioBroker auf NUC unter Proxmox; VIS: 12" Touchscreen und 17" Touch; Lichtsteuerung, Thermometer und Sensoren: Tasmota (39); Ambiente Beleuchtung: WLED (9); Heizung: DECT Thermostate (9) an Fritz 6690; EMS-ESP; 1 Echo V2; 3 Echo DOT; 1 Echo Connect; 2 Echo Show 5; Unifi Ap-Ac Lite.

          apollon77A 1 Antwort Letzte Antwort
          0
          • ChaotC Chaot

            Bei mir läuft der Fixer nicht mehr. Keine Ahnung warum

            haus@ioBroker:~$ iob status
            iobroker is running on this host.
            
            
            Objects type: jsonl
            States  type: redis
            haus@ioBroker:~$ iob stop
            Could not send "SIGTERM" to process 203: kill EPERM
            No "killall.sh" script found. Just stop.
            haus@ioBroker:~$ iob fix
            iobroker fix
            
            Execute the installation fixer script, this updates your ioBroker installation
            
            Options:
              --help  Show help  [boolean]
            haus@ioBroker:~$ 
            

            Controler Update auf 7.0.1 ist fehlgeschlagen. Dann wollte ich den Fixer laufen lassen und bekam diese Meldung.Jetzt bin ich auf 7.0.0 zurück und habe immer noch die Meldung.

            apollon77A Offline
            apollon77A Offline
            apollon77
            schrieb am zuletzt editiert von
            #109

            @chaot Ja Fix kommt gleich.

            Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

            • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
            • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
            1 Antwort Letzte Antwort
            0
            • apollon77A Offline
              apollon77A Offline
              apollon77
              schrieb am zuletzt editiert von
              #110

              Sooooo, ok bitte alle mit issues nochmal "Iob fix" ausführen ... danach bitte nochmal iobroker upgrade versuchen, sollte jetzt wieder über UI tun. Danke für check und sorry für die Issues.

              Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

              • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
              • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
              isi07I 1 Antwort Letzte Antwort
              0
              • Thomas BraunT Thomas Braun

                @arteck sagte in Änderungen iob CLI/Installer/Fixer mit Root Accounts:

                lass den mal in masse laufen über 3k files und so 50 Ordner..

                Die Anzahl an Dateien spielt keine Rolle, das wird rekursiv über den Dateibaum gekippt.

                aber ist ja ehh gefixt..laut Ingo

                Der hatte aber keinen Bezug zum Eigentümer einer Datei.

                arteckA Offline
                arteckA Offline
                arteck
                Developer Most Active
                schrieb am zuletzt editiert von
                #111

                @thomas-braun na ja irgendwo ist der ausgestiegen

                der neue.. der alte funktionierte fix.sh

                zigbee hab ich, zwave auch, nuc's genauso und HA auch

                Thomas BraunT 1 Antwort Letzte Antwort
                0
                • arteckA arteck

                  @thomas-braun na ja irgendwo ist der ausgestiegen

                  der neue.. der alte funktionierte fix.sh

                  Thomas BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  schrieb am zuletzt editiert von
                  #112

                  @arteck

                  Die aktuellen Änderungen haben aber den Code an der Stelle gar nicht angepackt.

                  Linux-Werkzeugkasten:
                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                  NodeJS Fixer Skript:
                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                  1 Antwort Letzte Antwort
                  0
                  • Rene55R Offline
                    Rene55R Offline
                    Rene55
                    schrieb am zuletzt editiert von
                    #113

                    @apollon77 Danke, läuft. Upgrade per GUI auf 7.0.1 hat funktioniert.

                    Host: Fujitsu Intel(R) Pentium(R) CPU G4560T, 32 GB RAM, Proxmox 8.x + lxc Ubuntu 22.04
                    ioBroker (8 GB RAM) Node.js: 20.19.1, NPM: 10.8.2, js-Controller: 7.0.6, Admin: 7.6.3
                    Wetterstation: Froggit WH3000SE V1.6.6

                    1 Antwort Letzte Antwort
                    1
                    • apollon77A apollon77

                      Sooooo, ok bitte alle mit issues nochmal "Iob fix" ausführen ... danach bitte nochmal iobroker upgrade versuchen, sollte jetzt wieder über UI tun. Danke für check und sorry für die Issues.

                      isi07I Offline
                      isi07I Offline
                      isi07
                      schrieb am zuletzt editiert von
                      #114

                      @apollon77 @Thomas-Braun
                      Einen neuen User anlegen funktioniert bei mir noch nicht.
                      Die Befehle werden immer noch nicht gefunden.

                      iobroker@iobroker:~$ iob fix
                      It seems you run ioBroker as root or the iobroker user. This is not recommended.
                      For security reasons a default user should be created. This user will be enabled to temporarily switch to root via 'sudo'.
                      A root login is not required in most Linux Distributions.
                      Do you want to setup a user now? (y/N)
                      Enter the username for a new user (Not 'root' and not 'iobroker'!): iobuser
                      Enter the password for the new user:
                      Confirm the password for the new user:
                      Adding new user account...
                      /home/iobroker/.fix.sh: line 59: useradd: command not found
                      /home/iobroker/.fix.sh: line 60: chpasswd: command not found
                      Please login with this newly created user account and restart the fixer.
                      
                      isi07I Thomas BraunT MartinPM 3 Antworten Letzte Antwort
                      0
                      • isi07I isi07

                        @apollon77 @Thomas-Braun
                        Einen neuen User anlegen funktioniert bei mir noch nicht.
                        Die Befehle werden immer noch nicht gefunden.

                        iobroker@iobroker:~$ iob fix
                        It seems you run ioBroker as root or the iobroker user. This is not recommended.
                        For security reasons a default user should be created. This user will be enabled to temporarily switch to root via 'sudo'.
                        A root login is not required in most Linux Distributions.
                        Do you want to setup a user now? (y/N)
                        Enter the username for a new user (Not 'root' and not 'iobroker'!): iobuser
                        Enter the password for the new user:
                        Confirm the password for the new user:
                        Adding new user account...
                        /home/iobroker/.fix.sh: line 59: useradd: command not found
                        /home/iobroker/.fix.sh: line 60: chpasswd: command not found
                        Please login with this newly created user account and restart the fixer.
                        
                        isi07I Offline
                        isi07I Offline
                        isi07
                        schrieb am zuletzt editiert von isi07
                        #115

                        @apollon77 @Thomas-Braun

                        Fehlt in den Zeilen 59 und 60 vor useradd und chpasswd nicht ein "$SUDOX", um die Befehle mit sudo auszuführen?

                                    # Add a new user account with sudo access and set the password
                                    echo "Adding new user account..."
                                    useradd -m -s /bin/bash -G adm,dialout,sudo,audio,video,plugdev,users,iobroker "$USERNAME"
                                    echo "$USERNAME:$PASSWORD" | chpasswd
                                    echo "Please login with this newly created user account and restart the fixer."
                                    exit 1
                        
                        
                        1 Antwort Letzte Antwort
                        0
                        • Thomas BraunT Thomas Braun

                          @arteck

                          Kann ich nicht nachstellen.

                          -rw-rwxr--+   1 root root      0 Oct 22 15:42 testfile_vom_root
                          

                          Nach dem Fixer:

                          -rw-rwxr--+   1 iobroker iobroker      0 Oct 22 15:42 testfile_vom_root
                          

                          Passt also hier.

                          Dr. BakteriusD Online
                          Dr. BakteriusD Online
                          Dr. Bakterius
                          Most Active
                          schrieb am zuletzt editiert von
                          #116

                          @thomas-braun sagte in Änderungen iob CLI/Installer/Fixer mit Root Accounts:

                          Passt also hier.

                          Wie kann dann das sein (nach Ausführen des Fixers)? Und das ist nur ein Ordner von vielen!

                          ich@iobroker:/opt/iobroker/node_modules/iobroker.js-controller$ ls -l
                          total 116
                          -rw-rw-r--+ 1 root     root      1135 Oct 22 17:40 LICENSE
                          -rw-rw-r--+ 1 root     root       193 Oct 22 17:40 README.md
                          drwxrwxr-x+ 4 root     root      4096 Oct 22 17:40 build
                          drwxrwxr-x+ 2 root     root      4096 Oct 22 17:40 conf
                          -rw-rw-r--+ 1 root     root       188 Oct 22 17:40 controller.js
                          -rw-rw-r--+ 1 root     root     77166 Oct 22 17:40 io-package.json
                          -rwxr-xr-x+ 1 root     root        66 Oct 22 17:40 iobroker.js
                          drwxrwxr-x+ 5 root     root      4096 Oct 22 17:40 node_modules
                          -rw-rw-r--+ 1 root     root      3611 Oct 22 17:40 package.json
                          -rw-rw-r--+ 1 iobroker iobroker   260 Oct 22 18:06 pids.txt
                          drwxrwxr-x+ 2 root     root      4096 Oct 22 17:40 tmp
                          

                          Ich könnte mich nicht erinnern je etwas unter root ausgeführt zu haben.

                          arteckA 1 Antwort Letzte Antwort
                          0
                          • Dr. BakteriusD Dr. Bakterius

                            @thomas-braun sagte in Änderungen iob CLI/Installer/Fixer mit Root Accounts:

                            Passt also hier.

                            Wie kann dann das sein (nach Ausführen des Fixers)? Und das ist nur ein Ordner von vielen!

                            ich@iobroker:/opt/iobroker/node_modules/iobroker.js-controller$ ls -l
                            total 116
                            -rw-rw-r--+ 1 root     root      1135 Oct 22 17:40 LICENSE
                            -rw-rw-r--+ 1 root     root       193 Oct 22 17:40 README.md
                            drwxrwxr-x+ 4 root     root      4096 Oct 22 17:40 build
                            drwxrwxr-x+ 2 root     root      4096 Oct 22 17:40 conf
                            -rw-rw-r--+ 1 root     root       188 Oct 22 17:40 controller.js
                            -rw-rw-r--+ 1 root     root     77166 Oct 22 17:40 io-package.json
                            -rwxr-xr-x+ 1 root     root        66 Oct 22 17:40 iobroker.js
                            drwxrwxr-x+ 5 root     root      4096 Oct 22 17:40 node_modules
                            -rw-rw-r--+ 1 root     root      3611 Oct 22 17:40 package.json
                            -rw-rw-r--+ 1 iobroker iobroker   260 Oct 22 18:06 pids.txt
                            drwxrwxr-x+ 2 root     root      4096 Oct 22 17:40 tmp
                            

                            Ich könnte mich nicht erinnern je etwas unter root ausgeführt zu haben.

                            arteckA Offline
                            arteckA Offline
                            arteck
                            Developer Most Active
                            schrieb am zuletzt editiert von arteck
                            #117

                            @dr-bakterius hab ich auch .. tja Jung @Thomas-Braun da bin ich nicht alleine mit... rekursion hin oder her

                            zigbee hab ich, zwave auch, nuc's genauso und HA auch

                            Thomas BraunT Dr. BakteriusD apollon77A 3 Antworten Letzte Antwort
                            0
                            • arteckA arteck

                              @dr-bakterius hab ich auch .. tja Jung @Thomas-Braun da bin ich nicht alleine mit... rekursion hin oder her

                              Thomas BraunT Online
                              Thomas BraunT Online
                              Thomas Braun
                              Most Active
                              schrieb am zuletzt editiert von
                              #118

                              Kann ich immer noch nicht nachstellen.

                              echad@chet:~ $ find /opt/iobroker/ -user root
                              echad@chet:~ $
                              

                              Dann läuft der fix.
                              Danach:

                              echad@chet:~ $ find /opt/iobroker/ -user root
                              echad@chet:~ $
                              

                              Nix root hier.

                              Linux-Werkzeugkasten:
                              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                              NodeJS Fixer Skript:
                              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                              1 Antwort Letzte Antwort
                              0
                              • arteckA arteck

                                @dr-bakterius hab ich auch .. tja Jung @Thomas-Braun da bin ich nicht alleine mit... rekursion hin oder her

                                Dr. BakteriusD Online
                                Dr. BakteriusD Online
                                Dr. Bakterius
                                Most Active
                                schrieb am zuletzt editiert von
                                #119

                                @arteck
                                @thomas-braun

                                Die falschen Zuordnungen durften durch die Installation vom js-controller 7.0.1 passiert sein. Nach nochmaliger Ausführung des Fixers passt wieder alles :

                                ich@iobroker:/opt/iobroker/node_modules/iobroker.js-controller$ ls -l
                                total 116
                                -rw-rwxr--+ 1 iobroker iobroker  1135 Oct 22 17:40 LICENSE
                                -rw-rwxr--+ 1 iobroker iobroker   193 Oct 22 17:40 README.md
                                drwxrwxr-x+ 4 iobroker iobroker  4096 Oct 22 17:40 build
                                drwxrwxr-x+ 2 iobroker iobroker  4096 Oct 22 17:40 conf
                                -rw-rwxr--+ 1 iobroker iobroker   188 Oct 22 17:40 controller.js
                                -rw-rwxr--+ 1 iobroker iobroker 77166 Oct 22 17:40 io-package.json
                                -rwxrwxr-x+ 1 iobroker iobroker    66 Oct 22 17:40 iobroker.js
                                drwxrwxr-x+ 5 iobroker iobroker  4096 Oct 22 17:40 node_modules
                                -rw-rwxr--+ 1 iobroker iobroker  3611 Oct 22 17:40 package.json
                                -rw-rw-r--+ 1 iobroker iobroker    43 Oct 22 18:30 pids.txt
                                drwxrwxr-x+ 2 iobroker iobroker  4096 Oct 22 17:40 tmp
                                
                                Thomas BraunT 1 Antwort Letzte Antwort
                                0
                                • Dr. BakteriusD Dr. Bakterius

                                  @arteck
                                  @thomas-braun

                                  Die falschen Zuordnungen durften durch die Installation vom js-controller 7.0.1 passiert sein. Nach nochmaliger Ausführung des Fixers passt wieder alles :

                                  ich@iobroker:/opt/iobroker/node_modules/iobroker.js-controller$ ls -l
                                  total 116
                                  -rw-rwxr--+ 1 iobroker iobroker  1135 Oct 22 17:40 LICENSE
                                  -rw-rwxr--+ 1 iobroker iobroker   193 Oct 22 17:40 README.md
                                  drwxrwxr-x+ 4 iobroker iobroker  4096 Oct 22 17:40 build
                                  drwxrwxr-x+ 2 iobroker iobroker  4096 Oct 22 17:40 conf
                                  -rw-rwxr--+ 1 iobroker iobroker   188 Oct 22 17:40 controller.js
                                  -rw-rwxr--+ 1 iobroker iobroker 77166 Oct 22 17:40 io-package.json
                                  -rwxrwxr-x+ 1 iobroker iobroker    66 Oct 22 17:40 iobroker.js
                                  drwxrwxr-x+ 5 iobroker iobroker  4096 Oct 22 17:40 node_modules
                                  -rw-rwxr--+ 1 iobroker iobroker  3611 Oct 22 17:40 package.json
                                  -rw-rw-r--+ 1 iobroker iobroker    43 Oct 22 18:30 pids.txt
                                  drwxrwxr-x+ 2 iobroker iobroker  4096 Oct 22 17:40 tmp
                                  
                                  Thomas BraunT Online
                                  Thomas BraunT Online
                                  Thomas Braun
                                  Most Active
                                  schrieb am zuletzt editiert von
                                  #120

                                  @dr-bakterius sagte in Änderungen iob CLI/Installer/Fixer mit Root Accounts:

                                  Die falschen Zuordnungen durften durch die Installation vom js-controller 7.0.1 passiert sein.

                                  Ja, das muss als root erfolgen. Aber eigentlich sollten die Rechte dann auch wieder gerade gerückt werden. Ist aber wenn dann ein Issue des js-controllers.

                                  Linux-Werkzeugkasten:
                                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                  NodeJS Fixer Skript:
                                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                  1 Antwort Letzte Antwort
                                  1
                                  • isi07I isi07

                                    @apollon77 @Thomas-Braun
                                    Einen neuen User anlegen funktioniert bei mir noch nicht.
                                    Die Befehle werden immer noch nicht gefunden.

                                    iobroker@iobroker:~$ iob fix
                                    It seems you run ioBroker as root or the iobroker user. This is not recommended.
                                    For security reasons a default user should be created. This user will be enabled to temporarily switch to root via 'sudo'.
                                    A root login is not required in most Linux Distributions.
                                    Do you want to setup a user now? (y/N)
                                    Enter the username for a new user (Not 'root' and not 'iobroker'!): iobuser
                                    Enter the password for the new user:
                                    Confirm the password for the new user:
                                    Adding new user account...
                                    /home/iobroker/.fix.sh: line 59: useradd: command not found
                                    /home/iobroker/.fix.sh: line 60: chpasswd: command not found
                                    Please login with this newly created user account and restart the fixer.
                                    
                                    Thomas BraunT Online
                                    Thomas BraunT Online
                                    Thomas Braun
                                    Most Active
                                    schrieb am zuletzt editiert von
                                    #121

                                    @isi07 sagte in Änderungen iob CLI/Installer/Fixer mit Root Accounts:

                                    Die Befehle werden immer noch nicht gefunden.

                                    Der Fix ist auch noch nicht live.

                                    Fehlt in den Zeilen 59 und 60 vor useradd und chpasswd nicht ein "$SUDOX", um die Befehle mit sudo auszuführen?

                                    dito

                                    Linux-Werkzeugkasten:
                                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                    NodeJS Fixer Skript:
                                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                    Meister MopperM 1 Antwort Letzte Antwort
                                    0
                                    • Thomas BraunT Thomas Braun

                                      @isi07 sagte in Änderungen iob CLI/Installer/Fixer mit Root Accounts:

                                      Die Befehle werden immer noch nicht gefunden.

                                      Der Fix ist auch noch nicht live.

                                      Fehlt in den Zeilen 59 und 60 vor useradd und chpasswd nicht ein "$SUDOX", um die Befehle mit sudo auszuführen?

                                      dito

                                      Meister MopperM Offline
                                      Meister MopperM Offline
                                      Meister Mopper
                                      schrieb am zuletzt editiert von
                                      #122

                                      @thomas-braun

                                      Bei mir liegen die Rechte nach iob fix auch durchgängig beim user iobroker.

                                      thomas@iobroker:~$ iob -v
                                      6.0.11
                                      
                                      thomas@iobroker:~$ find /opt/iobroker/ -user root
                                      thomas@iobroker:~$
                                      

                                      Proxmox und HA

                                      Thomas BraunT 1 Antwort Letzte Antwort
                                      0
                                      • Meister MopperM Meister Mopper

                                        @thomas-braun

                                        Bei mir liegen die Rechte nach iob fix auch durchgängig beim user iobroker.

                                        thomas@iobroker:~$ iob -v
                                        6.0.11
                                        
                                        thomas@iobroker:~$ find /opt/iobroker/ -user root
                                        thomas@iobroker:~$
                                        
                                        Thomas BraunT Online
                                        Thomas BraunT Online
                                        Thomas Braun
                                        Most Active
                                        schrieb am zuletzt editiert von
                                        #123

                                        @meister-mopper sagte in Änderungen iob CLI/Installer/Fixer mit Root Accounts:

                                        Bei mir liegen die Rechte nach iob fix auch durchgängig beim user iobroker.

                                        So soll es sein.

                                        Linux-Werkzeugkasten:
                                        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                        NodeJS Fixer Skript:
                                        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                        1 Antwort Letzte Antwort
                                        0
                                        • isi07I isi07

                                          @apollon77 @Thomas-Braun
                                          Einen neuen User anlegen funktioniert bei mir noch nicht.
                                          Die Befehle werden immer noch nicht gefunden.

                                          iobroker@iobroker:~$ iob fix
                                          It seems you run ioBroker as root or the iobroker user. This is not recommended.
                                          For security reasons a default user should be created. This user will be enabled to temporarily switch to root via 'sudo'.
                                          A root login is not required in most Linux Distributions.
                                          Do you want to setup a user now? (y/N)
                                          Enter the username for a new user (Not 'root' and not 'iobroker'!): iobuser
                                          Enter the password for the new user:
                                          Confirm the password for the new user:
                                          Adding new user account...
                                          /home/iobroker/.fix.sh: line 59: useradd: command not found
                                          /home/iobroker/.fix.sh: line 60: chpasswd: command not found
                                          Please login with this newly created user account and restart the fixer.
                                          
                                          MartinPM Offline
                                          MartinPM Offline
                                          MartinP
                                          schrieb am zuletzt editiert von
                                          #124

                                          Mir wurde beim Aufruf von iob diag erzählt ich hätte eine Linux Installation mit grafischer Oberfläche, ob das geändert werden solle.
                                          Der Dialog war aber verstümmelt, und ich konnte nix eingeben ...

                                          ist garantiert keine solche Installation (siehe Signatur)

                                          Intel(R) Celeron(R) CPU N3000 @ 1.04GHz 8G RAM 480G SSD
                                          Virtualization : unprivileged lxc container (debian 12 on Proxmox 8.4.14)
                                          Linux pve 6.8.12-16-pve
                                          6 GByte RAM für den Container
                                          Fritzbox 6591 FW 8.03 (Vodafone Leih-Box)
                                          Remote-Access über Wireguard der Fritzbox

                                          Thomas BraunT Meister MopperM 3 Antworten Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

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

                                          707

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe