NEWS
Nach Update läuft nichts mehr!
-
Lass ihn stehen.
-
@speedyblade sagte in Nach Update läuft nichts mehr!:
corepack n npm
-
@thomas-braun sagte in Nach Update läuft nichts mehr!:
Lass ihn stehen.
verstehe nicht was du meinst, mit "stehen lassen"
-
@speedyblade sagte in Nach Update läuft nichts mehr!:
verstehe nicht was du meinst, mit "stehen lassen"
Einfach nichts tun.
Wenn es dich stört:
sudo rm /usr/lib/node_modules/n
-
pi@RaspberryPi4:/opt/iobroker/node_modules/iobroker.js-controller $ sudo rm /usr/lib/node_modules/n rm: das Entfernen von '/usr/lib/node_modules/n' ist nicht möglich: Ist ein Verzeichnis
lässt sich eh nicht entfernen
-
Ich konnte deinem Auszug von oben nicht entnehmen, dass es ein Verzeichnis ist.
sudo rm -rf /usr/lib/node_modules/n
-
perfekt...läuft nun wieder sauber
ps.: gibt es ne Möglichkeit die lokale Backupdatei auf nen Windowsrechner zu kopiere (copy-paste)?
"Backup created: /opt/iobroker/backups/nodered.0_2023_09_29-13_38_48_backupiobroker.tar"
-
@speedyblade sagte in Nach Update läuft nichts mehr!:
auf nen Windowsrechner zu kopiere
Keine Ahnung. Den Anwendungsfall hab ich hier nicht.
Mitscp
oder dessen graphischem Pendant vielleicht. -
@speedyblade sagte in Nach Update läuft nichts mehr!:
ps.: gibt es ne Möglichkeit die lokale Backupdatei auf nen Windowsrechner zu kopiere (copy-paste)?
Man sollte auf der Windows-Kiste eine Freigabe einrichten können, die man in Debian mountet.
Dann kann man das im Backup-Adapter entsprechend einstellen.Oder man hat ein NAS wie z.B. Synology.
Wenn dort NFS oder CIFS aktiviert ist, kann man auch dort sein Backup ablegen lassen. -
@speedyblade sagte in Nach Update läuft nichts mehr!:
ne Möglichkeit die lokale Backupdatei auf nen Windowsrechner zu kopiere
mit winscp oder filezilla
aber vorsicht mit den Rechten und Dateien nie mit üblichen WIN-Programmen bearbeiten
-
danke...hab sie mir per FileZilla auf nen Windows Rechner kopiert, als Sicherung.
kann es sein, dass Discovery nicht mehr funktioniert?
-
Discovery braucht eh 'keiner' in einer etablierten Installation.
Aber das Ding läuft nun wieder?
-
ioBroker läuft nun wieder ja genau
nur beim Discovery Adapter gibt es keine Einstellungen mehr
-
-
/usr/bin/nodejs v18.18.0 /usr/local/bin/node v14.17.5 /usr/local/bin/npm 6.14.14 /usr/local/bin/npx 6.14.14 *** nodejs is NOT correctly installed ***
wie kann das passieren...das ist ein anderer Raspi den ich update
Debian 11 ist drauf auf dem pi3pi@RaspiPi3Bplus:~ $ cd /opt/iobroker sudo -H -u iobroker npm install iobroker.js-controller npm ERR! code ENOTSUP npm ERR! notsup Unsupported engine for iobroker.js-controller@5.0.12: wanted: {"node":">=16.4.0"} (current: {"node":"14.17.5","npm":"6.14.14"}) npm ERR! notsup Not compatible with your version of node/npm: iobroker.js-controller@5.0.12 npm ERR! notsup Not compatible with your version of node/npm: iobroker.js-controller@5.0.12 npm ERR! notsup Required: {"node":">=16.4.0"} npm ERR! notsup Actual: {"npm":"6.14.14","node":"14.17.5"} npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2023-09-29T14_18_04_424Z-debug.log
-
@speedyblade sagte in Nach Update läuft nichts mehr!:
wie kann das passieren.
sag du es uns!
auch im falschen Verzeichnis. Ist das auch mit
n
installiert worden? -
@homoran
wo kommt dieses sch.... "n" immer her.. -
@speedyblade sagte in Nach Update läuft nichts mehr!:
@homoran
wo kommt dieses sch.... "n" immer her..aus irgendeiner Anleitung, die du anscheinend mal verwendet hattest.
mach den node-fix wie beim anderrn Raspi.
Vielleicht erst einmal
iob diag
ich fürchte dass auch da das OS nicht gerade aktuell sein wird, wenn node schon auf v14 hängen geblieben ist -
läuft wieder
besten DankStatic hostname: RaspiPi3Bplus Icon name: computer Operating System: Raspbian GNU/Linux 11 (bullseye) Kernel: Linux 5.10.103-v7+ Architecture: arm Installation: native Kernel: armv7l Userland: armhf Timezone: Europe/Berlin (CEST, +0200) User-ID: 1000 X-Server: false Boot Target: graphical.target Pending OS-Updates: 0 Pending iob updates: 0 Nodejs-Installation: /usr/bin/nodejs v18.18.0 /usr/bin/node v18.18.0 /usr/bin/npm 9.8.1
-
nachdem ich ein Backup aufgespielt habe und nun den fixer drüber laufen lassen habe, läuft der Pi3 nicht mehr
======================= SUMMARY ======================= v.2023-06-20 Static hostname: RaspberryPi3B1GB Icon name: computer Machine ID: 0a3492672676440e91094afe51dc1729 Boot ID: 014394ca8eed41a288a0b89111927ea2 Operating System: Debian GNU/Linux 11 (bullseye) Kernel: Linux 6.1.21-v8+ Architecture: arm64 Installation: native Kernel: aarch64 Userland: arm64 Timezone: Europe/Vienna (CEST, +0200) User-ID: 1000 X-Server: false Boot Target: multi-user.target Pending OS-Updates: 0 Pending iob updates: 8 Nodejs-Installation: /usr/bin/nodejs v18.18.0 /usr/bin/node v18.18.0 /usr/bin/npm 9.8.1 /usr/bin/npx 9.8.1 Recommended versions are nodejs 18.x.y and npm 9.x.y Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 909M 205M 466M 0.0K 237M 639M Swap: 99M 67M 32M Total: 1.0G 273M 498M Active iob-Instances: 2 Active repo(s): stable ioBroker Core: js-controller 5.0.12 admin 5.2.3 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: system.adapter.admin.0 : admin : RaspberryPi3B1GB - enabled, port: 8081, bind: 0.0.0.0, run as: admin system.adapter.web.0 : web : RaspberryPi3B1GB - disabled, port: 8082, bind: 0.0.0.0, run as: admin Objects: 360 States: 230 Size of iob-Database: 8.2M /opt/iobroker/iobroker-data/objects.jsonl 4.4M /opt/iobroker/iobroker-data/objects.json.migrated 4.4M /opt/iobroker/iobroker-data/objects.json.bak.migrated 164K /opt/iobroker/iobroker-data/states.jsonl 68K /opt/iobroker/iobroker-data/states.json.bak.migrated 64K /opt/iobroker/iobroker-data/states.json.migrated =================== END OF SUMMARY ==================== === Mark text until here for copying === piuser@RaspberryPi3B1GB:~ $ npm ERR! code ELSPROBLEMS Unknown command: "ERR!" To see a list of supported npm commands, run: npm help piuser@RaspberryPi3B1GB:~ $ npm ERR! extraneous: async-retry@1.3.3 /opt/iobroker/node_modules/async-retry Unknown command: "ERR!" To see a list of supported npm commands, run: npm help piuser@RaspberryPi3B1GB:~ $ npm ERR! extraneous: button-events@1.1.0 /opt/iobroker/node_modules/button-events Unknown command: "ERR!" To see a list of supported npm commands, run: npm help piuser@RaspberryPi3B1GB:~ $ npm ERR! extraneous: epoll@2.0.10 /opt/iobroker/node_modules/epoll Unknown command: "ERR!" To see a list of supported npm commands, run: npm help piuser@RaspberryPi3B1GB:~ $ npm ERR! extraneous: iobroker.rpi2@1.3.1 /opt/iobroker/node_modules/iobroker.rpi2 Unknown command: "ERR!" To see a list of supported npm commands, run: npm help piuser@RaspberryPi3B1GB:~ $ npm ERR! extraneous: node-addon-api@1.7.2 /opt/iobroker/node_modules/node-addon-api Unknown command: "ERR!" To see a list of supported npm commands, run: npm help piuser@RaspberryPi3B1GB:~ $ npm ERR! extraneous: node-dht-sensor@0.4.3 /opt/iobroker/node_modules/node-dht-sensor Unknown command: "ERR!" To see a list of supported npm commands, run: npm help piuser@RaspberryPi3B1GB:~ $ npm ERR! extraneous: rpi-gpio-buttons@2.0.1 /opt/iobroker/node_modules/rpi-gpio-buttons Unknown command: "ERR!" To see a list of supported npm commands, run: npm help piuser@RaspberryPi3B1GB:~ $ npm ERR! extraneous: rpi-gpio@2.1.7 /opt/iobroker/node_modules/rpi-gpio Unknown command: "ERR!" To see a list of supported npm commands, run: npm help piuser@RaspberryPi3B1GB:~ $ npm ERR! extraneous: sync-exec@0.6.2 /opt/iobroker/node_modules/sync-exec Unknown command: "ERR!" To see a list of supported npm commands, run: npm help piuser@RaspberryPi3B1GB:~ $ npm ERR! extraneous: retry@0.13.1 /opt/iobroker/node_modules/async-retry/node_modules/retry Unknown command: "ERR!" To see a list of supported npm commands, run: npm help piuser@RaspberryPi3B1GB:~ $ npm ERR! extraneous: debug@3.2.7 /opt/iobroker/node_modules/rpi-gpio/node_modules/debug Unknown command: "ERR!" To see a list of supported npm commands, run: npm help piuser@RaspberryPi3B1GB:~ $ npm ERR! extraneous: ms@2.1.3 /opt/iobroker/node_modules/rpi-gpio/node_modules/ms Unknown command: "ERR!" To see a list of supported npm commands, run: npm help piuser@RaspberryPi3B1GB:~ $ npm ERR! invalid: fsevents@ /opt/iobroker/node_modules/chokidar/node_modules/fsevents Unknown command: "ERR!" To see a list of supported npm commands, run: npm help piuser@RaspberryPi3B1GB:~ $ piuser@RaspberryPi3B1GB:~ $ npm ERR! A complete log of this run can be found in: /home/piuser/.npm/_logs/2023-10-01T12_10_00_677Z-debug-0.log Unknown command: "ERR!" To see a list of supported npm commands, run: npm help piuser@RaspberryPi3B1GB:~ $ Errors in npm tree: 0 -bash: Errors: command not found