Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Node.js für ioBroker update klappt nicht

    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

    Node.js für ioBroker update klappt nicht

    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      Willi-Wunder @Thomas Braun last edited by

      @thomas-braun
      Mega, vielen Dank, läuft jetzt 🙂 👍

      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @Willi-Wunder last edited by

        @willi-wunder

        Okay, was sagt:

        sudo ln -s /usr/bin/node /usr/bin/nodejs
        uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
        

        nun?

        W 1 Reply Last reply Reply Quote 0
        • W
          Willi-Wunder @Thomas Braun last edited by Willi-Wunder

          @thomas-braun

          pi@raspberrypi:~ $ sudo ln -s /usr/bin/node /usr/bin/nodejs
          ln: die symbolische Verknüpfung '/usr/bin/nodejs' konnte nicht angelegt werden: Die Datei existiert bereits
          pi@raspberrypi:~ $ uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
          armv7l
          /usr/bin/nodejs
          /usr/bin/node
          /usr/bin/npm
          v16.18.0
          v16.18.0
          8.19.2
          4.0.23
          pi
          pi adm dialout cdrom sudo audio video plugdev games users input netdev lpadmin gpio i2c spi iobroker
          x11
          /home/pi
          OK:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
          OK:2 http://archive.raspberrypi.org/debian buster InRelease                    
          OK:3 https://deb.nodesource.com/node_16.x buster InRelease                     
          Paketlisten werden gelesen... Fertig                               
          Abhängigkeitsbaum wird aufgebaut.       
          Statusinformationen werden eingelesen.... Fertig
          Alle Pakete sind aktuell.
          nodejs:
            Installiert:           16.18.0-deb-1nodesource1
            Installationskandidat: 16.18.0-deb-1nodesource1
            Versionstabelle:
           *** 16.18.0-deb-1nodesource1 500
                  500 https://deb.nodesource.com/node_16.x buster/main armhf Packages
                  100 /var/lib/dpkg/status
               10.24.0~dfsg-1~deb10u2 500
                  500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
          pi@raspberrypi:~ $ 
          
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Willi-Wunder last edited by

            @willi-wunder

            Ja, passt soweit.
            Aber betreib das Ding OHNE Desktop.

            W 1 Reply Last reply Reply Quote 0
            • W
              Willi-Wunder @Thomas Braun last edited by

              @thomas-braun
              Was meinst du genau damit? Hab den Rasp und greife mit VNC drauf zu, alles Lokal. Oder verstehe ich was falsch?

              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @Willi-Wunder last edited by Thomas Braun

                @willi-wunder
                Ja, macht man nicht.
                Man greift über SSH auf die Kommandozeile zu.

                W 1 Reply Last reply Reply Quote 0
                • W
                  Willi-Wunder @Thomas Braun last edited by

                  @thomas-braun
                  Bin nur Anwender und arbeite mich in solche Dinge erst noch rein. Darf ich fragen was dagegen spricht? Ich finde es praktisch, jetzt werden die Profis die Hände vermutlich über den Kopf zusammen schlagen 🕶

                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Willi-Wunder last edited by Thomas Braun

                    @willi-wunder sagte in Node.js für ioBroker update klappt nicht:

                    Darf ich fragen was dagegen spricht?

                    Zu Ressourcenhungig, zu umständlich, zu unsicher, zu aufwändig zu administrieren, usw...

                    Wozu brauchst du da einen vollen Desktop mit VNC-Server?
                    Den ioBroker bedienst du entweder über das Webinterface oder über eine SSH-Verbindung im Terminal. Wozu also den ganzen unnötigen Zinnober?

                    W 1 Reply Last reply Reply Quote 0
                    • W
                      Willi-Wunder @Thomas Braun last edited by

                      @thomas-braun
                      Vielen Dank für den Hinweis. Hab mir darüber keine großen Gedanken gemacht, bei mir läuft nicht so viel, hab es nur für meine Heizung und die Rollos. Da es auch nur im internen Netzwerk läuft, sollte die Sicherheit denke ich gegeben sein. Putty hab ich eigentlich auch auf dem PC, könnte man VNC auch abschalten, reicht das?

                      Nochmals vielen Dank für die schnelle Hilfe, TOP

                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Willi-Wunder last edited by Thomas Braun

                        @willi-wunder sagte in Node.js für ioBroker update klappt nicht:

                        Putty hab ich eigentlich auch auf dem PC, könnte man VNC auch abschalten, reicht das?

                        Nicht (nur) den VNC abschalten, den kompletten Grafic-Server...

                        sudo raspi-config
                        

                        Dann dort:

                        1 System Options       
                        S5 Boot / Auto Login 
                        B1 Console
                        

                        Künftig nur noch per Terminal/SSH einloggen.
                        PowerShell oder zur Not mit puTTY

                        W 1 Reply Last reply Reply Quote 0
                        • W
                          Willi-Wunder @Thomas Braun last edited by

                          Hab das gleiche Problem auf einen anderen Rasp, Node + NPM laut iobroker 16.17.0 + 8.15.0 obwohl ich das Update gemacht habe. Das Verzeichnis ist diesmal aber richtig in /usr/bin.
                          Was läuft hier jetzt falsch?

                          @Thomas-Braun
                          Nicht schimpfen, auch hier läuft VNC noch, werde ich ändern, lach

                          pi@Poolsteuerung:~ $ which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs
                          /usr/bin/nodejs
                          /usr/bin/node
                          /usr/bin/npm
                          v16.18.1
                          v16.18.1
                          8.19.2
                          nodejs:
                            Installiert:           16.18.1-deb-1nodesource1
                            Installationskandidat: 16.18.1-deb-1nodesource1
                            Versionstabelle:
                           *** 16.18.1-deb-1nodesource1 500
                                  500 https://deb.nodesource.com/node_16.x buster/main armhf Packages
                                  100 /var/lib/dpkg/status
                               10.24.0~dfsg-1~deb10u2 500
                                  500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                          
                          
                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @Willi-Wunder last edited by

                            @willi-wunder sagte in Node.js für ioBroker update klappt nicht:

                            Was läuft hier jetzt falsch?

                            Bis auf den laufenden Desktop?
                            Nichts zu sehen.

                            W 1 Reply Last reply Reply Quote 0
                            • W
                              Willi-Wunder @Thomas Braun last edited by

                              @thomas-braun
                              Im ioborker steht aber das hier.....
                              Screenshot 2022-11-05 011914.png

                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @Willi-Wunder last edited by

                                @willi-wunder

                                Hatte ich schon mal erwähnt, das GUIs notorische Lügner sind?
                                Lad die Seite mal neu (F5), oder lösche den Browser Cache.

                                W 1 Reply Last reply Reply Quote 0
                                • W
                                  Willi-Wunder @Thomas Braun last edited by

                                  @thomas-braun
                                  Herrje, das Leben kann so einfach sein, lach. Du bist mein Held, vielen Dank. 👍 👍

                                  1 Reply Last reply Reply Quote 0
                                  • H
                                    hotspot_2 last edited by

                                    Hallo zusammen,

                                    ich bin im Info Adapter darauf gestoßen das nodejs nicht ganz aktuell ist und habe dann versucht von 16.17.0 auf 16.19.0 upzudaten. Debian macht das auch ganz richtig (meiner Meinung) nach zeigt die 16.19.0 als installiert an, aber node -v gibt immer 16.17.0 aus und iobroker Info auch.

                                    Was mache ich da denn falsch?

                                    Danke schon mal für eine Rückinfo dazu.

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

                                      @hotspot_2 was sagt iob diag?

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

                                        @homoran

                                        Nodejs-Installation:    /usr/bin/nodejs         v16.19.0
                                                                /usr/local/bin/node             v16.17.0
                                                                /usr/local/bin/npm              8.15.0
                                        
                                        
                                        Homoran 1 Reply Last reply Reply Quote 0
                                        • Homoran
                                          Homoran Global Moderator Administrators @hotspot_2 last edited by

                                          @hotspot_2 das ist nicht die ganze Ausgabe von iob diag!

                                          kannst aber dort schonmal deine Hausaufgaben machen.
                                          https://forum.iobroker.net/post/460759

                                          H 2 Replies Last reply Reply Quote 0
                                          • H
                                            hotspot_2 @Homoran last edited by

                                            @homoran

                                            Ok, Sorry.

                                            ======================= SUMMARY =======================
                                                                 v.2023-01-01
                                            
                                            
                                            Operatingsystem:        Debian GNU/Linux 11 (bullseye)
                                            Installation:           Native
                                            Timezone:               Europe/Berlin
                                            User-ID:                0
                                            X-Server:               false
                                            Boot Target:            graphical.target
                                            
                                            Pending OS-Updates:     0
                                            
                                            Nodejs-Installation:    /usr/bin/nodejs         v16.19.0
                                                                    /usr/local/bin/node             v16.17.0
                                                                    /usr/local/bin/npm              8.15.0
                                            
                                            ioBroker Core:          js-controller           4.0.24
                                                                    admin                   6.3.5
                                            
                                            ioBroker Status:        iobroker is running on this host.
                                            
                                            
                                            Objects type: jsonl
                                            States  type: jsonl
                                            
                                            Status admin:
                                            + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                                            
                                            Pending iob updates:    0
                                            
                                            Active repo(s): stable
                                            
                                            Objects:                7155
                                            States:                 5977
                                            
                                            Size of iob-Database:
                                            
                                            21M     /opt/iobroker/iobroker-data/objects.jsonl
                                            7.6M    /opt/iobroker/iobroker-data/states.jsonl
                                            
                                            
                                            =================== END OF SUMMARY ====================
                                            
                                            
                                            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

                                            884
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            13
                                            92
                                            19205
                                            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