Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Fehler beim Adapter installieren Code25

    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

    Fehler beim Adapter installieren Code25

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

      @yamaha1220 sagte in Fehler beim Adapter installieren Code25:

      Node.js
      v10.24.1 (Diese Version von Node.js ist veraltet und wird nicht mehr unterstützt. Bitte installieren Sie Node.js v18.18.2

      Ein Problem steht da doch im Klartext. Dein Node.js ist so veraltet, da ist der Urgroßvater schon drüber weggestorben und Du fragst ernsthaft

      Es ging alles super was ist da passiert? Habe auch nicht rum gespielt.

      Rumspielen sollte man auch nicht, aber das System wenigstens einigermaßen auf Stand halten. Aktuell gilt Node.js 16 als Minimum, aber selbst das ist längst nicht mehr aktuell. Also typischer Fall von "never touch a running system" mit Selbstschuss ins Knie.

      Und die aktuelle version drauf gemacht. Und siehe da wieder ein Fehler. Kann doch nicht sein. Dadurch wird natürlich meine Vis nicht mehr richtig angezeigt.
      Backitup geht zu installieren andere nicht obwohl ich iob fix schon gemacht habe.

      WAS hast Du WIE genau gemacht? Natürlich kann das sein, wenn man es nicht richtig macht. Hatte @Thomas-Braun weiter oben schon angemerkt.

      @thomas-braun sagte in Fehler beim Adapter installieren Code25:

      Und wie passiert sowas? Richtig, wenn man als root herumhampelt oder mit sudo an Stellen herumfummelt, an denen man das nicht macht...

      Nie als root und 'sudo' so selten wie möglich verwenden.

      Damit Dir überhaupt jemand helfen kann (ich vermutlich nicht) müssen mindestens mal ein paar sinnvolle Angaben kommen, wie z.B. das Ergebnis von

      iob diag
      
      Y 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @yamaha1220 last edited by Thomas Braun

        @yamaha1220 sagte in Fehler beim Adapter installieren Code25:

        was ist da passiert?

        Nichts ist da passiert. Das ist ja genau dein Problem...
        Die Codebasis ist jetzt soweit auseinander gedriftet, da passt jetzt nichts mehr zueinander. Quasi 'Tod durch unterlassen'.

        Was willst du denn jetzt genau? Das Steinzeitsystem in die Gegenwart bringen oder ein Backup aus dem Steinzeitsystem auf dem frischen System einspielen? Ist beides mit Klimmzügen verbunden, die bei regelmäßiger Wartung nicht erforderlich wären.

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

          @yamaha1220 sagte in Fehler beim Adapter installieren Code25:

          Der Fehler kommt weiterhin. Mein Ziel ist eigentl. ein neues Update und ein Backup drüber weil ich nicht nochmal alles aufsetzen möchte im iobroker. Habe keine Idee mehr.

          ich schon

          iobroker frisch aufsetzen mit zusätzlich vis installieren
          danach dein backup einspielen und lange warten
          anschließend freuen

          natürlich wird beim ein oder anderen Adapter noch etwas Handlungsbedarf im Anschluss sein, was allerdings im Log angezeigt werden sollte

          Y 1 Reply Last reply Reply Quote 0
          • Y
            yamaha1220 @Guest last edited by

            @ilovegym aber wüsste nicht wo. wie kann ich es beheben?

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

              @thomas-braun ich möchte das mein system wieder normal läuft mit aktueller version aber irgendwie gerade nicht machbar

              1 Reply Last reply Reply Quote 0
              • Y
                yamaha1220 @Samson71 last edited by

                @samson71 wie gesagt ich habe zwei laufen und einer davon ist komplett neu aufgesetzt aber keine ahnung was da falsch lief. das alte werde ich ja bestimmt nicht mehr nutzen können.
                deswegen das neue auf v18.18 umgestellt.
                Und im System spiele ich nicht einfach rum weil Profi bin ich nicht.

                DJMarc75 1 Reply Last reply Reply Quote 0
                • DJMarc75
                  DJMarc75 @yamaha1220 last edited by

                  @yamaha1220 sagte in Fehler beim Adapter installieren Code25:

                  komplett neu aufgesetzt

                  dann zeig mal nach welcher Anleitung Du das machst bitte.

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

                    @crunchip hört sich gut an. Hast du eine genaue anleitung? nicht das irgendwas schief läuft?

                    Oder mal so gefragt:

                    Welches Betriebsystem würdest du nehmen? 32 64 bit?
                    mit zusätzlich vis installieren meinst du wie genau? Meinst du wen das system steht iobroker install machen?

                    backup einspielen ist kein thema aber so habe ich es eigentl. schon gemacht bei meinem neunem pi und ging nichts zu installieren dann wieder neu aufgesetzt.

                    wäre ja toll wen es genauso klappt wie du schreibst mehr möchte ich ja nicht.

                    Danke schonmal an alle🤙

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

                      @yamaha1220 sagte in Fehler beim Adapter installieren Code25:

                      Welches Betriebsystem würdest du nehmen? 32 64 bit?

                      RaspberryOS, 64Bit - Lite

                      Iobroker installieren, dann vis installieren. Erst danach dein Backup reinziehen.
                      Kann aber sein, dass der js-controller dann zu aktuell für das steinalte Backup ist.
                      In dem Fall würde ich den js-controller auf eine alte Version drücken und dann nochmal das Backup drauf werfen.

                      Y 2 Replies Last reply Reply Quote 1
                      • Y
                        yamaha1220 last edited by

                        @thomas-braun habe es auch über deine anleitung gemacht.
                        werde es gleich neu aufsetzen.
                        auf welche version sollte ich den js-controller zurücksetzen?

                        Danke

                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Y
                          yamaha1220 @DJMarc75 last edited by

                          @djmarc75 link text

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

                            @yamaha1220 sagte in Fehler beim Adapter installieren Code25:

                            auf welche version sollte ich den js-controller zurücksetzen?

                            Erst mit der Version versuchen, die bei einer Neuinstallation mitkommt.
                            Falls das nicht funktioniert:

                            cd /opt/iobroker
                            sudo -H -u iobroker npm install iobroker.js-controller@4.0.24
                            

                            und damit weiter herumexperimentieren.

                            Y 2 Replies Last reply Reply Quote 0
                            • Y
                              yamaha1220 @Thomas Braun last edited by

                              @thomas-braun ok danke sd-karte ist neu aufgesetzt

                              melde mich gleich nochmal

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

                                @thomas-braun so fertig. jetzt die vis installieren und dann ds backup mal sehen

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

                                  @thomas-braun also backup ist drauf aber kann noch nichts installieren siehe da

                                  $ ./iobroker add hmip  --host pi32
                                  NPM version: 9.8.1npm install iobroker.hmip@1.20.0 --loglevel error --prefix "/opt/iobroker" (System call)
                                  npm ERR! code 1npm ERR! path /opt/iobroker/node_modules/iobroker.js-controllernpm ERR! command failednpm ERR! command sh -c node iobroker.js setup firstnpm ERR! Unable to increase LUA script timeout: Error CONFIG-UNSUPPORTED for ["SET","lua-time-limit","10000"]npm ERR!  Unable to enable Expiry Keyspace events from Redis Server: Error CONFIG-UNSUPPORTED for ["SET","notify-keyspace-events","Exe"]npm ERR! /opt/iobroker/node_modules/standard-as-callback/built/index.js:6npm ERR!         throw e;npm ERR!         ^npm ERR! npm ERR! ReplyError: Error scan NOT SUPPORTEDnpm ERR!     at parseError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:179:12)npm ERR!     at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:302:14)npm ERR! Emitted 'error' event on ScanStream instance at:npm ERR!     at /opt/iobroker/node_modules/ioredis/built/ScanStream.js:38:22npm ERR!     at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:12:23)npm ERR!     at /opt/iobroker/node_modules/standard-as-callback/built/index.js:33:51npm ERR!     at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {npm ERR!   command: {npm ERR!     name: 'scan',npm ERR!     args: [ '0', 'MATCH', 'cfg.o.system.host.*', 'COUNT', '250' ]npm ERR!   }npm ERR! }npm ERR! npm ERR! Node.js v18.18.2npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-11-07T14_02_04_163Z-debug-0.log
                                  ERROR: host.pi32 Cannot install iobroker.hmip@1.20.0: 1
                                  ERROR: process exited with code 25
                                  
                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @yamaha1220 last edited by

                                    @yamaha1220 sagte in Fehler beim Adapter installieren Code25:

                                    /home/iobroker/.npm/_logs/2023-11-07T14_02_04_163Z-debug-0.log

                                    Dann schau da rein.
                                    Die Meldung selber kenne ich nicht.

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

                                      @thomas-braun das kam jetzt raus

                                      schenk@pi32:/opt/iobroker $ schenk@pi32:~ $ cd /opt/iobroker
                                      sudo -H -u iobroker npm install iobroker.js-controller@4.0.24
                                      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 ERR! code 1
                                      npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller
                                      npm ERR! command failed
                                      npm ERR! command sh -c node iobroker.js setup first
                                      npm ERR! Unable to subscribe to meta namespace "meta." changes: Error PSUBSCRIBE-UNSUPPORTED for namespace meta.: Data=["meta.*"]
                                      npm ERR! /opt/iobroker/node_modules/standard-as-callback/built/index.js:6
                                      npm ERR!         throw e;
                                      npm ERR!         ^
                                      npm ERR!
                                      npm ERR! ReplyError: Error scan NOT SUPPORTED
                                      npm ERR!     at parseError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:179:12)
                                      npm ERR!     at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:302:14)
                                      npm ERR! Emitted 'error' event on ScanStream instance at:
                                      npm ERR!     at /opt/iobroker/node_modules/ioredis/built/ScanStream.js:38:22
                                      npm ERR!     at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:12:23)
                                      npm ERR!     at /opt/iobroker/node_modules/standard-as-callback/built/index.js:33:51
                                      npm ERR!     at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
                                      npm ERR!   command: {
                                      npm ERR!     name: 'scan',
                                      npm ERR!     args: [ '0', 'MATCH', 'cfg.o.system.host.*', 'COUNT', '250' ]
                                      npm ERR!   }
                                      npm ERR! }
                                      npm ERR!
                                      npm ERR! Node.js v18.18.2
                                      
                                      npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-11-07T14_06_35_334Z-debug-0.log
                                      schenk@pi32:/opt/iobroker $
                                      
                                      
                                      Homoran 1 Reply Last reply Reply Quote 0
                                      • Y
                                        yamaha1220 @Thomas Braun last edited by

                                        @thomas-braun said in Fehler beim Adapter installieren Code25:

                                        /home/iobroker/.npm/_logs/2023-11-07T14_02_04_163Z-debug-0.log

                                        so direkt eingeben?

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

                                          @yamaha1220 sagte in Fehler beim Adapter installieren Code25:

                                          /home/iobroker/.npm/_logs/2023-11-07T14_02_04_163Z-debug-0.log

                                          cat /home/iobroker/.npm/_logs/2023-11-07T14_02_04_163Z-debug-0.log
                                          

                                          oder

                                          less /home/iobroker/.npm/_logs/2023-11-07T14_02_04_163Z-debug-0.log
                                          
                                          Y 2 Replies Last reply Reply Quote 0
                                          • Y
                                            yamaha1220 @Thomas Braun last edited by

                                            @thomas-braun passiert nichts

                                            schenk@pi32:~ $ cat /home/iobroker/.npm/_logs/2023-11-07T14_02_04_163Z-debug-0.log
                                            cat: /home/iobroker/.npm/_logs/2023-11-07T14_02_04_163Z-debug-0.log: No such file or directory
                                            schenk@pi32:~ $ less /home/iobroker/.npm/_logs/2023-11-07T14_02_04_163Z-debug-0.log
                                            /home/iobroker/.npm/_logs/2023-11-07T14_02_04_163Z-debug-0.log: No such file or directory
                                            schenk@pi32:~ $
                                            
                                            
                                            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

                                            895
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            9
                                            108
                                            6633
                                            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