Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst] JS-Controller update schlägt fehl

    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

    [gelöst] JS-Controller update schlägt fehl

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

      gerade 4 adapterupdates gemacht (alles latest). bei der gelegenheit wollte ich auch den js-controller von 5.0.8 auf 5.0.11 updaten.
      2ef5ff52-ed38-469d-b20d-1f2f74979d1f-grafik.png
      hat bisher immer geklappt. heute bekomm ich plötzlich:
      f0c54cd9-395a-4df5-96fb-ce132d449855-grafik.png
      wenn ich es auf der konsole probiere nach der anleitung:

      woody@ioBroker:~$ iob stop
      iobwoody@ioBroker:~$
      woody@ioBroker:~$
      woody@ioBroker:~$ iob update
      Used repository: Beta (latest)
      Adapter    "admin"        : 6.7.0    , installed 6.7.0
      Adapter    "alexa2"       : 3.23.2   , installed 3.23.2
      Adapter    "alias-manager": 1.2.6    , installed 1.2.6
      Adapter    "backitup"     : 2.6.23   , installed 2.6.23
      Adapter    "birthdays"    : 2.3.1    , installed 2.3.1
      Adapter    "daswetter"    : 3.1.10   , installed 3.1.10
      Adapter    "device-reminder": 1.2.9  , installed 1.2.9
      Adapter    "device-watcher": 2.9.3   , installed 2.9.3
      Adapter    "fronius"      : 2.0.2    , installed 2.0.2
      Adapter    "gruenbeck"    : 0.0.42   , installed 0.0.42
      Adapter    "ical"         : 1.13.3   , installed 1.13.3
      Adapter    "influxdb"     : 3.2.0    , installed 3.2.0
      Adapter    "info"         : 1.9.26   , installed 1.9.26
      Adapter    "iot"          : 2.0.11   , installed 2.0.11
      Adapter    "iqontrol"     : 2.3.0    , installed 2.3.0
      Adapter    "javascript"   : 7.1.1    , installed 7.1.1
      Controller "js-controller": 5.0.11   , installed 5.0.8  [Updatable]
      Adapter    "logparser"    : 2.2.0    , installed 2.2.0
      Adapter    "meteoalarm"   : 2.3.6    , installed 2.3.6
      Adapter    "mihome-vacuum": 3.11.0   , installed 3.11.0
      Adapter    "mqtt"         : 4.1.1    , installed 4.1.1
      Adapter    "octoprint"    : 5.0.1    , installed 5.0.1
      Adapter    "openweathermap": 0.3.11  , installed 0.3.11
      Adapter    "pi-hole"      : 1.3.6    , installed 1.3.6
      Adapter    "ping"         : 1.6.2    , installed 1.6.2
      Adapter    "proxmox"      : 1.3.5    , installed 1.3.5
      Adapter    "radar2"       : 2.0.7    , installed 2.0.7
      Adapter    "rest-api"     : 1.1.0    , installed 1.1.0
      Adapter    "scenes"       : 2.3.9    , installed 2.3.9
      Adapter    "shelly"       : 6.4.1    , installed 6.4.1
      Adapter    "shuttercontrol": 1.6.1   , installed 1.6.1
      Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
      Adapter    "smartcontrol" : 1.3.2    , installed 1.3.2
      Adapter    "socketio"     : 6.5.2    , installed 6.5.2
      Adapter    "sonoff"       : 2.5.7    , installed 2.5.7
      Adapter    "synology"     : 2.1.13   , installed 2.1.13
      Adapter    "trashschedule": 2.2.0    , installed 2.2.0
      Adapter    "vis"          : 1.4.16   , installed 1.4.16
      Adapter    "vis-materialdesign": 0.5.9, installed 0.5.9
      Adapter    "wallpanel"    : 0.3.11   , installed 0.3.11
      Adapter    "weatherunderground": 3.4.2, installed 3.4.2
      Adapter    "web"          : 6.1.0    , installed 6.1.0
      Adapter    "wled"         : 0.7.0    , installed 0.7.0
      Adapter    "ws"           : 2.5.3    , installed 2.5.3
      woody@ioBroker:~$ iob fix
      library: loaded
      Library version=2022-12-09
      
      ==========================================================================
      
          Welcome to the ioBroker installation fixer!
          Script version: 2023-04-02
      
          You might need to enter your password a couple of times.
      
      ==========================================================================
      
      
      ==========================================================================
          Installing prerequisites (1/5)
      ==========================================================================
      
      [sudo] Passwort für woody:
      Sorry, user woody is not allowed to execute '/usr/bin/apt-get update' as root on ioBroker.
      [sudo] Passwort für woody:
      
      Das hat nicht funktioniert, bitte nochmal probieren.
      [sudo] Passwort für woody:
      Das hat nicht funktioniert, bitte nochmal probieren.
      [sudo] Passwort für woody:
      Installed gcc-c++
      [sudo] Passwort für woody:
      Sorry, user woody is not allowed to execute '/usr/sbin/setcap cap_net_admin,cap_net_bind_service,cap_net_raw+eip /usr/bin/node' as root on ioBroker.
      
      ==========================================================================
          Checking ioBroker user and directory permissions (2/5)
      ==========================================================================
      
      [sudo] Passwort für woody:
      Sorry, user woody is not allowed to execute '/usr/sbin/usermod -a -G iobroker woody' as root on ioBroker.
      [sudo] Passwort für woody:
      Sorry, user woody is not allowed to execute '/usr/bin/rm -f /etc/sudoers.d/iobroker' as root on ioBroker.
      [sudo] Passwort für woody:
      Sorry, user woody is not allowed to execute '/usr/sbin/visudo -c -q -f /home/woody/temp_sudo_file' as root on ioBroker.
      [sudo] Passwort für woody:
      Sorry, user woody is not allowed to execute '/usr/sbin/usermod -a -G audio iobroker' as root on ioBroker.
      [sudo] Passwort für woody:
      Sorry, user woody is not allowed to execute '/usr/sbin/usermod -a -G dialout iobroker' as root on ioBroker.
      [sudo] Passwort für woody:
      Sorry, user woody is not allowed to execute '/usr/sbin/usermod -a -G tty iobroker' as root on ioBroker.
      [sudo] Passwort für woody:
      Sorry, user woody is not allowed to execute '/usr/sbin/usermod -a -G video iobroker' as root on ioBroker.
      [sudo] Passwort für woody:
      Sorry, user woody is not allowed to execute '/usr/bin/touch .npmrc' as root on ioBroker.
      [sudo] Passwort für woody:
      
      
      

      das einzige was überbleibt, ich muss die ioB VM rebooten.
      was wird noch gebraucht für hilfe?

      Ro75 crunchip Thomas Braun 3 Replies Last reply Reply Quote 0
      • Ro75
        Ro75 @da_Woody last edited by

        @da_woody bist du absichtlich in Beta untewegs?

        da_Woody 1 Reply Last reply Reply Quote 0
        • da_Woody
          da_Woody @Ro75 last edited by

          @ro75 ja

          1 Reply Last reply Reply Quote 0
          • crunchip
            crunchip Forum Testing Most Active @da_Woody last edited by crunchip

            @da_woody sagte in JS-Controller update schlägt fehl:

            von 5.0.8 auf 5.0.11 updaten

            steht im entsprechenden Thread, das es da Problem gibt per Gui
            https://forum.iobroker.net/post/1023260

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

              @da_woody sagte in JS-Controller update schlägt fehl:

              was wird noch gebraucht für hilfe?

              Die Ausgabe von

              iob diag
              

              Da scheint mir mit den Rechten/Gruppen was nicht zu passen.

              da_Woody 1 Reply Last reply Reply Quote 0
              • da_Woody
                da_Woody @crunchip last edited by

                @crunchip sorry, der ist mir nicht untergekommen. allerdings gehts in der konsole ja auch nicht.
                Sorry, user woody is not allowed to execute blabla

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

                  @thomas-braun tja, nicht mal das darf ich auf einmal.

                  woody@ioBroker:~$ iob diag
                  [sudo] Passwort für woody:
                  Sorry, user woody is not allowed to execute '/usr/bin/curl -sLf https://iobroker                                       .net/diag.sh --output /home/iobroker/.diag.sh' as iobroker on ioBroker.
                  woody@ioBroker:~$
                  
                  
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @da_Woody last edited by

                    @da_woody

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

                      @thomas-braun

                      woody@ioBroker:~$ id
                      uid=1000(woody) gid=1000(woody) Gruppen=1000(woody),24(cdrom),25(floppy),29(audio),30(dip),44(video),46(plugdev),109(netdev),1001(iobroker)
                      woody@ioBroker:~$
                      
                      
                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @da_Woody last edited by

                        @da_woody

                        Der User ist nicht in der Gruppe 'sudo' drin, der darf sich also nicht als wer anders ausgeben.

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

                          @thomas-braun das muss aber beim update auf bookworm passiert sein. bisher gabs da ja nie probleme...
                          btw, woran siehst du das? was sollte ich tun?

                          J Thomas Braun 2 Replies Last reply Reply Quote 0
                          • J
                            Jan1 @da_Woody last edited by

                            @da_woody
                            weil oben die Gruppe sudo nicht aufgeführt ist und nun natürlich den user der sudo Gruppe hinzufügen

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

                              @da_woody sagte in JS-Controller update schlägt fehl:

                              btw, woran siehst du das?

                              An der Ausgabe von id.
                              Da sind ja die Zugehörigkeiten aufgeführt.
                              Ausnahmsweise als root anmelden:

                              usermod -a -G sudo woody
                              

                              Den woody aus- und wieder einloggen.

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

                                @thomas-braun sagte in JS-Controller update schlägt fehl:

                                usermod -a -G sudo woody

                                woody@ioBroker:~$ su
                                Passwort:
                                root@ioBroker:/home/woody# cd ..
                                root@ioBroker:/home# cd ..
                                root@ioBroker:/# usermod -a -G sudo woody
                                bash: usermod: Kommando nicht gefunden.
                                root@ioBroker:/#
                                
                                
                                Homoran 1 Reply Last reply Reply Quote 0
                                • Homoran
                                  Homoran Global Moderator Administrators @da_Woody last edited by

                                  @da_woody adduser woody sudo

                                  da_Woody 1 Reply Last reply Reply Quote 0
                                  • da_Woody
                                    da_Woody @Homoran last edited by

                                    @homoran sagte in JS-Controller update schlägt fehl:

                                    adduser woody sudo

                                    schön wärs. seit dem bücherwurmupdate spinnt das teil.

                                    bash: adduser: Kommando nicht gefunden.
                                    
                                    Thomas Braun J 2 Replies Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @da_Woody last edited by

                                      @da_woody

                                      useradd -G sudo woody
                                      
                                      da_Woody 1 Reply Last reply Reply Quote 0
                                      • J
                                        Jan1 @da_Woody last edited by

                                        @da_woody
                                        der Grund warum es nicht wirklich zu empfehlen ist ein OS per Update hoch zu ziehen 😉
                                        Meistens funktioniert es und ab und zu hat man danach mehr Arbeit mit dem gerade bügeln, wie mit dem frisch aussetzten

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

                                          @thomas-braun sagte in JS-Controller update schlägt fehl:

                                          useradd -G sudo woody

                                          woody@ioBroker:~$ useradd -G sudo woody
                                          -bash: useradd: Kommando nicht gefunden.
                                          woody@ioBroker:~$ su
                                          Passwort:
                                          root@ioBroker:/home/woody# useradd -G sudo woody
                                          bash: useradd: Kommando nicht gefunden.
                                          root@ioBroker:/home/woody#
                                          
                                          
                                          Thomas Braun 2 Replies Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @da_Woody last edited by

                                            @da_woody

                                            Dann weiß ich nicht was du da wie von wo wohin upgeradet hast.

                                            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

                                            826
                                            Online

                                            32.1k
                                            Users

                                            80.7k
                                            Topics

                                            1.3m
                                            Posts

                                            js-controller update
                                            6
                                            51
                                            3104
                                            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