Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst]Nach Update auf Node 16 startet IOBROKER nicht mehr

    NEWS

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    [gelöst]Nach Update auf Node 16 startet IOBROKER nicht mehr

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

      @chemieka

      cd ~
      find "/opt/iobroker/node_modules" -type d -iname ".*-????????" ! -iname ".local-chromium" -exec rm -rf "{}" \; &> /dev/null 
      

      Danach noch mal

      cd /opt/iobroker 
      sudo -u iobroker npm install iobroker.js-controller@4.0.24
      
      C 1 Reply Last reply Reply Quote 0
      • C
        chemieka @chemieka last edited by

        @chemieka
        Evtl. macht es doch Sinn das System neu aufzulegen. Ein Backup hatte ich mit dem Adapter gemacht. Dann solllte doch alles Wiederherstellbar sein.
        Oder hast du noch eine Idee ?

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

          @chemieka sagte in Nach Update auf Node 16 startet IOBROKER nicht mehr:

          Oder hast du noch eine Idee ?

          Die steht doch oben.

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

            @thomas-braun sagte in Nach Update auf Node 16 startet IOBROKER nicht mehr:

            sudo -u iobroker npm install iobroker.js-controller@4.0.24

            läuft nach dem find "/opt/iobroker/node_modules" -type d -iname ".*-????????" ! -iname ".local-chromium" -exec rm -rf "{}" ; &> /dev/null
            kam keine Rückmeldung, denke muss so sein.

            C 2 Replies Last reply Reply Quote 0
            • C
              chemieka @chemieka last edited by chemieka

              @chemieka sagte in Nach Update auf Node 16 startet IOBROKER nicht mehr:

              @thomas-braun sagte in Nach Update auf Node 16 startet IOBROKER nicht mehr:

              sudo -u iobroker npm install iobroker.js-controller@4.0.24

              läuft nach dem find "/opt/iobroker/node_modules" -type d -iname ".*-????????" ! -iname ".local-chromium" -exec rm -rf "{}" ; &> /dev/null
              kam keine Rückmeldung, denke muss so sein.
              zunächst die Warns

              npm WARN skipping integrity check for git dependency ssh://git@github.com/ioBroker/ioBroker.flot.git
              npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies.
              npm WARN deprecated crypto@1.0.1: This package is no longer supported. It's now a built-in Node module. If you've depended on crypto, you should switch to the one that's built-in.
              npm WARN deprecated @types/bl@5.1.0: This is a stub types definition. bl provides its own type definitions, so you do not need this installed.
              npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
              npm WARN deprecated har-validator@5.1.5: this library is no longer supported
              npm WARN deprecated request-promise@4.2.6: request-promise has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
              npm WARN deprecated querystring@0.2.1: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
              npm WARN deprecated node-inspect@2.0.0: This module is part of Node.js core and does not need to be installed separately. It is now unmaintained.
              npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
              npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
              npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
              npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
              npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
              
              
              mikeal created this issue in request/request

              open Request’s Past, Present and Future #3142

              mikeal created this issue in request/request

              open Request’s Past, Present and Future #3142

              Qix- created this issue in visionmedia/debug

              closed ReDos Vulnerability Regression Visibility Notice #797

              Qix- created this issue in visionmedia/debug

              closed ReDos Vulnerability Regression Visibility Notice #797

              Qix- created this issue in visionmedia/debug

              closed ReDos Vulnerability Regression Visibility Notice #797

              mikeal created this issue in request/request

              open Request’s Past, Present and Future #3142

              1 Reply Last reply Reply Quote 0
              • C
                chemieka @chemieka last edited by chemieka

                npm WARN skipping integrity check for git dependency ssh://git@github.com/ioBroker/ioBroker.flot.git
                npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies.
                npm WARN deprecated crypto@1.0.1: This package is no longer supported. It's now a built-in Node module. If you've depended on crypto, you should switch to the one that's built-in.
                npm WARN deprecated @types/bl@5.1.0: This is a stub types definition. bl provides its own type definitions, so you do not need this installed.
                npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
                npm WARN deprecated har-validator@5.1.5: this library is no longer supported
                npm WARN deprecated request-promise@4.2.6: request-promise has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
                npm WARN deprecated querystring@0.2.1: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
                npm WARN deprecated node-inspect@2.0.0: This module is part of Node.js core and does not need to be installed separately. It is now unmaintained.
                npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
                npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                npm WARN cleanup Failed to remove some directories [
                npm WARN cleanup   [
                npm WARN cleanup     '/opt/iobroker/node_modules/unix-dgram',
                npm WARN cleanup     [Error: ENOTEMPTY: directory not empty, rmdir '/opt/iobroker/node_modules/unix-dgram'] {
                npm WARN cleanup       errno: -39,
                npm WARN cleanup       code: 'ENOTEMPTY',
                npm WARN cleanup       syscall: 'rmdir',
                npm WARN cleanup       path: '/opt/iobroker/node_modules/unix-dgram'
                npm WARN cleanup     }
                npm WARN cleanup   ],
                npm WARN cleanup   [
                npm WARN cleanup     '/opt/iobroker/node_modules/unix-dgram',
                npm WARN cleanup     [Error: ENOTEMPTY: directory not empty, rmdir '/opt/iobroker/node_modules/unix-dgram'] {
                npm WARN cleanup       errno: -39,
                npm WARN cleanup       code: 'ENOTEMPTY',
                npm WARN cleanup       syscall: 'rmdir',
                npm WARN cleanup       path: '/opt/iobroker/node_modules/unix-dgram'
                npm WARN cleanup     }
                npm WARN cleanup   ]
                npm WARN cleanup ]
                npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller
                npm ERR! command failed
                npm ERR! signal SIGINT
                npm ERR! command sh -c node iobroker.js setup first
                
                npm ERR! A complete log of this run can be found in:
                npm ERR!     /home/iobroker/.npm/_logs/2023-06-20T21_58_44_223Z-debug-0.log
                
                
                mikeal created this issue in request/request

                open Request’s Past, Present and Future #3142

                mikeal created this issue in request/request

                open Request’s Past, Present and Future #3142

                Qix- created this issue in visionmedia/debug

                closed ReDos Vulnerability Regression Visibility Notice #797

                Qix- created this issue in visionmedia/debug

                closed ReDos Vulnerability Regression Visibility Notice #797

                Qix- created this issue in visionmedia/debug

                closed ReDos Vulnerability Regression Visibility Notice #797

                mikeal created this issue in request/request

                open Request’s Past, Present and Future #3142

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

                  @chemieka

                  Ich muss mal pennen gehen.

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

                    @thomas-braun
                    leider auch kein Erfolg. wenn du noch Vorschläge hättest würde ich die morgen umsetzen. Vielen Dank für deine Mühe.

                    crunchip 1 Reply Last reply Reply Quote 0
                    • mickym
                      mickym Most Active last edited by

                      Ich würde halt das ganze modules Verzeichnis neu aufbauen lassen: https://forum.iobroker.net/post/831638

                      Aber meine Meinung kennt ihr ja diesbezgl.

                      C 1 Reply Last reply Reply Quote 0
                      • C
                        chemieka @mickym last edited by

                        @mickym
                        Kann ich heute Nachmittag versuchen. Melde mich mit dem Ergebnis.

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

                          @chemieka oder einfach
                          https://forum.iobroker.net/post/827638

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

                            nachdem auch nach der Prozedur oben auch nach einen Reboot die gleichen Fehler gekommen sind. Hatte ich es mal mit einer neuen Karte versucht und das System neu aufgesetzt.
                            Backup eingespielt und schaut erstmal besser aus.
                            Zwei Sachen fehlen noch.
                            VIS lässt sich nicht installieren:

                            $ iobroker add vis --host raspberrypi
                            
                            NPM version: 9.5.1
                            
                            Installing iobroker.vis@1.4.16... (System call)
                            
                            host.raspberrypi Cannot install iobroker.vis@1.4.16: 6
                            
                            ERROR: Process exited with code 25
                            

                            auch nicht per Putty.

                            Und die Historydaten müssten noch rein die kann ich von Karte zu Karte kopieren oder?

                            crunchip Homoran 3 Replies Last reply Reply Quote 0
                            • crunchip
                              crunchip Forum Testing Most Active @chemieka last edited by

                              @chemieka sagte in Nach Update auf Node 16 startet IOBROKER nicht mehr:

                              nachdem auch nach der Prozedur oben auch nach einen Reboot die gleichen Fehler gekommen sind

                              welche gleichen Fehler?

                              @chemieka sagte in Nach Update auf Node 16 startet IOBROKER nicht mehr:

                              VIS lässt sich nicht installieren:

                              hast du meinen Link gelesen?

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

                                @chemieka sagte in Nach Update auf Node 16 startet IOBROKER nicht mehr:

                                VIS lässt sich nicht installieren:

                                vis muss wegen eines aktuellen Bugs vor dem Einspielen des Backups einmal manuell installiert werden

                                Rettungsversuch via Konsole
                                iob upgrade vis@1.4.10 und danach via admin wieder auf aktuelle Version bringen

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

                                  @chemieka sagte in Nach Update auf Node 16 startet IOBROKER nicht mehr:

                                  Historydaten müssten noch rein die kann ich von Karte zu Karte kopieren oder?

                                  mit dem backup

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

                                    Super das läuft jetzt. Geht das so mit den History Daten einfach kopieren?

                                    C Homoran 2 Replies Last reply Reply Quote 0
                                    • C
                                      chemieka @chemieka last edited by

                                      Ah stimmt super das hat er mitgesichert. Geil.

                                      C 1 Reply Last reply Reply Quote 0
                                      • C
                                        chemieka @chemieka last edited by

                                        Also unterm Strich bekommt man so schneller wieder ein laufendes System wie mir scheint.

                                        Möchte mich herzlich bedanken.

                                        Kurz zusammengefasst:
                                        Neue Karte aufgesetzt mit https://forum.iobroker.net/topic/51869/installation-auf-raspi-einfacher-geht-s-nicht
                                        Backup eingespielt
                                        VIS manuell installiert mit iob install vis@1.4.10

                                        läuft wieder.

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

                                          @chemieka sagte in Nach Update auf Node 16 startet IOBROKER nicht mehr:

                                          Super das läuft jetzt.

                                          was und wie?

                                          hatten wir das nich gestern erst?

                                          @homoran sagte in Nach Update auf Node 16 startet IOBROKER nicht mehr:

                                          @chemieka sagte in Nach Update auf Node 16 startet IOBROKER nicht mehr:

                                          das hatte ich gemacht.

                                          aber nicht gezeigt!
                                          wie soll man das dann wissen?
                                          und die Fehlermeldung hast du uns auch nicht freiwillig genannt 😡

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

                                            @homoran

                                            Schrieb ich doch:

                                            1. Neue Karte aufgesetzt mit https://forum.iobroker.net/topic/51869/installation-auf-raspi-einfacher-geht-s-nicht
                                            2. Backup eingespielt
                                            3. VIS manuell installiert mit iob install vis@1.4.10

                                            Alle anderen Varianten brachten immer:

                                            rror: Cannot find module './lib/setup'
                                            
                                            Require stack:
                                            
                                            - /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js
                                            
                                                at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1026:15)
                                            
                                                at Function.Module._load (node:internal/modules/cjs/loader:871:27)
                                            
                                                at Module.require (node:internal/modules/cjs/loader:1098:19)
                                            
                                                at require (node:internal/modules/cjs/helpers:108:18)
                                            
                                                at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js:1:1)
                                            
                                                at Module._compile (node:internal/modules/cjs/loader:1196:14)
                                            
                                                at Object.Module._extensions..js (node:internal/modules/cjs/loader:1250:10)
                                            
                                                at Module.load (node:internal/modules/cjs/loader:1074:32)
                                            
                                                at Function.Module._load (node:internal/modules/cjs/loader:909:12)
                                            
                                                at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
                                            
                                              code: 'MODULE_NOT_FOUND',
                                            
                                              requireStack: [ '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' ]
                                            

                                            Zum Teil konnte ich erst Zugreifen aber dann nach einem Reboot wieder der obrige Fehler. Scheinbar war mein System dann doch zu alt oder nicht wieder herstellbar.

                                            System nun auf Neusten Stand und läuft wie ein Länderspiel (wobei der Vergleich Länderspiel hinkt, da gewinnen wir ja auch nicht mehr)

                                            Homoran 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

                                            885
                                            Online

                                            32.1k
                                            Users

                                            80.6k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            65
                                            5222
                                            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