Navigation

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

    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

    Zigbee Conbee

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

      @rccardany

      ======================= SUMMARY =======================
      v.2024-04-21

      Static hostname: zbox
      Icon name: computer-desktop
      Chassis: desktop
      Operating System: Debian GNU/Linux 11 (bullseye)
      Kernel: Linux 5.10.0-21-amd64
      Architecture: x86-64

      Installation: native
      Kernel: x86_64
      Userland: 64 bit
      Timezone: Europe/Berlin (CEST, +0200)
      User-ID: 0
      Display-Server: false
      Boot Target: graphical.target

      Pending OS-Updates: 419
      Pending iob updates: 39

      Nodejs-Installation:
      /usr/bin/nodejs v18.19.0
      /usr/bin/node v18.19.0
      /usr/bin/npm 9.2.0
      /usr/bin/npx 9.2.0
      corepack: N/A

      Recommended versions are nodejs 16.20.2 and npm 8.19.4
      *** nodejs is NOT correctly installed ***
      Wrong installation path detected. This needs to be fixed

      Please execute
      iobroker nodejs-update
      to fix these errors.

      MEMORY:
      total used free shared buff/cache available
      Mem: 7.8G 3.9G 2.4G 0.0K 1.5G 3.8G
      Swap: 976M 0B 976M
      Total: 8.8G 3.9G 3.3G

      Active iob-Instances: 34
      Active repo(s): stable

      ioBroker Core: js-controller 5.0.19
      admin 6.2.23

      ioBroker Status: iobroker is running on this host.

      Objects type: jsonl
      States type: jsonl

      Status admin and web instance:

      • system.adapter.admin.0 : admin : zbox - enabled, port: 8081, bind: 0.0.0.0, run as: admin
        system.adapter.web.0 : web : zbox - enabled, port: 8082, bind: 0.0.0.0, run as: admin

      Objects: 26883
      States: 21788

      Size of iob-Database:

      27M /opt/iobroker/iobroker-data/objects.jsonl
      12M /opt/iobroker/iobroker-data/states.jsonl

      =================== END OF SUMMARY ====================

      
      === Mark text until here for copying ===
      1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @rccardany last edited by Thomas Braun

        @rccardany

        Hampel da nicht als root herum. User anlegen und den verwenden.

        *** nodejs is NOT correctly installed ***

        Falsches nodejs. Bring das auf die nodesource-Variante:

        iob nodejs-update
        

        Pending OS-Updates: 419
        Pending iob updates: 39

        Ist nicht dein Ernst, oder?
        Zeig mal die Datei /etc/apt/sources.list her.

        cat /etc/apt/sources.list
        
        R 1 Reply Last reply Reply Quote 1
        • R
          rccardany @Thomas Braun last edited by

          @thomas-braun said in Zigbee Conbee:

          cat /etc/apt/sources.list

          ioBroker nodejs updater 2023-10-13
          
          Recommended nodejs-version is: 16.20.2
          Checking your installation now. Please be patient!
          
          Your current setup is:
          /usr/bin/nodejs         v18.19.0
          /usr/bin/node           v18.19.0
          /usr/bin/npm            9.2.0
          /usr/bin/npx            9.2.0
          
          We found these nodejs versions available for installation:
          
          nodejs:
            Installed: 18.19.0+dfsg-6~deb12u1
            Candidate: 18.19.0+dfsg-6~deb12u1
            Version table:
           *** 18.19.0+dfsg-6~deb12u1 500
                  500 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages
                  100 /var/lib/dpkg/status
               18.13.0+dfsg1-1 500
                  500 http://deb.debian.org/debian bookworm/main amd64 Packages
          
          
          
          Nothing to do - Your installation is using the correct paths.
          
          You are running nodejs v18.19.0. Do you want to install recommended version 16.20.2?
          
          Press <y> to continue or any other key to quit
          We are not updating your installation. Exiting.
          root@zbox:/home/pi# cat /etc/apt/sources.list
          deb http://deb.debian.org/debian bookworm main non-free-firmware
          deb-src http://deb.debian.org/debian bookworm main non-free-firmware
          
          deb http://deb.debian.org/debian-security/ bookworm-security main non-free-firmware
          deb-src http://deb.debian.org/debian-security/ bookworm-security main non-free-firmware
          
          deb http://deb.debian.org/debian bookworm-updates main non-free-firmware
          deb-src http://deb.debian.org/debian bookworm-updates main non-free-firmware
          root@zbox:/home/pi#
          
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @rccardany last edited by

            @rccardany sagte in Zigbee Conbee:

            root@zbox:/home/pi

            Du hampelst ja immer noch als root herum...
            Ich bin dann raus. Meld dich als pi oder was auch immer da noch an usern vorhanden ist an und arbeite ordentlich mit dem System.

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

              @thomas-braun

              naja ich habe den iobroker installiert und wüsste nicht dass ich dazu einen passwort vergeben habe
              wenn ich mich als pi anmelde dann will er, dass ich den Befehl als admin ausführe:

              pi@zbox:~$ iob nodejs-update
              [sudo] Passwort für pi:
              Leider darf der Benutzer pi »/usr/bin/curl -sLf https://iobroker.net/node-update.sh --output /home/iobroker/.nodejs-update.sh« als iobroker auf zbox.default nicht ausführen.
              pi@zbox:~$
              
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @rccardany last edited by

                @rccardany

                Dann ist der pi nicht in den richtigen Gruppen enthalten. Also falsch konfiguriert worden...
                Ist der wenigstens bei 'sudo' drin?

                sudo usermod -a -G iobroker pi
                exit
                
                R 1 Reply Last reply Reply Quote 0
                • R
                  rccardany @Thomas Braun last edited by

                  @thomas-braun said in Zigbee Conbee:

                  sudo usermod -a -G iobroker pi
                  exit

                  anbei dir RM

                  pi@zbox:~$ sudo usermod -a -G iobroker pi
                  [sudo] Passwort für pi:
                  Leider darf der Benutzer pi »/usr/sbin/usermod -a -G iobroker pi« als root auf z                                                                                                             box.default nicht ausführen.
                  
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @rccardany last edited by

                    @rccardany

                    apt policy sudo 
                    groups
                    

                    sagt?

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

                      @thomas-braun said in Zigbee Conbee:

                      groups

                      pi@zbox:~$ apt policy sudo
                      sudo:
                        Installiert:           1.9.5p2-3+deb11u1
                        Installationskandidat: 1.9.13p3-1+deb12u1
                        Versionstabelle:
                           1.9.13p3-1+deb12u1 500
                              500 http://deb.debian.org/debian bookworm/main amd64 Packages
                       *** 1.9.5p2-3+deb11u1 100
                              100 /var/lib/dpkg/status
                      pi@zbox:~$ groups
                      pi dialout iobroker
                      pi@zbox:~$
                      
                      
                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @rccardany last edited by

                        @rccardany

                        Dann als root:

                        usermod -a -G sudo pi
                        

                        Dann wieder als pi anmelden und den Mist mit dem root sein lassen.

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

                          @thomas-braun erledigt und nun?

                          Thomas Braun R 2 Replies Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @rccardany last edited by

                            @rccardany

                            sudo whoami
                            grep stretch -R /etc/apt/*
                            
                            1 Reply Last reply Reply Quote 0
                            • R
                              rccardany @rccardany last edited by rccardany

                              @rccardany

                              pi@testpi:~ $ sudo whoami
                              root
                              pi@testpi:~ $ grep stretch -R /etc/apt/*
                              
                              
                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @rccardany last edited by

                                @rccardany

                                sudo apt update
                                sudo apt full-upgrade
                                
                                R 1 Reply Last reply Reply Quote 0
                                • R
                                  rccardany @Thomas Braun last edited by

                                  @thomas-braun

                                  ich bin zwar nur ein Anwender ohne Fachkenntniss aber ich habe die Erfahrung gemacht dass ich nicht wirklich gut in der Vergangenheit mit Updaten auf latest greatest gefahren bin.

                                  Oft gehen Funktionen dann nicht mehr oder ich muss einiges neu einrichten / einstellen.

                                  Daher bin ich mit never change a running system eigentlich immer gut gefahren

                                  Wie bekomme ich den adapter zum laufen ohne das gesamte system auf neuesten stand zu bringen?

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

                                    @rccardany sagte in Zigbee Conbee:

                                    Daher bin ich mit never change a running system eigentlich immer gut gefahren

                                    Arrrrrrrrrrrrgh. NEIN.
                                    Halt die Kiste auf einem aktuellen Stand. Immer.

                                    Wie bekomme ich den adapter zum laufen ohne das gesamte system auf neuesten stand zu bringen?

                                    Gar nicht.

                                    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

                                    591
                                    Online

                                    31.9k
                                    Users

                                    80.2k
                                    Topics

                                    1.3m
                                    Posts

                                    3
                                    23
                                    878
                                    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