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. Update tr-064 Adapter

NEWS

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

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

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

Update tr-064 Adapter

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
adapter
28 Beiträge 4 Kommentatoren 2.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.
  • Thomas BraunT Thomas Braun

    @Ralf

    adduser ralf sudo
    

    Ggf. das nochmal als root und dann den root-login künftig vermeiden.

    R Offline
    R Offline
    Ralf
    schrieb am zuletzt editiert von
    #16

    @Thomas-Braun sagte in Update tr-064 Adapter:

    @Ralf

    adduser ralf sudo
    

    Ggf. das nochmal als root und dann den root-login künftig vermeiden.

    ...und dann als "Ralf" einloggen ?

    Ist das ein Problem, wenn ich mich als root einlogge ?

    Thomas BraunT 1 Antwort Letzte Antwort
    0
    • R Ralf

      @Thomas-Braun sagte in Update tr-064 Adapter:

      @Ralf

      adduser ralf sudo
      

      Ggf. das nochmal als root und dann den root-login künftig vermeiden.

      ...und dann als "Ralf" einloggen ?

      Ist das ein Problem, wenn ich mich als root einlogge ?

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

      @Ralf
      Ja, dann als Ralf einloggen.
      root-login sollte tabu sein.
      Als ralf dann

      sudo whoami
      

      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

      R 1 Antwort Letzte Antwort
      0
      • Thomas BraunT Thomas Braun

        @Ralf
        Ja, dann als Ralf einloggen.
        root-login sollte tabu sein.
        Als ralf dann

        sudo whoami
        
        R Offline
        R Offline
        Ralf
        schrieb am zuletzt editiert von
        #18

        @Thomas-Braun sagte in Update tr-064 Adapter:

        root-login sollte tabu sein.

        warum ??

        Thomas BraunT 1 Antwort Letzte Antwort
        0
        • R Ralf

          @Thomas-Braun sagte in Update tr-064 Adapter:

          root-login sollte tabu sein.

          warum ??

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

          @Ralf

          Why sudo?
          Using sudo is better (safer) than opening a session as root for a number of reasons, including:
          Nobody needs to know the root password (sudo prompts for the current user's password). Extra privileges can be granted to individual users temporarily, and then taken away without the need for a password change.
          It's easy to run only the commands that require special privileges via sudo; the rest of the time, you work as an unprivileged user, which reduces the damage that mistakes can cause.
          Auditing/logging: when a sudo command is executed, the original username and the command are logged.
          For the reasons above, switching to root using sudo -i (or sudo su) is usually deprecated because it cancels the above features.

          Und das ganze System inkl. des Rechtemanagement ist darauf ausgelegt mit sudo zu agieren.

          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

          R 1 Antwort Letzte Antwort
          0
          • Thomas BraunT Thomas Braun

            @Ralf

            Why sudo?
            Using sudo is better (safer) than opening a session as root for a number of reasons, including:
            Nobody needs to know the root password (sudo prompts for the current user's password). Extra privileges can be granted to individual users temporarily, and then taken away without the need for a password change.
            It's easy to run only the commands that require special privileges via sudo; the rest of the time, you work as an unprivileged user, which reduces the damage that mistakes can cause.
            Auditing/logging: when a sudo command is executed, the original username and the command are logged.
            For the reasons above, switching to root using sudo -i (or sudo su) is usually deprecated because it cancels the above features.

            Und das ganze System inkl. des Rechtemanagement ist darauf ausgelegt mit sudo zu agieren.

            R Offline
            R Offline
            Ralf
            schrieb am zuletzt editiert von
            #20

            @Thomas-Braun Adapter lässt sich nach wie vor nicht deinstallieren :

            ralf@debian-iobroker:~$ sudo whoami
            root
            ralf@debian-iobroker:~$ iobroker del tr-064
            Delete adapter "tr-064"
            npm uninstall iobroker.tr-064 --error --prefix "/opt/iobroker" (System call)
            npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.tr-064/node_modules/array-ext
            npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.tr-064/node_modules/dgram
            npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.tr-064/node_modules/ip
            npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.tr-064/node_modules/safe-buffer
            npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.tr-064/node_modules/dns-packet
            npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.tr-064/node_modules/sprintf-js
            npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.tr-064/node_modules/soef
            npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@^1.0.5 (node_modules/iobroker.info/node_modules/osx-temperature-sensor):
            npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
            npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
            npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
            
            npm ERR! code EACCES
            npm ERR! syscall access
            npm ERR! path /opt/iobroker/node_modules/iobroker.tr-064/node_modules/array-ext
            npm ERR! errno -13
            npm ERR! Error: EACCES: permission denied, access '/opt/iobroker/node_modules/iobroker.tr-064/node_modules/array-ext'
            npm ERR!  { [Error: EACCES: permission denied, access '/opt/iobroker/node_modules/iobroker.tr-064/node_modules/array-ext']
            npm ERR!   stack:
            npm ERR!    'Error: EACCES: permission denied, access \'/opt/iobroker/node_modules/iobroker.tr-064/node_modules/array-ext\'',
            npm ERR!   errno: -13,
            npm ERR!   code: 'EACCES',
            npm ERR!   syscall: 'access',
            npm ERR!   path:
            npm ERR!    '/opt/iobroker/node_modules/iobroker.tr-064/node_modules/array-ext' }
            npm ERR!
            npm ERR! The operation was rejected by your operating system.
            npm ERR! It is likely you do not have the permissions to access this file as the current user
            npm ERR!
            npm ERR! If you believe this might be a permissions issue, please double-check the
            npm ERR! permissions of the file and its containing directories, or try running
            npm ERR! the command again as root/Administrator.
            
            npm ERR! A complete log of this run can be found in:
            npm ERR!     /home/iobroker/.npm/_logs/2020-06-01T09_12_12_551Z-debug.log
            Error deleting adapter tr-064 from disk: Error: host.debian-iobroker: Cannot uninstall iobroker.tr-064: 243
            You might have to delete it yourself!
            ralf@debian-iobroker:~$
            
            
            Thomas BraunT 1 Antwort Letzte Antwort
            0
            • R Ralf

              @Thomas-Braun Adapter lässt sich nach wie vor nicht deinstallieren :

              ralf@debian-iobroker:~$ sudo whoami
              root
              ralf@debian-iobroker:~$ iobroker del tr-064
              Delete adapter "tr-064"
              npm uninstall iobroker.tr-064 --error --prefix "/opt/iobroker" (System call)
              npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.tr-064/node_modules/array-ext
              npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.tr-064/node_modules/dgram
              npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.tr-064/node_modules/ip
              npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.tr-064/node_modules/safe-buffer
              npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.tr-064/node_modules/dns-packet
              npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.tr-064/node_modules/sprintf-js
              npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.tr-064/node_modules/soef
              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@^1.0.5 (node_modules/iobroker.info/node_modules/osx-temperature-sensor):
              npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
              npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
              
              npm ERR! code EACCES
              npm ERR! syscall access
              npm ERR! path /opt/iobroker/node_modules/iobroker.tr-064/node_modules/array-ext
              npm ERR! errno -13
              npm ERR! Error: EACCES: permission denied, access '/opt/iobroker/node_modules/iobroker.tr-064/node_modules/array-ext'
              npm ERR!  { [Error: EACCES: permission denied, access '/opt/iobroker/node_modules/iobroker.tr-064/node_modules/array-ext']
              npm ERR!   stack:
              npm ERR!    'Error: EACCES: permission denied, access \'/opt/iobroker/node_modules/iobroker.tr-064/node_modules/array-ext\'',
              npm ERR!   errno: -13,
              npm ERR!   code: 'EACCES',
              npm ERR!   syscall: 'access',
              npm ERR!   path:
              npm ERR!    '/opt/iobroker/node_modules/iobroker.tr-064/node_modules/array-ext' }
              npm ERR!
              npm ERR! The operation was rejected by your operating system.
              npm ERR! It is likely you do not have the permissions to access this file as the current user
              npm ERR!
              npm ERR! If you believe this might be a permissions issue, please double-check the
              npm ERR! permissions of the file and its containing directories, or try running
              npm ERR! the command again as root/Administrator.
              
              npm ERR! A complete log of this run can be found in:
              npm ERR!     /home/iobroker/.npm/_logs/2020-06-01T09_12_12_551Z-debug.log
              Error deleting adapter tr-064 from disk: Error: host.debian-iobroker: Cannot uninstall iobroker.tr-064: 243
              You might have to delete it yourself!
              ralf@debian-iobroker:~$
              
              
              Thomas BraunT Online
              Thomas BraunT Online
              Thomas Braun
              Most Active
              schrieb am zuletzt editiert von
              #21

              @Ralf

              iobroker fix
              

              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

              R 1 Antwort Letzte Antwort
              0
              • Thomas BraunT Thomas Braun

                @Ralf

                iobroker fix
                
                R Offline
                R Offline
                Ralf
                schrieb am zuletzt editiert von
                #22

                @Thomas-Braun sagte in Update tr-064 Adapter:

                iobroker fix

                und dann ?

                ralf@debian-iobroker:~$ iobroker fix
                library: loaded
                Library version=2020-04-12
                ioBroker or some processes are still running:
                 io.admin.0
                 io.discovery.0
                 io.info.0
                 io.hue.0
                 io.ping.0
                 io.harmony.0
                 io.fakeroku.0
                 io.web.0
                 io.history.0
                 io.javascript.0
                 io.alexa2.0
                 io.sonoff.0
                 io.milight.0
                 io.iot.0
                 io.worx.0
                 io.tuya.0
                 io.shelly.0
                Please stop them first and try again!
                ralf@debian-iobroker:~$
                
                
                Thomas BraunT 1 Antwort Letzte Antwort
                0
                • R Ralf

                  @Thomas-Braun sagte in Update tr-064 Adapter:

                  iobroker fix

                  und dann ?

                  ralf@debian-iobroker:~$ iobroker fix
                  library: loaded
                  Library version=2020-04-12
                  ioBroker or some processes are still running:
                   io.admin.0
                   io.discovery.0
                   io.info.0
                   io.hue.0
                   io.ping.0
                   io.harmony.0
                   io.fakeroku.0
                   io.web.0
                   io.history.0
                   io.javascript.0
                   io.alexa2.0
                   io.sonoff.0
                   io.milight.0
                   io.iot.0
                   io.worx.0
                   io.tuya.0
                   io.shelly.0
                  Please stop them first and try again!
                  ralf@debian-iobroker:~$
                  
                  
                  Thomas BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  schrieb am zuletzt editiert von
                  #23

                  @Ralf

                  iobroker stop
                  iobroker fix
                  

                  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

                  R 1 Antwort Letzte Antwort
                  0
                  • Thomas BraunT Thomas Braun

                    @Ralf

                    iobroker stop
                    iobroker fix
                    
                    R Offline
                    R Offline
                    Ralf
                    schrieb am zuletzt editiert von
                    #24

                    @Thomas-Braun ok. sieht jetzt so aus :

                    ==========================================================================
                    
                        Welcome to the ioBroker installation fixer!
                        Script version: 2020-04-12
                    
                        You might need to enter your password a couple of times.
                    
                    ==========================================================================
                    
                    
                    ==========================================================================
                        Installing prerequisites (1/3)
                    ==========================================================================
                    
                    OK:1 http://deb.debian.org/debian buster InRelease
                    Holen:2 http://deb.debian.org/debian buster-updates InRelease [49,3 kB]
                    Holen:3 http://security.debian.org/debian-security buster/updates InRelease [65,4 kB]
                    OK:4 https://deb.nodesource.com/node_10.x buster InRelease
                    Es wurden 115 kB in 2 s geholt (48,7 kB/s).
                    Paketlisten werden gelesen... Fertig
                    Installed gcc-c++
                    Installed python-dev
                    
                    ==========================================================================
                        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!
                    
                    ==========================================================================
                    
                    ralf@debian-iobroker:~$ iobroker start
                    ralf@debian-iobroker:~$
                    
                    
                    Thomas BraunT 1 Antwort Letzte Antwort
                    0
                    • R Ralf

                      @Thomas-Braun ok. sieht jetzt so aus :

                      ==========================================================================
                      
                          Welcome to the ioBroker installation fixer!
                          Script version: 2020-04-12
                      
                          You might need to enter your password a couple of times.
                      
                      ==========================================================================
                      
                      
                      ==========================================================================
                          Installing prerequisites (1/3)
                      ==========================================================================
                      
                      OK:1 http://deb.debian.org/debian buster InRelease
                      Holen:2 http://deb.debian.org/debian buster-updates InRelease [49,3 kB]
                      Holen:3 http://security.debian.org/debian-security buster/updates InRelease [65,4 kB]
                      OK:4 https://deb.nodesource.com/node_10.x buster InRelease
                      Es wurden 115 kB in 2 s geholt (48,7 kB/s).
                      Paketlisten werden gelesen... Fertig
                      Installed gcc-c++
                      Installed python-dev
                      
                      ==========================================================================
                          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!
                      
                      ==========================================================================
                      
                      ralf@debian-iobroker:~$ iobroker start
                      ralf@debian-iobroker:~$
                      
                      
                      Thomas BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      schrieb am zuletzt editiert von Thomas Braun
                      #25

                      @Ralf

                      iobroker del tr-064
                      iobroker update
                      iobroker upgrade
                      iobroker add tr-064
                      

                      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

                      R 1 Antwort Letzte Antwort
                      0
                      • Thomas BraunT Thomas Braun

                        @Ralf

                        iobroker del tr-064
                        iobroker update
                        iobroker upgrade
                        iobroker add tr-064
                        
                        R Offline
                        R Offline
                        Ralf
                        schrieb am zuletzt editiert von
                        #26

                        @Thomas-Braun Funktioniert jetzt👏 Vielen Dank !!!👍

                        Thomas BraunT 1 Antwort Letzte Antwort
                        0
                        • R Ralf

                          @Thomas-Braun Funktioniert jetzt👏 Vielen Dank !!!👍

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

                          @Ralf
                          Und jetzt hast du dir selber die Antwort gegeben, warum man sich nicht als root einloggt.
                          Dein Rechtemanagement war verfummelt.

                          Künftig also nur noch als 'ralf' einloggen und nur noch per sudo als root agieren.

                          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

                          R 1 Antwort Letzte Antwort
                          1
                          • Thomas BraunT Thomas Braun

                            @Ralf
                            Und jetzt hast du dir selber die Antwort gegeben, warum man sich nicht als root einloggt.
                            Dein Rechtemanagement war verfummelt.

                            Künftig also nur noch als 'ralf' einloggen und nur noch per sudo als root agieren.

                            R Offline
                            R Offline
                            Ralf
                            schrieb am zuletzt editiert von
                            #28

                            @Thomas-Braun ist notiert, danke nochmal.

                            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

                            447

                            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