Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst] js-controller 3.0.19 upgrade Fehler - Iobroker tot

    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

    [gelöst] js-controller 3.0.19 upgrade Fehler - Iobroker tot

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      MarkusW27 @f0rd42 last edited by MarkusW27

      @f0rd42 Bzgl. "Zurück auf 3.0.18": Hab ich schon probiert - ändert nichts (zumindest bei mir)

      1 Reply Last reply Reply Quote 0
      • F
        funbert last edited by

        2020-04-28 10:52:00.793 - error: history.0 (19709) uncaught exception: allback is not defined
        2020-04-28 10:52:00.802 - error: history.0 (19709) ReferenceError: allback is not defined
        at _0x411ccb._applyViewFunc (/opt/iobroker/node_modules/iobroker.objects-redis/index.js:1:115051)
        at process._tickCallback (internal/process/next_tick.js:68:7)
        2020-04-28 10:52:01.172 - info: host.athomepi4 instance system.adapter.mercedesme.0 started with pid 19728
        2020-04-28 10:52:01.181 - info: history.0 (19709) terminating
        2020-04-28 10:52:01.183 - info: history.0 (19709) Terminated (NO_ERROR): Without reason
        2020-04-28 10:52:01.709 - error: host.athomepi4 Caught by controller[0]: This error originated either by t
        hrowing inside of an async function without a catch block, or by rejecting a promise which was not handled with .ca
        tch(). The promise rejected with the reason:
        2020-04-28 10:52:01.710 - error: host.athomepi4 Caught by controller[0]: ReferenceError: allback is not de
        fined
        2020-04-28 10:52:01.710 - error: host.athomepi4 Caught by controller[0]: at _0x411ccb._applyViewFunc (
        /opt/iobroker/node_modules/iobroker.objects-redis/index.js:1:115051)
        2020-04-28 10:52:01.710 - error: host.athomepi4 Caught by controller[0]: at process._tickCallback (int
        ernal/process/next_tick.js:68:7)
        2020-04-28 10:52:01.710 - info: host.athomepi4 instance system.adapter.history.0 terminated with code 0 (N
        O_ERROR)
        2020-04-28 10:52:01.711 - info: host.athomepi4 Restart adapter system.adapter.history.0 because enabled

        1 Reply Last reply Reply Quote 0
        • F
          f0rd42 last edited by

          Warum steht da im Fehler eigentlich immer "Allback' Anstalt "Callback"?

          AlCalzone 1 Reply Last reply Reply Quote 0
          • AlCalzone
            AlCalzone Developer @f0rd42 last edited by

            @f0rd42 Genau das ist das Problem 🙂

            F 1 Reply Last reply Reply Quote 0
            • F
              f0rd42 @AlCalzone last edited by

              @AlCalzone Dann warten wir auf den Entwickler, sollte ja kein "grosses" Problem sein 🙂

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

                2020-04-28 10:17:27.955 - ^[[32minfo^[[39m: discovery.0 (519) starting. Version 2.3.3 in /opt/iobroker/node_modules/iobroker.discovery, node: v10.16.3, js-controller: 3.0.19
                2020-04-28 10:17:29.936 - ^[[32minfo^[[39m: knx.0 (530) starting. Version 1.0.41 in /opt/iobroker/node_modules/iobroker.knx, node: v10.16.3, js-controller: 3.0.19
                2020-04-28 10:17:29.963 - ^[[33mwarn^[[39m: knx.0 (530) adapter.objects.getObjectView is deprecated, and will be removed in the future. Please use adapter.getObjectView/Async. Report this to Developer!
                2020-04-28 10:17:30.037 - ^[[31merror^[[39m: knx.0 (530) uncaught exception: allback is not defined
                2020-04-28 10:17:30.038 - ^[[31merror^[[39m: knx.0 (530) ReferenceError: allback is not defined
                at _0x411ccb._applyViewFunc (/opt/iobroker/node_modules/iobroker.objects-redis/index.js:1:115051)
                at process._tickCallback (internal/process/next_tick.js:68:7)

                hier mal ein ausschnitt aus meinem Log. Zumindestens steht da "Report this to Developer!"😊

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

                  Bitte kurz warten ... controller 3.0.20 baut gerade um das zu fixen ... melde mich sobald verfügbar

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

                    Hallo zusammen,

                    da ich das oben beschriebene Problem alleine nicht lösen kann, habe ich mich hier im Forum angemeldet.
                    Ich hoffe es kann mir jemand helfen - die Hausautomation läuft leider nicht mehr.
                    Nach dem js-controller Upgrade startet das System nicht mehr.

                    Folgendes habe ich in der Konsole ausgeführt:

                    iobroker stop
                    iobroker update
                    iobroker upgrade self
                    iobroker start
                    

                    Der js-controller hat jetzt die neue Version.
                    iobroker info liefert folgendes Ergebnis:

                    (node:32704) UnhandledPromiseRejectionWarning: ReferenceError: allback is not defined
                        at _0x411ccb._applyViewFunc (/opt/iobroker/node_modules/iobroker.objects-redis/index.js:1:115051)
                        at process._tickCallback (internal/process/next_tick.js:68:7)
                    (node:32704) UnhandledPromiseRejectionWarning: Unhandled promise rejection. 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(). (rejection id: 1)
                    (node:32704) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
                    

                    Environment:
                    Rpi4
                    node 10.17.0
                    mpm 6.14.4

                    Vielen Dank im Voraus.

                    LG Wolfgang

                    haselchen sigi234 2 Replies Last reply Reply Quote 0
                    • apollon77
                      apollon77 last edited by

                      3.0.20 ist auf npm und kommt jetzt bald ins latest. Imzweifel bitte IM ioBroker VERZEICHNIS !!!! per "npm install iobroker.js-controller@3.0.20" installieren

                      F 1 Reply Last reply Reply Quote 2
                      • haselchen
                        haselchen Most Active @Schuchty last edited by

                        @Schuchty

                        Guck mal hier

                        https://forum.iobroker.net/topic/32731/js-controller-upgrade-fehler-iobroker-tot

                        @Negalein
                        führe die Threads mal bitte zusammen 🙂
                        https://forum.iobroker.net/topic/32731/js-controller-upgrade-fehler-iobroker-tot

                        Negalein 1 Reply Last reply Reply Quote 0
                        • Schuchty
                          Schuchty last edited by

                          @haselchen Habe den Controller auf 3.0.20 upgedated, läuft.
                          Super, danke.
                          LG Wolfgang

                          1 Reply Last reply Reply Quote 0
                          • sigi234
                            sigi234 Forum Testing Most Active @Schuchty last edited by

                            @Schuchty sagte in Problem nach js-controller Upgrade von 3.0.18 auf 3.0.19:

                            (node:32704) UnhandledPromiseRejectionWarning: ReferenceError: allback is not defined

                            allback

                            und genau da lag der Fehler. Es fehlte ein C 😏

                            1 Reply Last reply Reply Quote 0
                            • C
                              ChristianS last edited by

                              @apollon77
                              Ich hatte das gleiche Problem und habe mitgelesen 🙂
                              Nach "npm install iobroker.js-controller@3.0.20" funktioniert bei mir wieder alles.

                              Vielen Dank!

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

                                Bei mir funktioniert es leider nicht:

                                pi@ioBroker-RasPi4:/opt/iobroker $ npm install iobroker.js-controller@3.0.20
                                npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                                npm WARN deprecated fsevents@1.2.12: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
                                npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/chokidar/node_modules/fsevents
                                npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.loxone/node_modules/chokidar/node_modules/fsevents
                                npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/chokidar/node_modules/fsevents/node_modules
                                npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.loxone/node_modules/chokidar/node_modules/fsevents/node_modules
                                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/iobroker.js-controller/node_modules/chokidar/node_modules/fsevents):
                                npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/chokidar/node_modules/fsevents):
                                npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.12: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/iobroker.loxone/node_modules/chokidar/node_modules/fsevents):
                                npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.12: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                                npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/fsevents/package.json'
                                npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.loxone/node_modules/fsevents/package.json'
                                npm WARN ws@7.2.1 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself.
                                npm WARN ws@7.2.1 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.

                                npm ERR! path /opt/iobroker/node_modules/chokidar/node_modules/fsevents
                                npm ERR! code EACCES
                                npm ERR! errno -13
                                npm ERR! syscall access
                                npm ERR! Error: EACCES: permission denied, access '/opt/iobroker/node_modules/chokidar/node_modules/fsevents'
                                npm ERR! { [Error: EACCES: permission denied, access '/opt/iobroker/node_modules/chokidar/node_modules/fsevents']
                                npm ERR! stack:
                                npm ERR! 'Error: EACCES: permission denied, access '/opt/iobroker/node_modules/chokidar/node_modules/fsevents'',
                                npm ERR! errno: -13,
                                npm ERR! code: 'EACCES',
                                npm ERR! syscall: 'access',
                                npm ERR! path: '/opt/iobroker/node_modules/chokidar/node_modules/fsevents' }
                                npm ERR!
                                npm ERR! The operation was rejected by your operating system.
                                npm ERR! It is likely you do not have the permissions to access this file as the current user
                                npm ERR!
                                npm ERR! If you believe this might be a permissions issue, please double-check the
                                npm ERR! permissions of the file and its containing directories, or try running
                                npm ERR! the command again as root/Administrator (though this is not recommended).

                                npm ERR! A complete log of this run can be found in:
                                npm ERR! /home/pi/.npm/_logs/2020-04-28T10_11_11_846Z-debug.log
                                pi@ioBroker-RasPi4:/opt/iobroker $

                                und jetzt hab ich glaube ich noch ein größeres Problem:

                                pi@ioBroker-RasPi4:/opt/iobroker $ sudo iobroker update
                                internal/modules/cjs/loader.js:638
                                throw err;
                                ^

                                Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iob roker.js'
                                at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
                                at Function.Module._load (internal/modules/cjs/loader.js:562:25)
                                at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
                                at startup (internal/bootstrap/node.js:283:19)
                                at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)

                                mikeal created this issue in request/request

                                open Request’s Past, Present and Future #3142

                                arteck 1 Reply Last reply Reply Quote 0
                                • arteck
                                  arteck Developer Most Active @Guest last edited by

                                  @smart-home lass den fixer drüber laufen dann nochma update

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

                                    @arteck

                                    pi@ioBroker-RasPi4:/opt/iobroker $ curl -sL https://iobroker.net/fix.sh | bash -
                                    library: loaded
                                    Library version=2020-04-12
                                    ioBroker is not installed in /opt/iobroker! Cannot fix anything...
                                    pi@ioBroker-RasPi4:/opt/iobroker $

                                    arteck 1 Reply Last reply Reply Quote 0
                                    • arteck
                                      arteck Developer Most Active @Guest last edited by

                                      @smart-home

                                      dann Brechstange

                                      sudo -H -u iobroker npm install ioBroker/ioBroker.js-controller
                                      
                                      ? 1 Reply Last reply Reply Quote 0
                                      • ?
                                        A Former User @arteck last edited by

                                        @arteck in /opt/iobroker Verzeichnis oder ohne Verzeichnis?

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

                                          @smart-home Npm Befehle immer im ioBroekr Verzeicvhnis

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

                                            Brechstange war erfolgreich!!! Vielen Dank!
                                            IoBroker wieder online .... kein Datenverlust... und auf Version 3.0.20.

                                            Vielen Dank! Ich hatte mich schon auf einen langen Nachmittag der Neuinstallation und Wiederherstellung gefreut🙄

                                            BBTown 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

                                            851
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            js-controller update
                                            17
                                            47
                                            4133
                                            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