Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Keine Verbindung zu VIS seit Update js-controller 5.0.x

    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

    Keine Verbindung zu VIS seit Update js-controller 5.0.x

    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      Karacho last edited by

      Hallo Gemeinde,
      wie im subject geschrieben kriege ich keine Verbindung zum VIS nach update js-controller.

      Folgendes gemacht:

      • Alle Adapter aktualisiert
      • Update auf 5.0.12 --> keine Verbindung zur VIS und diverse Fehlermeldungen Adapter
      iob backup
      iob stop
      iob update
      iob fix
      iob upgrade self
      iob start
      
      • Aus anderem Beitrag versucht Web-Adapter zu aktualisieren geht nicht mit Meldung
      Delete adapter "web"
      host.raspberrypi4-iob Counted 1 instances of web
      Cannot remove adapter "web", because instance "flot.0" depends on it!
      
      • Downgrade auf js-controller 4.0.24 --> Keine Verbindung zu VIS
      • Update auf 5.0.12 --> Keine Verbindung zu VIS und diverse Adapter mit Fehlermeldungen

      Hinweis von @thomas-braun seperaten Thread aufzumachen und

      iob diag
      

      zu posten:

      Here it is:

      ======================= SUMMARY =======================
                           v.2023-06-20
      
      
         Static hostname: raspberrypi4-iob
               Icon name: computer
              Machine ID: 7520f6fd74454b99bf8a0c3666ca6ae6
                 Boot ID: 49fc22e8c3fc4545a587b6cfb1c3e44a
        Operating System: Raspbian GNU/Linux 10 (buster)
                  Kernel: Linux 5.10.103-v7l+
            Architecture: arm
      
      Installation:           native
      Kernel:                 armv7l
      Userland:               armhf
      Timezone:               Europe/Berlin (CEST, +0200)
      User-ID:                1000
      X-Server:               false
      Boot Target:            graphical.target
      
      Pending OS-Updates:     140
      Pending iob updates:    0
      
      Nodejs-Installation:    /usr/bin/nodejs         v12.22.12
                              /usr/local/bin/node             v18.17.1
                              /usr/local/bin/npm              9.6.7
                              /usr/local/bin/npx              9.6.7
      
      Recommended versions are nodejs 18.x.y and npm 9.x.y
      *** nodejs is NOT correctly installed ***
      
      MEMORY:
                    total        used        free      shared  buff/cache   available
      Mem:           3.8G        1.2G        2.0G        8.0M        570M        2.4G
      Swap:           99M          0B         99M
      Total:         3.9G        1.2G        2.1G
      
      Active iob-Instances:   31
      Active repo(s): Stable (default)
      
      ioBroker Core:          js-controller           5.0.12
                              admin                   6.8.0
      
      ioBroker Status:        iobroker is running on this host.
      
      
      Objects type: jsonl
      States  type: jsonl
      
      Status admin and web instance:
      + system.adapter.admin.0                  : admin                 : raspberrypi4-iob                         -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
      + system.adapter.web.0                    : web                   : raspberrypi4-iob                         -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
      
      Objects:                15063
      States:                 13165
      
      Size of iob-Database:
      
      17M     /opt/iobroker/iobroker-data/objects.jsonl
      11M     /opt/iobroker/iobroker-data/objects.json.migrated
      11M     /opt/iobroker/iobroker-data/objects.json.bak.migrated
      11M     /opt/iobroker/iobroker-data/states.jsonl
      2.5M    /opt/iobroker/iobroker-data/states.json.migrated
      2.5M    /opt/iobroker/iobroker-data/states.json.bak.migrated
      
      
      
      =================== END OF SUMMARY ====================
      
      DJMarc75 Thomas Braun N 4 Replies Last reply Reply Quote 0
      • DJMarc75
        DJMarc75 @Karacho last edited by

        @karacho sagte in Keine Verbindung zu VIS seit Update js-controller 5.0.x:

        Pending OS-Updates: 140

        Das ist schon ne Menge

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

          @karacho sagte in Keine Verbindung zu VIS seit Update js-controller 5.0.x:

          Recommended versions are nodejs 18.x.y and npm 9.x.y
          *** nodejs is NOT correctly installed ***

          Das ist der größte Stolperstein in deinem System.

          Dann würde ich das auf Debian 11 'Bullseye' bringen, der Buster dürfte in Kürze auch für Raspbian OS abgekündigt werden.

          Dann das System auf Stand halten:
          Pending OS-Updates: 140
          Das sind 140 pending updates zu viel.

          1 Reply Last reply Reply Quote 0
          • N
            Nordischerjung @Karacho last edited by

            @karacho sagte in Keine Verbindung zu VIS seit Update js-controller 5.0.x:

            Nodejs-Installation:    /usr/bin/nodejs         v12.22.12
                                    /usr/local/bin/node             v18.17.1
                                    /usr/local/bin/npm              9.6.7
                                    /usr/local/bin/npx              9.6.7
            

            und da ist es auch schief. Das musst du mal reparieren

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

              @karacho

              Zumindest das nodejs-Problem kannst du mal versuchen mit diesem Skript einzufangen:

              https://forum.iobroker.net/topic/68035/iob-node-fix-skript

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

                @thomas-braun
                Das sieht wohl nicht gut aus....

                Also, ich habe keine Ahnung von Linux etc.... da brauche ich Hilfe was ich über putty eintippen soll...

                Womit soll ich wie anfangen?
                Damit?

                curl https://raw.githubusercontent.com/Grothesk242/iob_diag/main/iob_node_update > iob_node_update
                chmod 744 iob_node_update
                ./iob_node_update
                
                Thomas Braun 2 Replies Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @Karacho last edited by

                  @karacho

                  Das würde dir zumindest nodejs richtig installieren.

                  Für den Rest musst du dich einlesen. Ich hatte aber zur Migration von Buster auf Bullseye mal was geschrieben. Seinerzeit, als das Thema eigentlich aktuell war... Schau durch meine Themen durch.

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

                    @karacho

                    Ich würde allerdings das große Rad drehen und gleich ein aktuelles System installieren, diesmal die 64bit-Version.

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

                      @thomas-braun

                      Würde jetzt erstmal das aktuelle System wieder zum Laufen bringen wollen.
                      Zu viele Baustellen parallel aufzumachen.. das geht schief... zumindest bei mir...

                      • Die pending OS Updatest ich jetzt mal auf 0 gebracht.
                      • Das Skript bzgl node.js durchgeführt - Raspberry neu gebootet
                        --> jetzt startet der iobroker gar nicht mehr....
                      ======================= SUMMARY =======================
                                           v.2023-06-20
                      
                      
                         Static hostname: raspberrypi4-iob
                               Icon name: computer
                              Machine ID: 7520f6fd74454b99bf8a0c3666ca6ae6
                                 Boot ID: fccae564a90c44d8ba584e36436e32d1
                        Operating System: Raspbian GNU/Linux 10 (buster)
                                  Kernel: Linux 5.10.103-v7l+
                            Architecture: arm
                      
                      Installation:           native
                      Kernel:                 armv7l
                      Userland:               armhf
                      Timezone:               Europe/Berlin (CEST, +0200)
                      User-ID:                1000
                      X-Server:               false
                      Boot Target:            graphical.target
                      
                      Pending OS-Updates:     0
                      internal/modules/cjs/loader.js:818
                        throw err;
                        ^
                      
                      Error: Cannot find module 'node:timers/promises'
                      Require stack:
                      - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/dbConne                                                                                                                                                             ction.js
                      - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup.js
                      - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/index.js
                      - /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js
                          at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
                          at Function.Module._load (internal/modules/cjs/loader.js:667:27)
                          at Module.require (internal/modules/cjs/loader.js:887:19)
                          at require (internal/modules/cjs/helpers.js:74:18)
                          at Object.<anonymous> (/opt/iobroker/node_modules/@iobroker/js-controller-cl                                                                                                                                                             i/build/lib/setup/dbConnection.js:34:20)
                          at Module._compile (internal/modules/cjs/loader.js:999:30)
                          at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                          at Module.load (internal/modules/cjs/loader.js:863:32)
                          at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                          at Module.require (internal/modules/cjs/loader.js:887:19) {
                        code: 'MODULE_NOT_FOUND',
                        requireStack: [
                          '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/dbCo                                                                                                                                                             nnection.js',
                          '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup.js',
                          '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/index.js',
                          '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                        ]
                      }
                      Pending iob updates:    0
                      
                      Nodejs-Installation:    /usr/bin/nodejs         v12.22.12
                                              /usr/bin/node           v12.22.12
                                              /usr/bin/npm            6.14.16
                                              /usr/bin/npx            6.14.16
                      
                      Recommended versions are nodejs 18.x.y and npm 9.x.y
                      Your nodejs installation is correct
                      
                      MEMORY:
                                    total        used        free      shared  buff/cache   available
                      Mem:           3.8G         66M        3.3G        8.0M        452M        3.6G
                      Swap:           99M          0B         99M
                      Total:         3.9G         66M        3.4G
                      
                      internal/modules/cjs/loader.js:818
                        throw err;
                        ^
                      
                      Error: Cannot find module 'node:timers/promises'
                      Require stack:
                      - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/dbConne                                                                                                                                                             ction.js
                      - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup.js
                      - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/index.js
                      - /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js
                          at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
                          at Function.Module._load (internal/modules/cjs/loader.js:667:27)
                          at Module.require (internal/modules/cjs/loader.js:887:19)
                          at require (internal/modules/cjs/helpers.js:74:18)
                          at Object.<anonymous> (/opt/iobroker/node_modules/@iobroker/js-controller-cl                                                                                                                                                             i/build/lib/setup/dbConnection.js:34:20)
                          at Module._compile (internal/modules/cjs/loader.js:999:30)
                          at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                          at Module.load (internal/modules/cjs/loader.js:863:32)
                          at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                          at Module.require (internal/modules/cjs/loader.js:887:19) {
                        code: 'MODULE_NOT_FOUND',
                        requireStack: [
                          '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/dbCo                                                                                                                                                             nnection.js',
                          '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup.js',
                          '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/index.js',
                          '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                        ]
                      }
                      Active iob-Instances:   0
                      internal/modules/cjs/loader.js:818
                        throw err;
                        ^
                      
                      Error: Cannot find module 'node:timers/promises'
                      Require stack:
                      - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/dbConne                                                                                                                                                             ction.js
                      - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup.js
                      - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/index.js
                      - /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js
                          at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
                          at Function.Module._load (internal/modules/cjs/loader.js:667:27)
                          at Module.require (internal/modules/cjs/loader.js:887:19)
                          at require (internal/modules/cjs/helpers.js:74:18)
                          at Object.<anonymous> (/opt/iobroker/node_modules/@iobroker/js-controller-cl                                                                                                                                                             i/build/lib/setup/dbConnection.js:34:20)
                          at Module._compile (internal/modules/cjs/loader.js:999:30)
                          at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                          at Module.load (internal/modules/cjs/loader.js:863:32)
                          at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                          at Module.require (internal/modules/cjs/loader.js:887:19) {
                        code: 'MODULE_NOT_FOUND',
                        requireStack: [
                          '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/dbCo                                                                                                                                                             nnection.js',
                          '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup.js',
                          '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/index.js',
                          '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                        ]
                      }
                      
                      internal/modules/cjs/loader.js:818
                        throw err;
                        ^
                      
                      Error: Cannot find module 'node:timers/promises'
                      Require stack:
                      - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/dbConne                                                                                                                                                             ction.js
                      - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup.js
                      - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/index.js
                      - /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js
                          at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
                          at Function.Module._load (internal/modules/cjs/loader.js:667:27)
                          at Module.require (internal/modules/cjs/loader.js:887:19)
                          at require (internal/modules/cjs/helpers.js:74:18)
                          at Object.<anonymous> (/opt/iobroker/node_modules/@iobroker/js-controller-cl                                                                                                                                                             i/build/lib/setup/dbConnection.js:34:20)
                          at Module._compile (internal/modules/cjs/loader.js:999:30)
                          at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                          at Module.load (internal/modules/cjs/loader.js:863:32)
                          at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                          at Module.require (internal/modules/cjs/loader.js:887:19) {
                        code: 'MODULE_NOT_FOUND',
                        requireStack: [
                          '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/dbCo                                                                                                                                                             nnection.js',
                          '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup.js',
                          '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/index.js',
                          '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                        ]
                      }
                      ioBroker Core:          js-controller
                      internal/modules/cjs/loader.js:818
                        throw err;
                        ^
                      
                      Error: Cannot find module 'node:timers/promises'
                      Require stack:
                      - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/dbConne                                                                                                                                                             ction.js
                      - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup.js
                      - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/index.js
                      - /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js
                          at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
                          at Function.Module._load (internal/modules/cjs/loader.js:667:27)
                          at Module.require (internal/modules/cjs/loader.js:887:19)
                          at require (internal/modules/cjs/helpers.js:74:18)
                          at Object.<anonymous> (/opt/iobroker/node_modules/@iobroker/js-controller-cl                                                                                                                                                             i/build/lib/setup/dbConnection.js:34:20)
                          at Module._compile (internal/modules/cjs/loader.js:999:30)
                          at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                          at Module.load (internal/modules/cjs/loader.js:863:32)
                          at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                          at Module.require (internal/modules/cjs/loader.js:887:19) {
                        code: 'MODULE_NOT_FOUND',
                        requireStack: [
                          '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/dbCo                                                                                                                                                             nnection.js',
                          '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup.js',
                          '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/index.js',
                          '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                        ]
                      }
                                              admin
                      
                      internal/modules/cjs/loader.js:818
                        throw err;
                        ^
                      
                      Error: Cannot find module 'node:timers/promises'
                      Require stack:
                      - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/dbConne                                                                                                                                                             ction.js
                      - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup.js
                      - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/index.js
                      - /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js
                          at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
                          at Function.Module._load (internal/modules/cjs/loader.js:667:27)
                          at Module.require (internal/modules/cjs/loader.js:887:19)
                          at require (internal/modules/cjs/helpers.js:74:18)
                          at Object.<anonymous> (/opt/iobroker/node_modules/@iobroker/js-controller-cl                                                                                                                                                             i/build/lib/setup/dbConnection.js:34:20)
                          at Module._compile (internal/modules/cjs/loader.js:999:30)
                          at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                          at Module.load (internal/modules/cjs/loader.js:863:32)
                          at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                          at Module.require (internal/modules/cjs/loader.js:887:19) {
                        code: 'MODULE_NOT_FOUND',
                        requireStack: [
                          '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/dbCo                                                                                                                                                             nnection.js',
                          '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup.js',
                          '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/index.js',
                          '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                        ]
                      }
                      ioBroker Status:
                      
                      Status admin and web instance:
                      internal/modules/cjs/loader.js:818
                        throw err;
                        ^
                      
                      Error: Cannot find module 'node:timers/promises'
                      Require stack:
                      - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/dbConne                                                                                                                                                             ction.js
                      - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup.js
                      - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/index.js
                      - /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js
                          at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
                          at Function.Module._load (internal/modules/cjs/loader.js:667:27)
                          at Module.require (internal/modules/cjs/loader.js:887:19)
                          at require (internal/modules/cjs/helpers.js:74:18)
                          at Object.<anonymous> (/opt/iobroker/node_modules/@iobroker/js-controller-cl                                                                                                                                                             i/build/lib/setup/dbConnection.js:34:20)
                          at Module._compile (internal/modules/cjs/loader.js:999:30)
                          at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                          at Module.load (internal/modules/cjs/loader.js:863:32)
                          at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                          at Module.require (internal/modules/cjs/loader.js:887:19) {
                        code: 'MODULE_NOT_FOUND',
                        requireStack: [
                          '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/dbCo                                                                                                                                                             nnection.js',
                          '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup.js',
                          '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/index.js',
                          '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                        ]
                      }
                      
                      Objects:                0
                      States:                 0
                      
                      Size of iob-Database:
                      
                      19M     /opt/iobroker/iobroker-data/objects.jsonl
                      11M     /opt/iobroker/iobroker-data/objects.json.migrated
                      11M     /opt/iobroker/iobroker-data/objects.json.bak.migrated
                      17M     /opt/iobroker/iobroker-data/states.jsonl
                      2.5M    /opt/iobroker/iobroker-data/states.json.migrated
                      2.5M    /opt/iobroker/iobroker-data/states.json.bak.migrated
                      
                      
                      
                      =================== END OF SUMMARY ====================
                      
                      
                      Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
                      • Homoran
                        Homoran Global Moderator Administrators @Karacho last edited by

                        @karacho sagte in Keine Verbindung zu VIS seit Update js-controller 5.0.x:

                        Nodejs-Installation: /usr/bin/nodejs v12.22.12

                        das ist zu alt.

                        @karacho sagte in Keine Verbindung zu VIS seit Update js-controller 5.0.x:

                        Das Skript bzgl node.js durchgeführt

                        ohne Fehlermeldung?

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

                          @karacho sagte in Keine Verbindung zu VIS seit Update js-controller 5.0.x:

                          Das Skript bzgl node.js durchgeführt

                          Mach es nochmal.
                          Und dann bitte die Ausgaben posten. Denn eigentlich hätte da am Ende ein nodejs 18.17.1 herumkommen müssen.
                          Mit deiner 12.22.12 läuft der ioBroker nicht mehr zusammen, wie du siehst.

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

                            @thomas-braun
                            Ich hatte vor dem Skript 18.17.1 drauf...
                            Lasse gerade das update auf 18.17.1 laufen...
                            Die 12.x.x ist mit dem Skript gekommen...

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

                              @karacho sagte in Keine Verbindung zu VIS seit Update js-controller 5.0.x:

                              Die 12.x.x ist mit dem Skript gekommen...

                              Nein. Die 12 war schon die ganze Zeit drauf.

                              Ich hatte vor dem Skript 18.17.1 drauf...

                              Jein. In den falschen Pfaden. Die hat das Skript nun gerade gebogen.

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

                                @thomas-braun
                                Ich dachte ich hätte 18.17.1 drauf gehabt... mit 12.x.x hätte das ja auch vor dem Js-controller 5.x nicht funktioniert, oder?

                                Habe dann 8.17.1 mit

                                iob stop
                                node -v
                                sudo npm cache clean -f
                                sudo n v18.17.1
                                sudo reboot
                                

                                installiert.

                                Mit 18.17.1 läuft der iobroker wieder hoch, bin damit wieder auf Anfangszustand mit.

                                Wenn ich dann Skript starte

                                ioBroker nodejs fixer 2023-09-15
                                
                                Recommended nodejs-version is: 18.17.1
                                Checking your installation now. Please be patient!
                                
                                Your current setup is:
                                /usr/bin/nodejs         v12.22.12
                                /usr/local/bin/node             v18.17.1
                                /usr/local/bin/npm              9.6.7
                                /usr/local/bin/npx              9.6.7
                                
                                *** nodejs is NOT correctly installed ***
                                We found these nodejs versions available for installation:
                                
                                nodejs:
                                  Installed: 12.22.12-deb-1nodesource1
                                  Candidate: 12.22.12-deb-1nodesource1
                                  Version table:
                                 *** 12.22.12-deb-1nodesource1 500
                                        500 https://deb.nodesource.com/node_12.x buster/main armhf Packages
                                        100 /var/lib/dpkg/status
                                     10.24.0~dfsg-1~deb10u3 500
                                        500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                
                                
                                Your nodejs-Installation seems to be not correct. Shall we try to fix it?
                                Press <y> to continue or any other key to quit
                                
                                
                                Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @Karacho last edited by

                                  @karacho

                                  NEIN!!!!!!
                                  Wo hast du die Anleitung her, da mit n zu hantieren. Das ist falsch und sorgt genau für die schiefen Installationen. Skript wiedermal drüberjagen...

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

                                    @karacho sagte in Keine Verbindung zu VIS seit Update js-controller 5.0.x:

                                    Ich dachte ich hätte 18.17.1 drauf gehabt...

                                    nein, du hattest zwei Installationen in unterschiedlichen Pfaden.
                                    Das gibt immer Probleme.

                                    Das Skript hat im ersten durchlaufen erst einmal die Pfade kortigiert, so dass v12 übrig blieb

                                    @karacho sagte in Keine Verbindung zu VIS seit Update js-controller 5.0.x:

                                    Habe dann 8.17.1 mit

                                    Warum???

                                    du solltest nochmal das Skript laufen lassen.

                                    Jetzt geht der Mist von vorne los

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

                                      @homoran sagte in Keine Verbindung zu VIS seit Update js-controller 5.0.x:

                                      du solltest nochmal das Skript laufen lassen.

                                      @Karacho

                                      Und dann beides (Pfade und die Installation) über das Skript laufen lassen.
                                      Ggf. mehrfach laufen lassen.

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

                                        @thomas-braun
                                        dh

                                        curl https://raw.githubusercontent.com/Grothesk242/iob_diag/main/iob_node_update > iob_node_update
                                        chmod 744 iob_node_update
                                        ./iob_node_update
                                        

                                        einfach nur mehrfach durchlaufen lassen?

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

                                          @karacho sagte in Keine Verbindung zu VIS seit Update js-controller 5.0.x:

                                          ./iob_node_update

                                          Nur das.
                                          Herunterladen und die Rechte setzen muss natürlich nur einmal gemacht werden.

                                          Du darfst auch gerne den Output des Skripts hier posten.

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

                                            @thomas-braun

                                            1. Durchlauf
                                            ioBroker nodejs fixer 2023-09-15
                                            
                                            Recommended nodejs-version is: 18.17.1
                                            Checking your installation now. Please be patient!
                                            
                                            Your current setup is:
                                            /usr/bin/nodejs         v12.22.12
                                            /usr/local/bin/node             v18.17.1
                                            /usr/local/bin/npm              9.6.7
                                            /usr/local/bin/npx              9.6.7
                                            
                                            *** nodejs is NOT correctly installed ***
                                            We found these nodejs versions available for installation:
                                            
                                            nodejs:
                                              Installed: 12.22.12-deb-1nodesource1
                                              Candidate: 12.22.12-deb-1nodesource1
                                              Version table:
                                             *** 12.22.12-deb-1nodesource1 500
                                                    500 https://deb.nodesource.com/node_12.x buster/main armhf Packages
                                                    100 /var/lib/dpkg/status
                                                 10.24.0~dfsg-1~deb10u3 500
                                                    500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                            
                                            
                                            
                                            Your nodejs-Installation seems to be not correct. Shall we try to fix it?
                                            Press <y> to continue or any other key to quit
                                            
                                            Fixing your nodejs setup
                                            *** Deleting /usr/local/bin/node ***
                                            *** Deleting /usr/local/bin/npm ***
                                            *** Deleting /usr/local/bin/npx ***
                                            
                                            Wrong paths have been fixed. Run 'iob diag' or 'iob node-update' again to check if your installation is fine now
                                            Nothing to do, your installed version is the recommended one.
                                            
                                            
                                            
                                            Thomas Braun 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

                                            679
                                            Online

                                            32.0k
                                            Users

                                            80.6k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            39
                                            2064
                                            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