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.
    • 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
                                • BBTown
                                  BBTown @Guest last edited by BBTown

                                  @smart-home aber nicht doch, Du arbeitest doch 100%ig mit Backups, oder? 😎

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

                                    Jupp mache ich. Hab extra auf den Server geschaut 👀 letztes Backup 26.04 wäre also alles ok....

                                    Bin trozdem FROH

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

                                      @apollon77 Prima, läuft wieder, vielen dank!

                                      1 Reply Last reply Reply Quote 0
                                      • M
                                        MarkusW27 last edited by

                                        Bei geht´s auch wieder! Danke für die schnelle Reaktion / Fix!

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

                                          Danke auch von meiner Seite. Läuft wieder.

                                          1 Reply Last reply Reply Quote 0
                                          • B
                                            Berchemer last edited by

                                            Brechstange hat es auch bei mir gelöst. Zumindest kommen keine Fehlermeldungen mehr und die Slaves sind auch wieder dauerhaft anwesend und nicht in Form einer ON-OFF-Beziehung 😁

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            932
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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