Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst] keine Updates mehr möglich - npm ERR! code ETARGET

    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] keine Updates mehr möglich - npm ERR! code ETARGET

    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      Kueppert @Thomas Braun last edited by

      @thomas-braun

      {
        "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": {
          "canvas": "^2.6.1",
          "colors": "^1.3.3",
          "fs-extra": "^7.0.1",
          "iobroker": "^2.0.3",
          "iobroker.admin": "6.2.0",
          "iobroker.alarm": "3.1.1",
          "iobroker.alexa2": "3.17.4",
          "iobroker.alias-manager": "1.2.6",
          "iobroker.backitup": "2.4.10",
          "iobroker.daswetter": "3.1.3",
          "iobroker.denon": "1.13.4",
          "iobroker.devices": "1.0.12",
          "iobroker.discovery": "3.0.5",
          "iobroker.echarts": "1.0.12",
          "iobroker.email": "1.1.3",
          "iobroker.flot": "1.11.0",
          "iobroker.fully-tablet-control": "github:xXBJXx/ioBroker.fully-tablet-contro
          "iobroker.harmony": "^1.2.2",
          "iobroker.history": "2.1.7",
          "iobroker.hm-rega": "3.0.40",
          "iobroker.hm-rpc": "1.15.12",
          "iobroker.hue": "3.7.1",
          "iobroker.ical": "1.13.1",
          "iobroker.icons-mfd-png": "1.1.0",
          "iobroker.icons-ultimate-png": "^1.0.1",
          "iobroker.influxdb": "3.1.7",
          "iobroker.info": "1.9.19",
          "iobroker.iot": "1.11.8",
          "iobroker.iqontrol": "2.0.1",
          "iobroker.javascript": "5.8.8",
          "iobroker.js-controller": "4.0.23",
          "iobroker.lifx": "^0.1.1",
          "iobroker.logparser": "^1.1.0",
          "iobroker.mihome": "1.4.0",
          "iobroker.nut": "1.5.1",
          "iobroker.pi-hole": "github:unltdnetworx/ioBroker.pi-hole#master",
          "iobroker.ping": "1.5.3",
          "iobroker.pollenflug": "^1.0.6",
          "iobroker.proxmox": "^1.3.4",
          "iobroker.scenes": "2.3.9",
          "iobroker.shelly": "6.0.0",
          "iobroker.simple-api": "2.7.0",
          "iobroker.smartcontrol": "^1.2.1",
          "iobroker.snmp": "1.0.0",
          "iobroker.socketio": "6.1.8",
          "iobroker.sonoff": "2.5.1",
          "iobroker.synochat": "github:phoeluga/ioBroker.synochat",
          "iobroker.synology": "2.1.9",
          "iobroker.tankerkoenig": "^2.1.1",
          "iobroker.telegram": "1.14.1",
          "iobroker.text2command": "2.2.2",
          "iobroker.tr-064": "4.2.16",
          "iobroker.trashschedule": "2.0.3",
          "iobroker.unifi": "0.6.1",
          "iobroker.vcard": "0.0.9",
          "iobroker.vis": "1.4.15",
          "iobroker.vis-bars": "^0.1.4",
          "iobroker.vis-canvas-gauges": "^0.1.5",
          "iobroker.vis-colorpicker": "^1.2.0",
          "iobroker.vis-fancyswitch": "^1.1.0",
          "iobroker.vis-history": "^1.0.0",
          "iobroker.vis-hqwidgets": "1.2.0",
          "iobroker.vis-jqui-mfd": "^1.0.12",
          "iobroker.vis-justgage": "^1.0.2",
          "iobroker.vis-materialdesign": "^0.5.9",
          "iobroker.vis-players": "^0.1.6",
          "iobroker.vis-timeandweather": "1.2.2",
          "iobroker.vis-weather": "^2.5.5",
          "iobroker.web": "5.2.4",
          "iobroker.web-speedy": "^0.2.0",
          "iobroker.whatsapp-cmb": "0.2.2",
          "iobroker.wled": "0.6.7",
          "iobroker.ws": "2.1.3",
          "iobroker.yeelight-2": "1.2.1",
          "iobroker.zigbee": "1.7.5",
          "semver": "^5.6.0",
          "winston-syslog": "^2.5.0",
          "yargs": "^7.0.2"
        }
      }
      
      
      1 Reply Last reply Reply Quote 0
      • crunchip
        crunchip Forum Testing Most Active @Kueppert last edited by

        @kueppert da ich mich auch lange damit beschäftigt hatte und keine zufrieden stellende Lösung gefunden habe, kann ich dir https://forum.iobroker.net/post/827638 empfehlen, jedoch muss das jeder selbst entscheiden.

        K 1 Reply Last reply Reply Quote 1
        • K
          Kueppert @crunchip last edited by

          @crunchip danke dir für die kleine Anleitung. Das würde ich in der Tat dann machen, wenn wir hier nicht mehr weiterkommen. Meine Installation ist auch sehr sehr alt...
          Am saubersten wäre es vermutlich dann, die VM komplett neu aufzusetzen. Davor graut es mir aber, weil ich auch nicht mehr weiß, was ich da alles zusätzlich installieren musste, damit es so läuft (lief 😞 ) wie bisher (vorher)...
          Daher würde ich auch dann, wenn der Versuch hier scheitern sollte, deinen Lösungsvorschlag ausprobieren

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

            @kueppert

            Irgendwo steht da eine falsche Dep drin.
            Und der npm tree ist auch 'etwas' strubbelig. Vor dem Sprung auf node16 nicht aufgeräumt? Zumindest die git-Versionen hättest du auf Repo-gestützt umstellen können. Jedenfalls die meisten.

            1 Reply Last reply Reply Quote 1
            • crunchip
              crunchip Forum Testing Most Active @Kueppert last edited by

              @kueppert sagte in keine Updates mehr möglich - npm ERR! code ETARGET:

              Am saubersten wäre es vermutlich dann, die VM komplett neu aufzusetzen

              Genau das wollte/habe ich ja vermieden, das heisst, ich habe in der alten VM iobroker und node.js neu installiert.

              Das kannst du auch, wenn du nicht zufrieden bist, spielst du halt das backup der VM zurück und bist wieder auf altem Stand.
              Aber ich garantier dir, du "verblödelst" mit dem Versuch alles zu richten, den ganzen Tag.

              1 Reply Last reply Reply Quote 1
              • K
                Kueppert last edited by

                @Thomas-Braun @crunchip ich werd mal richtig aufräumen...jup, hab das vor dem Update auf Node16 nicht gemacht. Dann beiße ich mal in den sauren Apfel und mach ioB neu auf meine VM 🙂 Muss mir nur die Befehle vorher mal bereit legen

                Homoran 1 Reply Last reply Reply Quote 0
                • Homoran
                  Homoran Global Moderator Administrators @Kueppert last edited by Homoran

                  @kueppert sagte in keine Updates mehr möglich - npm ERR! code ETARGET:

                  Muss mir nur die Befehle vorher mal bereit legen

                  curl -sLf https://iobroker.net/install.sh | bash -

                  bei einem neuen jungfräulichen Debian brauchts nichts anderes

                  K 1 Reply Last reply Reply Quote 0
                  • K
                    Kueppert @Homoran last edited by

                    @homoran perfekt, und "sowie node.js deinstalliert" Hast du da auch den entsprechenden Befehl parat? Kann ihn mir auch raussuchen, aber nachher erwische ich wieder nen Befehl, den ich eigentlich nicht nutzen sollte 😄

                    Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators @Kueppert last edited by

                      @kueppert sagte in keine Updates mehr möglich - npm ERR! code ETARGET:

                      Hast du da auch den entsprechenden Befehl parat?

                      ist mit drin, wenn du noch nichts drauf hast.
                      du willst doch neu anfangen

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

                        @kueppert sagte in keine Updates mehr möglich - npm ERR! code ETARGET:

                        sowie node.js deinstalliert

                        sudo apt remove nodejs
                        

                        Wobei ich das eigentlich entbehrlich finde.

                        1 Reply Last reply Reply Quote 1
                        • K
                          Kueppert last edited by Kueppert

                          Okay, folgender Plan:
                          Ich lösche erst mal "nur" das ioBroker-Verzeichnis und jückel dann ioB mit dem Curl-Befehl neu drauf. Backup spiele ich dann via Backitup nur vom IOB neu ein (vorher die entsprechende Datei lokal in der VM ablegen). Dann mal weitersehen 🙂
                          Backup der VM hab ich schon erstellt vom Status Quo (läuft eh täglich, aber erst um 21 Uhr)

                          Homoran 1 Reply Last reply Reply Quote 0
                          • Homoran
                            Homoran Global Moderator Administrators @Kueppert last edited by

                            @kueppert und warum nicht gleich das neueste Debian installieren?

                            K 1 Reply Last reply Reply Quote 0
                            • K
                              Kueppert @Homoran last edited by Kueppert

                              @homoran weil ich u.a. wegen dem Influx-Adapter auch Influx auf der VM installiert habe (und was weiß ich noch alles auch wegen dem MiHome-Adapter etc).
                              Und das neue Bullseye hab ich zwischenzeitlich ja schon drüber gebügelt ^^

                              1 Reply Last reply Reply Quote 0
                              • K
                                Kueppert last edited by Kueppert

                                @thomas-braun @crunchip
                                Ich habe nun einmal ioBroker neu drauf gemacht, das ioBroker-Backup via Adapter neu drauf, laufen lassen, dann ein iobroker upload all und nen reboot.

                                Nun hab ich nur Probleme mit 2 Adaptern: VIS + piHole

                                host.ioBroker2 2022-07-18 10:34:27.321	error	Cannot download and install adapter "pi-hole@1.4.0". To retry it disable/enable the adapter or restart host. Also check the error messages in the log!
                                host.ioBroker2 2022-07-18 10:34:25.300	error	iobroker npm-install: host.ioBroker2 Cannot install iobroker.pi-hole@1.4.0: 1
                                host.ioBroker2 2022-07-18 10:34:19.106	warn	startInstance cannot find adapter "pi-hole@1.4.0". Try to install it... 4 attempt
                                host.ioBroker2 2022-07-18 10:34:17.085	error	iobroker npm-install: host.ioBroker2 Cannot install iobroker.pi-hole@1.4.0: 1
                                host.ioBroker2 2022-07-18 10:34:11.086	warn	startInstance cannot find adapter "pi-hole@1.4.0". Try to install it... 3 attempt
                                host.ioBroker2 2022-07-18 10:34:09.063	error	iobroker npm-install: host.ioBroker2 Cannot install unltdnetworx/ioBroker.pi-hole#master: 1
                                host.ioBroker2 2022-07-18 10:34:01.554	warn	startInstance cannot find adapter "pi-hole@1.4.0". Try to install it... 2 attempt
                                host.ioBroker2 2022-07-18 10:33:59.533	error	iobroker npm-install: host.ioBroker2 Cannot install unltdnetworx/ioBroker.pi-hole#master: 1
                                host.ioBroker2 2022-07-18 10:33:51.955	warn	startInstance cannot find adapter "pi-hole@1.4.0". Try to install it... 1 attempt
                                admin.0 2022-07-18 10:32:49.697	info	==> Connected system.user.admin from ::ffff:192.168.1.42
                                host.ioBroker2 2022-07-18 10:32:20.460	error	Cannot download and install adapter "vis@1.4.15". To retry it disable/enable the adapter or restart host. Also check the error messages in the log!
                                host.ioBroker2 2022-07-18 10:32:19.958	error	Cannot download and install adapter "pi-hole@1.4.0". To retry it disable/enable the adapter or restart host. Also check the error messages in the log!
                                host.ioBroker2 2022-07-18 10:32:17.938	error	iobroker npm-install: host.ioBroker2 Cannot install iobroker.vis@1.4.15: 6
                                vis.0 2022-07-18 10:32:17.125	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                                vis.0 2022-07-18 10:32:17.123	info	terminating
                                vis.0 2022-07-18 10:32:16.619	error	Not exists
                                vis.0 2022-07-18 10:32:16.619	error	Error: Not exists at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js:2973:17) at ObjectsInRedisClient._readFile (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:1043:26) at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:1092:29) at processImmediate (node:internal/timers:468:21)
                                vis.0 2022-07-18 10:32:16.616	error	unhandled promise rejection: Not exists
                                vis.0 2022-07-18 10:32:16.616	error	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().
                                vis.0 2022-07-18 10:32:16.207	info	vis license is OK.
                                vis.0 2022-07-18 10:32:15.980	info	starting. Version 1.4.15 in /opt/iobroker/node_modules/iobroker.vis, node: v16.16.0, js-controller: 4.0.23
                                host.ioBroker2 2022-07-18 10:32:07.065	warn	startInstance cannot find adapter "vis@1.4.15". Try to install it... 4 attempt
                                host.ioBroker2 2022-07-18 10:32:05.044	error	iobroker npm-install: host.ioBroker2 Cannot install iobroker.pi-hole@1.4.0: 1
                                host.ioBroker2 2022-07-18 10:31:59.057	warn	startInstance cannot find adapter "pi-hole@1.4.0". Try to install it... 4 attempt
                                host.ioBroker2 2022-07-18 10:31:57.035	error	iobroker npm-install: host.ioBroker2 Cannot install iobroker.vis@1.4.15: 6
                                vis.0 2022-07-18 10:31:56.226	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                                vis.0 2022-07-18 10:31:56.225	info	terminating
                                vis.0 2022-07-18 10:31:55.721	error	Not exists
                                vis.0 2022-07-18 10:31:55.720	error	Error: Not exists at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js:2973:17) at ObjectsInRedisClient._readFile (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:1043:26) at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:1092:29) at processImmediate (node:internal/timers:468:21)
                                vis.0 2022-07-18 10:31:55.718	error	unhandled promise rejection: Not exists
                                vis.0 2022-07-18 10:31:55.717	error	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().
                                vis.0 2022-07-18 10:31:55.314	info	vis license is OK.
                                vis.0 2022-07-18 10:31:55.074	info	starting. Version 1.4.15 in /opt/iobroker/node_modules/iobroker.vis, node: v16.16.0, js-controller: 4.0.23
                                host.ioBroker2 2022-07-18 10:31:45.932	warn	startInstance cannot find adapter "vis@1.4.15". Try to install it... 3 attempt
                                host.ioBroker2 2022-07-18 10:31:43.910	error	iobroker npm-install: host.ioBroker2 Cannot install iobroker.pi-hole@1.4.0: 1
                                host.ioBroker2 2022-07-18 10:31:36.576	warn	startInstance cannot find adapter "pi-hole@1.4.0". Try to install it... 3 attempt
                                host.ioBroker2 2022-07-18 10:31:34.552	error	iobroker npm-install: host.ioBroker2 Cannot install iobroker.vis@1.4.15: 6
                                vis.0 2022-07-18 10:31:33.813	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                                vis.0 2022-07-18 10:31:33.812	info	terminating
                                vis.0 2022-07-18 10:31:33.307	error	Not exists
                                vis.0 2022-07-18 10:31:33.306	error	Error: Not exists at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js:2973:17) at ObjectsInRedisClient._readFile (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:1043:26) at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:1092:29) at processImmediate (node:internal/timers:468:21)
                                vis.0 2022-07-18 10:31:33.304	error	unhandled promise rejection: Not exists
                                vis.0 2022-07-18 10:31:33.303	error	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().
                                vis.0 2022-07-18 10:31:32.886	info	vis license is OK.
                                vis.0 2022-07-18 10:31:32.689	info	starting. Version 1.4.15 in /opt/iobroker/node_modules/iobroker.vis, node: v16.16.0, js-controller: 4.0.23
                                host.ioBroker2 2022-07-18 10:31:23.795	warn	startInstance cannot find adapter "vis@1.4.15". Try to install it... 2 attempt
                                host.ioBroker2 2022-07-18 10:31:21.768	error	iobroker npm-install: host.ioBroker2 Cannot install unltdnetworx/ioBroker.pi-hole#master: 1
                                host.ioBroker2 2022-07-18 10:31:14.015	warn	startInstance cannot find adapter "pi-hole@1.4.0". Try to install it... 2 attempt
                                host.ioBroker2 2022-07-18 10:31:11.996	error	iobroker npm-install: host.ioBroker2 Cannot install iobroker.vis@1.4.15: 6
                                vis.0 2022-07-18 10:31:11.260	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                                vis.0 2022-07-18 10:31:11.258	info	terminating
                                vis.0 2022-07-18 10:31:10.754	error	Not exists
                                vis.0 2022-07-18 10:31:10.753	error	Error: Not exists at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js:2973:17) at ObjectsInRedisClient._readFile (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:1043:26) at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:1092:29) at processImmediate (node:internal/timers:468:21)
                                vis.0 2022-07-18 10:31:10.751	error	unhandled promise rejection: Not exists
                                vis.0 2022-07-18 10:31:10.750	error	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().
                                vis.0 2022-07-18 10:31:09.854	info	vis license is OK.
                                vis.0 2022-07-18 10:31:09.625	info	starting. Version 1.4.15 in /opt/iobroker/node_modules/iobroker.vis, node: v16.16.0, js-controller: 4.0.23
                                

                                Ich kann (natürlich?) die Confiog-Seite der beiden Adapter nicht öffnen. Da erhalte ich ne Fehlermeldung File index_m.html not found

                                NACHTRAG:
                                PiHole hab ich einfach deinstalliert und über den Admin neu drauf gemacht. Läuft nun.

                                VIS möchte aber nicht:

                                $ iobroker add vis --host ioBroker2
                                
                                NPM version: 8.11.0
                                
                                Installing iobroker.vis@1.4.15... (System call)
                                
                                host.ioBroker2 Cannot install iobroker.vis@1.4.15: 6
                                
                                ERROR: Process exited with code 25
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @Kueppert last edited by Thomas Braun

                                  @kueppert sagte in keine Updates mehr möglich - npm ERR! code ETARGET:

                                  iobroker add vis --host ioBroker2

                                  Bitte mit

                                  iobroker add vis --host ioBroker2 --debug
                                  

                                  versuchen. Da gibt es mehr Meldungen.

                                  Und bitte mal eine Übersicht geben wie du da jetzt unterwegs bist:

                                  cd /opt/iobroker
                                  npm ls | grep -E 'github.com|ERR'
                                  sudo ln -s /usr/bin/node /usr/bin/nodejs
                                  uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                                  
                                  K 1 Reply Last reply Reply Quote 0
                                  • K
                                    Kueppert @Thomas Braun last edited by Kueppert

                                    @thomas-braun

                                    thorsten@ioBroker2:/opt/iobroker$ iobroker add vis --host ioBroker2 --debug
                                    NPM version: 8.11.0
                                    Installing iobroker.vis@1.4.15... (System call)
                                    npm ERR! code 6
                                    npm ERR! path /opt/iobroker/node_modules/iobroker.vis
                                    npm ERR! command failed
                                    npm ERR! command sh -c node main.js --install
                                    
                                    npm ERR! A complete log of this run can be found in:
                                    npm ERR!     /home/iobroker/.npm/_logs/2022-07-18T08_58_06_029Z-debug-0.log
                                    host.ioBroker2 Cannot install iobroker.vis@1.4.15: 6
                                    
                                    thorsten@ioBroker2:/opt/iobroker$ npm ls | grep -E 'github.com|ERR'
                                    [sudo] Passwort für thorsten:
                                    ├── iobroker.fully-tablet-control@0.3.7-0.0 (git+ssh://git@github.com/xXBJXx/ioBroker.fully-tablet-control.git#7d931a40ad31c1439f39ffea6a1dc48e9b5527e9)
                                    ├── iobroker.synochat@1.2.1 (git+ssh://git@github.com/phoeluga/ioBroker.synochat.git#c253779b16b7a89faa004a1d08d6a971d46a77c6)
                                    
                                    thorsten@ioBroker2:/opt/iobroker$ sudo ln -s /usr/bin/node /usr/bin/nodejs
                                    ln: die symbolische Verknüpfung '/usr/bin/nodejs' konnte nicht angelegt werden: Die Datei existiert bereits
                                    
                                    thorsten@ioBroker2:/opt/iobroker$ uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                                    x86_64
                                    /usr/bin/nodejs
                                    /usr/bin/node
                                    /usr/bin/npm
                                    v16.16.0
                                    v16.16.0
                                    8.11.0
                                    thorsten
                                    /opt/iobroker
                                    OK:1 http://deb.debian.org/debian bullseye InRelease
                                    OK:2 http://deb.debian.org/debian-security bullseye-security InRelease
                                    OK:3 https://repos.influxdata.com/debian bullseye InRelease
                                    OK:4 http://deb.debian.org/debian bullseye-updates InRelease
                                    OK:5 https://deb.nodesource.com/node_14.x bullseye InRelease
                                    OK:6 https://deb.nodesource.com/node_16.x bullseye InRelease
                                    Paketlisten werden gelesen… Fertig
                                    Abhängigkeitsbaum wird aufgebaut… Fertig
                                    Statusinformationen werden eingelesen… Fertig
                                    Alle Pakete sind aktuell.
                                    nodejs:
                                      Installiert:           16.16.0-deb-1nodesource1
                                      Installationskandidat: 16.16.0-deb-1nodesource1
                                      Versionstabelle:
                                     *** 16.16.0-deb-1nodesource1 500
                                            500 https://deb.nodesource.com/node_16.x bullseye/main amd64 Packages
                                            100 /var/lib/dpkg/status
                                         14.20.0-deb-1nodesource1 500
                                            500 https://deb.nodesource.com/node_14.x bullseye/main amd64 Packages
                                         12.22.12~dfsg-1~deb11u1 500
                                            500 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages
                                         12.22.5~dfsg-2~11u1 500
                                            500 http://deb.debian.org/debian bullseye/main amd64 Packages
                                    

                                    Der Ordner iobroker.vis existiert bisher nicht (gerade via WinSCP mal geschaut)

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

                                      @kueppert sagte in keine Updates mehr möglich - npm ERR! code ETARGET:

                                      /home/iobroker/.npm/_logs/2022-07-18T08_58_06_029Z-debug-0.log

                                      Schau dir das log an.

                                      less -R /home/iobroker/.npm/_logs/2022-07-18T08_58_06_029Z-debug-0.log
                                      
                                      K 1 Reply Last reply Reply Quote 0
                                      • K
                                        Kueppert @Thomas Braun last edited by Kueppert

                                        @thomas-braun

                                        thorsten@ioBroker2:/opt/iobroker$ less -R /home/iobroker/.npm/_logs/2022-07-18T08_58_06_029Z-debug-0.log
                                        44 timing idealTree:node_modules/iobroker.vis Completed in 0ms
                                        45 timing idealTree:buildDeps Completed in 1286ms
                                        46 timing idealTree:fixDepFlags Completed in 31ms
                                        47 timing idealTree Completed in 2796ms
                                        48 timing reify:loadTrees Completed in 3129ms
                                        49 timing reify:diffTrees Completed in 42ms
                                        50 silly reify moves {}
                                        51 timing reify:retireShallow Completed in 1ms
                                        52 timing reify:createSparse Completed in 2ms
                                        53 timing reify:loadBundles Completed in 0ms
                                        54 verbose reify failed optional dependency /opt/iobroker/node_modules/osx-temperature-sensor
                                        55 silly reify mark deleted [ '/opt/iobroker/node_modules/osx-temperature-sensor' ]
                                        56 verbose reify failed optional dependency /opt/iobroker/node_modules/fsevents
                                        57 silly reify mark deleted [ '/opt/iobroker/node_modules/fsevents' ]
                                        58 timing reifyNode:node_modules/osx-temperature-sensor Completed in 6ms
                                        59 timing reifyNode:node_modules/fsevents Completed in 6ms
                                        60 timing reifyNode:node_modules/iobroker.vis Completed in 363ms
                                        61 timing reify:unpack Completed in 363ms
                                        62 timing reify:unretire Completed in 0ms
                                        63 timing build:queue Completed in 2ms
                                        64 info run iobroker.vis@1.4.15 install node_modules/iobroker.vis node main.js --install
                                        65 info run iobroker.vis@1.4.15 install { code: 6, signal: null }
                                        66 timing reify:rollback:createSparse Completed in 203ms
                                        67 timing reify:rollback:retireShallow Completed in 0ms
                                        68 timing command:install Completed in 7574ms
                                        69 verbose stack Error: command failed
                                        69 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:63:27)
                                        69 verbose stack     at ChildProcess.emit (node:events:527:28)
                                        69 verbose stack     at maybeClose (node:internal/child_process:1092:16)
                                        69 verbose stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
                                        70 verbose pkgid iobroker.vis@1.4.15
                                        71 verbose cwd /opt/iobroker
                                        72 verbose Linux 5.10.0-16-amd64
                                        73 verbose node v16.16.0
                                        74 verbose npm  v8.11.0
                                        75 error code 6
                                        76 error path /opt/iobroker/node_modules/iobroker.vis
                                        77 error command failed
                                        78 error command sh -c node main.js --install
                                        79 verbose exit 6
                                        80 timing npm Completed in 7755ms
                                        81 verbose unfinished npm timer reify 1658134686204
                                        82 verbose unfinished npm timer reify:build 1658134689753
                                        83 verbose unfinished npm timer build 1658134689754
                                        84 verbose unfinished npm timer build:deps 1658134689754
                                        85 verbose unfinished npm timer build:run:install 1658134689756
                                        86 verbose unfinished npm timer build:run:install:node_modules/iobroker.vis 1658134689757
                                        87 verbose code 6
                                        
                                        

                                        mehr steht in dem Log nicht drin

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

                                          @kueppert

                                          Dann weiß ich auch nix dazu.
                                          Aber mit dem vis gibt es ja auch Probleme beim Rückspielen aus einem Backup. Da geht man auf eine der Vorversionen zurück und dann geht das Backup auch rein. Vielleicht geht das hier ähnlich?

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

                                            @thomas-braun guter Hinweis. Hab das Issue gefunden:
                                            https://github.com/ioBroker/ioBroker.vis/issues/440

                                            VIS funktioniert trotzdem noch nicht...aber das ist ein anderes Problem...mal schauen, ob ich irgendwo ne Sicherung der Vis finde 😕 Wenn ich ne Lösung hab, notiere ich sie hier noch.
                                            Das manuelle Installieren der VIS 1.4.6, dann Update auf 1.4.15 ging zwar, VIS ist grün, aber meine Visualisierungen öffnen sich nicht mehr:

                                            URIError: Failed to decode param '%web_protocol%://192.168.10.13:%web_port%/vis/edit.html'
                                                at decodeURIComponent (<anonymous>)
                                                at decode_param (/opt/iobroker/node_modules/express/lib/router/layer.js:172:12)
                                                at Layer.match (/opt/iobroker/node_modules/express/lib/router/layer.js:148:15)
                                                at matchLayer (/opt/iobroker/node_modules/express/lib/router/index.js:585:18)
                                                at next (/opt/iobroker/node_modules/express/lib/router/index.js:226:15)
                                                at compression (/opt/iobroker/node_modules/compression/index.js:220:5)
                                                at Layer.handle [as handle_request] (/opt/iobroker/node_modules/express/lib/router/layer.js:95:5)
                                                at trim_prefix (/opt/iobroker/node_modules/express/lib/router/index.js:328:13)
                                                at /opt/iobroker/node_modules/express/lib/router/index.js:286:9
                                                at Function.process_params (/opt/iobroker/node_modules/express/lib/router/index.js:346:12)
                                            
                                            Ptikbrn created this issue in ioBroker/ioBroker.vis

                                            closed vis lässt sich seit backup nicht installieren #440

                                            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

                                            912
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            51
                                            3301
                                            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