NEWS
Neuinstallation und Aktualisierung Adaptern nicht möglich
-
root@ioBroker:~# iobroker upgrade parser --debug This upgrade of "parser" will introduce the following changes: ========================================================================== -> 1.1.5: Ignore objects without configuration for parser and log it ========================================================================== Would you like to upgrade parser from @1.1.4 to @1.1.5 now? [(y)es, (n)o]: y Update parser from @1.1.4 to @1.1.5 NPM version: 8.13.1 Installing iobroker.parser@1.1.5... (System call) npm WARN old lockfile npm WARN old lockfile The package-lock.json file was created with an old version of npm, npm WARN old lockfile so supplemental metadata must be fetched from the registry. npm WARN old lockfile npm WARN old lockfile This is a one-time fix-up, please be patient... npm WARN old lockfile npm WARN old lockfile Error: An unknown git error occurred npm WARN old lockfile at makeError (/usr/lib/node_modules/npm/node_modules/@npmcli/git/lib/make-error.js:28:13) npm WARN old lockfile at /usr/lib/node_modules/npm/node_modules/@npmcli/git/lib/spawn.js:37:26 npm WARN old lockfile at runMicrotasks (<anonymous>) npm WARN old lockfile at processTicksAndRejections (node:internal/process/task_queues:96:5) npm WARN old lockfile Could not fetch metadata for iobroker.powerfox@git+ssh://git@github.com/bazidibavaria/ioBroker.powerfox.git#f78f5268cf3851cc8c8f5423ba40672dcccb8150 GitUnknownError: An unknown git error occurred npm WARN old lockfile at makeError (/usr/lib/node_modules/npm/node_modules/@npmcli/git/lib/make-error.js:28:13) npm WARN old lockfile at /usr/lib/node_modules/npm/node_modules/@npmcli/git/lib/spawn.js:37:26 npm WARN old lockfile at runMicrotasks (<anonymous>) npm WARN old lockfile at processTicksAndRejections (node:internal/process/task_queues:96:5) { npm WARN old lockfile cmd: 'git', npm WARN old lockfile args: [ npm WARN old lockfile '--no-replace-objects', npm WARN old lockfile 'ls-remote', npm WARN old lockfile 'ssh://git@github.com/bazidibavaria/ioBroker.powerfox.git' npm WARN old lockfile ], npm WARN old lockfile code: 128, npm WARN old lockfile signal: null, npm WARN old lockfile stdout: '', npm WARN old lockfile stderr: '/etc/ssh/ssh_config: line 52: Bad configuration option: permitrootlogin\r\n' + npm WARN old lockfile '/etc/ssh/ssh_config: terminating, 1 bad configuration options\r\n' + npm WARN old lockfile 'fatal: Konnte nicht vom Remote-Repository lesen.\n' + npm WARN old lockfile '\n' + npm WARN old lockfile 'Bitte stellen Sie sicher, dass die korrekten Zugriffsberechtigungen bestehen\n' + npm WARN old lockfile 'und das Repository existiert.\n' npm WARN old lockfile } npm WARN deprecated axios@0.20.0: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410 npm ERR! code 128 npm ERR! An unknown git error occurred npm ERR! command git --no-replace-objects ls-remote ssh://git@github.com/bazidibavaria/ioBroker.powerfox.git npm ERR! /etc/ssh/ssh_config: line 52: Bad configuration option: permitrootlogin npm ERR! /etc/ssh/ssh_config: terminating, 1 bad configuration options npm ERR! fatal: Konnte nicht vom Remote-Repository lesen. npm ERR! npm ERR! Bitte stellen Sie sicher, dass die korrekten Zugriffsberechtigungen bestehen npm ERR! und das Repository existiert. npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-06-25T13_08_24_426Z-debug-0.log host.ioBroker Cannot install iobroker.parser@1.1.5: 128 root@ioBroker:~# -
root@ioBroker:~# iobroker upgrade parser --debug This upgrade of "parser" will introduce the following changes: ========================================================================== -> 1.1.5: Ignore objects without configuration for parser and log it ========================================================================== Would you like to upgrade parser from @1.1.4 to @1.1.5 now? [(y)es, (n)o]: y Update parser from @1.1.4 to @1.1.5 NPM version: 8.13.1 Installing iobroker.parser@1.1.5... (System call) npm WARN old lockfile npm WARN old lockfile The package-lock.json file was created with an old version of npm, npm WARN old lockfile so supplemental metadata must be fetched from the registry. npm WARN old lockfile npm WARN old lockfile This is a one-time fix-up, please be patient... npm WARN old lockfile npm WARN old lockfile Error: An unknown git error occurred npm WARN old lockfile at makeError (/usr/lib/node_modules/npm/node_modules/@npmcli/git/lib/make-error.js:28:13) npm WARN old lockfile at /usr/lib/node_modules/npm/node_modules/@npmcli/git/lib/spawn.js:37:26 npm WARN old lockfile at runMicrotasks (<anonymous>) npm WARN old lockfile at processTicksAndRejections (node:internal/process/task_queues:96:5) npm WARN old lockfile Could not fetch metadata for iobroker.powerfox@git+ssh://git@github.com/bazidibavaria/ioBroker.powerfox.git#f78f5268cf3851cc8c8f5423ba40672dcccb8150 GitUnknownError: An unknown git error occurred npm WARN old lockfile at makeError (/usr/lib/node_modules/npm/node_modules/@npmcli/git/lib/make-error.js:28:13) npm WARN old lockfile at /usr/lib/node_modules/npm/node_modules/@npmcli/git/lib/spawn.js:37:26 npm WARN old lockfile at runMicrotasks (<anonymous>) npm WARN old lockfile at processTicksAndRejections (node:internal/process/task_queues:96:5) { npm WARN old lockfile cmd: 'git', npm WARN old lockfile args: [ npm WARN old lockfile '--no-replace-objects', npm WARN old lockfile 'ls-remote', npm WARN old lockfile 'ssh://git@github.com/bazidibavaria/ioBroker.powerfox.git' npm WARN old lockfile ], npm WARN old lockfile code: 128, npm WARN old lockfile signal: null, npm WARN old lockfile stdout: '', npm WARN old lockfile stderr: '/etc/ssh/ssh_config: line 52: Bad configuration option: permitrootlogin\r\n' + npm WARN old lockfile '/etc/ssh/ssh_config: terminating, 1 bad configuration options\r\n' + npm WARN old lockfile 'fatal: Konnte nicht vom Remote-Repository lesen.\n' + npm WARN old lockfile '\n' + npm WARN old lockfile 'Bitte stellen Sie sicher, dass die korrekten Zugriffsberechtigungen bestehen\n' + npm WARN old lockfile 'und das Repository existiert.\n' npm WARN old lockfile } npm WARN deprecated axios@0.20.0: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410 npm ERR! code 128 npm ERR! An unknown git error occurred npm ERR! command git --no-replace-objects ls-remote ssh://git@github.com/bazidibavaria/ioBroker.powerfox.git npm ERR! /etc/ssh/ssh_config: line 52: Bad configuration option: permitrootlogin npm ERR! /etc/ssh/ssh_config: terminating, 1 bad configuration options npm ERR! fatal: Konnte nicht vom Remote-Repository lesen. npm ERR! npm ERR! Bitte stellen Sie sicher, dass die korrekten Zugriffsberechtigungen bestehen npm ERR! und das Repository existiert. npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-06-25T13_08_24_426Z-debug-0.log host.ioBroker Cannot install iobroker.parser@1.1.5: 128 root@ioBroker:~#@bastler sagte in Neuinstallation und Aktualisierung Adaptern nicht möglich:
npm WARN old lockfile The package-lock.json file was created with an old version of npm,
passt
mit viel glück läuft es nach löschen der Datei.
Mit Pech hast du da irgendwas zusammengeschustert
-
root@ioBroker:~# iobroker upgrade parser --debug This upgrade of "parser" will introduce the following changes: ========================================================================== -> 1.1.5: Ignore objects without configuration for parser and log it ========================================================================== Would you like to upgrade parser from @1.1.4 to @1.1.5 now? [(y)es, (n)o]: y Update parser from @1.1.4 to @1.1.5 NPM version: 8.13.1 Installing iobroker.parser@1.1.5... (System call) npm WARN old lockfile npm WARN old lockfile The package-lock.json file was created with an old version of npm, npm WARN old lockfile so supplemental metadata must be fetched from the registry. npm WARN old lockfile npm WARN old lockfile This is a one-time fix-up, please be patient... npm WARN old lockfile npm WARN old lockfile Error: An unknown git error occurred npm WARN old lockfile at makeError (/usr/lib/node_modules/npm/node_modules/@npmcli/git/lib/make-error.js:28:13) npm WARN old lockfile at /usr/lib/node_modules/npm/node_modules/@npmcli/git/lib/spawn.js:37:26 npm WARN old lockfile at runMicrotasks (<anonymous>) npm WARN old lockfile at processTicksAndRejections (node:internal/process/task_queues:96:5) npm WARN old lockfile Could not fetch metadata for iobroker.powerfox@git+ssh://git@github.com/bazidibavaria/ioBroker.powerfox.git#f78f5268cf3851cc8c8f5423ba40672dcccb8150 GitUnknownError: An unknown git error occurred npm WARN old lockfile at makeError (/usr/lib/node_modules/npm/node_modules/@npmcli/git/lib/make-error.js:28:13) npm WARN old lockfile at /usr/lib/node_modules/npm/node_modules/@npmcli/git/lib/spawn.js:37:26 npm WARN old lockfile at runMicrotasks (<anonymous>) npm WARN old lockfile at processTicksAndRejections (node:internal/process/task_queues:96:5) { npm WARN old lockfile cmd: 'git', npm WARN old lockfile args: [ npm WARN old lockfile '--no-replace-objects', npm WARN old lockfile 'ls-remote', npm WARN old lockfile 'ssh://git@github.com/bazidibavaria/ioBroker.powerfox.git' npm WARN old lockfile ], npm WARN old lockfile code: 128, npm WARN old lockfile signal: null, npm WARN old lockfile stdout: '', npm WARN old lockfile stderr: '/etc/ssh/ssh_config: line 52: Bad configuration option: permitrootlogin\r\n' + npm WARN old lockfile '/etc/ssh/ssh_config: terminating, 1 bad configuration options\r\n' + npm WARN old lockfile 'fatal: Konnte nicht vom Remote-Repository lesen.\n' + npm WARN old lockfile '\n' + npm WARN old lockfile 'Bitte stellen Sie sicher, dass die korrekten Zugriffsberechtigungen bestehen\n' + npm WARN old lockfile 'und das Repository existiert.\n' npm WARN old lockfile } npm WARN deprecated axios@0.20.0: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410 npm ERR! code 128 npm ERR! An unknown git error occurred npm ERR! command git --no-replace-objects ls-remote ssh://git@github.com/bazidibavaria/ioBroker.powerfox.git npm ERR! /etc/ssh/ssh_config: line 52: Bad configuration option: permitrootlogin npm ERR! /etc/ssh/ssh_config: terminating, 1 bad configuration options npm ERR! fatal: Konnte nicht vom Remote-Repository lesen. npm ERR! npm ERR! Bitte stellen Sie sicher, dass die korrekten Zugriffsberechtigungen bestehen npm ERR! und das Repository existiert. npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-06-25T13_08_24_426Z-debug-0.log host.ioBroker Cannot install iobroker.parser@1.1.5: 128 root@ioBroker:~#@bastler sagte in Neuinstallation und Aktualisierung Adaptern nicht möglich:
root@ioBroker:~#
'nuff said...
Der Scheiß-root-login beschert dir diese Fehlermedlung:
npm ERR! /etc/ssh/ssh_config: line 52: Bad configuration option: permitrootlogin npm ERR! /etc/ssh/ssh_config: terminating, 1 bad configuration optionsFinde ich aber gut, das eine root shell auch in npm zu Fehlermeldungen führt. Sollte noch viel häufiger gemacht werden.
-
@bastler sagte in Neuinstallation und Aktualisierung Adaptern nicht möglich:
npm WARN old lockfile The package-lock.json file was created with an old version of npm,
passt
mit viel glück läuft es nach löschen der Datei.
Mit Pech hast du da irgendwas zusammengeschustert
@homoran sagte in Neuinstallation und Aktualisierung Adaptern nicht möglich:
The package-lock.json
Danke für den Hinweis. Ich hatte vorher die npm Version 8.11 drauf, mit dem gleichen Fehler. Dann wird es wohl keinen Sinn machen auf die Version zurück zu kehren? Wenn ich die Datei löschen will, muss ich ja erst in das entsprechende Verzeichnis. Habe da wenig Erfahrung. Wie finde ich das Verzeichnis raus?
-
@homoran sagte in Neuinstallation und Aktualisierung Adaptern nicht möglich:
The package-lock.json
Danke für den Hinweis. Ich hatte vorher die npm Version 8.11 drauf, mit dem gleichen Fehler. Dann wird es wohl keinen Sinn machen auf die Version zurück zu kehren? Wenn ich die Datei löschen will, muss ich ja erst in das entsprechende Verzeichnis. Habe da wenig Erfahrung. Wie finde ich das Verzeichnis raus?
@bastler sagte in Neuinstallation und Aktualisierung Adaptern nicht möglich:
Ich hatte vorher die npm Version 8.11 drauf, mit dem gleichen Fehler
klar, der Schnitt von dem alten auf das neue Format war ja auch von v6 nach v8.
-
@bastler sagte in Neuinstallation und Aktualisierung Adaptern nicht möglich:
root@ioBroker:~#
'nuff said...
Der Scheiß-root-login beschert dir diese Fehlermedlung:
npm ERR! /etc/ssh/ssh_config: line 52: Bad configuration option: permitrootlogin npm ERR! /etc/ssh/ssh_config: terminating, 1 bad configuration optionsFinde ich aber gut, das eine root shell auch in npm zu Fehlermeldungen führt. Sollte noch viel häufiger gemacht werden.
Und was kann ich daraus schließen, welche Maßnahme schlägst Du mir vor und wie mache ich es für die Zukunft besser?
-
Und was kann ich daraus schließen, welche Maßnahme schlägst Du mir vor und wie mache ich es für die Zukunft besser?
Wie üblich und vorgesehen als User agieren und den rootpermit ausschalten.
-
Und was kann ich daraus schließen, welche Maßnahme schlägst Du mir vor und wie mache ich es für die Zukunft besser?
@bastler sagte in Neuinstallation und Aktualisierung Adaptern nicht möglich:
und wie mache ich es für die Zukunft besser?
Nach Anleitung aus der Doku arbeiten
-
@bastler sagte in Neuinstallation und Aktualisierung Adaptern nicht möglich:
Ich hatte vorher die npm Version 8.11 drauf, mit dem gleichen Fehler
klar, der Schnitt von dem alten auf das neue Format war ja auch von v6 nach v8.
-
Du solltest node16 sauber installieren und die Finger von irgendwelchen Updates von npm lassen.
Und halt nicht als root rumeiern. -
@bastler sagte in Neuinstallation und Aktualisierung Adaptern nicht möglich:
@homoran Auf welche npm Version sollte ich downgraden?
gar nicht, nie und niemals!
mit jeder node-version kommt das passende npm. das sollte nicht verändert werden
-
@thomas-braun Habe jetzt node16 neu installiert und die npm ist wieder 8.11. Um das System wieder richtig zum Laufen zu bekommen soll ich zunächst auf die v6 downgraden oder erst einmal die Datei "The package-lock.json" löschen? Wenn ich sie gelöscht habe, wird ja wohl eine aktuelle benötigt? Wenn ja, was ist zu tun?
-
@thomas-braun Habe jetzt node16 neu installiert und die npm ist wieder 8.11. Um das System wieder richtig zum Laufen zu bekommen soll ich zunächst auf die v6 downgraden oder erst einmal die Datei "The package-lock.json" löschen? Wenn ich sie gelöscht habe, wird ja wohl eine aktuelle benötigt? Wenn ja, was ist zu tun?
Wie bist du da jetzt unterwegs?
sudo ln -s /usr/bin/node /usr/bin/nodejs uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs iobroker update -i -
@thomas-braun Habe jetzt node16 neu installiert und die npm ist wieder 8.11. Um das System wieder richtig zum Laufen zu bekommen soll ich zunächst auf die v6 downgraden oder erst einmal die Datei "The package-lock.json" löschen? Wenn ich sie gelöscht habe, wird ja wohl eine aktuelle benötigt? Wenn ja, was ist zu tun?
@bastler sagte in Neuinstallation und Aktualisierung Adaptern nicht möglich:
soll ich zunächst auf die v6 downgraden
@homoran sagte in Neuinstallation und Aktualisierung Adaptern nicht möglich:
@bastler sagte in Neuinstallation und Aktualisierung Adaptern nicht möglich:
@homoran Auf welche npm Version sollte ich downgraden?
gar nicht, nie und niemals!
mit jeder node-version kommt das passende npm. das sollte nicht verändert werden
@bastler sagte in Neuinstallation und Aktualisierung Adaptern nicht möglich:
erst einmal die Datei "
Thepackage-lock.json" löschen@bastler sagte in Neuinstallation und Aktualisierung Adaptern nicht möglich:
Wenn ich sie gelöscht habe, wird ja wohl eine aktuelle benötigt
wenn das System sauber ist, wird eine neue automatisch erstellt
-
@thomas-braun sagte in Neuinstallation und Aktualisierung Adaptern nicht möglich:
sudo ln -s /usr/bin/node /usr/bin/nodejs uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs iobroker update -i
Ist soweit durchgelaufen, hat leider nichts gebracht, es besteht immer noch das gleiche Problem
OK:1 http://deb.debian.org/debian buster InRelease OK:2 http://security.debian.org/debian-security buster/updates InRelease OK:3 https://repos.influxdata.com/debian buster InRelease OK:4 https://deb.nodesource.com/node_16.x buster InRelease OK:5 http://deb.debian.org/debian buster-updates InRelease Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Aktualisierung für 1 Paket verfügbar. Führen Sie »apt list --upgradable« aus, um es anzuzeigen. nodejs: Installiert: 16.15.1-deb-1nodesource1 Installationskandidat: 16.15.1-deb-1nodesource1 Versionstabelle: *** 16.15.1-deb-1nodesource1 500 500 https://deb.nodesource.com/node_16.x buster/main amd64 Packages 100 /var/lib/dpkg/status 10.24.0~dfsg-1~deb10u1 500 500 http://deb.debian.org/debian buster/main amd64 Packages 500 http://security.debian.org/debian-security buster/updates/main amd64 Packages -
@thomas-braun sagte in Neuinstallation und Aktualisierung Adaptern nicht möglich:
sudo ln -s /usr/bin/node /usr/bin/nodejs uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs iobroker update -i
Ist soweit durchgelaufen, hat leider nichts gebracht, es besteht immer noch das gleiche Problem
OK:1 http://deb.debian.org/debian buster InRelease OK:2 http://security.debian.org/debian-security buster/updates InRelease OK:3 https://repos.influxdata.com/debian buster InRelease OK:4 https://deb.nodesource.com/node_16.x buster InRelease OK:5 http://deb.debian.org/debian buster-updates InRelease Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Aktualisierung für 1 Paket verfügbar. Führen Sie »apt list --upgradable« aus, um es anzuzeigen. nodejs: Installiert: 16.15.1-deb-1nodesource1 Installationskandidat: 16.15.1-deb-1nodesource1 Versionstabelle: *** 16.15.1-deb-1nodesource1 500 500 https://deb.nodesource.com/node_16.x buster/main amd64 Packages 100 /var/lib/dpkg/status 10.24.0~dfsg-1~deb10u1 500 500 http://deb.debian.org/debian buster/main amd64 Packages 500 http://security.debian.org/debian-security buster/updates/main amd64 Packages@bastler sagte in Neuinstallation und Aktualisierung Adaptern nicht möglich:
Ist soweit durchgelaufen, hat leider nichts gebracht,
doch, es hat einen output gebracht, der abgefragt wurde um Fehler zu finden.
Mehr war auch nicht gewollt.
Allerdings fehlt da einiges -
@thomas-braun sagte in Neuinstallation und Aktualisierung Adaptern nicht möglich:
sudo ln -s /usr/bin/node /usr/bin/nodejs uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs iobroker update -i
Ist soweit durchgelaufen, hat leider nichts gebracht, es besteht immer noch das gleiche Problem
OK:1 http://deb.debian.org/debian buster InRelease OK:2 http://security.debian.org/debian-security buster/updates InRelease OK:3 https://repos.influxdata.com/debian buster InRelease OK:4 https://deb.nodesource.com/node_16.x buster InRelease OK:5 http://deb.debian.org/debian buster-updates InRelease Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Aktualisierung für 1 Paket verfügbar. Führen Sie »apt list --upgradable« aus, um es anzuzeigen. nodejs: Installiert: 16.15.1-deb-1nodesource1 Installationskandidat: 16.15.1-deb-1nodesource1 Versionstabelle: *** 16.15.1-deb-1nodesource1 500 500 https://deb.nodesource.com/node_16.x buster/main amd64 Packages 100 /var/lib/dpkg/status 10.24.0~dfsg-1~deb10u1 500 500 http://deb.debian.org/debian buster/main amd64 Packages 500 http://security.debian.org/debian-security buster/updates/main amd64 PackagesVollständig posten.
-
@bastler sagte in Neuinstallation und Aktualisierung Adaptern nicht möglich:
Ist soweit durchgelaufen, hat leider nichts gebracht,
doch, es hat einen output gebracht, der abgefragt wurde um Fehler zu finden.
Mehr war auch nicht gewollt.
Allerdings fehlt da einiges -
@bastler sagte in Neuinstallation und Aktualisierung Adaptern nicht möglich:
@homoran ok, Was fehlt? Gibt es einen Vorschlag wie die Sache wieder ins Lot bekomme?
liest du was wir schreiben?
@bastler sagte in Neuinstallation und Aktualisierung Adaptern nicht möglich:
Was fehlt?
die vollständige Eingabe und Ausgabe von dem Befehl
@bastler sagte in Neuinstallation und Aktualisierung Adaptern nicht möglich:
Gibt es einen Vorschlag wie die Sache wieder ins Lot bekomme?
ohne diese Info jedenfalls nicht
-
@bastler sagte in Neuinstallation und Aktualisierung Adaptern nicht möglich:
ok, Was fehlt?
Der Anfang der Rückmeldungen aus der Konsole fehlt.
Am besten alles posten, inkl. login prompt, der Eingabe wieder Ausgabe.
In der Konsole kann man auch nach oben scrollen...
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden