Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [How-to] Node.js für ioBroker richtig updaten

    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

    [How-to] Node.js für ioBroker richtig updaten

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

      @saeft_2003

      cd /opt/iobroker  
      sudo -H -u iobroker npm rebuild @serialport
      
      S 1 Reply Last reply Reply Quote 0
      • S
        saeft_2003 Most Active @Thomas Braun last edited by saeft_2003

        @Thomas-Braun

        root@iobroker:/opt/iobroker# sudo -H -u iobroker npm rebuild @serialport
        npm ERR! code EINVALIDTAGNAME
        npm ERR! Invalid tag name "@serialport": Tags may not have any characters that encodeURIComponent encodes.
        
        npm ERR! A complete log of this run can be found in:
        npm ERR!     /home/iobroker/.npm/_logs/2020-05-30T21_09_44_141Z-debug.log
        
        
        

        @Glasfaser

        dann kommt dass das kein iobroker befehl ist und es wird eine liste angezeigt welche es gibt.

        Glasfaser Thomas Braun 2 Replies Last reply Reply Quote 0
        • Glasfaser
          Glasfaser @saeft_2003 last edited by Glasfaser

          @saeft_2003 sagte in [How-to] Node.js für ioBroker richtig updaten:

          kein iobroker befehl ist

          Sorry ... ich dachte du hast JS3

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

            @saeft_2003

            Als user, nicht als root:

            iobroker update
            iobroker upgrade
            
            S 2 Replies Last reply Reply Quote 0
            • S
              saeft_2003 Most Active @Glasfaser last edited by

              @Glasfaser

              ne bin noch auf 2.2.8 das wollte ich dann als nächstes irgendwann machen...

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

                @Thomas-Braun sagte in [How-to] Node.js für ioBroker richtig updaten:

                @saeft_2003

                Als user, nicht als root:

                iobroker update
                iobroker upgrade
                

                Puhh als user ich habe glaube ich gar keinen bis jetzt habe ich alles über root gemacht... Weißt du wie man schnell einen anlegt?

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

                  @saeft_2003

                  lsb_release -a
                  
                  S 1 Reply Last reply Reply Quote 0
                  • S
                    saeft_2003 Most Active @Thomas Braun last edited by

                    @Thomas-Braun sagte in [How-to] Node.js für ioBroker richtig updaten:

                    lsb_release -a

                    root@iobroker:~# lsb_release -a
                    No LSB modules are available.
                    Distributor ID: Debian
                    Description:    Debian GNU/Linux 9.8 (stretch)
                    Release:        9.8
                    Codename:       stretch
                    root@iobroker:~#
                    
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @saeft_2003 last edited by

                      @saeft_2003

                      adduser
                      adduser -aG iobroker DEIN_USER
                      adduser -aG sudo DEIN_USER
                      
                      S 1 Reply Last reply Reply Quote 0
                      • Glasfaser
                        Glasfaser @saeft_2003 last edited by

                        @saeft_2003 sagte in [How-to] Node.js für ioBroker richtig updaten:

                        node-aead-crypto is no longer needed on NodeJS 10+

                        Die Meldung kommt mir bekannt vor .
                        Hast du auch ein Reboot nach dem Update gemacht .

                        Link Text

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

                          @Thomas-Braun sagte in [How-to] Node.js für ioBroker richtig updaten:

                          adduser -aG sudo DEIN_USER

                          Sorry das check ich nicht... 😞

                          root@iobroker:/opt/iobroker# adduser
                          adduser: Nur ein oder zwei Namen erlaubt.
                          root@iobroker:/opt/iobroker# adduser -aG iobroker test
                          Unknown option: ag
                          adduser [--home VERZ] [--shell SHELL] [--no-create-home] [--uid ID]
                          [--firstuid ID] [--lastuid ID] [--gecos GECOS] [--ingroup GRUPPE | --gid ID]
                          [--disabled-password] [--disabled-login] [--add_extra_groups] BENUTZER
                             Fügt einen normalen Benutzer hinzu
                          
                          adduser --system [--home VERZ] [--shell SHELL] [--no-create-home] [--uid ID]
                          [--gecos GECOS] [--group | --ingroup GRUPPE | --gid ID] [--disabled-password]
                          [--disabled-login] [--add_extra_groups] BENUTZER
                             Fügt einen Systembenutzer hinzu
                          
                          adduser --group [--gid ID] GRUPPE
                          addgroup [--gid ID] GRUPPE
                             Fügt eine Benutzergruppe hinzu
                          
                          addgroup --system [--gid ID] GRUPPE
                             Fügt eine Systemgruppe hinzu
                          
                          adduser BENUTZER GRUPPE
                             Fügt einen existierenden Benutzer einer existierenden Gruppe hinzu
                          
                          Allgemeine Optionen:
                            --quiet | -q      Keine Prozessinformationen an stdout senden
                            --force-badname   Benutzernamen erlauben, die nicht dem regulären Ausdruck
                                              der Konfigurationsvariablen NAME_REGEX entsprechen
                            --help | -h       Hilfstext zur Verwendung
                            --version | -v    Versionsnummer und Copyright
                            --conf | -c DATEI benutze DATEI als Konfigurationsdatei
                          
                          root@iobroker:/opt/iobroker# adduser -aG sudo test
                          Unknown option: ag
                          adduser [--home VERZ] [--shell SHELL] [--no-create-home] [--uid ID]
                          [--firstuid ID] [--lastuid ID] [--gecos GECOS] [--ingroup GRUPPE | --gid ID]
                          [--disabled-password] [--disabled-login] [--add_extra_groups] BENUTZER
                             Fügt einen normalen Benutzer hinzu
                          
                          adduser --system [--home VERZ] [--shell SHELL] [--no-create-home] [--uid ID]
                          [--gecos GECOS] [--group | --ingroup GRUPPE | --gid ID] [--disabled-password]
                          [--disabled-login] [--add_extra_groups] BENUTZER
                             Fügt einen Systembenutzer hinzu
                          
                          adduser --group [--gid ID] GRUPPE
                          addgroup [--gid ID] GRUPPE
                             Fügt eine Benutzergruppe hinzu
                          
                          addgroup --system [--gid ID] GRUPPE
                             Fügt eine Systemgruppe hinzu
                          
                          adduser BENUTZER GRUPPE
                             Fügt einen existierenden Benutzer einer existierenden Gruppe hinzu
                          
                          Allgemeine Optionen:
                            --quiet | -q      Keine Prozessinformationen an stdout senden
                            --force-badname   Benutzernamen erlauben, die nicht dem regulären Ausdruck
                                              der Konfigurationsvariablen NAME_REGEX entsprechen
                            --help | -h       Hilfstext zur Verwendung
                            --version | -v    Versionsnummer und Copyright
                            --conf | -c DATEI benutze DATEI als Konfigurationsdatei
                          
                          root@iobroker:/opt/iobroker#
                          
                          
                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @saeft_2003 last edited by

                            @saeft_2003
                            Sorry, mein Fehler:

                            adduser DEIN_USER
                            usermod -aG sudo DEIN_USER
                            usermod -aG iobroker DEIN_USER
                            
                            1 Reply Last reply Reply Quote 0
                            • S
                              saeft_2003 Most Active @Thomas Braun last edited by

                              @Thomas-Braun sagte in [How-to] Node.js für ioBroker richtig updaten:

                              @saeft_2003

                              Als user, nicht als root:

                              iobroker update
                              iobroker upgrade
                              

                              hab ich jetzt gemacht jetzt installiert er ein paar updates, was hat das mit meinem Problem zu tun?

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

                                @saeft_2003 Weiß ich noch nicht. Startet der Kram nun?

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

                                  @Thomas-Braun

                                  nein problem ist immer noch da

                                  Glasfaser 1 Reply Last reply Reply Quote 0
                                  • Glasfaser
                                    Glasfaser @saeft_2003 last edited by

                                    @saeft_2003

                                    Hast du mein Post oben nicht gesehen !?

                                    S 1 Reply Last reply Reply Quote 0
                                    • S
                                      saeft_2003 Most Active @Glasfaser last edited by

                                      @Glasfaser sagte in [How-to] Node.js für ioBroker richtig updaten:

                                      @saeft_2003

                                      Hast du mein Post oben nicht gesehen !?

                                      doch ich komm grad nur mit dem schreiben nicht nach, ich habe jetzt schon zwei reboots gemacht und der fehler bleibt

                                      Glasfaser 1 Reply Last reply Reply Quote 0
                                      • Glasfaser
                                        Glasfaser @saeft_2003 last edited by

                                        @saeft_2003

                                        und nach dem Reboot ein Rebuild !?

                                        S 1 Reply Last reply Reply Quote 0
                                        • S
                                          saeft_2003 Most Active @Glasfaser last edited by

                                          @Glasfaser sagte in [How-to] Node.js für ioBroker richtig updaten:

                                          @saeft_2003

                                          und nach dem Reboot ein Rebuild !?

                                          ja dann kommt auch wieder am schluss der oben genannte fehler. jetzt wollte ich den js-controller updaten. ein update wird mir auch angezeigt unter host. aber dann kommt das

                                          pi@raspberrypi:~ $ iobroker upgrade self
                                          Host    "raspberrypi"    is up to date.
                                          
                                          
                                          Glasfaser 1 Reply Last reply Reply Quote 0
                                          • Glasfaser
                                            Glasfaser @saeft_2003 last edited by

                                            @saeft_2003

                                            Installiere den Zigbee über die Katze neu und dann ein upload

                                            S 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

                                            571
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            installation linux node node.js nodejs windows
                                            106
                                            1105
                                            678577
                                            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