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.
    • 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
          • da_Woody
            da_Woody last edited by

            @thomas-braun step by step nach deiner anleitung.
            https://forum.iobroker.net/topic/65655/upgrade-von-debian-11-bullseye-auf-12-bookworm

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

              @da_woody

              /usr/sbin/useradd -G sudo woody
              
              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:

                step by step nach deiner anleitung.

                Eigentlich werden die User und deren Gruppen usw. da nicht weiter angepackt.

                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:

                  /usr/sbin/useradd -G sudo woody

                  fool.gif

                  root@ioBroker:/home/woody# /usr/sbin/useradd -G sudo woody
                  useradd: Benutzer »woody« existiert bereits
                  root@ioBroker:/home/woody#
                  
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @da_Woody last edited by

                    @da_woody

                    /usr/sbin/usermod -a -G sudo woody
                    
                    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:

                      /usr/sbin/usermod -a -G sudo woody

                      wow, kein gemeckere...

                      root@ioBroker:/home/woody# /usr/sbin/usermod -a -G sudo woody
                      root@ioBroker:/home/woody# id
                      uid=0(root) gid=0(root) Gruppen=0(root)
                      root@ioBroker:/home/woody# exit
                      exit
                      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

                        Den woody jetzt abmelden. Gruppenzugehörigkeiten werden nur bei einem Login gelesen.

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

                          @thomas-braun session zu, session auf:

                          woody@ioBroker:~$ id
                          uid=1000(woody) gid=1000(woody) Gruppen=1000(woody),24(cdrom),25(floppy),27(sudo),29(audio),30(dip),44(video),46(plugdev),109(netdev),1001(iobroker)
                          woody@ioBroker:~$
                          
                          
                          Thomas Braun 2 Replies 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:

                            27(sudo)

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

                              @thomas-braun danke.gif
                              gefällt mich!
                              werd mal testen, ob das update jetzt klappert...

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

                                @da_woody

                                Da scheint aber trotzdem irgendwas nicht richtig zu sein bei dir.

                                echo $PATH
                                

                                sagt?

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

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

                                  echo $PATH

                                  woody@ioBroker:~$ echo $PATH
                                  /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
                                  woody@ioBroker:~$
                                  
                                  
                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @da_Woody last edited by

                                    @da_woody
                                    Da fehlt ja einiges.

                                    Hier schaut das so aus:

                                    echad@chet:~ $ echo $PATH
                                    /home/echad/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games:/home/echad/.local/bin:/home/echad/.local/bin
                                    echad@chet:~ $
                                    
                                    da_Woody 1 Reply Last reply Reply Quote 0
                                    • da_Woody
                                      da_Woody @Thomas Braun last edited by

                                      @thomas-braun nie gefummelt. wüsste nichtmal wo... droelf.gif

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

                                        banane2.gif
                                        7e443df9-372d-4ec3-95d2-a08616319535-grafik.png

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

                                          @da_woody

                                          Wie reagiert

                                          iob diag
                                          

                                          nun auf das grob zusammengeflickte System?

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

                                            @thomas-braun sagte in [gelöst] JS-Controller update schlägt fehl:

                                            iob diag

                                            ======================= SUMMARY =======================
                                                                 v.2023-04-16
                                            
                                            
                                            Operatingsystem:        Debian GNU/Linux 12 (bookworm)
                                            Kernel:                 6.1.0-10-amd64
                                            Installation:           kvm
                                            Timezone:               Europe/Vienna (CEST, +0200)
                                            User-ID:                1000
                                            X-Server:               false
                                            Boot Target:            graphical.target
                                            
                                            Pending OS-Updates:     38
                                            Pending iob updates:    0
                                            
                                            Nodejs-Installation:    /usr/bin/nodejs         v18.16.1
                                                                    /usr/bin/node           v18.16.1
                                                                    /usr/bin/npm            9.5.1
                                                                    /usr/bin/npx            9.5.1
                                            
                                            Recommended versions are nodejs 18.x.y and npm 9.x.y
                                            Your nodejs installation is correct
                                            
                                            MEMORY:
                                                           total        used        free      shared  buff/cache   available
                                            Mem:            6.2G        3.6G        1.9G        528K        993M        2.6G
                                            Swap:           1.0G          0B        1.0G
                                            Total:          7.2G        3.6G        2.9G
                                            
                                            Active iob-Instances:   36
                                            Active repo(s): Beta (latest)
                                            
                                            ioBroker Core:          js-controller           5.0.11
                                                                    admin                   6.7.0
                                            
                                            ioBroker Status:        iobroker is running on this host.
                                            
                                            
                                            Objects type: jsonl
                                            States  type: jsonl
                                            
                                            Status admin and web instance:
                                            + system.adapter.admin.0                  : admin                 : ioBroker                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                                            + system.adapter.web.0                    : web                   : ioBroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                                            
                                            Objects:                23431
                                            States:                 17588
                                            
                                            Size of iob-Database:
                                            
                                            30M     /opt/iobroker/iobroker-data/objects.jsonl
                                            20M     /opt/iobroker/iobroker-data/objects.json.bak
                                            20M     /opt/iobroker/iobroker-data/objects.json
                                            14M     /opt/iobroker/iobroker-data/states.jsonl
                                            3.0M    /opt/iobroker/iobroker-data/states.json.bak
                                            3.0M    /opt/iobroker/iobroker-data/states.json
                                            
                                            
                                            
                                            =================== END OF SUMMARY ====================
                                            
                                            
                                            Thomas Braun 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

                                            677
                                            Online

                                            32.1k
                                            Users

                                            80.7k
                                            Topics

                                            1.3m
                                            Posts

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