Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Error 25 bei Adapterupdates nach Node.JS 16.15.1 Update

    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

    Error 25 bei Adapterupdates nach Node.JS 16.15.1 Update

    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      paul.honka @Glasfaser last edited by

      @glasfaser

       iobroker update -u
      Used repository: Stable (default)
      Adapter    "email"        : 1.1.3    , installed 1.0.10 [Updatable]
      Adapter    "flot"         : 1.11.0   , installed 1.10.7 [Updatable]
      Adapter    "simple-api"   : 2.7.0    , installed 2.6.5  [Updatable]
      pi@IOBroker-Sted1:/opt/iobroker $
      pi@IOBroker-Sted1:/opt/iobroker $
      pi@IOBroker-Sted1:/opt/iobroker $
      pi@IOBroker-Sted1:/opt/iobroker $
      pi@IOBroker-Sted1:/opt/iobroker $ cd /opt/iobroker
      pi@IOBroker-Sted1:/opt/iobroker $ npm ls | grep -E 'ERR|github'
      ├── iobroker.gartenbewaesserung@0.0.8 (git+ssh://git@github.com/TA2k/ioBroker.gartenbewaesserung.git#95bf9dcd60b595c7e59e2ed87b719bf564d9ba59)
      ├── iobroker.mihome-airpurifier@0.1.8 (git+ssh://git@github.com/JoJ123/ioBroker.mihome-airpurifier.git#33aac153e52610c4362089bcf12ac40ed97d82f5)
      npm ERR! code ELSPROBLEMS
      npm ERR! invalid: iobroker.telegram@1.13.0 /opt/iobroker/node_modules/iobroker.telegram
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/iobroker/.npm/_logs/2022-06-28T08_15_02_392Z-debug-0.log
      pi@IOBroker-Sted1:/opt/iobroker $
      pi@IOBroker-Sted1:/opt/iobroker $
      pi@IOBroker-Sted1:/opt/iobroker $
      pi@IOBroker-Sted1:/opt/iobroker $
      pi@IOBroker-Sted1:/opt/iobroker $ iobroker update -u
      Used repository: Stable (default)
      Adapter    "email"        : 1.1.3    , installed 1.0.10 [Updatable]
      Adapter    "flot"         : 1.11.0   , installed 1.10.7 [Updatable]
      Adapter    "simple-api"   : 2.7.0    , installed 2.6.5  [Updatable]
      pi@IOBroker-Sted1:/opt/iobroker $ 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@IOBroker-Sted1:/opt/iobroker $
      pi@IOBroker-Sted1:/opt/iobroker $ uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
      armv7l
      /usr/bin/nodejs
      /usr/bin/node
      /usr/bin/npm
      v16.15.1
      v16.15.1
      8.11.0
      pi
      /opt/iobroker
      OK:1 http://archive.raspberrypi.org/debian buster InRelease
      OK:2 http://raspbian.raspberrypi.org/raspbian 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.15.1-deb-1nodesource1
        Installationskandidat: 16.15.1-deb-1nodesource1
        Versionstabelle:
       *** 16.15.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~deb10u1 500
              500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
      
      

      Gruss paul

      Glasfaser 1 Reply Last reply Reply Quote 0
      • Glasfaser
        Glasfaser @paul.honka last edited by

        @paul-honka sagte in Error 25 bei Adapterupdates nach Node.JS 16.15.1 Update:

        @thomas-braun mal ohne code tak

        Bitte in Code-Tags setzten und auch nicht die Aus/Eingabe kürzen !

        1 Reply Last reply Reply Quote 0
        • Glasfaser
          Glasfaser @paul.honka last edited by

          @paul-honka sagte in Error 25 bei Adapterupdates nach Node.JS 16.15.1 Update:

          iobroker update -u

          Used repository: Stable (default)

          Adapter "email" : 1.1.3 , installed 1.0.10 [Updatable]

          Adapter "flot" : 1.11.0 , installed 1.10.7 [Updatable]

          Adapter "simple-api" : 2.7.0 , installed 2.6.5 [Updatable]

          und wo ist der Rest .... kein Admin usw.

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

            @glasfaser sagte in Error 25 bei Adapterupdates nach Node.JS 16.15.1 Update:

            und wo ist der Rest .... kein Admin usw.

            -u = Der Rest ist aktuell... 🙂

            Glasfaser 1 Reply Last reply Reply Quote 1
            • P
              paul.honka @Glasfaser last edited by

              @glasfaser
              Das frage ich auch?
              Gruss paul

              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @paul.honka last edited by

                @paul-honka

                Soweit i. O.
                Dann folge den Vorschlägen des Systems:

                rename '/opt/iobroker/node_modules/node-telegram-bot-api' -> '/opt/iobroker/node_modules/.node-telegram-bot-api-1etpN2K2'
                
                P 1 Reply Last reply Reply Quote 0
                • Glasfaser
                  Glasfaser @Thomas Braun last edited by

                  @thomas-braun sagte in Error 25 bei Adapterupdates nach Node.JS 16.15.1 Update:

                  @glasfaser sagte in Error 25 bei Adapterupdates nach Node.JS 16.15.1 Update:

                  und wo ist der Rest .... kein Admin usw.

                  -u = Der Rest ist aktuell... 🙂

                  Mähh , habe -i mit -u vertauscht .... immer diese Autokorrektur 🙂

                  P 1 Reply Last reply Reply Quote 0
                  • P
                    paul.honka @Glasfaser last edited by paul.honka

                    @glasfaser

                    /opt/iobroker $ iobroker update -i
                    Used repository: Stable (default)
                    Adapter    "admin"        : 5.3.8    , installed 5.3.8
                    Adapter    "backitup"     : 2.4.9    , installed 2.4.9
                    Adapter    "ble"          : 0.12.0   , installed 0.12.0
                    Adapter    "cloud"        : 4.1.1    , installed 4.1.1
                    Adapter    "discovery"    : 3.0.3    , installed 3.0.3
                    Adapter    "echarts"      : 1.0.7    , installed 1.0.7
                    Adapter    "email"        : 1.1.3    , installed 1.0.10 [Updatable]
                    Adapter    "fb-checkpresence": 1.1.14, installed 1.1.14
                    Adapter    "flot"         : 1.11.0   , installed 1.10.7 [Updatable]
                    Adapter    "history"      : 1.11.1   , installed 1.11.1
                    Adapter    "hm-rega"      : 3.0.40   , installed 3.0.40
                    Adapter    "hm-rpc"       : 1.15.12  , installed 1.15.12
                    Adapter    "icons-addictive-flavour-png": 0.1.0, installed 0.1.0
                    Adapter    "icons-material-png": 0.1.0, installed 0.1.0
                    Adapter    "icons-material-svg": 0.1.0, installed 0.1.0
                    Adapter    "icons-mfd-png": 1.1.0    , installed 1.1.0
                    Adapter    "icons-mfd-svg": 1.1.0    , installed 1.1.0
                    Adapter    "info"         : 1.9.19   , installed 1.9.19
                    Adapter    "iot"          : 1.11.4   , installed 1.11.4
                    Adapter    "javascript"   : 5.7.0    , installed 5.7.0
                    Controller "js-controller": 4.0.23   , installed 4.0.23
                    Adapter    "luftdaten"    : 2.2.4    , installed 2.2.4
                    Adapter    "mihome"       : 1.4.0    , installed 1.4.0
                    Adapter    "mobile"       : 1.0.1    , installed 1.0.1
                    Adapter    "ping"         : 1.5.3    , installed 1.5.3
                    Adapter    "pollenflug"   : 1.0.6    , installed 1.0.6
                    Adapter    "pushover"     : 2.1.0    , installed 2.1.0
                    Adapter    "rpi2"         : 1.3.2    , installed 1.3.2
                    Adapter    "simple-api"   : 2.7.0    , installed 2.6.5  [Updatable]
                    Adapter    "socketio"     : 4.2.0    , installed 4.2.0
                    Adapter    "sonoff"       : 2.5.1    , installed 2.5.1
                    Adapter    "sql"          : 1.16.2   , installed 1.16.2
                    Adapter    "telegram"     : 1.13.0   , installed 1.13.0
                    Adapter    "text2command" : 2.2.1    , installed 2.2.1
                    Adapter    "vis"          : 1.4.15   , installed 1.4.15
                    Adapter    "vis-bars"     : 0.1.4    , installed 0.1.4
                    Adapter    "vis-canvas-gauges": 0.1.5, installed 0.1.5
                    Adapter    "vis-fancyswitch": 1.1.0  , installed 1.1.0
                    Adapter    "vis-google-fonts": 1.0.3 , installed 1.0.3
                    Adapter    "vis-history"  : 1.0.0    , installed 1.0.0
                    Adapter    "vis-hqwidgets": 1.2.0    , installed 1.2.0
                    Adapter    "vis-jqui-mfd" : 1.0.12   , installed 1.0.12
                    Adapter    "vis-metro"    : 1.2.0    , installed 1.2.0
                    Adapter    "vis-players"  : 0.1.6    , installed 0.1.6
                    Adapter    "vis-timeandweather": 1.1.7, installed 1.1.7
                    Adapter    "web"          : 4.3.0    , installed 4.3.0
                    Adapter    "ws"           : 1.3.0    , installed 1.3.0
                    Adapter    "yr"           : 5.3.0    , installed 5.3.0
                    Adapter    "zigbee"       : 1.7.5    , installed 1.7.5
                    
                    

                    Gruss paul

                    1 Reply Last reply Reply Quote 0
                    • P
                      paul.honka @Thomas Braun last edited by

                      @thomas-braun
                      gemacht

                       mv /opt/iobroker/node_modules/node-telegram-bot-api /opt/iobroker/node_modules/.node-telegram-bot-api-1etpN2K2
                      
                      /opt/iobroker $  iob upgrade email --debug
                      
                      This upgrade of "email" will introduce the following changes:
                      ==========================================================================
                      -> 1.1.3:
                      Make sure the STARTTLS configuration field is displayed
                      
                      -> 1.1.2:
                      Fix mail.ee settings
                      
                      -> 1.1.1:
                      Allow to use connections to port 25 unencrypted
                      
                      -> 1.1.0:
                      Adjust default settings for web.de and 1und1 and add ionos
                      Add "Always use STARTTLS" option for custom SMTP settings
                      ==========================================================================
                      
                      Would you like to upgrade email from @1.0.10 to @1.1.3 now? [(y)es, (n)o]: y
                      Update email from @1.0.10 to @1.1.3
                      NPM version: 8.11.0
                      Installing iobroker.email@1.1.3... (System call)
                      npm WARN old lockfile
                      npm WARN old lockfile The package-lock.json file was created with an old version of npm,
                      npm WARN old lockfile so supplemental metadata must be fetched from the registry.
                      npm WARN old lockfile
                      npm WARN old lockfile This is a one-time fix-up, please be patient...
                      npm WARN old lockfile
                      npm ERR! code ENOTEMPTY
                      npm ERR! syscall rename
                      npm ERR! path /opt/iobroker/node_modules/regexp.prototype.flags
                      npm ERR! dest /opt/iobroker/node_modules/.regexp.prototype.flags-omxNhUlX
                      npm ERR! errno -39
                      npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/regexp.prototype.flags' -> '/opt/iobroker/node_modules/.regexp.prototype.flags-omxNhUlX'
                      
                      npm ERR! A complete log of this run can be found in:
                      npm ERR!     /home/iobroker/.npm/_logs/2022-06-28T08_35_21_368Z-debug-0.log
                      host.IOBroker-Sted1 Cannot install iobroker.email@1.1.3: 217
                      
                      

                      Drehen wir uns im Kreis ?
                      Steht wieder ein rename drin? Immer weiter umbenennen?
                      Gruss paul

                      Thomas Braun Glasfaser 3 Replies Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @paul.honka last edited by

                        @paul-honka sagte in Error 25 bei Adapterupdates nach Node.JS 16.15.1 Update:

                        Immer weiter umbenennen?

                        Ja.

                        1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @paul.honka last edited by

                          @paul-honka sagte in Error 25 bei Adapterupdates nach Node.JS 16.15.1 Update:

                          Cannot install iobroker.email@1.1.3: 217

                          Deutet auf verfummelte Rechte hin. Mal als root oder per sudo unterwegs gewesen?

                          P 4 Replies Last reply Reply Quote 0
                          • Glasfaser
                            Glasfaser @paul.honka last edited by

                            @thomas-braun

                            @paul-honka sagte in Error 25 bei Adapterupdates nach Node.JS 16.15.1 Update:
                            npm WARN old lockfile The package-lock.json file was created with an old version of npm,

                            gesehen .... die mal löschen/verschieben !?

                            1 Reply Last reply Reply Quote 0
                            • P
                              paul.honka @Thomas Braun last edited by

                              @thomas-braun
                              nein, nur das update auf node 16 vor einiger Zeit mit sudo, um die Einträge in der
                              etc/apt/sources.list.d zu ändern.
                              Gruss paul

                              1 Reply Last reply Reply Quote 0
                              • P
                                paul.honka @Thomas Braun last edited by

                                @thomas-braun
                                Noch drei Runden verschieben dreht, dann war der E Mail Adapter uogedatet.

                                iob upgrade email --debug
                                
                                This upgrade of "email" will introduce the following changes:
                                ==========================================================================
                                -> 1.1.3:
                                Make sure the STARTTLS configuration field is displayed
                                
                                -> 1.1.2:
                                Fix mail.ee settings
                                
                                -> 1.1.1:
                                Allow to use connections to port 25 unencrypted
                                
                                -> 1.1.0:
                                Adjust default settings for web.de and 1und1 and add ionos
                                Add "Always use STARTTLS" option for custom SMTP settings
                                ==========================================================================
                                
                                Would you like to upgrade email from @1.0.10 to @1.1.3 now? [(y)es, (n)o]: y
                                Update email from @1.0.10 to @1.1.3
                                NPM version: 8.11.0
                                Installing iobroker.email@1.1.3... (System call)
                                npm WARN old lockfile
                                npm WARN old lockfile The package-lock.json file was created with an old version of npm,
                                npm WARN old lockfile so supplemental metadata must be fetched from the registry.
                                npm WARN old lockfile
                                npm WARN old lockfile This is a one-time fix-up, please be patient...
                                npm WARN old lockfile
                                
                                added 32 packages, removed 45 packages, and changed 8 packages in 1m
                                
                                94 packages are looking for funding
                                  run `npm fund` for details
                                Update "system.adapter.email.0"
                                upload [4] email.admin /opt/iobroker/node_modules/iobroker.email/admin/blockly.js blockly.js application/javascript
                                upload [3] email.admin /opt/iobroker/node_modules/iobroker.email/admin/email.png email.png image/png
                                upload [2] email.admin /opt/iobroker/node_modules/iobroker.email/admin/index.html index.html text/html
                                upload [1] email.admin /opt/iobroker/node_modules/iobroker.email/admin/index_m.html index_m.html text/html
                                upload [0] email.admin /opt/iobroker/node_modules/iobroker.email/admin/words.js words.js application/javascript
                                
                                

                                Dann wollte ich flot updaten, das gleiche Spiel nochmal.

                                iob upgrade flot --debug
                                
                                This upgrade of "flot" will introduce the following changes:
                                ==========================================================================
                                -> 1.11.0:
                                Trust GetHistory results to contain ms resolution timestamps
                                ==========================================================================
                                
                                Would you like to upgrade flot from @1.10.7 to @1.11.0 now? [(y)es, (n)o]: y
                                Update flot from @1.10.7 to @1.11.0
                                NPM version: 8.11.0
                                Installing iobroker.flot@1.11.0... (System call)
                                npm ERR! code ENOTEMPTY
                                npm ERR! syscall rename
                                npm ERR! path /opt/iobroker/node_modules/iobroker.javascript/node_modules/acorn-walk
                                npm ERR! dest /opt/iobroker/node_modules/iobroker.javascript/node_modules/.acorn-walk-xHkEOJL1
                                npm ERR! errno -39
                                npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.javascript/node_modules/acorn-walk' -> '/opt/iobroker/node_modules/iobroker.javascript/node_modules/.acorn-walk-xHkEOJL1'
                                
                                npm ERR! A complete log of this run can be found in:
                                npm ERR!     /home/iobroker/.npm/_logs/2022-06-28T08_57_13_800Z-debug-0.log
                                host.IOBroker-Sted1 Cannot install iobroker.flot@1.11.0: 217
                                
                                

                                Gruss paul

                                1 Reply Last reply Reply Quote 0
                                • P
                                  paul.honka @Thomas Braun last edited by

                                  @thomas-braun
                                  wo finde ich die package-lock.json, im /opt/obroker/log nicht.
                                  Gruss paul

                                  1 Reply Last reply Reply Quote 0
                                  • P
                                    paul.honka @Thomas Braun last edited by

                                    @thomas-braun
                                    Jetzt fängt er an, das ich alle Dateien in /opt/iobroker/node_modules/iobroker.javascript/node_modules/
                                    umbennen soll. Natürlich nur eine pro Update Aufruf. Kommt dann das nächste Verzeichnis drann?
                                    Da wird es wohl Weihnachten. Das kann nicht die Lösung sein?
                                    Gruss paul

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

                                      Ich bin imme rnoch der Meinung das das nicht richtig ist was wir hier tun ... npm will das umbenennen, wohl weil es da Module gibt mit denen er was tun will ... und er kann es nicht umbenennen. So interpretiere ich diese Meldung. Die Frage ist also jetzt ob das Zielverzeichnis denn schon da ist oder warum er das anmeckert? Dann müsste man eher das aus dem Weg räumen.

                                      EDIT: je mehr ich google umso mehr vermute ich das es das Zielverzeichnis ist was man löschen muss - warum auch immer esd da geblieben ist Und dann nochmal versuchen.
                                      Das Rename zu machen macht ggf mehr Issues als alles andere

                                      P 2 Replies Last reply Reply Quote 1
                                      • Thomas Braun
                                        Thomas Braun Most Active last edited by

                                        @paul-honka sagte in Error 25 bei Adapterupdates nach Node.JS 16.15.1 Update:

                                        wo finde ich die package-lock.json, im /opt/obroker/log nicht.

                                        In /opt/iobroker/

                                        1 Reply Last reply Reply Quote 0
                                        • P
                                          paul.honka @apollon77 last edited by

                                          @apollon77
                                          Wenn ich nachher zu Hause bin, dann schaue ich mal nach der Verzeichnisstruktur.
                                          Gruss paul

                                          1 Reply Last reply Reply Quote 1
                                          • T
                                            taba_luga @taba_luga last edited by

                                            @thomas-braun nach drei Tagen umbenennen der Verzeichnisse und immer noch kein Ende in Sicht, habe ich das System jetzt auf den Snapshot mit Debian 10 zurückgerollt. Hier scheint noch alles zu ordentlich zu laufen. Ich werde jetzt erstmal auf diesem Stand bleiben und dort alle Adapter updaten. Wenn das alles ordentlich funktioniert hat, versuche ich nochmal ein Update auf Debian 11 mit NPM 8.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            697
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            errormeldung nodejs 16.15.1
                                            15
                                            169
                                            15847
                                            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