Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • 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. neu installierter ioBroker über Browser nicht erreichbar

NEWS

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    8
    1
    724

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    10
    1
    559

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    1.1k

neu installierter ioBroker über Browser nicht erreichbar

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
browserjs controller update
62 Beiträge 4 Kommentatoren 6.5k Aufrufe 4 Beobachtet
  • Ä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.
  • C C3PO

    @Thomas-Braun

    ls -la
    total 156
    drwx------  10 root root  4096 May 15 22:22 .
    drwxr-xr-x  21 root root  4096 May 15 22:35 ..
    -rw-------   1 root root  1311 May 15 22:35 .bash_history
    -rw-r--r--   1 root root   684 May 15 21:22 .bashrc
    drwxr-xr-x   3 root root  4096 May 15 20:40 .cache
    drwx------   3 root root  4096 May 15 20:26 .config
    drwx------   3 root root  4096 May 15 15:47 .gnupg
    -rwxr-xr--   1 root root    93 May 15 22:22 iob
    drwxr-xr-x   2 root root  4096 May 15 20:41 .iobroker
    -rwxr-xr--   1 root root    93 May 15 22:22 iobroker
    drwxr-xr-x   3 root root  4096 May 15 22:22 iobroker-data
    drwxr-xr-x   2 root root  4096 May 15 22:22 log
    drwxr-xr-x 243 root root 12288 May 15 22:22 node_modules
    drwxr-xr-x   5 root root  4096 May 15 22:22 .npm
    -rw-------   1 root root    36 May 15 20:37 .npmrc
    -rw-r--r--   1 root root 74419 May 15 22:22 package-lock.json
    -rw-r--r--   1 root root   148 Jul 28  2017 .profile
    -rw-r--r--   1 root root  5738 May 15 22:22 reinstall.js
    
    
    C Offline
    C Offline
    C3PO
    schrieb am zuletzt editiert von
    #24

    @C3PO
    und Danke schon mal für deine Zeit

    Thomas BraunT 1 Antwort Letzte Antwort
    0
    • C C3PO

      @C3PO
      und Danke schon mal für deine Zeit

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

      @C3PO

      curl -sL https://iobroker.net/fix.sh | bash -
      

      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

      C 1 Antwort Letzte Antwort
      0
      • Thomas BraunT Thomas Braun

        @C3PO

        curl -sL https://iobroker.net/fix.sh | bash -
        
        C Offline
        C Offline
        C3PO
        schrieb am zuletzt editiert von C3PO
        #26

        @Thomas-Braun

        curl -sL https://iobroker.net/fix.sh | bash
        library: loaded
        Library version=2020-04-12
        
        ==========================================================================
        
            Welcome to the ioBroker installation fixer!
            Script version: 2020-04-12
        
        ==========================================================================
        
        
        ==========================================================================
            Installing prerequisites (1/3)
        ==========================================================================
        
        Hit:1 http://ftp.halifax.rwth-aachen.de/raspbian/raspbian buster InRelease
        Hit:2 https://deb.nodesource.com/node_12.x buster InRelease
        Get:3 https://dl.yarnpkg.com/debian stable InRelease [17.1 kB]
        Err:3 https://dl.yarnpkg.com/debian stable InRelease
          The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <yarn@dan.cx>
        Reading package lists... Done
        W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://dl.yarnpkg.com/debian stable InRelease: The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <yarn@dan.cx>
        W: Failed to fetch https://dl.yarnpkg.com/debian/dists/stable/InRelease  The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <yarn@dan.cx>
        W: Some index files failed to download. They have been ignored, or old ones used instead.
        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!
        
        ==========================================================================
        
        

        same :-(

        iobroker status
        Socket.io Server detected. Please update to js-controller 2.0 or higher!
        Socket.io Server detected. Please update to js-controller 2.0 or higher!
        Socket.io Server detected. Please update to js-controller 2.0 or higher!
        Socket.io Server detected. Please update to js-controller 2.0 or higher!
        Socket.io Server detected. Please update to js-controller 2.0 or higher!
        Socket.io Server detected. Please update to js-controller 2.0 or higher!
        Socket.io Server detected. Please update to js-controller 2.0 or higher!
        Socket.io Server detected. Please update to js-controller 2.0 or higher!
        iobroker is running on this host.
        
        No iobroker host is running.
        
        Objects type: file
        States  type: file
        
        
        
        Thomas BraunT 1 Antwort Letzte Antwort
        0
        • C C3PO

          @Thomas-Braun

          curl -sL https://iobroker.net/fix.sh | bash
          library: loaded
          Library version=2020-04-12
          
          ==========================================================================
          
              Welcome to the ioBroker installation fixer!
              Script version: 2020-04-12
          
          ==========================================================================
          
          
          ==========================================================================
              Installing prerequisites (1/3)
          ==========================================================================
          
          Hit:1 http://ftp.halifax.rwth-aachen.de/raspbian/raspbian buster InRelease
          Hit:2 https://deb.nodesource.com/node_12.x buster InRelease
          Get:3 https://dl.yarnpkg.com/debian stable InRelease [17.1 kB]
          Err:3 https://dl.yarnpkg.com/debian stable InRelease
            The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <yarn@dan.cx>
          Reading package lists... Done
          W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://dl.yarnpkg.com/debian stable InRelease: The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <yarn@dan.cx>
          W: Failed to fetch https://dl.yarnpkg.com/debian/dists/stable/InRelease  The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <yarn@dan.cx>
          W: Some index files failed to download. They have been ignored, or old ones used instead.
          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!
          
          ==========================================================================
          
          

          same :-(

          iobroker status
          Socket.io Server detected. Please update to js-controller 2.0 or higher!
          Socket.io Server detected. Please update to js-controller 2.0 or higher!
          Socket.io Server detected. Please update to js-controller 2.0 or higher!
          Socket.io Server detected. Please update to js-controller 2.0 or higher!
          Socket.io Server detected. Please update to js-controller 2.0 or higher!
          Socket.io Server detected. Please update to js-controller 2.0 or higher!
          Socket.io Server detected. Please update to js-controller 2.0 or higher!
          Socket.io Server detected. Please update to js-controller 2.0 or higher!
          iobroker is running on this host.
          
          No iobroker host is running.
          
          Objects type: file
          States  type: file
          
          
          
          Thomas BraunT Online
          Thomas BraunT Online
          Thomas Braun
          Most Active
          schrieb am zuletzt editiert von
          #27

          @C3PO

          curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
          

          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

          C 1 Antwort Letzte Antwort
          0
          • Thomas BraunT Thomas Braun

            @C3PO

            curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
            
            C Offline
            C Offline
            C3PO
            schrieb am zuletzt editiert von
            #28

            @Thomas-Braun

            curl -sS https://dl-yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
            curl: (6) Could not resolve host: dl-yarnpkg.com
            gpg: no valid OpenPGP data found.
            
            
            Thomas BraunT 2 Antworten Letzte Antwort
            0
            • C C3PO

              @Thomas-Braun

              curl -sS https://dl-yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
              curl: (6) Could not resolve host: dl-yarnpkg.com
              gpg: no valid OpenPGP data found.
              
              
              Thomas BraunT Online
              Thomas BraunT Online
              Thomas Braun
              Most Active
              schrieb am zuletzt editiert von
              #29

              @C3PO

              Okay, dann ist der key für yarnpkg halt nicht signiert... Ist auch eigentlich die Baustelle von LoxBerry...

              curl -sL https://iobroker.net/install.sh | bash -
              

              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

              C 1 Antwort Letzte Antwort
              0
              • C C3PO

                @Thomas-Braun

                curl -sS https://dl-yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
                curl: (6) Could not resolve host: dl-yarnpkg.com
                gpg: no valid OpenPGP data found.
                
                
                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                schrieb am zuletzt editiert von
                #30

                @C3PO

                curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
                

                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

                C 1 Antwort Letzte Antwort
                0
                • Thomas BraunT Thomas Braun

                  @C3PO

                  Okay, dann ist der key für yarnpkg halt nicht signiert... Ist auch eigentlich die Baustelle von LoxBerry...

                  curl -sL https://iobroker.net/install.sh | bash -
                  
                  C Offline
                  C Offline
                  C3PO
                  schrieb am zuletzt editiert von
                  #31

                  @Thomas-Braun

                  curl -sL https://iobroker.net/install.sh | bash -
                  library: loaded
                  Library version=2020-04-12
                  
                  ==========================================================================
                  
                      Welcome to the ioBroker installer!
                      Installer version: 2020-04-12
                  
                  ==========================================================================
                  
                  
                  ==========================================================================
                      Installing prerequisites (1/4)
                  ==========================================================================
                  
                  Hit:1 https://deb.nodesource.com/node_12.x buster InRelease
                  Get:2 https://dl.yarnpkg.com/debian stable InRelease [17.1 kB]
                  Hit:3 http://ftp.halifax.rwth-aachen.de/raspbian/raspbian buster InRelease
                  Err:2 https://dl.yarnpkg.com/debian stable InRelease
                    The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <yarn@dan.cx>
                  Reading package lists... Done
                  W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://dl.yarnpkg.com/debian stable InRelease: The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <yarn@dan.cx>
                  W: Failed to fetch https://dl.yarnpkg.com/debian/dists/stable/InRelease  The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <yarn@dan.cx>
                  W: Some index files failed to download. They have been ignored, or old ones used instead.
                  Changing npm registry to https://registry.npmjs.org
                  Installed gcc-c++
                  
                  ==========================================================================
                      Creating ioBroker user and directory (2/4)
                  ==========================================================================
                  
                  Created /etc/sudoers.d/iobroker
                  Directory /opt/iobroker created
                  
                  ==========================================================================
                      Installing ioBroker (3/4)
                  ==========================================================================
                  
                  
                  ==========================================================================
                      Finalizing installation (4/4)
                  ==========================================================================
                  
                  Enabling autostart...
                  Autostart enabled!
                  Fixing directory permissions...
                  
                  ==========================================================================
                  
                      ioBroker was installed successfully
                      Open http://xxx.xxx.xxx.xxx:8081 in a browser and start configuring!
                  
                  ==========================================================================
                  
                  
                  1 Antwort Letzte Antwort
                  0
                  • Thomas BraunT Thomas Braun

                    @C3PO

                    curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
                    
                    C Offline
                    C Offline
                    C3PO
                    schrieb am zuletzt editiert von C3PO
                    #32

                    @Thomas-Braun

                    curl -sS https://dl.yarnpkg.com/debia/pubkey.gpg | sudo apt-key add -
                    gpg: no valid OpenPGP data found.
                    
                    Thomas BraunT 1 Antwort Letzte Antwort
                    0
                    • C C3PO

                      @Thomas-Braun

                      curl -sS https://dl.yarnpkg.com/debia/pubkey.gpg | sudo apt-key add -
                      gpg: no valid OpenPGP data found.
                      
                      Thomas BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      schrieb am zuletzt editiert von
                      #33

                      @C3PO
                      Da fehlt dir ein 'n'. Kopier die Befehle doch rein.

                      curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
                      

                      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

                      C 1 Antwort Letzte Antwort
                      0
                      • Thomas BraunT Thomas Braun

                        @C3PO
                        Da fehlt dir ein 'n'. Kopier die Befehle doch rein.

                        curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
                        
                        C Offline
                        C Offline
                        C3PO
                        schrieb am zuletzt editiert von
                        #34

                        @Thomas-Braun

                        curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
                        OK
                        
                        
                        Thomas BraunT 1 Antwort Letzte Antwort
                        0
                        • C C3PO

                          @Thomas-Braun

                          curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
                          OK
                          
                          
                          Thomas BraunT Online
                          Thomas BraunT Online
                          Thomas Braun
                          Most Active
                          schrieb am zuletzt editiert von
                          #35

                          @C3PO Jetzt sollte die Meldung von apt auch weg sein.

                          apt update && apt upgrade
                          

                          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

                          C 1 Antwort Letzte Antwort
                          0
                          • Thomas BraunT Thomas Braun

                            @C3PO Jetzt sollte die Meldung von apt auch weg sein.

                            apt update && apt upgrade
                            
                            C Offline
                            C Offline
                            C3PO
                            schrieb am zuletzt editiert von
                            #36

                            @Thomas-Braun

                            done

                             apt update && apt upgrade
                            Hit:1 http://ftp.halifax.rwth-aachen.de/raspbian/raspbian buster InRelease
                            Hit:2 https://deb.nodesource.com/node_12.x buster InRelease
                            Hit:3 https://dl.yarnpkg.com/debian stable InRelease
                            Reading package lists... Done
                            Building dependency tree
                            Reading state information... Done
                            1 package can be upgraded. Run 'apt list --upgradable' to see it.
                            Reading package lists... Done
                            Building dependency tree
                            Reading state information... Done
                            Calculating upgrade... Done
                            The following packages will be upgraded:
                              yarn
                            1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                            Need to get 891 kB of archives.
                            After this operation, 8,192 B of additional disk space will be used.
                            Do you want to continue? [Y/n] Y
                            Get:1 https://dl.yarnpkg.com/debian stable/main armhf yarn all 1.22.4-1 [891 kB]
                            Fetched 891 kB in 0s (2,805 kB/s)
                            (Reading database ... 83280 files and directories currently installed.)
                            Preparing to unpack .../archives/yarn_1.22.4-1_all.deb ...
                            Unpacking yarn (1.22.4-1) over (1.19.1-1) ...
                            Setting up yarn (1.22.4-1) ...
                            
                            
                            Thomas BraunT 1 Antwort Letzte Antwort
                            0
                            • C C3PO

                              @Thomas-Braun

                              done

                               apt update && apt upgrade
                              Hit:1 http://ftp.halifax.rwth-aachen.de/raspbian/raspbian buster InRelease
                              Hit:2 https://deb.nodesource.com/node_12.x buster InRelease
                              Hit:3 https://dl.yarnpkg.com/debian stable InRelease
                              Reading package lists... Done
                              Building dependency tree
                              Reading state information... Done
                              1 package can be upgraded. Run 'apt list --upgradable' to see it.
                              Reading package lists... Done
                              Building dependency tree
                              Reading state information... Done
                              Calculating upgrade... Done
                              The following packages will be upgraded:
                                yarn
                              1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                              Need to get 891 kB of archives.
                              After this operation, 8,192 B of additional disk space will be used.
                              Do you want to continue? [Y/n] Y
                              Get:1 https://dl.yarnpkg.com/debian stable/main armhf yarn all 1.22.4-1 [891 kB]
                              Fetched 891 kB in 0s (2,805 kB/s)
                              (Reading database ... 83280 files and directories currently installed.)
                              Preparing to unpack .../archives/yarn_1.22.4-1_all.deb ...
                              Unpacking yarn (1.22.4-1) over (1.19.1-1) ...
                              Setting up yarn (1.22.4-1) ...
                              
                              
                              Thomas BraunT Online
                              Thomas BraunT Online
                              Thomas Braun
                              Most Active
                              schrieb am zuletzt editiert von Thomas Braun
                              #37

                              @C3PO Siehste, jetzt funktioniert das yarn-Repo auch wieder.

                              iobroker version
                              iobroker start
                              whoami
                              sudo -u iobroker whoami
                              ls -la /etc/sudoers.d/
                              

                              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

                              C 1 Antwort Letzte Antwort
                              0
                              • Thomas BraunT Thomas Braun

                                @C3PO Siehste, jetzt funktioniert das yarn-Repo auch wieder.

                                iobroker version
                                iobroker start
                                whoami
                                sudo -u iobroker whoami
                                ls -la /etc/sudoers.d/
                                
                                C Offline
                                C Offline
                                C3PO
                                schrieb am zuletzt editiert von
                                #38

                                @Thomas-Braun

                                muss ich wohl wieder als root machen

                                loxberry@loxberry:~ $ iobroker version
                                2.2.9
                                loxberry@loxberry:~ $ iobroker start
                                loxberry@loxberry:~ $ whoami
                                loxberry
                                loxberry@loxberry:~ $ sudo -u iobroker whoami
                                [sudo] password for loxberry:
                                Sorry, user loxberry is not allowed to execute '/usr/bin/whoami' as iobroker on loxberry.
                                
                                
                                Thomas BraunT C 2 Antworten Letzte Antwort
                                0
                                • C C3PO

                                  @Thomas-Braun

                                  muss ich wohl wieder als root machen

                                  loxberry@loxberry:~ $ iobroker version
                                  2.2.9
                                  loxberry@loxberry:~ $ iobroker start
                                  loxberry@loxberry:~ $ whoami
                                  loxberry
                                  loxberry@loxberry:~ $ sudo -u iobroker whoami
                                  [sudo] password for loxberry:
                                  Sorry, user loxberry is not allowed to execute '/usr/bin/whoami' as iobroker on loxberry.
                                  
                                  
                                  Thomas BraunT Online
                                  Thomas BraunT Online
                                  Thomas Braun
                                  Most Active
                                  schrieb am zuletzt editiert von
                                  #39

                                  @C3PO
                                  Als root

                                  apt install sudo
                                  

                                  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

                                  C 1 Antwort Letzte Antwort
                                  0
                                  • C C3PO

                                    @Thomas-Braun

                                    muss ich wohl wieder als root machen

                                    loxberry@loxberry:~ $ iobroker version
                                    2.2.9
                                    loxberry@loxberry:~ $ iobroker start
                                    loxberry@loxberry:~ $ whoami
                                    loxberry
                                    loxberry@loxberry:~ $ sudo -u iobroker whoami
                                    [sudo] password for loxberry:
                                    Sorry, user loxberry is not allowed to execute '/usr/bin/whoami' as iobroker on loxberry.
                                    
                                    
                                    C Offline
                                    C Offline
                                    C3PO
                                    schrieb am zuletzt editiert von
                                    #40

                                    @C3PO

                                    root@loxberry:~# whoami
                                    root
                                    root@loxberry:~# sudo -u iobroker whoami
                                    iobroker
                                    root@loxberry:~# ls -la /etc/sudoers.d/
                                    total 28
                                    dr-xr-xr-x  2 root     root     4096 May 15 23:17 .
                                    drwxr-xr-x 21 loxberry loxberry 4096 Sep 24  2019 ..
                                    -r--r-----  1 root     root     1145 May 15 23:17 iobroker
                                    -rw-rw-r--  1 root     root     1684 Oct 25  2019 lbdefaults
                                    -rw-r--r--  1 root     root      586 May 15 15:54 mqttgateway
                                    -r--r-----  1 root     root      958 Apr  1  2018 README
                                    -rw-r--r--  1 root     root      158 May 15 15:59 weather4lox
                                    
                                    
                                    Thomas BraunT 1 Antwort Letzte Antwort
                                    0
                                    • Thomas BraunT Thomas Braun

                                      @C3PO
                                      Als root

                                      apt install sudo
                                      
                                      C Offline
                                      C Offline
                                      C3PO
                                      schrieb am zuletzt editiert von
                                      #41

                                      @Thomas-Braun

                                      apt install sudo
                                      Reading package lists... Done
                                      Building dependency tree
                                      Reading state information... Done
                                      sudo is already the newest version (1.8.27-1+deb10u2).
                                      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                                      root@loxberry:~#
                                      
                                      

                                      hatte ich schon mal probiert, sudo geht trotzdem nicht

                                      1 Antwort Letzte Antwort
                                      0
                                      • C C3PO

                                        @C3PO

                                        root@loxberry:~# whoami
                                        root
                                        root@loxberry:~# sudo -u iobroker whoami
                                        iobroker
                                        root@loxberry:~# ls -la /etc/sudoers.d/
                                        total 28
                                        dr-xr-xr-x  2 root     root     4096 May 15 23:17 .
                                        drwxr-xr-x 21 loxberry loxberry 4096 Sep 24  2019 ..
                                        -r--r-----  1 root     root     1145 May 15 23:17 iobroker
                                        -rw-rw-r--  1 root     root     1684 Oct 25  2019 lbdefaults
                                        -rw-r--r--  1 root     root      586 May 15 15:54 mqttgateway
                                        -r--r-----  1 root     root      958 Apr  1  2018 README
                                        -rw-r--r--  1 root     root      158 May 15 15:59 weather4lox
                                        
                                        
                                        Thomas BraunT Online
                                        Thomas BraunT Online
                                        Thomas Braun
                                        Most Active
                                        schrieb am zuletzt editiert von
                                        #42

                                        @C3PO

                                        usermod -aG sudo loxberry
                                        

                                        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

                                        C 1 Antwort Letzte Antwort
                                        0
                                        • Thomas BraunT Thomas Braun

                                          @C3PO

                                          usermod -aG sudo loxberry
                                          
                                          C Offline
                                          C Offline
                                          C3PO
                                          schrieb am zuletzt editiert von
                                          #43

                                          @Thomas-Braun

                                          root@loxberry:~# usermod -aG sudo loxberry
                                          root@loxberry:~# exit
                                          logout
                                          loxberry@loxberry:~ $ sudo nodejs -v
                                          [sudo] password for loxberry:
                                          Sorry, user loxberry is not allowed to execute '/usr/bin/nodejs -v' as root on loxberry.
                                          loxberry@loxberry:~ $
                                          
                                          
                                          Thomas BraunT 1 Antwort Letzte Antwort
                                          0

                                          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
                                          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

                                          538

                                          Online

                                          32.8k

                                          Benutzer

                                          82.9k

                                          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