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.
    • 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
              • Thomas Braun
                Thomas Braun Most Active @maxpd last edited by Thomas Braun

                @maxpd
                Schau mal unter dem 'Schraubenschlüssel' im Admin unter 'Verwahrungsort' nach. Dürfte aber 'default' sein.
                Hast du die bindings neugebaut?

                M 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
                  Schau mal unter dem 'Schraubenschlüssel' im Admin unter 'Verwahrungsort' nach. Dürfte aber 'default' sein.

                  3f3a5020-e2f3-412a-a377-46fec22c82fc-image.png

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

                    @maxpd Auf dem ersten Reiter.
                    2.2.9. ist in 'default', hab gerade schon geschaut. Lass das mal da stehen.

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

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

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

                      Das ist Murks ... warum postet du hier nicht weiter !!!!

                      Link Text

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

                        Ist im Ordner /opt/iobroker eine Datei package-lock.json? -JA
                        Ist im Ordner /opt/iobroker/node_modules ein Ordner iobroker ohne führendes @? -JA
                        Zeige bitte den Inhalt der Datei /opt/iobroker/package.json.

                        
                        pi@iobroker:/opt/iobroker $ cat package.json
                        {
                          "name": "iobroker.inst",
                          "version": "2.0.3",
                          "private": true,
                          "description": "Automation platform in node.js",
                          "scripts": {
                            "install": "node lib/checkVersions.js",
                            "postinstall": "node lib/install.js",
                            "test": "node node_modules/mocha/bin/mocha --exit"
                          },
                          "dependencies": {
                            "colors": "^1.3.3",
                            "fs-extra": "^7.0.1",
                            "iobroker": "^2.0.3",
                            "iobroker.admin": "^4.0.9",
                            "iobroker.chromecast": "^2.3.1",
                            "iobroker.cloud": "^3.0.3",
                            "iobroker.daswetter": "^2.8.1",
                            "iobroker.denon": "^1.7.4",
                            "iobroker.discovery": "^2.2.2",
                            "iobroker.google-sharedlocations": "https://github.com/t4qjXH8N/ioBroker.google-sharedlocations/tarball/ec1d15964dc6f3995f744d240d8b972bf25331fe",
                            "iobroker.history": "^1.8.7",
                            "iobroker.hm-rega": "^2.5.5",
                            "iobroker.hm-rpc": "^1.12.10",
                            "iobroker.info": "^1.5.6",
                            "iobroker.iot": "^1.4.14",
                            "iobroker.javascript": "^4.5.1",
                            "iobroker.js-controller": "^2.2.9",
                            "iobroker.lgtv": "^1.1.6",
                            "iobroker.mihome-vacuum": "^1.1.5",
                            "iobroker.ping": "^1.3.2",
                            "iobroker.sayit": "^1.8.2",
                            "iobroker.shelly": "^3.1.6",
                            "iobroker.shuttercontrol": "^0.4.3",
                            "iobroker.socketio": "^3.0.6",
                            "iobroker.sonoff": "^2.3.3",
                            "iobroker.telegram": "^1.4.3",
                            "iobroker.terminal": "^0.1.2",
                            "iobroker.text2command": "^1.3.0",
                            "iobroker.tr-064": "^0.4.18",
                            "iobroker.web": "^3.0.7",
                            "iobroker.wifilight": "https://github.com/iobroker-community-adapters/ioBroker.wifilight/tarball/3b408fefaca79abe9bb404216791b5408d3d6d52",
                            "iobroker.yeelight-2": "^1.0.3",
                            "iobroker.zigbee": "^1.0.4",
                            "semver": "^5.6.0",
                            "yargs": "^7.0.2"
                          }
                        }
                        pi@iobroker:/opt/iobroker $
                        
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @maxpd last edited by

                          @maxpd

                          In den anderen Thread wurde dann deine Zeile 16 gelöscht und das Ding lief wieder. Kannst du auch mal probieren.
                          Ich übernehme aber keine Gewähr, das deine Kiste nicht explodiert und die Katze tötet.

                          Glasfaser M 3 Replies Last reply Reply Quote 1
                          • Glasfaser
                            Glasfaser @Thomas Braun last edited by

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

                            das deine Kiste nicht explodiert und die Katze tötet.

                            Der ist gut 👍

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

                              @Thomas-Braun ok, ich leg morgen erst mal ein backup an.

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

                                @Thomas-Braun Zeile 16 ist gelöscht. Jetzt wird davon gesprochen, dass man Adapter wieder installieren kann. Der Adapter ist per se ja noch da. Soll ich trotzdem ran mit

                                iobroker rebuild iobroker.zigbee --install
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @maxpd last edited by

                                  @maxpd

                                  iobroker stop
                                  iobroker start
                                  

                                  Und dann schau nochmal, was das Adapter im log ausgibt, wenn der startet.

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

                                    @Thomas-Braun
                                    Bislang nur Zeile 16 gelöscht und iobroker neu gestartet.
                                    Fehler ist weiterhin der gleiche.

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

                                      @maxpd
                                      Stop den iobroker nochmal.
                                      Und dann im Verzeichnis /opt/iobroker stehend:

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

                                        @maxpd Wenn das nicht ausreicht, im gleichen Verzeichnis

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

                                          @Thomas-Braun da waren wir gestern schonmal. Den Befehl gibt es nicht.

                                          
                                          pi@iobroker:/opt/iobroker $ rebuild iobroker.zigbee --install
                                          -bash: rebuild: Kommando nicht gefunden.
                                          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]
                                          pi@iobroker:/opt/iobroker $
                                          
                                          

                                          nach dem Binding rebuild habe ich weiterhin den gleichen Fehler.

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

                                            @maxpd
                                            Dann über npm.

                                            npm rebuild iobroker.zigbee
                                            
                                            M 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

                                            918
                                            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