Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Diskussion zum HowTo nodejs-Installation und upgrade

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Diskussion zum HowTo nodejs-Installation und upgrade

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

      @bostil sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

      über Katze (ja .. ich weiß...)

      Lass die Katze in Ruhe!

      Installier mal einen 'ordentlichen Adapter' aus dem Stable-Zweig, aber halt mit --debug Option.

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

        Ok, dann jetzt mal probehalber "CoronaVirus-Statistics" ... man, was habe ich das Thema schon vermisst 😉 Aber leider noch selbiger Fehler:

        $ iobroker add coronavirus-statistics auto --host raspberrypi --debug
        
        NPM version: 8.11.0
        
        Installing iobroker.coronavirus-statistics@0.8.7... (System call)
        
        npm ERR! code ENOTEMPTY
        
        host.raspberrypi Cannot install iobroker.coronavirus-statistics@0.8.7: 217
        
        ERROR: Process exited with code 25
        
        Thomas Braun Glasfaser 3 Replies Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Bostil last edited by

          @bostil sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

          npm ERR! code ENOTEMPTY

          Für gewöhnlich kommt da auch ein Hinweis, welches Verzeichnis da NOTEMPTY ist.

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

            @bostil sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

            npm ERR! code ENOTEMPTY

            Eigentlich so :

            npm ERR! ENOTEMPTY: directory not empty, rename
            

            sieht komisch aus !?

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

              @bostil

              cd /opt/iobroker
              npm ls | grep -E 'github.com|ERR'
              
              Bostil 1 Reply Last reply Reply Quote 0
              • Bostil
                Bostil last edited by

                Wenn ihr Spezies schon rumrätselt ...

                Könnte eine Iobroker-Neuinstallation eine Lösung darstellen? Für gewöhnlich werden ja Nutzerdaten, Einstellungen beibehalten, deswegen würde ich dem entspannt gegenüber stehen.

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

                  @glasfaser Viel passiert da leider nicht:

                  bostil@raspberrypi:~ $ cd /opt/iobroker
                  bostil@raspberrypi:/opt/iobroker $ npm ls | grep -E 'github.com|ERR'
                  [sudo] Passwort für bostil:
                  bostil@raspberrypi:/opt/iobroker $
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Glasfaser
                    Glasfaser @Bostil last edited by

                    @bostil sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

                    Könnte eine Iobroker-Neuinstallation eine Lösung darstellen?

                    Das ( Problem ) kam mit Nodejs 16

                    teste mal .. gehe auf 14 zurück

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

                      @bostil

                      cd /opt/iobroker/node_modules
                      ls -a | grep '^\.'
                      
                      1 Reply Last reply Reply Quote 0
                      • Glasfaser
                        Glasfaser @Bostil last edited by Glasfaser

                        @bostil sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

                        iobroker update -i bringt dies:

                        Du spielst auch mit der Repro ... du hast teilweise Beta Adapter

                        Alter Betastand !!

                        Used repository: Stable (default)
                        Adapter "admin" : 5.3.8 , installed 6.2.3

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

                          Eigentlich wurde erfolgreich auf NodeJS 14 aktualisiert, war sogar auch im Admin. Nach einer Pause und Zurückgelanden an den Rechner, stelle ich fest, dass Iobroker abgeschmiert ist. Wenn ich "iob start admin" anwähle, dann erreicht mich nur folgende Meldung:

                          bostil@raspberrypi:~ $ iob start admin
                          internal/modules/cjs/loader.js:905
                            throw err;
                            ^
                          
                          Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                              at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
                              at Function.Module._load (internal/modules/cjs/loader.js:746:27)
                              at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:75:12)
                              at internal/main/run_main_module.js:17:47 {
                            code: 'MODULE_NOT_FOUND',
                            requireStack: []
                          }
                          
                          

                          Ach was solls ... werde Iobroker nochmal neu draufbügeln. Wünsche euch einen schönen Abend und Danke für eure Hilfe!! 🙂

                          1 Reply Last reply Reply Quote 0
                          • J
                            JavaMafia last edited by

                            Guten Abend,

                            bin seid gestern Abend dran ein Update, von 12 auf 16 oder höher, für denn NodeJS Adapter zu machen. Leider ohne Erfolg.
                            Habe erst die Meldung bekommen (NO-PUBKEY),die ich immer noch bekomme. Mehrere Möglichkeiten aus dem Netz und hier versucht kein Erfolg.

                            Jetzt bekomme ich noch weitere Meldungen

                            • Sperrdatei ...... konnte nicht geöffnet werden
                            • Das Verzeichnis ...... kann nicht gesperrt werden
                            • Problem beim Entfernen (unlink) der Datei ...... - RemoverCaches (13: keine Berechtigung)

                            kann mir dazu jemand weiter helfen.

                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Homoran
                              Homoran Global Moderator Administrators last edited by

                              hier ist der aktuelle thread

                              https://forum.iobroker.net/post/621254

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

                                @homoran sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

                                hier ist der aktuelle thread

                                https://forum.iobroker.net/post/621254

                                Hast du etwas bei dir umgestellt , bei dir kommt /post/...

                                Wäre sonst so der Link !?

                                https://forum.iobroker.net/topic/44566/how-to-node-js-iobroker-richtig-updaten-2021-22-edition

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

                                  @glasfaser hab den Link aus dem Timestamp des ersten Posts, so wie jetzt hier

                                  Screenshot_20220725-204502_Firefox.jpg

                                  Glasfaser 1 Reply Last reply Reply Quote 1
                                  • Glasfaser
                                    Glasfaser @Homoran last edited by

                                    @homoran

                                    Danke für den EDIT ... habe es dann verstanden ... mit dem Screenshot 😉

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

                                      Hi,

                                      konnte keine wirkliche Lösung zu den "peer dep missing" Meldungen finden, deshalb mal die Frage wie ich die bei mir wegbekomme.

                                      Start sah so aus:

                                      mirko@iobroker:/opt/iobroker$ npm ls | grep -E 'github|ERR'
                                      +-- iobroker.bidirectional-counter@1.5.5 (github:BenAhrdt/ioBroker.bidirectional-counter#844c4d2bb6a9704728fe5e0aaa30be6c4af46a50)
                                      |   +-- github-url-from-git@1.5.0
                                      |   +-- new-github-release-url@1.0.0
                                      npm ERR! peer dep missing: buffer@>=6.0.3, required by crc@4.1.0
                                      
                                      

                                      Dann den bidirectional deinstalliert:

                                      mirko@iobroker:/opt/iobroker$ npm ls | grep -E 'github|ERR'
                                      npm ERR! peer dep missing: buffer@>=6.0.3, required by crc@4.1.0
                                      |   +-- github-url-from-git@1.5.0
                                      |   +-- new-github-release-url@1.0.0
                                      
                                      

                                      Dann zum testen die aktuelle Version von bidirectional counter erneut installiert:

                                      mirko@iobroker:/opt/iobroker$ npm ls | grep -E 'github|ERR'
                                      |   +-- github-url-from-git@1.5.0
                                      |   +-- new-github-release-url@1.0.0
                                      npm ERR! peer dep missing: buffer@>=6.0.3, required by crc@4.1.0
                                      
                                      

                                      Wie bekommen ich die Einträge denn jetzt weg?

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

                                        @wendy2702

                                        Die werden von npm8 erledigt, soweit ich das weiß.

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

                                          @thomas-braun Also in dem Fall jetzt für das Upgrade von 6 --> 8 ignorieren ?

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

                                            @wendy2702

                                            Ja, probier einfach mal.

                                            wendy2702 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

                                            906
                                            Online

                                            31.6k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            nodejs
                                            91
                                            844
                                            172820
                                            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