NEWS
js-controller 5.0.x jetzt für alle User im STABLE!
-
ok sorry, hab das mal rein gepastet was ich verbrochen habe
pi4b@pi4b:~$ iob start pi4b@pi4b:~$ iob stop pi4b@pi4b:~$ npm install iobroker.js-controller@5.0.19 npm warn deprecated har-validator@5.1.5: this library is no longer supported npm warn deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older v ersions may use Math.random() in certain circumstances, which is known to be pro blematic. See https://v8.dev/blog/math-random for details. npm warn deprecated request@2.88.2: request has been deprecated, see https://git hub.com/request/request/issues/3142 added 301 packages, and audited 302 packages in 1m 15 packages are looking for funding run `npm fund` for details 19 vulnerabilities (1 low, 17 moderate, 1 high) To address issues that do not require attention, run: npm audit fix To address all issues (including breaking changes), run: npm audit fix --force Run `npm audit` for details. npm notice npm notice New minor version of npm available! 10.7.0 -> 10.8.1 npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.8.1 npm notice To update run: npm install -g npm@10.8.1 npm notice pi4b@pi4b:~$ iob fix library: loaded Library version=2024-05-24 ========================================================================== Welcome to the ioBroker installation fixer! Script version: 2024-01-04 You might need to enter your password a couple of times. ========================================================================== ========================================================================== Installing prerequisites (1/5) ========================================================================== OK:1 http://deb.debian.org/debian bookworm InRelease OK:2 http://deb.debian.org/debian bookworm-updates InRelease OK:3 http://security.debian.org/debian-security bookworm-security InRelease OK:4 http://archive.raspberrypi.org/debian bookworm InRelease OK:5 https://apt.grafana.com stable InRelease OK:6 https://repos.influxdata.com/debian stable InRelease OK:7 https://deb.nodesource.com/node_20.x nodistro InRelease Paketlisten werden gelesen… Fertig ========================================================================== Checking ioBroker user and directory permissions (2/5) ========================================================================== Created /etc/sudoers.d/iobroker Fixing directory permissions... ========================================================================== Check and cleanup npm temporary directories (3/5) ========================================================================== Done. ========================================================================== Database maintenance (4/5) ========================================================================== Checking for uncompressed JSONL databases... This might take a while! Compressing /opt/iobroker/iobroker-data/states.jsonl Compressing /opt/iobroker/iobroker-data/objects.jsonl Compressed 2 JSONL files. Done ========================================================================== Checking autostart (5/5) ========================================================================== Enabling autostart... Autostart enabled! ========================================================================== Your installation was fixed successfully Run iobroker start to start ioBroker again! ========================================================================== pi4b@pi4b:~$ iob start
-
npm ls ls -la
-
pi4b@pi4b:~$ npm ls pi4b@ /home/pi4b └── iobroker.js-controller@5.0.19 pi4b@pi4b:~$ ls -la insgesamt 312 drwxr-xr-x 11 pi4b pi4b 4096 12. Jun 22:20 . drwxr-xr-x 4 root root 4096 28. Okt 2022 .. -rw------- 1 pi4b pi4b 11547 6. Jun 22:41 .bash_history -rw------- 1 pi4b pi4b 0 12. Jun 2023 .bash_history-02453.tmp -rw------- 1 pi4b pi4b 0 24. Jun 2023 .bash_history-21134.tmp -rw------- 1 pi4b pi4b 0 3. Jul 2023 .bash_history-23774.tmp -rw------- 1 pi4b pi4b 0 18. Jun 2023 .bash_history-64434.tmp -rw-r--r-- 1 pi4b pi4b 193 12. Jun 22:20 .bashrc drwxr-xr-x 5 pi4b pi4b 4096 6. Dez 2023 .cache drwxr-xr-x 4 pi4b pi4b 4096 25. Jun 2023 cc2538-bsl drwx------ 3 pi4b pi4b 4096 5. Dez 2023 .config -rw-r--r-- 1 pi4b pi4b 1684 26. Jan 2023 influxdata-archive_compat.key drwx------ 3 pi4b pi4b 4096 4. Nov 2022 .influxdbv2 -rwxr-xr-- 1 pi4b pi4b 109 12. Jun 22:19 iob drwxr-xr-x 2 pi4b pi4b 4096 4. Nov 2022 .iobroker -rwxr-xr-- 1 pi4b pi4b 109 12. Jun 22:19 iobroker drwxr-xr-x 3 pi4b pi4b 4096 12. Jun 22:19 iobroker-data -rw------- 1 pi4b pi4b 20 6. Jun 22:41 .lesshst drwxr-xr-x 3 pi4b pi4b 4096 15. Nov 2022 .local drwxr-xr-x 254 pi4b pi4b 12288 12. Jun 22:19 node_modules drwxr-xr-x 5 pi4b pi4b 4096 6. Dez 2023 .npm -rw-r--r-- 1 pi4b pi4b 68 12. Jun 22:19 package.json -rw-r--r-- 1 pi4b pi4b 218922 12. Jun 22:19 package-lock.json -rw-r--r-- 1 pi4b pi4b 0 12. Jun 2023 .sudo_as_admin_successful -rw-r--r-- 1 pi4b pi4b 215 25. Jun 2023 .wget-hsts -rw-r--r-- 1 pi4b pi4b 477 16. Sep 2023 'ystemctl status zigbee2mqtt.service' pi4b@pi4b:~$
-
@diamand2k22 sagte in js-controller 5.0.x jetzt für alle User im STABLE!:
iobroker.js-controller
npm uninstall iobroker.js-controller rm -rf node_modules rm package* rm -rf iob*
-
okay hab ich soweit gemacht
ich denke jetzt passt es wieder oder?pi4b@pi4b:~$ iob stop pi4b@pi4b:~$ npm uninstall iobroker.js-controller removed 301 packages, and audited 1 package in 3s found 0 vulnerabilities pi4b@pi4b:~$ rm -rf node_modules pi4b@pi4b:~$ rm package* pi4b@pi4b:~$ rm -rf iob* pi4b@pi4b:~$ npm ls /home/pi4b └── (empty) pi4b@pi4b:~$ ls -la insgesamt 68 drwxr-xr-x 9 pi4b pi4b 4096 12. Jun 22:42 . drwxr-xr-x 4 root root 4096 28. Okt 2022 .. -rw------- 1 pi4b pi4b 11547 6. Jun 22:41 .bash_history -rw------- 1 pi4b pi4b 0 12. Jun 2023 .bash_history-02453.tmp -rw------- 1 pi4b pi4b 0 24. Jun 2023 .bash_history-21134.tmp -rw------- 1 pi4b pi4b 0 3. Jul 2023 .bash_history-23774.tmp -rw------- 1 pi4b pi4b 0 18. Jun 2023 .bash_history-64434.tmp -rw-r--r-- 1 pi4b pi4b 193 12. Jun 22:20 .bashrc drwxr-xr-x 5 pi4b pi4b 4096 6. Dez 2023 .cache drwxr-xr-x 4 pi4b pi4b 4096 25. Jun 2023 cc2538-bsl drwx------ 3 pi4b pi4b 4096 5. Dez 2023 .config -rw-r--r-- 1 pi4b pi4b 1684 26. Jan 2023 influxdata-archive_compat.key drwx------ 3 pi4b pi4b 4096 4. Nov 2022 .influxdbv2 drwxr-xr-x 2 pi4b pi4b 4096 4. Nov 2022 .iobroker -rw------- 1 pi4b pi4b 20 6. Jun 22:41 .lesshst drwxr-xr-x 3 pi4b pi4b 4096 15. Nov 2022 .local drwxr-xr-x 5 pi4b pi4b 4096 6. Dez 2023 .npm -rw-r--r-- 1 pi4b pi4b 0 12. Jun 2023 .sudo_as_admin_successful -rw-r--r-- 1 pi4b pi4b 215 25. Jun 2023 .wget-hsts -rw-r--r-- 1 pi4b pi4b 477 16. Sep 2023 'ystemctl status zigbee2mqtt.service' pi4b@pi4b:~$
in welchem Verzeichnis führe ich den Befehl
npm install iobroker.js-controller@5.0.19
aus? sry für die blöde Frage, aber ist schon wieder zu lange her
-
Steht im allerersten Post in diesem Thread...
cd /opt/iobroker sudo -H -u iobroker npm install iobroker.js-controller@5.0.19
-
danke dir, hab das aus dem JS Controller 6.0 Thread, da Stand es leider nicht drin.
-
Doch...
-
ok...jetzt habe ich es gesehen, wer lesen kann ist klar im Vorteil tja wenn man immer alles schnell schnell macht
-
@diamand2k22 sagte in js-controller 5.0.x jetzt für alle User im STABLE!:
tja wenn man immer alles schnell schnell macht
Kannste machen, wenn du sattelfest bist.