Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. npm Error bei mihome-vacuum Adapter Installation

    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

    npm Error bei mihome-vacuum Adapter Installation

    This topic has been deleted. Only users with topic management privileges can see it.
    • ?
      A Former User @Wintermute last edited by

      @wintermute

      bei Windows bin ich raus..

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

        @pusemuckel

        ist nicht der gleiche Fehler, wie der TE hat, aber irgendein script scheint filename falsch deklariert zu haben.. sofern ich den Fehler richtig verstehe.. ist ja nur n Auschschnitt vom Ende des Fehlers.. man muesste da halt mal wissen:

        welches System?
        welche Version?
        Logfile von Begin an, wenn der Adapter startet...

        Dann natuerlich noch die Grundsaetzlichen infos aus iob diag.

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

          @ilovegym
          Danke für Deine Rückmeldung!

          
          ======================= SUMMARY =======================
          			v.2023-10-10
          
          
          model name	: Intel(R) Celeron(R) CPU J3455 @ 1.50GHz
          Kernel          : x86_64
          Userland        : amd64
          Docker          : v9.1.2
          
          Installation: 		Docker
          Kernel: 		x86_64
          Userland: 		amd64
          Timezone: 		Etc/UTC
          User-ID: 		0
          X-Server: 		false
          
          
          Pending OS-Updates: 	0
          Pending iob updates: 	0
          
          Nodejs-Installation: 	/usr/bin/nodejs 	v20.12.2
          			/usr/bin/node 		v20.12.2
          			/usr/bin/npm 		10.5.0
          			/usr/bin/npx 		10.5.0
          			/usr/bin/corepack 	0.25.2
          
          Recommended versions are nodejs 18.20.2 and npm 10.5.0
          Your nodejs installation is correct
          
          MEMORY:
                         total        used        free      shared  buff/cache   available
          Mem:             12G        6.7G        822M        188M        5.4G        5.7G
          Swap:           9.6G         60M        9.5G
          Total:           21G        6.8G         10G
          
          Active iob-Instances: 	26
          Active repo(s): stable
          
          ioBroker Core: 		js-controller 		5.0.19
          			admin 			6.13.16
          
          ioBroker Status: 	iobroker is running on this host.
          
          
          Objects type: jsonl
          States  type: redis
          
          Status admin and web instance:
          + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
          + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
          
          Objects: 		15173
          States: 		11749
          
          Size of iob-Database:
          
          16M	/opt/iobroker/iobroker-data/objects.jsonl
          13M	/opt/iobroker/iobroker-data/objects.json.migrated
          13M	/opt/iobroker/iobroker-data/objects.json.bak.migrated
          3.5M	/opt/iobroker/iobroker-data/states.json.bak
          3.5M	/opt/iobroker/iobroker-data/states.json
          
          
          
          =================== END OF SUMMARY ====================
          
          

          Adapter Log:

          host.iobroker
          	2024-04-19 17:08:23.959	info	Restart adapter system.adapter.mihome-vacuum.0 because enabled
          host.iobroker
          	2024-04-19 17:08:23.959	error	instance system.adapter.mihome-vacuum.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
          host.iobroker
          	2024-04-19 17:08:23.959	error	Caught by controller[0]: Node.js v20.12.2
          host.iobroker
          	2024-04-19 17:08:23.959	error	Caught by controller[0]: }
          host.iobroker
          	2024-04-19 17:08:23.958	error	Caught by controller[0]: code: 'ERR_INVALID_ARG_VALUE'
          host.iobroker
          	2024-04-19 17:08:23.958	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1369:14) {
          host.iobroker
          	2024-04-19 17:08:23.958	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.mihome-vacuum/node_modules/@iobroker/adapter-core/build/cjs/controllerTools.js:34:22)
          host.iobroker
          	2024-04-19 17:08:23.958	error	Caught by controller[0]: at require (node:internal/modules/helpers:179:18)
          host.iobroker
          	2024-04-19 17:08:23.958	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1231:19)
          host.iobroker
          	2024-04-19 17:08:23.957	error	Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1022:12)
          host.iobroker
          	2024-04-19 17:08:23.957	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1206:32)
          host.iobroker
          	2024-04-19 17:08:23.957	error	Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1427:10)
          host.iobroker
          	2024-04-19 17:08:23.957	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1369:14)
          host.iobroker
          	2024-04-19 17:08:23.956	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.mihome-vacuum/node_modules/@iobroker/adapter-core/build/cjs/helpers.js:36:53)
          host.iobroker
          	2024-04-19 17:08:23.956	error	Caught by controller[0]: at createRequire (node:internal/modules/cjs/loader:1506:13)
          host.iobroker
          	2024-04-19 17:08:23.956	error	Caught by controller[0]: TypeError [ERR_INVALID_ARG_VALUE]: The argument 'filename' must be a file URL object, file URL string, or absolute path string. Received 'file:// /opt/iobroker/node_modules/iobroker.mihome-vacuum/node_modules/@iobroker/adapter-core/build/cjs/helpers.js'
          host.iobroker
          	2024-04-19 17:08:23.956	error	Caught by controller[0]: ^
          host.iobroker
          	2024-04-19 17:08:23.955	error	Caught by controller[0]: throw new ERR_INVALID_ARG_VALUE('filename', filename,
          host.iobroker
          	2024-04-19 17:08:23.954	error	Caught by controller[0]: node:internal/modules/cjs/loader:1506
          host.iobroker
          	2024-04-19 17:08:23.723	info	instance system.adapter.mihome-vacuum.0 started with pid 5691
          

          Mehr log habe ich bzw. wo kann ich mehr log des Adapters finden ?

          ? mcm1957 2 Replies Last reply Reply Quote 0
          • ?
            A Former User @pusemuckel last edited by A Former User

            @pusemuckel

            mach mal in der Konsole des iobroker dockers ein "iob upload mihome-vacuum" und starte dann den Adapter nochmal.

            In die Konsole des Dockers kommst du im Terminal des Hosts (Synology? Proxmox? ) mit dem command

            sudo docker exec -tiu username containername /bin/bash
            

            bei mir ist das als user iobroker und der container heisst auch iobroker dann ein

            sudo docker exec -tiu iobroker iobroker /bin/bash
            

            danach bist du in /opt/iobroker und kannst als user iobroker die iob commands ausfuehren, ausser diejenigen, die ein iob maintenance brauchen..
            Ich gehe davon aus, dass du das buanet-docker-Image benutzt?

            edit:
            das Logfile bekommt man am schoensten, finde ich, in der Konsole mit dem command
            iob logs --watch

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

              @ilovegym said in npm Error bei mihome-vacuum Adapter Installation:

              iob upload mihome-vacuum

              Das hatte ich schon gemacht, leider auch ohne Erfolg. Ich konnte es mit

              npm install iobroker/adapter-core
              

              korrigieren, danach lässt sich der Adapter wieder starten!
              Schönes Wochenende!

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

                @ilovegym ...und ich bei Linux 😀

                Alle Reparaturversuche sind fehlgeschlagen - Einspielen des Updates von letzter Nacht hat meinem Iobroker und meinem Staubsauger aber wieder auf die Beine geholfen. Das Update auf die 4.2.0 werde ich dann mal besser auslassen...

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

                  Adapter    "mihome-vacuum": 4.2.0    , installed 4.2.0
                  

                  Läuft.

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

                    @thomas-braun sagte in npm Error bei mihome-vacuum Adapter Installation:

                    Adapter    "mihome-vacuum": 4.2.0    , installed 4.2.0
                    

                    Läuft.

                    Auf einem Windows-System? Hast Du irgendwelche Verrenkungen gemacht, damit der Adapter läuft?

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

                      @wintermute

                      Läuft natürlich auf einem Betriebssystem.
                      Gerade nochmal durchgestartet:

                      2024-04-19 18:46:09.700  - info: mihome-vacuum.0 (1232) Got terminate signal TERMINATE_YOURSELF
                      2024-04-19 18:46:09.727  - error: mihome-vacuum.0 (1232) Socket Close
                      2024-04-19 18:46:09.731  - info: mihome-vacuum.0 (1232) terminating
                      2024-04-19 18:46:09.734  - info: mihome-vacuum.0 (1232) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                      2024-04-19 18:46:10.221  - info: mihome-vacuum.0 (1232) terminating
                      2024-04-19 18:46:15.796  - info: mihome-vacuum.0 (680497) starting. Version 4.2.0 in /opt/iobroker/node_modules/iobroker.mihome-vacuum, node: v21.7.3, js-controller: 5.0.19
                      2024-04-19 18:46:15.867  - info: mihome-vacuum.0 (680497) IOT enabled, create state
                      2024-04-19 18:46:16.017  - info: mihome-vacuum.0 (680497) select standard vacuum protocol....
                      2024-04-19 18:46:16.494  - info: mihome-vacuum.0 (680497) create state for carpet_mode
                      2024-04-19 18:46:16.649  - info: mihome-vacuum.0 (680497) settest next timer: not available
                      

                      Kein Ding, kommt sofort wieder hoch.

                      Wintermute 1 Reply Last reply Reply Quote -1
                      • Wintermute
                        Wintermute @Thomas Braun last edited by

                        @thomas-braun sagte in npm Error bei mihome-vacuum Adapter Installation:

                        @wintermute

                        Läuft natürlich auf einem Betriebssystem.

                        Da bin ich mir sicher, dass es auf einem Betriebssystem läuft 😉
                        Aber läuft es auch auf Meinem Betriebssystem?

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

                          @wintermute

                          Natürlich nicht.

                          1 Reply Last reply Reply Quote -1
                          • mcm1957
                            mcm1957 @pusemuckel last edited by

                            @pusemuckel
                            @wintermute

                            Siehe https://forum.iobroker.net/topic/74221/häufung-von-update-problemen/3

                            mcm1957 1 Reply Last reply Reply Quote 1
                            • mcm1957
                              mcm1957 @mcm1957 last edited by

                              Weiter gehts hier https://forum.iobroker.net/topic/74237/lösung-für-fehler-typeerror-err_invalid_arg_value

                              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

                              856
                              Online

                              31.9k
                              Users

                              80.1k
                              Topics

                              1.3m
                              Posts

                              7
                              33
                              1276
                              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