Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Javascript Adapter rot (out of memory)

    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

    Javascript Adapter rot (out of memory)

    This topic has been deleted. Only users with topic management privileges can see it.
    • paul53
      paul53 @maxpd last edited by

      @maxpd sagte:

      Der Rollladen soll solange Azimut unter 130 ist auf 55% und dann bei Azimut 130 auf 100%.

      Dann braucht es einen Trigger auf "Azimut".

      1 Reply Last reply Reply Quote 0
      • paul53
        paul53 @maxpd last edited by

        @maxpd sagte:

        da läuft er dann aber nie rein. weil das der Vorbedingung widerspricht.

        Immer, wenn die Bedingungen für 55 % erfüllt sind, läuft das Script in eine Endlos-Schleife.

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

          @Thomas-Braun
          ah ok. Wobei runlevel 3 auch schon in meinem code posting oben gestanden hatte.
          Warum initial in der browser konsole level5 drin stand weiß ich auch nicht.

          @paul53: Ja ok, so hatte ich es alternativ auch vorgeschlagen. Ändere ich.
          Die Bedingung für 55% war bislang noch nie erfüllt 😉 Daher war er auch noch nie drin.

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

            @maxpd said in Javascript Adapter rot (out of memory):

            Warum initial in der browser konsole level5 drin stand weiß ich auch nicht.

            Weil die Kiste zu dem Zeitpunkt in runlevel 5 lief, vielleicht?
            Meist lügen Konsolenausgaben nicht. Außer die bösen.

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

              @Thomas-Braun

              Leider hat sich nach einem Neustart ein Folgeproblem ergeben. Zigbee läuft nicht mehr.

              Ich vermute ich muss npm rebuild machen. Aber in welchem Ordner genau? Ich hab mir damit schonmal das System zerschossen.

              host.iobroker	2020-05-07 20:53:15.856	info	Restart adapter system.adapter.zigbee.0 because enabled
              host.iobroker	2020-05-07 20:53:15.855	error	instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
              host.iobroker	2020-05-07 20:53:15.855	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:977:32)
              host.iobroker	2020-05-07 20:53:15.855	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
              host.iobroker	2020-05-07 20:53:15.855	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1133:30)
              host.iobroker	2020-05-07 20:53:15.854	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/@serialport/bindings/lib/linux.js:2:36)
              host.iobroker	2020-05-07 20:53:15.854	error	Caught by controller[0]: at bindings (/opt/iobroker/node_modules/bindings/bindings.js:112:48)
              host.iobroker	2020-05-07 20:53:15.854	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:77:18)
              host.iobroker	2020-05-07 20:53:15.854	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:1019:19)
              host.iobroker	2020-05-07 20:53:15.854	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:877:14)
              host.iobroker	2020-05-07 20:53:15.854	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:977:32)
              host.iobroker	2020-05-07 20:53:15.853	error	Caught by controller[0]: at Object.Module._extensions..node (internal/modules/cjs/loader.js:1183:18)
              host.iobroker	2020-05-07 20:53:15.853	error	Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
              host.iobroker	2020-05-07 20:53:15.853	error	Caught by controller[0]: NODE_MODULE_VERSION 72. Please try re-compiling or re-installing
              host.iobroker	2020-05-07 20:53:15.853	error	Caught by controller[0]: NODE_MODULE_VERSION 64. This version of Node.js requires
              host.iobroker	2020-05-07 20:53:15.853	error	Caught by controller[0]: was compiled against a different Node.js version using
              host.iobroker	2020-05-07 20:53:15.852	error	Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/@serialport/bindings/build/Release/bindings.node'
              host.iobroker	2020-05-07 20:53:15.852	error	Caught by controller[0]: ^
              host.iobroker	2020-05-07 20:53:15.852	error	Caught by controller[0]: throw e;
              host.iobroker	2020-05-07 20:53:15.851	error	Caught by controller[0]: /opt/iobroker/node_modules/bindings/bindings.js:121
              host.iobroker	2020-05-07 20:53:15.459	info	instance system.adapter.zigbee.0 started with pid 3641
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators @maxpd last edited by

                @maxpd sagte in Javascript Adapter rot (out of memory):

                Bei lokalisierung war Berlin drin.

                das ist Deutsch-Belgien

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

                  @maxpd said in Javascript Adapter rot (out of memory):

                  Ich vermute ich muss npm rebuild machen. Aber in welchem Ordner genau?

                  Versuch mal in /opt/iobroker

                  iobroker rebuild iobroker.zigbee --install
                  
                  Thomas Braun M 2 Replies Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Homoran last edited by

                    @Homoran said in Javascript Adapter rot (out of memory):

                    @maxpd sagte in Javascript Adapter rot (out of memory):

                    Bei lokalisierung war Berlin drin.

                    das ist Deutsch-Belgien

                    Pommes und Bier! Lecker! 🙂

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

                      @Thomas-Braun said in Javascript Adapter rot (out of memory):

                      iobroker rebuild iobroker.zigbee --install

                      Oder auch in /opt/iobroker

                      npm rebuild bindings

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

                        @Thomas-Braun will er nicht.

                        
                        pi@iobroker:/opt/iobroker $ iobroker rebuild iobroker.zigbee --install
                        Commands:
                        iobroker setup [--objects <host>] [--states <host>] [custom]
                        iobroker start
                        iobroker stop
                        iobroker start <adapter>
                        iobroker stop <adapter>
                        iobroker start all
                        iobroker restart
                        iobroker restart <adapter>
                        iobroker info
                        iobroker logs [adapter] [--watch] [--lines=1000]
                        iobroker add <adapter> [desiredNumber] [--enabled] [--host <host>] [--port <port>]
                        iobroker install <adapter>
                        iobroker url <url> [<name>]
                        iobroker del <adapter>
                        iobroker del <adapter>.<instance>
                        iobroker update [repository url] [--updatable/--u] [--installed/--i]
                        iobroker upgrade [repository url]
                        iobroker upgrade self [repository url]
                        iobroker upgrade <adapter> [repository url]
                        iobroker upload <pathToLocalFile> <pathIniobroker>
                        iobroker upload all
                        iobroker upload <adapter>
                        iobroker object get <id>
                        iobroker object set <id> <json-value>
                        iobroker object set <id> propertyname=value
                        iobroker object del <id|pattern> [--yes]
                        iobroker object chmod <object-mode> [state-mode] <id>
                        iobroker object chown <user> <group> <id>
                        iobroker object list <id>
                        iobroker state get <id>
                        iobroker state getplain <id> [--pretty]
                        iobroker state getvalue <id>
                        iobroker state set <id> <value> [ack]
                        iobroker state del <id>
                        iobroker message <adapter>[.instanceid] <command> [<message>]
                        iobroker list <type> [filter]
                        iobroker chmod <mode> <file>
                        iobroker chown <user> <group> <file>
                        iobroker touch <file>
                        iobroker rm <file>
                        iobroker file read <iobroker-path-to-read> [<filesystem-path-to-write>]
                        iobroker file write <filesystem-path-to-read> <iobroker-path-to-write>
                        iobroker file rm <iobroker-path-to-delete>
                        iobroker file sync
                        iobroker user add <user> [--ingroup group] [--password pass]
                        iobroker user del <user>
                        iobroker user passwd <user> [--password pass]
                        iobroker user enable <user>
                        iobroker user disable <user>
                        iobroker user get <user>
                        iobroker user check <user> [--password pass]
                        iobroker group add <group>
                        iobroker group del <group>
                        iobroker group list <group>
                        iobroker group enable <group>
                        iobroker group disable <group>
                        iobroker group get <group>
                        iobroker group adduser <group> <user>
                        iobroker group deluser <group> <user>
                        iobroker host this
                        iobroker host <hostname>
                        iobroker host set <hostname>
                        iobroker host remove <hostname>
                        iobroker set <adapter>.<instance> [--port port] [--ip address] [--ssl true|false]
                        iobroker license <license.file or license.text>
                        iobroker cert create
                        iobroker cert view [<certificate name>]
                        iobroker clean
                        iobroker backup
                        iobroker restore <backup name or path>
                        iobroker validate <backup name or path>
                        iobroker <command> --timeout 5000
                        iobroker status [all]
                        iobroker repo [name]
                        iobroker repo add <name> <path or url>
                        iobroker repo set <name>
                        iobroker repo del <name>
                        iobroker uuid
                        iobroker unsetup
                        iobroker fix
                        iobroker multihost <enable|disable> [--secure true|false]
                        iobroker multihost browse
                        iobroker multihost connect
                        iobroker compact status
                        iobroker compact <enable|on|disable|off>
                        iobroker compact <adapter>.<instance> status
                        iobroker compact <adapter>.<instance> group <group-id>
                        iobroker compact <adapter>.<instance> <disable|off>
                        iobroker compact <adapter>.<instance> <enable|on> [group-id]
                        iobroker version [adapter]
                        iobroker [adapter] -v
                        
                        
                        Options:
                          --help     Hilfe anzeigen  [boolean]
                          --version  Version anzeigen  [boolean]
                        
                        
                        
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • M
                          maxpd @Thomas Braun last edited by

                          @Thomas-Braun nee, startet damit auch noch nicht.

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

                            @maxpd

                            iobroker version
                            
                            M 1 Reply Last reply Reply Quote 0
                            • M
                              maxpd @Thomas Braun last edited by

                              @Thomas-Braun 2.2.9

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

                                @maxpd
                                Möglich das 2.2.9 das noch nicht kann. Bei mir gibt es 'rebuild' in 3.0.20.
                                Dann

                                npm rebuild iobroker.zigbee
                                
                                M 1 Reply Last reply Reply Quote 0
                                • M
                                  maxpd @Thomas Braun last edited by

                                  @Thomas-Braun
                                  Dabei hab ich das System neu aufgesetzt. Warum bin ich eine ganze Hauptversion hintendran?!

                                  Auch der rebuild lässt Zigbee nicht starten. Fehler bleibt der gleiche.

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

                                    @maxpd

                                    npm rebuild bindings
                                    

                                    Bist du auf 'default'? V3 ist glaube ich erst in 'latest' drin.

                                    M 3 Replies Last reply Reply Quote 0
                                    • M
                                      maxpd @Thomas Braun last edited by

                                      @Thomas-Braun

                                      Habe das Image

                                      cf9bf642-cec5-468c-9580-5582bd32ca7b-image.png

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

                                        @maxpd Das Image hat mit iobroker nichts direkt zu tun.

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

                                          @Thomas-Braun ich vermute ^^

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

                                            @Thomas-Braun said in Javascript Adapter rot (out of memory):

                                            @maxpd

                                            npm rebuild bindings
                                            

                                            Bist du auf 'default'? V3 ist glaube ich erst in 'latest' drin.

                                            ich vermute ^^

                                            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

                                            612
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            javascript
                                            6
                                            82
                                            4551
                                            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