Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Upgrade des js-controllers funktioniert nicht?

    NEWS

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    Upgrade des js-controllers funktioniert nicht?

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @Tolkin last edited by

      @tolkin

      Du machst falsch:
      Einloggen als root! Macht man NIE!

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

        @thomas-braun sagte in Upgrade des js-controllers funktioniert nicht?:

        @tolkin

        Du machst falsch:
        Einloggen als root! Macht man NIE!

        Da bin ich bei dir. Da es unter meinem Benutzer ebenfalls nicht funktioniert hat, habe ich es mal unter root versucht.

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

          @tolkin

          Nochmal: NIE als root einloggen. Nie heißt niemals, gar nicht, unter keinen Umständen. Nie!

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

            @thomas-braun

            Habe es verstanden..

            login as: flokie
            flokie@10.14.4.34's password:
            Linux iobroker 5.10.0-13-amd64 #1 SMP Debian 5.10.106-1 (2022-03-17) x86_64
            
            The programs included with the Debian GNU/Linux system are free software;
            the exact distribution terms for each program are described in the
            individual files in /usr/share/doc/*/copyright.
            
            Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
            permitted by applicable law.
            Last login: Thu Apr  7 19:23:08 2022 from 10.14.2.1
            flokie@iobroker:~$ iob stop
            -bash: iob: Kommando nicht gefunden.
            flokie@iobroker:~$ iobroker stop
            -bash: iobroker: Kommando nicht gefunden.
            flokie@iobroker:~$
            
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @Tolkin last edited by

              @tolkin

              echo $PATH
              sudo whoami
              which iob
              which iobroker
              
              Tolkin 1 Reply Last reply Reply Quote 0
              • Tolkin
                Tolkin @Thomas Braun last edited by

                @thomas-braun

                flokie@iobroker:~$ echo $PATH
                /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
                flokie@iobroker:~$
                
                
                flokie@iobroker:~$ sudo whoami
                [sudo] Passwort für flokie:
                root
                flokie@iobroker:~$
                
                flokie@iobroker:~$ which iob
                flokie@iobroker:~$ which iobroker
                flokie@iobroker:~$
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @Tolkin last edited by

                  @tolkin

                  /usr/bin/iobroker status
                  
                  Tolkin 1 Reply Last reply Reply Quote 0
                  • Tolkin
                    Tolkin @Thomas Braun last edited by

                    @thomas-braun

                    flokie@iobroker:~$ /usr/bin/iobroker status
                    -bash: /usr/bin/iobroker: Ist ein Verzeichnis
                    flokie@iobroker:~$
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @Tolkin last edited by Thomas Braun

                      @tolkin

                      ls -l /usr/bin/iob
                      ls -l /usr/bin/iobroker
                      
                      Tolkin 1 Reply Last reply Reply Quote 0
                      • Tolkin
                        Tolkin @Thomas Braun last edited by

                        @thomas-braun

                        flokie@iobroker:~$ ls -l /usr/bin/iob
                        lrwxrwxrwx 1 root root 22  7. Apr 19:32 /usr/bin/iob -> /opt/iobroker/iobroker
                        flokie@iobroker:~$ ls -l /ist/bin/iobroker
                        ls: Zugriff auf '/ist/bin/iobroker' nicht möglich: Datei oder Verzeichnis nicht gefunden
                        flokie@iobroker:~$
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @Tolkin last edited by

                          @tolkin sagte in Upgrade des js-controllers funktioniert nicht?:

                          ls -l /opt/iobroker/iobroker
                          
                          Tolkin 1 Reply Last reply Reply Quote 0
                          • Tolkin
                            Tolkin @Thomas Braun last edited by

                            @thomas-braun

                            flokie@iobroker:~$ ls -l /opt/iobroker/iobroker
                            insgesamt 0
                            flokie@iobroker:~$
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @Tolkin last edited by

                              @tolkin
                              Da hast du dir wohl irgendwie die bin gelöscht.

                              /opt/iobroker/iobroker status
                              ls -la /opt/iobroker
                              
                              Tolkin 1 Reply Last reply Reply Quote 0
                              • Tolkin
                                Tolkin @Thomas Braun last edited by

                                @thomas-braun

                                Komisch, der ioBroker läuft ganz normal. Ich kann halt nur nicht den Host Adapter updaten

                                1 Reply Last reply Reply Quote 0
                                • AlCalzone
                                  AlCalzone Developer last edited by

                                  @tolkin sagte in Upgrade des js-controllers funktioniert nicht?:

                                  Ich kann halt nur nicht den Host Adapter updaten

                                  Ja, weil das Kommandozeilenprogramm welches du zum Updaten nutzt, nicht mehr existiert.

                                  Führ mal den Fixer aus, der legt die wieder an:

                                  curl -sL https://iobroker.net/fix.sh | bash -
                                  
                                  Tolkin 1 Reply Last reply Reply Quote 0
                                  • Tolkin
                                    Tolkin @AlCalzone last edited by

                                    @alcalzone sagte in Upgrade des js-controllers funktioniert nicht?:

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

                                    Wie ich oben im ersten Beitrag schon erwähnt habe, habe ich den Fixer bereits schon mal ausgeführt und installiert. Leider besteht immer noch das gleiche Problem.

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

                                      @tolkin
                                      Hast du den Fixer denn jetzt mal über dessen URL aufgerufen?
                                      Mit welchen Rückmeldungen im Terminal?

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

                                        @thomas-braun

                                        So habe ich den Fixer ausgeführt

                                        flokie@iobroker:/opt/iobroker$ sudo systemctl stop iobroker
                                        flokie@iobroker:/opt/iobroker$ sudo curl -sL https://iobroker.net/fix.sh | bash -
                                        library: loaded
                                        Library version=2022-02-10
                                        
                                        ==========================================================================
                                        
                                            Welcome to the ioBroker installation fixer!
                                            Script version: 2022-02-13
                                        
                                            You might need to enter your password a couple of times.
                                        
                                        ==========================================================================
                                        
                                        
                                        ==========================================================================
                                            Installing prerequisites (1/3)
                                        ==========================================================================
                                        
                                        Holen:1 http://security.debian.org/debian-security bullseye-security InRelease [44,1 kB]
                                        OK:2 http://deb.debian.org/debian bullseye InRelease
                                        Holen:3 http://deb.debian.org/debian bullseye-updates InRelease [39,4 kB]
                                        OK:4 https://deb.nodesource.com/node_14.x bullseye InRelease
                                        Es wurden 83,5 kB in 0 s geholt (247 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)
                                        ==========================================================================
                                        
                                        rm: das Entfernen von '/opt/iobroker/iobroker' ist nicht möglich: Ist ein Verzeichnis
                                        Enabling autostart...
                                        Autostart enabled!
                                        
                                        ==========================================================================
                                        
                                            Your installation was fixed successfully
                                            Run iobroker start to start ioBroker again!
                                        
                                        ==========================================================================
                                        
                                        flokie@iobroker:/opt/iobroker$ iobroker start
                                        -bash: iobroker: Kommando nicht gefunden.
                                        flokie@iobroker:/opt/iobroker$ sudo iobroker start
                                        sudo: iobroker: Befehl nicht gefunden
                                        flokie@iobroker:/opt/iobroker$
                                        
                                        Homoran 2 Replies Last reply Reply Quote 0
                                        • Homoran
                                          Homoran Global Moderator Administrators @Tolkin last edited by

                                          @tolkin sagte in Upgrade des js-controllers funktioniert nicht?:

                                          rm: das Entfernen von '/opt/iobroker/iobroker' ist nicht möglich: Ist ein Verzeichni

                                          was ist denn da los?

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

                                            @tolkin sagte in Upgrade des js-controllers funktioniert nicht?:

                                            flokie@iobroker:/opt/iobroker$ sudo iobroker start

                                            wieso sudo?
                                            willst du die gerade gesetzten Rechte wieder verbiegen?

                                            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

                                            795
                                            Online

                                            32.0k
                                            Users

                                            80.6k
                                            Topics

                                            1.3m
                                            Posts

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