Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Kein Update mehr möglich mit Node.js 16

    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

    Kein Update mehr möglich mit Node.js 16

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators @lobomau last edited by Homoran

      @lobomau sagte in Kein Update mehr möglich mit Node.js 16:

      Von oben nach unten kam zuerst node Installation und iobroker Installation.

      und oben drüber war ein roter Kasten mit Ausrufezeichen

      mit dem aktuellen Installer von ioBroker (siehe unten) wird auf einem System ohne node.js automatisch die aktuell empfohlene Version von node.js mit installiert! Eine vorherige separate Installation von node.js ist somit nicht mehr nötig.

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

        @lobomau ich dachte nen proxmox LCX
        https://www.iobroker.net/#de/documentation/install/proxmox.md

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

          @crunchip @Homoran ja, echt alles gut beschrieben! Eigentlich kenne ich die Beschreibungen ja auch und hab schon sehr viele Male ioBroker installiert. Letzten Endes mal wieder zuviel Ungeduld bei mir und es soll "mal eben schnell" gehen. Mach ich danach nochmal schön 👍

          lobomau 1 Reply Last reply Reply Quote 0
          • lobomau
            lobomau @lobomau last edited by

            @lobomau die automatische node Installation funktioniert irgendwie nicht (mehr). Ich würde behaupten ich habe mich 1:1 an die Anleitung gehalten. Dann eben manuell wie gehabt.

            ioBroker login: lobomau
            Password: 
            Linux ioBroker 5.15.35-1-pve #1 SMP PVE 5.15.35-2 (Thu, 05 May 2022 13:54:35 +0200) x86_64
            
            The programs included with the Debian GNU/Linux system are free software;
            the exact distribution terms for each program are described in the
            individual files in /usr/share/doc/*/copyright.
            
            Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
            permitted by applicable law.
            lobomau@ioBroker:~$ curl -sLf https://iobroker.net/install.sh | bash -
            library: loaded
            Library version=2022-06-15
            
            ==========================================================================
            
                Welcome to the ioBroker installer!
                Installer version: 2022-06-03
                
                You might need to enter your password a couple of times.
            
            ==========================================================================
            
            
            ==========================================================================
                Installing prerequisites (1/4)
            ==========================================================================
            
            
            We trust you have received the usual lecture from the local System
            Administrator. It usually boils down to these three things:
            
                #1) Respect the privacy of others.
                #2) Think before you type.
                #3) With great power comes great responsibility.
            
            [sudo] password for lobomau: 
            lobomau is not in the sudoers file.  This incident will be reported.
            
            ==========================================================================
            
                Node.js not found. Installing...
            
            ==========================================================================
            
            [sudo] password for lobomau: 
            lobomau is not in the sudoers file.  This incident will be reported.
            [sudo] password for lobomau: 
            Installed nodejs
            Cannot install Node.js! Please install it manually.
            lobomau@ioBroker:~$               
            

            Die Updates als normaler user scheine auch gar nicht mehr zu funktionieren? Muss ich dem user lobomau mehr Rechte geben?

            lobomau@ioBroker:~$ sudo apt update
            [sudo] password for lobomau: 
            lobomau is not in the sudoers file.  This incident will be reported.
            lobomau@ioBroker:~$ sudo apt upgrade
            [sudo] password for lobomau: 
            lobomau is not in the sudoers file.  This incident will be reported.
            lobomau@ioBroker:~$ 
            
            Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @lobomau last edited by Thomas Braun

              @lobomau

              lobomau is not in the sudoers file.

              Dein User ist falsch angelegt. Der muss in die Gruppe 'sudo' rein. (Oder wie genau das unter Proxmox gehandhabt wird. Musst du nachlesen.)

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

                @thomas-braun ja, Fehler wieder bei mir. Ist richtig beschrieben:
                931884b1-f5f1-49bc-ba4d-f14c87e9f002-image.png

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

                  @lobomau sagte in Kein Update mehr möglich mit Node.js 16:

                  die automatische node Installation funktioniert irgendwie nicht (mehr). Ich würde behaupten ich habe mich 1:1 an die Anleitung gehalten. Dann eben manuell wie gehabt.

                  warum so überhastet?

                  wo ist der output aus dem du dieses schließt.
                  Warum nicht erst gepostet, bevor der nächste (möglicherweise falsche) Schritt gemacht wird?

                  ggf. ist ja schon etwas im Grundsystem schief. Dann brauchst du gar nicht erst weitermachen

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

                    @homoran alles gut! Die Anleitung ist 99% perfekt! Das fehlende 1% kommt nur durch ungeduldige User wie mich zustande 😉
                    In der Proxmox Anleitung ist ja noch angegeben:

                    adduser benutzername
                    

                    Da drunter ist dann zum Aufklappen ein Screenshot mit der wichtigen Info. Cool wäre wenn der eine Befehl auch noch im Freitext zum Reinkopieren mit dabei wäre:

                    usermod -aG sudo benutzername
                    

                    Bckup zurückspielen und weitere Tests mit node 16 kann ich später machen.

                    Homoran crunchip 3 Replies Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators @lobomau last edited by

                      @lobomau hast du denn jetzt die Basis sauber?

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

                        @lobomau sagte in Kein Update mehr möglich mit Node.js 16:

                        Cool wäre wenn der eine Befehl auch noch im Freitext zum Reinkopieren mit dabei wäre:

                        ???
                        der steht doch darüber!

                        Das "versteckte" ist doch "nur" zur Visualisierung

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

                          @homoran ja, sieht sauber aus.

                          Was ich meinte ist den Text hier zusätzlich hinzuschreiben. Praktisch alles als copy & paste zur Verfügung zu stellen:

                          673cb049-817a-49a2-9b5f-8ba89d4b2fb5-image.png

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

                            @lobomau sagte in Kein Update mehr möglich mit Node.js 16:

                            Was ich meinte ist den Text hier zusätzlich hinzuschreiben

                            ach den

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

                              @lobomau sagte in Kein Update mehr möglich mit Node.js 16:

                              Cool wäre wenn der eine Befehl auch noch im Freitext zum Reinkopieren mit dabei wäre:

                              ich kümmere mich darum, da war sowieso noch ein Punkt zum abändern
                              2cb3fadc-fda9-42ec-af7b-9e7fec2206da-image.png
                              da muss rein, Nachdem man den Container gestartet hat...

                              EDIT
                              erledigt

                              1 Reply Last reply Reply Quote 2
                              • mickym
                                mickym Most Active @lobomau last edited by

                                @lobomau man kann auch sudo für den User so konfigurieren, dass man nicht dauernd ein Passwort eingeben muss.

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

                                  @mickym @lobomau

                                  Nennt sich 'grace period'. Die meisten Distributionen haben da 15 Minuten voreingestellt.

                                  mickym lobomau 2 Replies Last reply Reply Quote 0
                                  • mickym
                                    mickym Most Active @Thomas Braun last edited by mickym

                                    @thomas-braun Nein, ich meinte permanent:

                                    pi@MWHome:/etc/sudoers.d $ sudo cat 010_pi-nopasswd
                                    pi ALL=(ALL) NOPASSWD: ALL
                                    

                                    Also wie beim pi so eine Datei erstellt und dann diese Zeile in die Datei eingetragen. Man kann das sicher irgendwo auch einschränken, aber damit muss man zumindest generell kein Passwort mehr mit sudo eingeben.

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

                                      @thomas-braun ja, das war jetzt ok während der Installation. Gut möglich, dass da 15min sind.

                                      Backup über backup-Adapter läuft gerade. Also scheint es grundsätzlich schon zu funktionieren das Installieren von Adaptern.
                                      Vorher musste ich noch den redis-server installieren. Die slaves werden noch nicht erkannt. Vielleicht nach einem Neustart des Containers nachdem das Backup fertig ist.

                                      Edit.: achso... das wird mit den slaves nicht sofort so funktionieren, da der Master jetzt anders heisst. Vielleicht passe ich einfach mal den Namen des Masters an oder ich mache die Anmeldung der slaves über die Konsole.
                                      076c3fd6-2036-40b6-99d4-1fc62549c7b9-image.png

                                      lobomau crunchip 2 Replies Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @mickym last edited by

                                        @mickym sagte in Kein Update mehr möglich mit Node.js 16:

                                        generell kein Passwort mehr mit sudo eingeben.

                                        Was natürlich vollkommener Sinn der Sache ist...

                                        1 Reply Last reply Reply Quote 1
                                        • lobomau
                                          lobomau @lobomau last edited by

                                          @lobomau Updates gehen sonst auch, die vorher nicht gingen. Ich hatte noch ein Update für statistics Adapter von 1.x auf 2.x, das nun geklappt hat.

                                          Probleme macht z.B. der VIS Adapter.

                                          Während des Backups:

                                          host.ioBroker
                                          2022-06-21 13:28:00.007	error	iobroker host.ioBroker Cannot install iobroker.vis@1.4.15: 6
                                          
                                          vis.0
                                          2022-06-21 13:27:59.124	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                                          
                                          vis.0
                                          2022-06-21 13:27:59.122	info	terminating
                                          
                                          vis.0
                                          2022-06-21 13:27:58.617	error	Not exists
                                          
                                          vis.0
                                          2022-06-21 13:27:58.616	error	Error: Not exists at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js:2973:17) at ObjectsInRedisClient._readFile (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:1043:26) at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:1092:29) at processImmediate (node:internal/timers:468:21)
                                          
                                          vis.0
                                          2022-06-21 13:27:58.613	error	unhandled promise rejection: Not exists
                                          
                                          vis.0
                                          2022-06-21 13:27:58.612	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                                          
                                          vis.0
                                          2022-06-21 13:27:57.951	info	vis license is OK.
                                          
                                          vis.0
                                          2022-06-21 13:27:57.786	info	starting. Version 1.4.15 in /opt/iobroker/node_modules/iobroker.vis, node: v16.15.1, js-controller: 4.0.23
                                          host.ioBroker
                                          2022-06-21 13:27:46.372	info	iobroker Installing iobroker.vis@1.4.15... (System call)
                                          host.ioBroker
                                          2022-06-21 13:27:46.370	info	iobroker NPM version: 8.11.0
                                          host.ioBroker
                                          2022-06-21 13:27:42.400	info	iobroker add vis auto --host ioBroker
                                          host.ioBroker
                                          2022-06-21 13:26:57.218	info	iobroker exit 25
                                          host.ioBroker
                                          2022-06-21 13:26:56.167	error	iobroker host.ioBroker Cannot install iobroker.vis: 6
                                          
                                          vis.0
                                          2022-06-21 13:26:55.284	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                                          
                                          vis.0
                                          2022-06-21 13:26:55.282	info	terminating
                                          
                                          vis.0
                                          2022-06-21 13:26:54.774	error	Not exists
                                          
                                          vis.0
                                          2022-06-21 13:26:54.773	error	Error: Not exists at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js:2973:17) at ObjectsInRedisClient._readFile (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:1043:26) at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:1092:29) at processImmediate (node:internal/timers:468:21)
                                          
                                          vis.0
                                          2022-06-21 13:26:54.770	error	unhandled promise rejection: Not exists
                                          
                                          vis.0
                                          2022-06-21 13:26:54.769	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                                          
                                          vis.0
                                          2022-06-21 13:26:54.051	info	vis license is OK.
                                          
                                          vis.0
                                          2022-06-21 13:26:53.884	info	starting. Version 1.4.15 in /opt/iobroker/node_modules/iobroker.vis, node: v16.15.1, js-controller: 4.0.23
                                          host.ioBroker
                                          2022-06-21 13:26:41.987	info	iobroker Installing iobroker.vis... (System call)
                                          host.ioBroker
                                          2022-06-21 13:26:41.985	info	iobroker NPM version: 8.11.0
                                          host.ioBroker
                                          2022-06-21 13:26:40.863	info	iobroker install iobroker.vis
                                          host.ioBroker
                                          2022-06-21 13:26:38.538	info	iobroker url iobroker.vis --host ioBroker
                                          host.ioBroker
                                          2022-06-21 13:24:42.858	info	iobroker exit 25
                                          host.ioBroker
                                          2022-06-21 13:24:41.831	error	iobroker host.ioBroker Cannot install iobroker/ioBroker.vis: 6
                                          
                                          vis.0
                                          2022-06-21 13:24:40.964	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                                          
                                          vis.0
                                          2022-06-21 13:24:40.963	info	terminating
                                          
                                          vis.0
                                          2022-06-21 13:24:40.455	error	Not exists
                                          
                                          vis.0
                                          2022-06-21 13:24:40.453	error	Error: Not exists at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js:2973:17) at ObjectsInRedisClient._readFile (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:1043:26) at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:1092:29) at processImmediate (node:internal/timers:468:21)
                                          
                                          vis.0
                                          2022-06-21 13:24:40.450	error	unhandled promise rejection: Not exists
                                          
                                          vis.0
                                          2022-06-21 13:24:40.449	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                                          
                                          vis.0
                                          2022-06-21 13:24:39.728	info	vis license is OK.
                                          
                                          vis.0
                                          2022-06-21 13:24:39.559	info	starting. Version 1.4.15 in /opt/iobroker/node_modules/iobroker.vis, node: v16.15.1, js-controller: 4.0.23
                                          host.ioBroker
                                          2022-06-21 13:23:52.654	info	iobroker Installing iobroker/ioBroker.vis... (System call)
                                          host.ioBroker
                                          2022-06-21 13:23:52.653	info	iobroker NPM version: 8.11.0
                                          host.ioBroker
                                          2022-06-21 13:23:51.523	info	iobroker install iobroker/ioBroker.vis
                                          host.ioBroker
                                          2022-06-21 13:23:49.205	info	iobroker url iobroker/ioBroker.vis --host ioBroker
                                          host.ioBroker
                                          2022-06-21 13:22:03.915	error	Cannot download and install adapter "vis@1.4.15". To retry it disable/enable the adapter or restart host. Also check the error messages in the log!
                                          host.ioBroker
                                          2022-06-21 13:22:02.914	info	iobroker npm-install: exit 25
                                          host.ioBroker
                                          2022-06-21 13:22:01.879	error	iobroker npm-install: host.ioBroker Cannot install iobroker.vis@1.4.15: 6
                                          
                                          vis.0
                                          2022-06-21 13:22:00.998	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                                          
                                          vis.0
                                          2022-06-21 13:22:00.997	info	terminating
                                          host.ioBroker
                                          2022-06-21 13:22:00.707	info	iobroker exit 0
                                          
                                          vis.0
                                          2022-06-21 13:22:00.492	error	Not exists
                                          
                                          vis.0
                                          2022-06-21 13:22:00.491	error	Error: Not exists at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js:2973:17) at ObjectsInRedisClient._readFile (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:1043:26) at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:1092:29) at processImmediate (node:internal/timers:468:21)
                                          
                                          vis.0
                                          2022-06-21 13:22:00.488	error	unhandled promise rejection: Not exists
                                          
                                          vis.0
                                          2022-06-21 13:22:00.486	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                                          
                                          vis.0
                                          2022-06-21 13:21:59.814	info	vis license is OK.
                                          host.ioBroker
                                          2022-06-21 13:21:59.663	info	iobroker upload [0] statistics.admin /opt/iobroker/node_modules/iobroker.statistics/admin/words.js words.js application/javascript
                                          host.ioBroker
                                          2022-06-21 13:21:59.650	info	iobroker upload [1] statistics.admin /opt/iobroker/node_modules/iobroker.statistics/admin/statistics.png statistics.png image/png
                                          
                                          vis.0
                                          2022-06-21 13:21:59.647	info	starting. Version 1.4.15 in /opt/iobroker/node_modules/iobroker.vis, node: v16.15.1, js-controller: 4.0.23
                                          

                                          Danach über ioBroker versucht zu installieren über npm:

                                          $ iobroker url iobroker/ioBroker.vis --host ioBroker
                                          
                                          install iobroker/ioBroker.vis
                                          
                                          NPM version: 8.11.0
                                          
                                          Installing iobroker/ioBroker.vis... (System call)
                                          
                                          host.ioBroker Cannot install iobroker/ioBroker.vis: 6
                                          
                                          ERROR: Process exited with code 25
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • crunchip
                                            crunchip Forum Testing Most Active @lobomau last edited by

                                            @lobomau sagte in Kein Update mehr möglich mit Node.js 16:

                                            Backup über backup-Adapter läuft gerade

                                            @lobomau sagte in Kein Update mehr möglich mit Node.js 16:

                                            Probleme macht z.B. der VIS Adapter

                                            hast du vor dem Backup zurück spielen vis installiert?

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            425
                                            Online

                                            31.8k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            node js
                                            16
                                            335
                                            35114
                                            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