NEWS
iobroker kann überhaupt nix mehr installieren oder updaten
-
-
@thomas-braun said in iobroker kann überhaupt nix mehr installieren oder updaten:
cd /opt/iobroker npm prune
Dann nochmal
npm ls
pi@raspberrypi:/opt/iobroker $ npm ls iobroker.core@1.0.0 /opt/iobroker └── (empty) pi@raspberrypi:/opt/iobroker $
-
Das ist mal eine 'merkwürdige' Installation da...
iob stop cd /opt/iobroker sudo -H -u iobroker npm install iobroker.js-controller sudo apt update sudo apt full-upgrade sudo reboot
-
@thomas-braun said in iobroker kann überhaupt nix mehr installieren oder updaten:
Das ist mal eine 'merkwürdige' Installation da...
iob stop cd /opt/iobroker sudo -H -u iobroker npm install iobroker.js-controller sudo apt update sudo apt full-upgrade sudo reboot
So soll das jetzt aussehen?
pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller npm ERR! builtins is not a function npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-09-04T13_34_17_712Z-debug-0.log pi@raspberrypi:/opt/iobroker $ sudo apt update Hit:1 http://archive.raspberrypi.org/debian buster InRelease Hit:2 https://repos.influxdata.com/debian buster InRelease Hit:3 http://raspbian.raspberrypi.org/raspbian buster InRelease Hit:4 https://packages.grafana.com/oss/deb stable InRelease Hit:5 https://deb.nodesource.com/node_16.x buster InRelease Hit:6 https://phoscon.de/apt/deconz buster InRelease Reading package lists... Done Building dependency tree Reading state information... Done 1 package can be upgraded. Run 'apt list --upgradable' to see it. pi@raspberrypi:/opt/iobroker $ sudo apt full-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: libflac8 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 131 kB of archives. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] Y Get:1 http://raspbian.raspberrypi.org/raspbian buster/main armhf libflac8 armhf 1.3.2-3+deb10u2 [131 kB] Fetched 131 kB in 0s (452 kB/s) Reading changelogs... Done (Reading database ... 68864 files and directories currently installed.) Preparing to unpack .../libflac8_1.3.2-3+deb10u2_armhf.deb ... Unpacking libflac8:armhf (1.3.2-3+deb10u2) over (1.3.2-3+deb10u1) ... Setting up libflac8:armhf (1.3.2-3+deb10u2) ... Processing triggers for libc-bin (2.28-10+rpt2+rpi1+deb10u1) ... pi@raspberrypi:/opt/iobroker $ sudo reboot Connection to 192.168.188.49 closed by remote host. Connection to 192.168.188.49 closed.
-
@neinneinhilfe sagte in iobroker kann überhaupt nix mehr installieren oder updaten:
npm ERR! builtins is not a function
Das sollte so nicht aussehen.
Ich kenne den Fehler aber auch nicht. -
@thomas-braun said in iobroker kann überhaupt nix mehr installieren oder updaten:
@neinneinhilfe sagte in iobroker kann überhaupt nix mehr installieren oder updaten:
npm ERR! builtins is not a function
Das sollte so nicht aussehen.
Ich kenne den Fehler aber auch nicht.Ich komme jetzt nicht mal mehr auf den iobroker mit dem Browser
-
Installier es neu, Backup eingespielt, fertig.
-
@thomas-braun said in iobroker kann überhaupt nix mehr installieren oder updaten:
Installier es neu, Backup eingespielt, fertig.
Hättest du da eine sichere Anleitung für mich?
-
https://www.iobroker.net/#de/documentation
Im Grunde:
curl -sLf https://iobroker.net/install.sh | bash -
-
@thomas-braun said in iobroker kann überhaupt nix mehr installieren oder updaten:
https://www.iobroker.net/#de/documentation
Im Grunde:
curl -sLf https://iobroker.net/install.sh | bash -
Irgendwie läuft nun nix mehr
-
Schade.
-
@thomas-braun said in iobroker kann überhaupt nix mehr installieren oder updaten:
Schade.
Was mach ich nun?
-
@neinneinhilfe sagte in iobroker kann überhaupt nix mehr installieren oder updaten:
Irgendwie läuft nun nix mehr
Was soll man daraus ableiten?
-
@thomas-braun said in iobroker kann überhaupt nix mehr installieren oder updaten:
@neinneinhilfe sagte in iobroker kann überhaupt nix mehr installieren oder updaten:
Irgendwie läuft nun nix mehr
Was soll man daraus ableiten?
Na bekommt man es noch irgendwie hin? Kann jetzt ja nicht mal ein Backup vom iobroker und Blockly machen.
-
@neinneinhilfe sagte in iobroker kann überhaupt nix mehr installieren oder updaten:
Irgendwie läuft nun nix mehr
Was soll das konkret bedeuten?
Wie sieht die Installation mit dem Einzeiler aus?
Mit 'Irgendwie läuft nun nix mehr' kann man nix anfangen. -
@neinneinhilfe sagte in iobroker kann überhaupt nix mehr installieren oder updaten:
Kann jetzt ja nicht mal ein Backup vom iobroker und Blockly machen.
Das hast du ja natürlich vorher gemacht und holst das jetzt aus der Schublade.
-
@thomas-braun said in iobroker kann überhaupt nix mehr installieren oder updaten:
@neinneinhilfe sagte in iobroker kann überhaupt nix mehr installieren oder updaten:
Kann jetzt ja nicht mal ein Backup vom iobroker und Blockly machen.
Das hast du ja natürlich vorher gemacht und holst das jetzt aus der Schublade.
pi@raspberrypi:/ $ iobroker update node:internal/modules/cjs/loader:959 throw err; ^ Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' at Function.Module._resolveFilename (node:internal/modules/cjs/loader:956:15) at Function.Module._load (node:internal/modules/cjs/loader:804:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) at node:internal/main/run_main_module:17:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } pi@raspberrypi:/ $
Das passiert bei jedem befehl
-
-
@thomas-braun said in iobroker kann überhaupt nix mehr installieren oder updaten:
iobroker fix
Wenn das nix hilft:
curl -sLf https://iobroker.net/install.sh | bash -
Das hilft leider beides nicht.....
pi@raspberrypi:/ $ iobroker fix library: loaded Library version=2022-06-15 ioBroker is not installed in /opt/iobroker! Cannot fix anything... pi@raspberrypi:/ $ curl -sLf https://iobroker.net/install.sh | bash - library: loaded Library version=2022-06-15 ========================================================================== Welcome to the ioBroker installer! Installer version: 2022-06-03 You might need to enter your password a couple of times. ========================================================================== ========================================================================== Installing prerequisites (1/4) ========================================================================== Hit:1 http://archive.raspberrypi.org/debian buster InRelease Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB] Hit:3 https://repos.influxdata.com/debian buster InRelease Hit:4 https://phoscon.de/apt/deconz buster InRelease Hit:5 https://packages.grafana.com/oss/deb stable InRelease Hit:6 https://deb.nodesource.com/node_16.x buster InRelease Fetched 15.0 kB in 2s (7,596 B/s) Reading package lists... Done Changing npm registry to https://registry.npmjs.org npm ERR! builtins is not a function npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2022-09-04T18_10_06_757Z-debug-0.log Installed gcc-c++ ========================================================================== Creating ioBroker user and directory (2/4) ========================================================================== Created /etc/sudoers.d/iobroker Directory /opt/iobroker created ========================================================================== Installing ioBroker (3/4) ========================================================================== npm ERR! builtins is not a function npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2022-09-04T18_10_12_393Z-debug-0.log ========================================================================== Finalizing installation (4/4) ========================================================================== Enabling autostart... Autostart enabled! Fixing directory permissions... ========================================================================== ioBroker was installed successfully Open http://192.168.188.49:8081 in a browser and start configuring! ========================================================================== You need to re-login before doing anything else on the console! pi@raspberrypi:/ $
-
Na wenn die package.json noch editierbar ist - würde ich halt meine Methode versuchen - bevor man eh neu installiert.