Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. gelöst - Nach Update - nur iobroker-Logo sichtbar

    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

    gelöst - Nach Update - nur iobroker-Logo sichtbar

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

      @hicki
      Das du dich da jetzt mit einem Standard-User und nicht mehr mit root einloggst.

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

        @thomas-braun Ich weis ja nicht, wie ich das ändern soll.

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

          @hicki

          Hast du damals keinen user angelegt?
          Schau in die Liste der user rein:

          less /etc/passwd
          
          H 1 Reply Last reply Reply Quote 1
          • H
            Hicki @Thomas Braun last edited by

            @thomas-braun sagte in gelöst - Nach Update - nur iobroker-Logo sichtbar:

            less /etc/passwd

            root@ioBroker:~# less /etc/passwd
            root:x:0:0:root:/root:/bin/bash
            daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin
            bin:x:2:2:bin:/bin:/usr/sbin/nologin
            sys:x:3:3:sys:/dev:/usr/sbin/nologin
            sync:x:4:65534:sync:/bin:/bin/sync
            games:x:5:60:games:/usr/games:/usr/sbin/nologin
            man:x:6:12:man:/var/cache/man:/usr/sbin/nologin
            lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin
            mail:x:8:8:mail:/var/mail:/usr/sbin/nologin
            news:x:9:9:news:/var/spool/news:/usr/sbin/nologin
            uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin
            proxy:x:13:13:proxy:/bin:/usr/sbin/nologin
            www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin
            backup:x:34:34:backup:/var/backups:/usr/sbin/nologin
            list:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologin
            irc:x:39:39:ircd:/var/run/ircd:/usr/sbin/nologin
            gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/usr/sbin/nologin
            nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin
            syslog:x:100:102::/home/syslog:/usr/sbin/nologin
            systemd-network:x:101:106:systemd Network Management,,,:/run/systemd/netif:/usr/sbin/nologin
            systemd-resolve:x:102:107:systemd Resolver,,,:/run/systemd/resolve:/usr/sbin/nologin
            messagebus:x:103:108::/nonexistent:/usr/sbin/nologin
            postfix:x:104:109::/var/spool/postfix:/usr/sbin/nologin
            _apt:x:105:65534::/nonexistent:/usr/sbin/nologin
            sshd:x:106:65534::/run/sshd:/usr/sbin/nologin
            uuidd:x:107:113::/run/uuidd:/usr/sbin/nologin
            iobroker:x:1000:1000::/home/iobroker:/usr/sbin/nologin
            redis:x:108:114::/var/lib/redis:/usr/sbin/nologin
            statd:x:109:65534::/var/lib/nfs:/usr/sbin/nologin
            /etc/passwd (END)
            
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @Hicki last edited by

              @hicki

              adduser hicki
              

              Oder wie auch immer der user heißen soll. 'iobroker' ist allerdings schon vergeben. Nimm 'hicki'. Passwort vergeben, die anderen Felder einfach bestätigen.

              Dann

              usermod -aG sudo username
              

              Dann ausloggen und neu als 'hicki' anmelden.
              Test in der Konsole:

              sudo whoami
              
              1 Reply Last reply Reply Quote 1
              • H
                Hicki last edited by

                Hat funktioniert. Wie jetzt weiter?

                root@ioBroker:~# logout
                
                Ubuntu 18.04.6 LTS ioBroker tty1
                
                ioBroker login: hicki
                Password: 
                Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 5.4.73-1-pve x86_64)
                
                 * Documentation:  https://help.ubuntu.com
                 * Management:     https://landscape.canonical.com
                 * Support:        https://ubuntu.com/advantage
                New release '20.04.3 LTS' available.
                Run 'do-release-upgrade' to upgrade to it.
                
                
                The programs included with the Ubuntu system are free software;
                the exact distribution terms for each program are described in the
                individual files in /usr/share/doc/*/copyright.
                
                Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
                applicable law.
                
                To run a command as administrator (user "root"), use "sudo <command>".
                See "man sudo_root" for details.
                
                hicki@ioBroker:~$ sudo whoami
                [sudo] password for hicki: 
                root
                hicki@ioBroker:~$
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @Hicki last edited by Thomas Braun

                  @hicki

                  Gut, und jetzt niemehr als root einloggen. Nur noch mit dem hicki agieren.

                  Jetzt die große Löschaktion:

                  iobroker stop
                  sudo usermod -aG iobroker hicki
                  sudo rm /usr/local/bin/node
                  sudo rm /usr/local/bin/npm
                  sudo apt remove nodejs
                  curl -fsSL https://deb.nodesource.com/setup_14.x | sudo -E bash -
                  sudo apt update
                  sudo apt install nodejs
                  sudo ln -s /usr/bin/node /usr/bin/nodejs
                  sudo reboot
                  

                  Wenn die Kiste wieder oben ist:

                  which nodejs node npm && nodejs -v && node -v && npm -v &&  sudo apt update && apt policy nodejs
                  
                  H 1 Reply Last reply Reply Quote 1
                  • H
                    Hicki @Thomas Braun last edited by

                    @thomas-braun

                    fertig

                    
                    Ubuntu 18.04.6 LTS ioBroker tty1
                    
                    ioBroker login: hicki
                    Password: 
                    Last login: Wed Dec  1 15:53:53 UTC 2021 on tty1
                    Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 5.4.73-1-pve x86_64)
                    
                     * Documentation:  https://help.ubuntu.com
                     * Management:     https://landscape.canonical.com
                     * Support:        https://ubuntu.com/advantage
                    New release '20.04.3 LTS' available.
                    Run 'do-release-upgrade' to upgrade to it.
                    
                    hicki@ioBroker:~$ which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && apt policy nodejs
                    /usr/bin/nodejs
                    /usr/bin/node
                    /usr/bin/npm
                    v14.18.2
                    v14.18.2
                    6.14.15
                    [sudo] password for hicki: 
                    Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease
                    Hit:2 https://deb.nodesource.com/node_14.x bionic InRelease             
                    Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease         
                    Hit:4 http://archive.ubuntu.com/ubuntu bionic-security InRelease
                    Reading package lists... Done
                    Building dependency tree       
                    Reading state information... Done
                    All packages are up to date.
                    nodejs:
                      Installed: 14.18.2-1nodesource1
                      Candidate: 14.18.2-1nodesource1
                      Version table:
                     *** 14.18.2-1nodesource1 500
                            500 https://deb.nodesource.com/node_14.x bionic/main amd64 Packages
                            100 /var/lib/dpkg/status
                         8.10.0~dfsg-2ubuntu0.4 500
                            500 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages
                         8.10.0~dfsg-2ubuntu0.2 500
                            500 http://archive.ubuntu.com/ubuntu bionic-security/universe amd64 Packages
                         8.10.0~dfsg-2 500
                            500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
                    hicki@ioBroker:~$ 
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @Hicki last edited by

                      @hicki

                      Das sieht gut aus.
                      Ich hatte oben noch

                      sudo usermod -aG iobroker hicki
                      

                      ergänzt. Das solltest du noch machen.

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

                        @thomas-braun sagte in gelöst - Nach Update - nur iobroker-Logo sichtbar:

                        @hicki

                        Das sieht gut aus.
                        Ich hatte oben noch

                        sudo usermod -aG iobroker hicki
                        

                        ergänzt. Das solltest du noch machen.

                        erledigt

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

                          @hicki

                          Gut, dann sind wir fertig.

                          Wenn dir langweilig ist:

                          New release '20.04.3 LTS' available.
                          Run 'do-release-upgrade' to upgrade to it.
                          

                          😄

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

                            @thomas-braun sagte in gelöst - Nach Update - nur iobroker-Logo sichtbar:

                            New release '20.04.3 LTS'

                            Wie mache ich das? Und vielen Dank für alles.

                            Meister Mopper Thomas Braun 3 Replies Last reply Reply Quote 0
                            • Meister Mopper
                              Meister Mopper @Hicki last edited by Meister Mopper

                              @hicki

                              Distribution update:

                              sudo apt-get update && sudo apt-get dist-upgrade -y && sudo do-release-upgrade

                              Ergänzung: Ein backup wäre vorher ratsam

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

                                @hicki
                                Das ist ein Upgrade auf die Version 20.04.3.
                                Das würde ich an deiner Stelle aber mal in Ruhe machen. Dein Bionic 18.04 wird ja noch bis April 2023 unterstützt, da hast du noch etwas Zeit.

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

                                  @hicki

                                  Läuft der ioBroker?
                                  Da dürften vermutlich auch die Rechte z.T. noch krumm sein.

                                  iobroker stop
                                  iobroker fix
                                  iobroker start
                                  

                                  repariert auch das noch.

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

                                    @thomas-braun sagte in gelöst - Nach Update - nur iobroker-Logo sichtbar:

                                    @hicki

                                    Läuft der ioBroker?
                                    Da dürften vermutlich auch die Rechte z.T. noch krumm sein.

                                    iobroker stop
                                    iobroker fix
                                    iobroker start
                                    

                                    repariert auch das noch.

                                    Vielen Dank und erledigt

                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post

                                    Support us

                                    ioBroker
                                    Community Adapters
                                    Donate

                                    633
                                    Online

                                    31.9k
                                    Users

                                    80.1k
                                    Topics

                                    1.3m
                                    Posts

                                    nur iobroker logo sichtbar
                                    5
                                    40
                                    1549
                                    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