Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Ring adapter problem

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Ring adapter problem

    This topic has been deleted. Only users with topic management privileges can see it.
    • Glasfaser
      Glasfaser @Xcecc last edited by Glasfaser

      @xcecc sagte in Ring adapter problem:

      @glasfaser danke für deine Hilfestellung

      Zeige mal was du so hast

      Ausgabe in Code-Tags !!!

      sudo ln -s /usr/bin/node /usr/bin/nodejs &> /dev/null
      
      uname -m && test -f /opt/scripts/.docker_config/.thisisdocker && echo "Docker-Installation" || echo "Kein Docker" && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && echo $DESKTOP_SESSION && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
      
      iobroker update -i
      
      Xcecc 1 Reply Last reply Reply Quote 0
      • Xcecc
        Xcecc @Glasfaser last edited by

        @glasfaser

        xcecc@iobroker:~$ sudo ln -s /usr/bin/node /usr/bin/nodej
        s &> /dev/null
        est -f /opt/scripts/.docker_config/.thisisdocker && echo 
        "Docker-Installation" || echo "Kein Docker" && type -P no
        dejs node npm && nodejs -v && node -v && npm -v && iob -v
         && whoami && groups && echo $XDG_SESSION_TYPE && echo $D
        ESKTOP_SESSION && pwd && sudo apt update &> /dev/null && 
        sudo apt update && apt policy nodejs
         
        iobroker update -i[sudo] password for xcecc: 
        Sorry, try again.
        [sudo] password for xcecc: 
        xcecc@iobroker:~$ sudo ln -s /usr/bin/node /usr/bin/nodej
        s &> /dev/null
        scripts/.docker_config/.thisisdocker && echo "Docker-Inst
        allation" || echo "Kein Docker" && type -P nodejs node np
        m && nodejs -v && node -v && npm -v && iob -v && whoami &
        & groups && echo $XDG_SESSION_TYPE && echo $DESKTOP_SESSI
        ON && pwd && sudo apt update &> /dev/null && sudo apt upd
        ate && apt policy nodejs
         
        iobroker update -ixcecc@iobroker:~$  
        xcecc@iobroker:~$ uname -m && test -f /opt/scripts/.docke
        r_config/.thisisdocker && echo "Docker-Installation" || e
        cho "Kein Docker" && type -P nodejs node npm && nodejs -v
         && node -v && npm -v && iob -v && whoami && groups && ec
        ho $XDG_SESSION_TYPE && echo $DESKTOP_SESSION && pwd && s
        udo apt update &> /dev/null && sudo apt update && apt pol
        icy nodejs
        x86_64
        Kein Docker
        /usr/bin/nodejs
        /usr/bin/node
        8.19.2in/npm
        4.0.23
        xcecc
        xcecc sudo
        
        
        /home/xcecc
        Hit:1 http://security.debian.org bullseye-security InRele
        ase
        Hit:2 http://ftp.debian.org/debian bullseye InRelease   
        Hit:3 http://ftp.debian.org/debian bullseye-updates InRel
        ease
        Hit:4 https://deb.nodesource.com/node_16.x bullseye InRel
        ease
        Reading package lists... Done                     
        Building dependency tree... Done
        Reading state information... Done
        5 packages can be upgraded. Run 'apt list --upgradable' t
        o see them.
        nodejs:
          Installed: 16.18.1-deb-1nodesource1
          Candidate: 16.18.1-deb-1nodesource1
          Version table:
         *** 16.18.1-deb-1nodesource1 500
                500 https://deb.nodesource.com/node_16.x bullseye
        /main amd64 Packages
                100 /var/lib/dpkg/status
             12.22.12~dfsg-1~deb11u1 500
                500 http://security.debian.org bullseye-security/
        main amd64 Packages
             12.22.5~dfsg-2~11u1 500
                500 http://ftp.debian.org/debian bullseye/main am
        d64 Packages
        xcecc@iobroker:~$  
        xcecc@iobroker:~$ iobroker update -i
        Used repository: stable
        Adapter    "admin"        : 6.2.23   , installed 6.2.23
        Adapter    "backitup"     : 2.5.4    , installed 2.5.4
        Adapter    "discovery"    : 3.0.5    , installed 3.0.3  [
        Updatable]
        Adapter    "history"      : 2.2.0    , installed 2.2.0
        Controller "js-controller": 4.0.23   , installed 4.0.23
        Adapter    "ring"         : 3.1.3    , installed 3.1.3
        Adapter    "simple-api"   : 2.7.0    , installed 2.7.2
        Adapter    "socketio"     : 4.2.0    , installed 4.2.0
        Adapter    "vis"          : 1.4.15   , installed 1.4.15
        Adapter    "web"          : 4.3.0    , installed 4.3.0
        Adapter    "ws"           : 1.3.0    , installed 1.3.0
        xcecc@iobroker:~$ sudo ln -s /usr/bin/node /usr/bin/nodej
        s &> /dev/null
        e -m && test -f /opt/scripts/.docker_config/.thisisdocker
         && echo "Docker-Installation" || echo "Kein Docker" && t
        ype -P nodejs node npm && nodejs -v && node -v && npm -v 
        && iob -v && whoami && groups && echo $XDG_SESSION_TYPE &
        & echo $DESKTOP_SESSION && pwd && sudo apt update &> /dev
        /null && sudo apt update && apt policy nodejs
         
        iobroker update -ixcecc@iobroker:~$  
        xcecc@iobroker:~$ uname -m && test -f /opt/scripts/.docke
        r_config/.thisisdocker && echo "Docker-Installation" || e
        cho "Kein Docker" && type -P nodejs node npm && nodejs -v
         && node -v && npm -v && iob -v && whoami && groups && ec
        ho $XDG_SESSION_TYPE && echo $DESKTOP_SESSION && pwd && s
        udo apt update &> /dev/null && sudo apt update && apt pol
        icy nodejs
        x86_64
        Kein Docker
        /usr/bin/nodejs
        /usr/bin/node
        /usr/bin/npm
        v16.18.1
        v16.18.1
        8.19.2
        4.0.23
        xcecc
        xcecc sudo
        
        
        /home/xcecc
        Hit:1 http://ftp.debian.org/debian bullseye InRelease
        Hit:2 http://security.debian.org bullseye-security InRele
        ase
        Hit:3 http://ftp.debian.org/debian bullseye-updates InRel
        ease
        Hit:4 https://deb.nodesource.com/node_16.x bullseye InRel
        ease
        Reading package lists... Done
        Building dependency tree... Done
        Reading state information... Done
        5 packages can be upgraded. Run 'apt list --upgradable' t
        o see them.
        nodejs:
          Installed: 16.18.1-deb-1nodesource1
          Candidate: 16.18.1-deb-1nodesource1
          Version table:
         *** 16.18.1-deb-1nodesource1 500
                500 https://deb.nodesource.com/node_16.x bullseye
        /main amd64 Packages
                100 /var/lib/dpkg/status
             12.22.12~dfsg-1~deb11u1 500
                500 http://security.debian.org bullseye-security/
        xcecc@iobroker:~$ sudo ln -s /usr/bin/node /usr/bin/nodej
        s &> /dev/null
         && test -f /opt/scripts/.docker_config/.thisisdocker && 
        echo "Docker-Installation" || echo "Kein Docker" && type 
        -P nodejs node npm && nodejs -v && node -v && npm -v && i
        ob -v && whoami && groups && echo $XDG_SESSION_TYPE && ec
        ho $DESKTOP_SESSION && pwd && sudo apt update &> /dev/nul
        l && sudo apt update && apt policy nodejs
         
        iobroker update -ixcecc@iobroker:~$  
        xcecc@iobroker:~$ uname -m && test -f /opt/scripts/.docke
        r_config/.thisisdocker && echo "Docker-Installation" || e
        cho "Kein Docker" && type -P nodejs node npm && nodejs -v
         && node -v && npm -v && iob -v && whoami && groups && ec
        ho $XDG_SESSION_TYPE && echo $DESKTOP_SESSION && pwd && s
        udo apt update &> /dev/null && sudo apt update && apt pol
        icy nodejs
        x86_64
        Kein Docker
        /usr/bin/nodejs
        /usr/bin/node
        /usr/bin/npm
        v16.18.1
        v16.18.1
        8.19.2
        4.0.23
        xcecc
        xcecc sudo
        
        
        /home/xcecc
        Hit:1 http://ftp.debian.org/debian bullseye InRelease
        Hit:2 http://security.debian.org bullseye-security InRele
        ase
        Hit:3 http://ftp.debian.org/debian bullseye-updates InRel
        ease
        Hit:4 https://deb.nodesource.com/node_16.x bullseye InRel
        ease
        Reading package lists... Done                     
        Building dependency tree... Done
        Reading state information... Done
        5 packages can be upgraded. Run 'apt list --upgradable' t
        o see them.
        nodejs:
          Installed: 16.18.1-deb-1nodesource1
          Candidate: 16.18.1-deb-1nodesource1
          Version table:
         *** 16.18.1-deb-1nodesource1 500
                500 https://deb.nodesource.com/node_16.x bullseye
        /main amd64 Packages
                100 /var/lib/dpkg/status
             12.22.12~dfsg-1~deb11u1 500
                500 http://security.debian.org bullseye-security/
        main amd64 Packages
             12.22.5~dfsg-2~11u1 500
                500 http://ftp.debian.org/debian bullseye/main am
        d64 Packages
        xcecc@iobroker:~$  
        xcecc@iobroker:~$
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Xcecc last edited by Thomas Braun

          @xcecc

          Der User xcecc fehlt in der Gruppe 'iobroker'.
          Minimum, eigentlich sollte der um handlungsfähig zu sein wohl auch noch in weiteren Gruppen sein.

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

            @thomas-braun ok dürfte ich erfahren wie ich diesen hinzufüge :). Habe dein thread mit root Rechten verfolgt und extra xcecc als. Benutzer angelegt damit. Ich nicht das System abschieße mit root Rechten 😂

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

              @xcecc

              sudo usermod -aG iobroker xcecc
              

              So zum Vergleich:
              Mein Standard-User läuft hier jeweils mit:

              echad@chet:~ $ groups
              echad adm dialout cdrom sudo audio video plugdev games users input render netdev lpadmin boinc gpio i2c spi iobroker
              

              Jetzt nicht auf die Idee kommen die alle zu kopieren, da ist auch die ein oder andere Gruppe dabei die du nicht haben wirst.

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

                @thomas-braun nene ich copy und paste nicht keine sorge. will ja schon verstehen was wie wo macht. ich interpretiere es so das ich mit:

                sudo usermod -aG iobroker xcecc
                

                xcecc also den Benutzernamen in iobroker Ordner hinzufüge und ihm rechte gebe stimmt? Aber für was steht -aG?

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

                  @xcecc

                  add Group
                  bzw. genauer
                  append Group

                  Tip: Der user muss einmal aus- und wieder eingeloggt werden, damit man die neue Gruppenzugehörigkeit sieht.

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

                    @thomas-braun oh ok danke hast evtl noch tipp wo man das alles erlernen kann 🙂

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

                      @xcecc

                      Gibt da so was wie Bücher. Der Herr Kofler schreibt da ganz wunderbare Grundlagenwerke.

                      Xcecc 1 Reply Last reply Reply Quote 1
                      • Xcecc
                        Xcecc @Thomas Braun last edited by

                        @thomas-braun da je dafür 👍👌 werde ich mir bestellen 🙂 dachte rheinwerk computing macht nur Programmiersprachen 😁 war jedenfalls mein Stand vor 10 Jahren

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

                          @xcecc

                          Hmmm. Ich glaube mein erster 'Kofler' war noch von SuSE-Press.

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post

                          Support us

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

                          674
                          Online

                          31.9k
                          Users

                          80.2k
                          Topics

                          1.3m
                          Posts

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