Navigation

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

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    HM Rega Probleme

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators last edited by

      Versuch es mal über die Konsole:

      cd /opt/iobroker
      sudo npm cache clean
      sudo iobroker stop
      sudo npm install iobroker.hm-rega
      sudo iobroker start
      

      … und hoffen 😉

      Gruß

      Rainer

      1 Reply Last reply Reply Quote 0
      • D
        dippi last edited by

        hoffen hat nicht geholfen bekomme folgende Fehlermeldung beim Installieren.

        npm ERR! Linux 4.9.24-v7+

        npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.hm-rega"

        npm ERR! node v6.11.0

        npm ERR! npm v3.10.10

        npm ERR! path /home/pi/.npm/iobroker.hm-rega

        npm ERR! code EACCES

        npm ERR! errno -13

        npm ERR! syscall mkdir

        npm ERR! Error: EACCES: permission denied, mkdir '/home/pi/.npm/iobroker.hm-rega'

        npm ERR! at Error (native)

        npm ERR! { Error: EACCES: permission denied, mkdir '/home/pi/.npm/iobroker.hm-rega'

        npm ERR! at Error (native)

        npm ERR! errno: -13,

        npm ERR! code: 'EACCES',

        npm ERR! syscall: 'mkdir',

        npm ERR! path: '/home/pi/.npm/iobroker.hm-rega',

        npm ERR! parent: 'iobroker' }

        npm ERR!

        npm ERR! Please try running this command again as root/Administrator.

        npm ERR! Please include the following file with any support request:

        npm ERR! /opt/iobroker/npm-debug.log

        😞 😞 😞 😞 😞

        1 Reply Last reply Reply Quote 0
        • Homoran
          Homoran Global Moderator Administrators last edited by

          Wo und wie hast du das ausgeführt?

          Gruß

          Rainer

          1 Reply Last reply Reply Quote 0
          • D
            dippi last edited by

            bin per Putty drauf und hab mich mit BN: pi und dem passwort angemeldet und dann die Befehle ausgeführt.

            1 Reply Last reply Reply Quote 0
            • Homoran
              Homoran Global Moderator Administrators last edited by

              @dippi:

              BN: pi und dem passwort angemeldet `
              hast du wirklich auch sudo benutzt?

              @dippi:

              Please try running this command again as root/Administrator. `

              Gruß

              Rainer

              1 Reply Last reply Reply Quote 0
              • eric2905
                eric2905 last edited by

                Und vor allen Dingen das

                cd /opt/iobroker
                

                am Anfang nicht vergessen!

                Gruß,

                Eric

                Von unterwegs getippert

                1 Reply Last reply Reply Quote 0
                • D
                  dippi last edited by

                  Hallo

                  beim sudo davor bekomme ich folgendes zur Antwort 😞

                  pi@ioBroker-RasPi:~ $ cd /opt/iobroker

                  pi@ioBroker-RasPi:/opt/iobroker $ sudo npm cache clean

                  sudo: /usr/bin/sudo muss dem Benutzer mit UID 0 gehören und das »setuid«-Bit gesetzt haben

                  pi@ioBroker-RasPi:/opt/iobroker $

                  was ist den das schon wieder ? das bringt mich noch zur Verzweiflung.

                  Gruß

                  Dippi

                  1 Reply Last reply Reply Quote 0
                  • Dutchman
                    Dutchman Developer Most Active Administrators last edited by

                    @dippi:

                    Hallo

                    beim sudo davor bekomme ich folgendes zur Antwort 😞

                    pi@ioBroker-RasPi:~ $ cd /opt/iobroker

                    pi@ioBroker-RasPi:/opt/iobroker $ sudo npm cache clean

                    sudo: /usr/bin/sudo muss dem Benutzer mit UID 0 gehören und das »setuid«-Bit gesetzt haben

                    pi@ioBroker-RasPi:/opt/iobroker $

                    was ist den das schon wieder ? das bringt mich noch zur Verzweiflung.

                    Gruß

                    Dippi `

                    1) Log out as the current user, then log back in as root.
                    2) Execute chown root:root /usr/bin/sudo && chmod 4755 /usr/bin/sudo
                    3) Log out as root, then log back in as the current user.
                    

                    https://askubuntu.com/questions/452860/ … id-bit-set

                    oder

                    ` > Your /usr/bin/sudo executable has either a wrong owner or permission set.

                    No matter which one applies here, the following two commands should fix it:

                    pkexec chown root: /usr/bin/sudo 
                    pkexec chmod 4755 /usr/bin/sudo
                    

                    After that, sudo should be working normally again `

                    ~Dutch

                    1 Reply Last reply Reply Quote 0
                    • D
                      dippi last edited by

                      klappt irgenwie nicht mit den rechten, macht es einen unterschied ob ich mit Putty auf den PI geht oder ob ich direkt mit Bildschirm und Tastatur dran geh ?

                      1 Reply Last reply Reply Quote 0
                      • Dutchman
                        Dutchman Developer Most Active Administrators last edited by

                        @dippi:

                        klappt irgenwie nicht mit den rechten, macht es einen unterschied ob ich mit Putty auf den PI geht oder ob ich direkt mit Bildschirm und Tastatur dran geh ? `

                        nope, du musst die commandos oben aber als root ausfuehren.

                        Also entweder mit root einloggen (was meist per ssh blockiert ist) oder in putty erst "sudo su"

                        1 Reply Last reply Reply Quote 0
                        • D
                          dippi last edited by

                          jetzt hab ich es mit sudo su versucht kommt trotzdem die Meldung

                          pi@ioBroker-RasPi:~ $ sudo su pkexec chown root: /usr/bin/sudo

                          sudo: /usr/bin/sudo muss dem Benutzer mit UID 0 gehören und das »setuid«-Bit gesetzt haben

                          pi@ioBroker-RasPi:~ $ sudo su pkexec chmod 4755 /usr/bin/sudo

                          sudo: /usr/bin/sudo muss dem Benutzer mit UID 0 gehören und das »setuid«-Bit gesetzt haben

                          pi@ioBroker-RasPi:~ $ sudo su Execute chown root:root /usr/bin/sudo && chmod 4755 /usr/bin/sudo

                          sudo: /usr/bin/sudo muss dem Benutzer mit UID 0 gehören und das »setuid«-Bit gesetzt haben

                          pi@ioBroker-RasPi:~ $

                          1 Reply Last reply Reply Quote 0
                          • eric2905
                            eric2905 last edited by

                            Nicht „sudo su xxxx“ - das geht nicht.

                            Erst mit „sudo su“ in den root wechseln und dann die anderen Commands ausführen.

                            Gruß

                            Eric

                            Von unterwegs getippert

                            1 Reply Last reply Reply Quote 0
                            • D
                              dippi last edited by

                              bei sudo su kommt die gleiche Meldung wie vorher

                              1 Reply Last reply Reply Quote 0
                              • eric2905
                                eric2905 last edited by

                                Dann Log Dich als root ein und gib die Commands ohne sudo ein.

                                Gruß,

                                Eric

                                Von unterwegs getippert

                                1 Reply Last reply Reply Quote 0
                                • D
                                  dippi last edited by

                                  ja das ist das Problem wie geht das hab ein fertiges Iobroker Image drauf.

                                  Kannst du mir erklären wie ich mich als root einloggen kann.

                                  Gruß

                                  Dippi

                                  1 Reply Last reply Reply Quote 0
                                  • eric2905
                                    eric2905 last edited by

                                    @dippi:

                                    … hab ein fertiges Iobroker Image drauf.... `
                                    Welches Image hast Du genommen?

                                    Gruß,

                                    Eric

                                    Von unterwegs getippert

                                    1 Reply Last reply Reply Quote 0
                                    • Homoran
                                      Homoran Global Moderator Administrators last edited by

                                      Das ist etwas komplexer!

                                      du musst als user pi zuerst ein Passwort für root erzeugen:

                                      sudo passwd root
                                      

                                      dann musst du den ssh zugang für root freischalten
                                      @[url=http://www.iobroker.net/docu/?page_id=5106⟨=de:

                                      ~~docu Punkt 6."]~~Root Zugang freischalten

                                      sudo nano /etc/ssh/sshd_config

                                      Datei anpassen: PermitRootLogin without-password in PermitRootLogin yes ändern und speichern

                                      SSH neu starten: sudo /etc/init.d/ssh restart `

                                      Gruß

                                      Rainer

                                      1 Reply Last reply Reply Quote 0
                                      • D
                                        dippi last edited by

                                        @Eric von der Iobroker Homepage das

                                        Raspbian light für Raspberry Pi 2/3

                                        @Rainer bei dem Befehl bekomme ich die gleich Fehlermeldung

                                        sudo: /usr/bin/sudo muss dem Benutzer mit UID 0 gehören und das »setuid«-Bit gesetzt haben

                                        Gruß

                                        Dippi

                                        1 Reply Last reply Reply Quote 0
                                        • eric2905
                                          eric2905 last edited by

                                          Warum ein Image vom Mai, wenn es eins von August gibt?

                                          Oder läuft es schon so lang?

                                          Irgendwie hast Du es geschafft, das Image bzgl. der Benutzerverwaltung zu schrotten [emoji6]

                                          Ich würde fast dazu tendieren, den Raspi neu aufzusetzen (Backup, usw. nicht vergessen … nimm eine neue SD, wenn Du hast - dann hast Du diese auch als Backup).

                                          Gruß,

                                          Eric

                                          Von unterwegs getippert

                                          1 Reply Last reply Reply Quote 0
                                          • D
                                            dippi last edited by

                                            der PI läuft schon seid Mai und jetzt ist wohl was passiert bei einem Update im Iobroker.

                                            kann man vom Iobroker die Daten sichern und dann im neuen Image einspielen ?

                                            Gruß

                                            Dippi

                                            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

                                            446
                                            Online

                                            32.0k
                                            Users

                                            80.5k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            27
                                            2083
                                            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