Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Installation
    5. Update js-controller from @6.0.7 to @6.0.11 nicht möglich

    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

    Update js-controller from @6.0.7 to @6.0.11 nicht möglich

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

      @thomas-braun
      ok mache ich.

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

        @thomas-braun
        Press any key for a summary

        iobroker@iobroker:~ $ iob stop
        iobroker@iobroker:~ $ cd /opt/iobroker && npm install iobroker.js-controller@6.0.11
        npm error code 6
        npm error path /opt/iobroker/node_modules/iobroker.js-controller
        npm error command failed
        npm error command sh -c node iobroker.js setup first
        npm error Uncaught Rejection: TypeError: callback is not a function
        npm error     at /opt/iobroker/node_modules/iobroker.js-controller/node_modules/@iobroker/plugin-base/lib/PluginBase.js:310:17
        npm error This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
        npm error TypeError: callback is not a function
        npm error     at /opt/iobroker/node_modules/iobroker.js-controller/node_modules/@iobroker/plugin-base/lib/PluginBase.js:310:17
        npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-08-27T18_54_51_254Z-debug-0.log
        iobroker@iobroker:/opt/iobroker $
        
        ? 1 Reply Last reply Reply Quote 0
        • ?
          A Former User @enzo last edited by

          Hallo @Homoran
          Hallo @Thomas-Braun

          Ich denke wir können wieder auf Deutsch weitermachen ✌️
          Das verstehe ich als Niederländerin besser 😉

          Macht es Sinn den Controller upzudaten, wenn das Filesystem kaputt ist?

          Samson71 enzo 2 Replies Last reply Reply Quote 0
          • Samson71
            Samson71 Global Moderator @Guest last edited by

            @mrs-antje sagte in Update js-controller from @6.0.7 to @6.0.11 nicht möglich:

            Ich denke wir können wieder auf Deutsch weitermachen ✌️
            Das verstehe ich als Niederländerin besser 😉

            Dass es hier in keiner Weise um Dich, sondern um @enzo geht, der nach eigenem Bekunden in Deutsch nicht so fit ist, hast Du aber noch auf dem Schirm oder?

            ? 1 Reply Last reply Reply Quote 1
            • enzo
              enzo @Guest last edited by enzo

              @mrs-antje der iobroker läuft Ganz gut nur der js-controller@6.0.7 kann ich nicht ab und Downgraden .
              .
              mit google translater geht es ja.
              und nochmal danke an alle die mir so gut helfen ich weis das zu Schätzen.

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

                @enzo

                Is it possible that you manage to manually install the js-controller in recursive directories?
                That path/file does not exist on my system:

                /opt/iobroker/node_modules/iobroker.js-controller/node_modules/@iobroker/plugin-base/lib/PluginBase.js
                

                but

                /opt/iobroker/node_modules/@iobroker/plugin-base/lib/PluginBase.js
                

                It seems as if you did install a non-standard version of js-controller into the js-controller directory again.

                1 Reply Last reply Reply Quote 0
                • ?
                  A Former User @Samson71 last edited by

                  Hallo @samson71

                  und da hilft ein Thread halb deutsch/ halb englisch den Leuten, die helfen wollen oder hier eine Lösung vielleicht finden, weiter?
                  Wenn hier nur die Experten helfen sollen, okay.
                  Hatte mich angemeldet , weil ich auch endlich helfen wollte , nachdem ich hier lange mitgelesen und einiges mitgenommen habe.
                  Vielleicht liegt es auch daran, dass ich eine Frau bin.
                  Who knows.
                  Aber weil ein User schreibt , dass er nicht gut deutsch spricht , gleich mal die Sprache zu wechseln, obwohl der User anscheinend 40 Adapter gut auf deutsch einrichten konnte und hier bisher auch nur deutsch schreibt …..
                  Aber Du bist der Moderator hier…..hast mich ja auch nett Willkommen geheißen ✌️

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

                    @mrs-antje sagte in Update js-controller from @6.0.7 to @6.0.11 nicht möglich:

                    Vielleicht liegt es auch daran, dass ich eine Frau bin.

                    Nein, warum sollte es?

                    Who knows.

                    I do.

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

                      @enzo

                      cd /opt/iobroker/node_modules/iobroker.js-controller && npm ls
                      
                      enzo 1 Reply Last reply Reply Quote 0
                      • Homoran
                        Homoran Global Moderator Administrators @Guest last edited by Homoran

                        @mrs-antje sagte in Update js-controller from @6.0.7 to @6.0.11 nicht möglich:

                        h mal die Sprache zu wechseln, obwohl der User anscheinend 40 Adapter gut auf deutsch einrichten konnte

                        wer sagt das denn?
                        iobroker kann auf viele Sprachen eingestellt werden

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

                          @thomas-braun

                          
                          iobroker@iobroker:~ $ cd /opt/iobroker/node_modules/iobroker.js-controller && np                            m ls
                          iobroker.js-controller@6.0.7 /opt/iobroker/node_modules/iobroker.js-controller
                          ├── UNMET DEPENDENCY @alcalzone/esbuild-register@^2.5.1-1
                          ├── UNMET DEPENDENCY @iobroker/db-objects-file@6.0.7
                          ├── UNMET DEPENDENCY @iobroker/db-objects-jsonl@6.0.7
                          ├── UNMET DEPENDENCY @iobroker/db-objects-redis@6.0.7
                          ├── UNMET DEPENDENCY @iobroker/db-states-file@6.0.7
                          ├── UNMET DEPENDENCY @iobroker/db-states-jsonl@6.0.7
                          ├── UNMET DEPENDENCY @iobroker/db-states-redis@6.0.7
                          ├── UNMET DEPENDENCY @iobroker/js-controller-adapter@6.0.7
                          ├── UNMET DEPENDENCY @iobroker/js-controller-cli@6.0.7
                          ├── UNMET DEPENDENCY @iobroker/js-controller-common-db@6.0.7
                          ├── UNMET DEPENDENCY @iobroker/js-controller-common@6.0.7
                          ├── UNMET DEPENDENCY @iobroker/plugin-base@~2.0.1
                          ├── UNMET DEPENDENCY @iobroker/plugin-sentry@~2.0.4
                          ├── UNMET DEPENDENCY axios@^1.6.3
                          ├── UNMET DEPENDENCY cron-parser@^4.9.0
                          ├── UNMET DEPENDENCY debug@^4.3.4
                          ├── UNMET DEPENDENCY decache@^4.6.1
                          ├── UNMET DEPENDENCY deep-clone@^3.0.3
                          ├── UNMET DEPENDENCY fs-extra@^11.1.0
                          ├── UNMET DEPENDENCY jsonwebtoken@^9.0.0
                          ├── UNMET DEPENDENCY jszip@^3.10.1
                          ├── UNMET DEPENDENCY loadavg-windows@^1.1.1
                          ├── UNMET DEPENDENCY node-schedule@^2.1.1
                          ├── UNMET DEPENDENCY pidusage@^3.0.2
                          ├── UNMET DEPENDENCY promisify-child-process@^4.1.1
                          ├── UNMET DEPENDENCY prompt@^1.2.2
                          ├── UNMET DEPENDENCY readline-sync@^1.4.10
                          ├── UNMET DEPENDENCY semver@^7.5.2
                          └── UNMET DEPENDENCY tar@^6.2.1
                          
                          npm error code ELSPROBLEMS
                          npm error missing: @alcalzone/esbuild-register@^2.5.1-1, required by iobroker.js                            -controller@6.0.7
                          npm error missing: @iobroker/db-objects-file@6.0.7, required by iobroker.js-cont                            roller@6.0.7
                          npm error missing: @iobroker/db-objects-jsonl@6.0.7, required by iobroker.js-con                            troller@6.0.7
                          npm error missing: @iobroker/db-objects-redis@6.0.7, required by iobroker.js-con                            troller@6.0.7
                          npm error missing: @iobroker/db-states-file@6.0.7, required by iobroker.js-contr                            oller@6.0.7
                          npm error missing: @iobroker/db-states-jsonl@6.0.7, required by iobroker.js-cont                            roller@6.0.7
                          npm error missing: @iobroker/db-states-redis@6.0.7, required by iobroker.js-cont                            roller@6.0.7
                          npm error missing: @iobroker/js-controller-adapter@6.0.7, required by iobroker.j                            s-controller@6.0.7
                          npm error missing: @iobroker/js-controller-cli@6.0.7, required by iobroker.js-co                            ntroller@6.0.7
                          npm error missing: @iobroker/js-controller-common-db@6.0.7, required by iobroker                            .js-controller@6.0.7
                          npm error missing: @iobroker/js-controller-common@6.0.7, required by iobroker.js                            -controller@6.0.7
                          npm error missing: @iobroker/plugin-base@~2.0.1, required by iobroker.js-control                            ler@6.0.7
                          npm error missing: @iobroker/plugin-sentry@~2.0.4, required by iobroker.js-contr                            oller@6.0.7
                          npm error missing: axios@^1.6.3, required by iobroker.js-controller@6.0.7
                          npm error missing: cron-parser@^4.9.0, required by iobroker.js-controller@6.0.7
                          npm error missing: debug@^4.3.4, required by iobroker.js-controller@6.0.7
                          npm error missing: decache@^4.6.1, required by iobroker.js-controller@6.0.7
                          npm error missing: deep-clone@^3.0.3, required by iobroker.js-controller@6.0.7
                          npm error missing: fs-extra@^11.1.0, required by iobroker.js-controller@6.0.7
                          npm error missing: jsonwebtoken@^9.0.0, required by iobroker.js-controller@6.0.7
                          npm error missing: jszip@^3.10.1, required by iobroker.js-controller@6.0.7
                          npm error missing: loadavg-windows@^1.1.1, required by iobroker.js-controller@6.                            0.7
                          npm error missing: node-schedule@^2.1.1, required by iobroker.js-controller@6.0.                            7
                          npm error missing: pidusage@^3.0.2, required by iobroker.js-controller@6.0.7
                          npm error missing: promisify-child-process@^4.1.1, required by iobroker.js-contr                            oller@6.0.7
                          npm error missing: prompt@^1.2.2, required by iobroker.js-controller@6.0.7
                          npm error missing: readline-sync@^1.4.10, required by iobroker.js-controller@6.0                            .7
                          npm error missing: semver@^7.5.2, required by iobroker.js-controller@6.0.7
                          npm error missing: tar@^6.2.1, required by iobroker.js-controller@6.0.7
                          npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/                            2024-08-27T19_58_25_882Z-debug-0.log
                          iobroker@iobroker:/opt/iobroker/node_modules/iobroker.js-controller $ iobroker@iobroker:~ $ cd /opt/iobroker/node_modules/iobroker.js-controller && np                            m ls
                          iobroker.js-controller@6.0.7 /opt/iobroker/node_modules/iobroker.js-controller
                          ├── UNMET DEPENDENCY @alcalzone/esbuild-register@^2.5.1-1
                          ├── UNMET DEPENDENCY @iobroker/db-objects-file@6.0.7
                          ├── UNMET DEPENDENCY @iobroker/db-objects-jsonl@6.0.7
                          ├── UNMET DEPENDENCY @iobroker/db-objects-redis@6.0.7
                          ├── UNMET DEPENDENCY @iobroker/db-states-file@6.0.7
                          ├── UNMET DEPENDENCY @iobroker/db-states-jsonl@6.0.7
                          ├── UNMET DEPENDENCY @iobroker/db-states-redis@6.0.7
                          ├── UNMET DEPENDENCY @iobroker/js-controller-adapter@6.0.7
                          ├── UNMET DEPENDENCY @iobroker/js-controller-cli@6.0.7
                          ├── UNMET DEPENDENCY @iobroker/js-controller-common-db@6.0.7
                          ├── UNMET DEPENDENCY @iobroker/js-controller-common@6.0.7
                          ├── UNMET DEPENDENCY @iobroker/plugin-base@~2.0.1
                          ├── UNMET DEPENDENCY @iobroker/plugin-sentry@~2.0.4
                          ├── UNMET DEPENDENCY axios@^1.6.3
                          ├── UNMET DEPENDENCY cron-parser@^4.9.0
                          ├── UNMET DEPENDENCY debug@^4.3.4
                          ├── UNMET DEPENDENCY decache@^4.6.1
                          ├── UNMET DEPENDENCY deep-clone@^3.0.3
                          ├── UNMET DEPENDENCY fs-extra@^11.1.0
                          ├── UNMET DEPENDENCY jsonwebtoken@^9.0.0
                          ├── UNMET DEPENDENCY jszip@^3.10.1
                          ├── UNMET DEPENDENCY loadavg-windows@^1.1.1
                          ├── UNMET DEPENDENCY node-schedule@^2.1.1
                          ├── UNMET DEPENDENCY pidusage@^3.0.2
                          ├── UNMET DEPENDENCY promisify-child-process@^4.1.1
                          ├── UNMET DEPENDENCY prompt@^1.2.2
                          ├── UNMET DEPENDENCY readline-sync@^1.4.10
                          ├── UNMET DEPENDENCY semver@^7.5.2
                          └── UNMET DEPENDENCY tar@^6.2.1
                          
                          npm error code ELSPROBLEMS
                          npm error missing: @alcalzone/esbuild-register@^2.5.1-1, required by iobroker.js                            -controller@6.0.7
                          npm error missing: @iobroker/db-objects-file@6.0.7, required by iobroker.js-cont                            roller@6.0.7
                          npm error missing: @iobroker/db-objects-jsonl@6.0.7, required by iobroker.js-con                            troller@6.0.7
                          
                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @enzo last edited by

                            @enzo

                            Strange.
                            Ich kann leider nicht weiterhelfen

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

                              @thomas-braun danke für den versuch.👍 😊

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

                                @enzo wenn sonst nichts mehr geht (ausser Neuinstallation) und du ein Backup hast 😉 - das hier hat bei mir bei ähnlich zerfranstem nodejs-Kram funktioniert:

                                iob stop
                                mv node_modules node_modules.old
                                mv package-lock.json package-lock.json.old
                                npm cache clean --force
                                npm install
                                

                                offenbar bist du da als User iobroker unterwegs - falls nicht, brauchen die ‚mv‘ noch ein sudo davor. Ggf. kommt man mit den *.old Dirs wieder zum alten Zustand zurück.

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

                                  @enzo
                                  if you will do a new installation, please don't use 'iobroker' as a username.
                                  'iobroker' will be the system's user of ioBroker

                                  1 Reply Last reply Reply Quote 0
                                  • enzo
                                    enzo @JLeg last edited by

                                    @jleg ein Backup habe ich
                                    ich probiere mal deinen Tipp morgen.

                                    1 Reply Last reply Reply Quote 1
                                    • First post
                                      Last post

                                    Support us

                                    ioBroker
                                    Community Adapters
                                    Donate

                                    939
                                    Online

                                    31.9k
                                    Users

                                    80.2k
                                    Topics

                                    1.3m
                                    Posts

                                    7
                                    46
                                    2334
                                    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