NEWS
Fehler bei Installation javascript
-
habe exakt das gleiche Problem... fixer schon mehrfach drüber laufen lassen, sagt immer alles ist okay. Andere Adapter lassen sich auch installieren - nur bei javascript hängt er sich auf.
Egal ob ich versuche javascript über GUI oder ssh installieren zu lassen.Neu aufsetzen möchte ich nur ungern - wär kein maßloses Drama, aber ebend ungern...
ideen?
ich hatte vor kurzem sämtliche updates drüber laufen lassen. Da ich davor aber nicht mit javascript gearbeitet habe (ich schalte bisher nur ein paar Shellys über den iobroker und binde die dann über yahka ins homekit ein) kann ich nicht sagen ob das schon die ganze Zeit so ist oder erst seit kurzem.
Welche Infos braucht ihr um euch ein Bild davon machen zu können
Grüße
-
@don_kanaille sagte in Fehler bei Installation javascript:
ideen?
Ohne Logs, Meldungen oder der Ausgabe von
iob diag
eher nicht.
-
@thomas-braun das spuckt mir di diag aus...
======================= SUMMARY =======================
v.2024-08-12Static hostname: iobroker
Icon name: computer
Operating System: Raspbian GNU/Linux 11 (bullseye)
Kernel: Linux 6.1.21-v7+
Architecture: armInstallation: native
Kernel: armv7l
Userland: 32 bit
Timezone: Europe/Berlin (CEST, +0200)
User-ID: 1000
Display-Server: false
Boot Target: multi-user.targetPending OS-Updates: 2
Pending iob updates: 0Nodejs-Installation:
/usr/bin/nodejs v20.17.0
/usr/bin/node v20.17.0
/usr/bin/npm 10.8.2
/usr/bin/npx 10.8.2
/usr/bin/corepack 0.29.3Recommended versions are nodejs 20.17.0 and npm 10.8.2
Your nodejs installation is correctMEMORY:
total used free shared buff/cache available
Mem: 921M 552M 120M 0.0K 248M 314M
Swap: 99M 68M 31M
Total: 1.0G 620M 152MActive iob-Instances: 14
Upgrade policy: noneioBroker Core: js-controller 6.0.11
admin 7.1.5ioBroker Status: iobroker is running on this host.
Objects type: jsonl
States type: jsonlStatus admin and web instance:
- system.adapter.admin.0 : admin : iobroker - enabled, port: 8081, bind: 0.0.0.0, run as: admin
- system.adapter.web.0 : web : iobroker - enabled, port: 8082, bind: 0.0.0.0, run as: admin
Objects: 1768
States: 1393Size of iob-Database:
13M /opt/iobroker/iobroker-data/objects.jsonl
648K /opt/iobroker/iobroker-data/states.jsonl
Some problems detected, please run iob fix and try to have them fixed
=================== END OF SUMMARY ====================
wie gesagt iob fix lief schon mehrfach drüber..
-
Die Langfassung bitte.
Und kopier die Kopiermarken mit. -
@thomas-braun du merkst: "Profi" am Werk
```bash Skript v.2024-08-12 *** BASE SYSTEM *** Static hostname: iobroker Icon name: computer Operating System: Raspbian GNU/Linux 11 (bullseye) Kernel: Linux 6.1.21-v7+ Architecture: arm OS is similar to: debian Model : Raspberry Pi 3 Model B Rev 1.2 Docker : false Virtualization : none Kernel : armv7l Userland : 32 bit Systemuptime and Load: 21:02:19 up 11 min, 1 user, load average: 0.44, 0.75, 0.65 CPU threads: 4 *** RASPBERRY THROTTLING *** Current issues: No throttling issues detected. Previously detected issues: No throttling issues detected. *** Time and Time Zones *** Local time: Tue 2024-10-01 21:02:19 CEST Universal time: Tue 2024-10-01 19:02:19 UTC RTC time: n/a Time zone: Europe/Berlin (CEST, +0200) System clock synchronized: yes NTP service: active RTC in local TZ: no *** Users and Groups *** User that called 'iob diag': pi HOME=/home/pi GROUPS=pi adm dialout cdrom sudo audio video plugdev games users input render netdev gpio i2c spi iobroker User that is running 'js-controller': iobroker HOME=/home/iobroker GROUPS=iobroker tty dialout audio video plugdev bluetooth gpio i2c *** Display-Server-Setup *** Display-Server: false Desktop: Terminal: tty Boot Target: multi-user.target *** MEMORY *** total used free shared buff/cache available Mem: 921M 519M 120M 0.0K 282M 347M Swap: 99M 67M 32M Total: 1.0G 586M 153M Active iob-Instances: 14 921 M total memory 519 M used memory 260 M active memory 470 M inactive memory 120 M free memory 36 M buffer memory 245 M swap cache 99 M total swap 67 M used swap 32 M free swap *** top - Table Of Processes *** top - 21:02:20 up 11 min, 1 user, load average: 0.44, 0.75, 0.65 Tasks: 147 total, 1 running, 146 sleeping, 0 stopped, 0 zombie %Cpu(s): 4.4 us, 1.5 sy, 0.0 ni, 94.1 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st MiB Mem : 922.0 total, 119.8 free, 519.5 used, 282.7 buff/cache MiB Swap: 100.0 total, 33.0 free, 67.0 used. 347.4 avail Mem *** FAILED SERVICES *** UNIT LOAD ACTIVE SUB DESCRIPTION 0 loaded units listed. *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on /dev/root ext4 29G 6.0G 22G 22% / devtmpfs devtmpfs 333M 0 333M 0% /dev tmpfs tmpfs 461M 0 461M 0% /dev/shm tmpfs tmpfs 185M 976K 184M 1% /run tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock /dev/mmcblk0p1 vfat 255M 51M 205M 20% /boot tmpfs tmpfs 93M 0 93M 0% /run/user/1000 Messages concerning ext4 filesystem in dmesg: [Tue Oct 1 20:50:57 2024] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0 video=Composite-1:720x480@60i vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=PARTUUID=5bd61bcd-02 rootfstype=ext4 fsck.repair=yes rootwait [Tue Oct 1 20:51:00 2024] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem [Tue Oct 1 20:51:00 2024] EXT4-fs (mmcblk0p2): write access will be enabled during recovery [Tue Oct 1 20:51:00 2024] EXT4-fs (mmcblk0p2): recovery complete [Tue Oct 1 20:51:00 2024] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none. [Tue Oct 1 20:51:00 2024] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. [Tue Oct 1 20:51:03 2024] EXT4-fs (mmcblk0p2): re-mounted. Quota mode: none. Show mounted filesystems: TARGET SOURCE FSTYPE OPTIONS / /dev/mmcblk0p2 ext4 rw,noatime `-/boot /dev/mmcblk0p1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro Files in neuralgic directories: /var: 2.6G /var/ 2.1G /var/log/journal/d635fc1f496c4c02ae7bd23ec48bcbd2 2.1G /var/log/journal 2.1G /var/log 273M /var/cache Archived and active journals take up 2.0G in the file system. /opt/iobroker/backups: 103M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 415M /opt/iobroker/iobroker-data/ 291M /opt/iobroker/iobroker-data/files 142M /opt/iobroker/iobroker-data/files/vis-2 81M /opt/iobroker/iobroker-data/files/vis-2/static 80M /opt/iobroker/iobroker-data/files/vis-2/static/js The five largest files in iobroker-data are: 24M /opt/iobroker/iobroker-data/files/web.admin/static/js/main.135279a0.js.map 19M /opt/iobroker/iobroker-data/files/vis-2/static/js/main.e7bb655f.js.map 19M /opt/iobroker/iobroker-data/files/vis-2/static/js/main.368dc292.js.map 19M /opt/iobroker/iobroker-data/files/vis-2/customWidgets.js.map 15M /opt/iobroker/iobroker-data/files/vis-2/static/js/376.1862d3de.chunk.js.map USB-Devices by-id: USB-Sticks - Avoid direct links to /dev/tty* in your adapter setups, please always prefer the links 'by-id': No Devices found 'by-id' *** NodeJS-Installation *** /usr/bin/nodejs v20.17.0 /usr/bin/node v20.17.0 /usr/bin/npm 10.8.2 /usr/bin/npx 10.8.2 /usr/bin/corepack 0.29.3 nodejs: Installed: 20.17.0-1nodesource1 Candidate: 20.17.0-1nodesource1 Version table: *** 20.17.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 100 /var/lib/dpkg/status 20.16.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.15.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.15.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.14.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.13.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.13.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.12.2-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.12.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.12.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.11.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.11.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.10.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.9.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.8.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.8.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.7.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.6.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.6.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.5.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.5.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.4.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.3.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.3.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.2.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.1.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.0.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 12.22.12~dfsg-1~deb11u5 500 500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages Temp directories causing npm8 problem: 11 Some problems detected, please run iob fix Errors in npm tree: *** ioBroker-Installation *** ioBroker Status iobroker is running on this host. Objects type: jsonl States type: jsonl Core adapters versions js-controller: 6.0.11 admin: 7.1.5 javascript: "javascript" not found nodejs modules from github: 1 `-- wake_on_lan@1.0.0 (git+ssh://git@github.com/agnat/node_wake_on_lan.git#dd6404623ccf4bc55b0ba8788ba38312b55435a1) Adapter State + system.adapter.admin.0 : admin : iobroker - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.backitup.0 : backitup : iobroker - enabled system.adapter.daswetter.0 : daswetter : iobroker - disabled + system.adapter.discovery.0 : discovery : iobroker - enabled + system.adapter.homeconnect.0 : homeconnect : iobroker - enabled + system.adapter.hue.0 : hue : iobroker - enabled, port: 443 + system.adapter.mqtt.0 : mqtt : iobroker - enabled, port: 1883, bind: 0.0.0.0 system.adapter.roomba.0 : roomba : iobroker - disabled + system.adapter.shelly.0 : shelly : iobroker - enabled, port: 1882, bind: 0.0.0.0 + system.adapter.sonos.0 : sonos : iobroker - enabled + system.adapter.systeminfo.0 : systeminfo : iobroker - enabled + system.adapter.terminal.0 : terminal : iobroker - enabled, port: 8088, bind: 0.0.0.0, run as: admin system.adapter.vis-hqwidgets.0 : vis-hqwidgets : iobroker - enabled system.adapter.vis-map.0 : vis-map : iobroker - enabled system.adapter.vis-metro.0 : vis-metro : iobroker - enabled system.adapter.vis-players.0 : vis-players : iobroker - enabled system.adapter.vis-timeandweather.0 : vis-timeandweather : iobroker - enabled system.adapter.vis.0 : vis : iobroker - enabled + system.adapter.web.0 : web : iobroker - enabled, port: 8082, bind: 0.0.0.0, run as: admin + system.adapter.wled.0 : wled : iobroker - enabled + system.adapter.yahka.0 : yahka : iobroker - enabled + instance is alive Enabled adapters with bindings + system.adapter.admin.0 : admin : iobroker - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.hue.0 : hue : iobroker - enabled, port: 443 + system.adapter.mqtt.0 : mqtt : iobroker - enabled, port: 1883, bind: 0.0.0.0 + system.adapter.shelly.0 : shelly : iobroker - enabled, port: 1882, bind: 0.0.0.0 + system.adapter.terminal.0 : terminal : iobroker - enabled, port: 8088, bind: 0.0.0.0, run as: admin + system.adapter.web.0 : web : iobroker - enabled, port: 8082, bind: 0.0.0.0, run as: admin ioBroker-Repositories ┌─────────┬──────────┬─────────────────────────────────────────────────────────┬──────────────┐ │ (index) │ name │ url │ auto upgrade │ ├─────────┼──────────┼─────────────────────────────────────────────────────────┼──────────────┤ │ 0 │ 'stable' │ 'http://download.iobroker.net/sources-dist.json' │ false │ │ 1 │ 'beta' │ 'http://download.iobroker.net/sources-dist-latest.json' │ false │ └─────────┴──────────┴─────────────────────────────────────────────────────────┴──────────────┘ Active repo(s): stable Upgrade policy: none Installed ioBroker-Instances Used repository: stable Adapter "admin" : 7.1.5 , installed 7.1.5 Adapter "backitup" : 3.0.22 , installed 3.0.22 Adapter "daswetter" : 3.1.16 , installed 3.1.16 Adapter "discovery" : 5.0.0 , installed 5.0.0 Adapter "homeconnect" : 1.4.1 , installed 1.4.1 Adapter "hue" : 3.12.0 , installed 3.12.0 Adapter "jarvis" : 3.1.8 , installed 3.1.8 Controller "js-controller": 6.0.11 , installed 6.0.11 Adapter "mqtt" : 5.2.0 , installed 5.2.0 Adapter "roomba" : 1.3.0 , installed 1.3.0 Adapter "shelly" : 7.0.0 , installed 7.0.0 Adapter "simple-api" : 2.8.0 , installed 2.8.0 Adapter "sonos" : 3.0.0 , installed 3.0.0 Adapter "systeminfo" : 1.2.0 , installed 1.2.0 Adapter "terminal" : 1.0.0 , installed 1.0.0 Adapter "vis" : 1.5.6 , installed 1.5.6 Adapter "vis-2" : 2.9.32 , installed 2.9.32 Adapter "vis-hqwidgets": 1.5.1 , installed 1.5.1 Adapter "vis-map" : 1.1.2 , installed 1.1.2 Adapter "vis-metro" : 1.2.0 , installed 1.2.0 Adapter "vis-players" : 0.1.6 , installed 0.1.6 Adapter "vis-timeandweather": 1.2.2, installed 1.2.2 Adapter "web" : 6.2.5 , installed 6.2.5 Adapter "wled" : 0.7.2 , installed 0.7.2 Adapter "ws" : 2.6.2 , installed 2.6.2 Adapter "yahka" : 1.0.3 , installed 1.0.3 Objects and States Please stand by - This may take a while Objects: 1768 States: 1393 *** OS-Repositories and Updates *** Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Hit:2 https://deb.nodesource.com/node_20.x nodistro InRelease Hit:3 http://archive.raspberrypi.org/debian bullseye InRelease Reading package lists... Pending Updates: 2 *** Listening Ports *** Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name tcp 0 0 0.0.0.0:1882 0.0.0.0:* LISTEN 1001 12047 943/io.shelly.0 tcp 0 0 127.0.0.1:37387 0.0.0.0:* LISTEN 1001 17765 1097/io.yahka.0 tcp 0 0 0.0.0.0:45877 0.0.0.0:* LISTEN 1001 14853 1097/io.yahka.0 tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1001 14394 482/iobroker.js-con tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1001 14399 482/iobroker.js-con tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 11647 494/sshd: /usr/sbin tcp6 0 0 :::8082 :::* LISTEN 1001 18458 1275/io.web.0 tcp6 0 0 :::8081 :::* LISTEN 1001 12051 906/io.admin.0 tcp6 0 0 :::8088 :::* LISTEN 1001 16850 1403/io.terminal.0 tcp6 0 0 :::3500 :::* LISTEN 1001 12049 962/io.sonos.0 tcp6 0 0 :::22 :::* LISTEN 0 11649 494/sshd: /usr/sbin udp 0 0 0.0.0.0:5353 0.0.0.0:* 1001 14864 1384/io.wled.0 udp 0 0 0.0.0.0:5353 0.0.0.0:* 108 11604 385/avahi-daemon: r udp 0 0 0.0.0.0:40278 0.0.0.0:* 108 11606 385/avahi-daemon: r udp6 0 0 :::5353 :::* 108 11605 385/avahi-daemon: r udp6 0 0 :::45956 :::* 108 11607 385/avahi-daemon: r udp6 0 0 fe80::6c8f:244d:28b:546 :::* 0 15375 438/NetworkManager udp6 0 0 fe80::c41e:2eb1:39a:546 :::* 0 990 438/NetworkManager *** Log File - Last 25 Lines *** 2024-10-01 21:02:33.508 - info: mqtt.0 (985) Disconnected from 127.0.0.1 2024-10-01 21:02:43.512 - info: mqtt.0 (985) Reconnected to 127.0.0.1 2024-10-01 21:02:43.519 - error: mqtt.0 (985) Client error: Error: connect ECONNREFUSED 127.0.0.1:1883 2024-10-01 21:02:43.520 - info: mqtt.0 (985) Disconnected from 127.0.0.1 2024-10-01 21:02:53.524 - info: mqtt.0 (985) Reconnected to 127.0.0.1 2024-10-01 21:02:53.529 - error: mqtt.0 (985) Client error: Error: connect ECONNREFUSED 127.0.0.1:1883 2024-10-01 21:02:53.530 - info: mqtt.0 (985) Disconnected from 127.0.0.1 2024-10-01 21:03:03.534 - info: mqtt.0 (985) Reconnected to 127.0.0.1 2024-10-01 21:03:03.538 - error: mqtt.0 (985) Client error: Error: connect ECONNREFUSED 127.0.0.1:1883 2024-10-01 21:03:03.539 - info: mqtt.0 (985) Disconnected from 127.0.0.1 2024-10-01 21:03:13.541 - info: mqtt.0 (985) Reconnected to 127.0.0.1 2024-10-01 21:03:13.546 - error: mqtt.0 (985) Client error: Error: connect ECONNREFUSED 127.0.0.1:1883 2024-10-01 21:03:13.547 - info: mqtt.0 (985) Disconnected from 127.0.0.1 2024-10-01 21:03:23.551 - info: mqtt.0 (985) Reconnected to 127.0.0.1 2024-10-01 21:03:23.554 - error: mqtt.0 (985) Client error: Error: connect ECONNREFUSED 127.0.0.1:1883 2024-10-01 21:03:23.555 - info: mqtt.0 (985) Disconnected from 127.0.0.1 2024-10-01 21:03:33.557 - info: mqtt.0 (985) Reconnected to 127.0.0.1 2024-10-01 21:03:33.562 - error: mqtt.0 (985) Client error: Error: connect ECONNREFUSED 127.0.0.1:1883 2024-10-01 21:03:33.563 - info: mqtt.0 (985) Disconnected from 127.0.0.1 2024-10-01 21:03:43.568 - info: mqtt.0 (985) Reconnected to 127.0.0.1 2024-10-01 21:03:43.578 - error: mqtt.0 (985) Client error: Error: connect ECONNREFUSED 127.0.0.1:1883 2024-10-01 21:03:43.579 - info: mqtt.0 (985) Disconnected from 127.0.0.1 2024-10-01 21:03:53.582 - info: mqtt.0 (985) Reconnected to 127.0.0.1 2024-10-01 21:03:53.585 - error: mqtt.0 (985) Client error: Error: connect ECONNREFUSED 127.0.0.1:1883 2024-10-01 21:03:53.586 - info: mqtt.0 (985) Disconnected from 127.0.0.1
-
@don_kanaille sagte in Fehler bei Installation javascript:
Model : Raspberry Pi 3 Model B Rev 1.2
Installier da mal ein 64Bit-System drauf. Besser aber gleich auf besserer Hardware, mit 1GB RAM kommst du nicht mehr allzuweit.
Was stellst du mit dem Dateisystem an? Die Kiste IMMER sauber herunterfahren.
Temp directories causing npm8 problem: 11
Some problems detected, please run iob fixiob fix so oft durchführen, bis da Null steht.
javascript: "javascript" not found
Ist also nicht installiert.
Pending Updates: 2
Updates einspielen.
Mit dem mqtt stimmt was nicht. Läuft der Server?
-
@thomas-braun said in Fehler bei Installation javascript:
Installier da mal ein 64Bit-System drauf. Besser aber gleich auf besserer Hardware, mit 1GB RAM kommst du nicht mehr allzuweit.
Was stellst du mit dem Dateisystem an? Die Kiste IMMER sauber herunterfahren.meinst das spezielle Problem liegt am RAM? Bisher hat das für die paar Shellys immer locker gereicht - aber du hast sicher recht, wenn ich da jetzt insgesamt etwas mehr einsteigen möchte, wäre das wohl nicht verkehrt.
Diese fürchtlichen hardresets, sprich stecker ziehen, sind zu 98% beim versuch javascript zu installieren entstanden... die Kiste hat auf gar nichts mehr gehört - blieb mir nichts anderes übrig... zumindest nichts, was ich kenne...
iob fix so oft durchführen, bis da Null steht.
erledigt
Ist also nicht installiert.
habe den Ordener aus dem Verzeichnis via rm -r gelöscht - frag bitte nicht wieso... unwissende Verzweiflung? Versuche ich den Adapter neu zu installieren wird das doch sicher wieder erstellt werden..?
Updates einspielen.
vom iobroker? dachte ich hätte über
iob stop iob update iob upgrade self iob upgrade iob start
alles erwischt, was es zu updaten gibt..
Mit dem mqtt stimmt was nicht. Läuft der Server?
Die Meldungen kommen seit dem ich das ganze System geupdatet hatte.... gesehen hatte ich es, mich aber näher damit beschäftigt nicht. Hatte auch noch Probleme mit der localen Zeit - da haben die Shellys gemotzt, habe ich über
iob diag
aber gelöst bekommen.
-
@don_kanaille sagte in Fehler bei Installation javascript:
habe den Ordener aus dem Verzeichnis via rm -r gelöscht
Ja, und damit zersemmelst du dir die npm-Datenbank. Warum macht man so einen Unfug?
zumindest nichts, was ich kenne...
Dann lerne REISUB kennen.
vom iobroker? dachte ich hätte über
Nein, vom Betriebssystem.
iob add javascript
sagt?
-
Warum macht man so einen Unfug?
das ist eine hervorragende Frage... hättest du gesagt, dreh den PI um 180° hätte ich das wahrscheinlich auch für nen guten Tipp gehalten....
Dann lerne REISUB kennen.
hab ich gerade gemacht - vielen Dank! (auf für die Zeit der letzten Posts!!)
Nein, vom Betriebssystem
steht da jauch... "OS-Updates"... sorry.
iob add javascript
lässt den PI leider noch immer einfrieren..
-
@don_kanaille sagte in Fehler bei Installation javascript:
lässt den PI leider noch immer einfrieren..
Was heißt 'einfrieren'? Eine Installation (insbesonderen auf einer so durch die Mangel gedrehten Kiste) kann schon mal etwas länger dauern. Mit 1GB RAM ist sowieso Geduld angesagt.
-
Was heißt 'einfrieren'? Eine Installation (insbesonderen auf einer so durch die Mangel gedrehten Kiste) kann schon mal etwas länger dauern. Mit 1GB RAM ist sowieso Geduld angesagt.
ich kann über die IP Adresse nicht mehr auf iobroker zugreifen - "die Seite kann nicht geladen werden" und all meine Shellys werden im Homekit als "nicht erreichbar" abgezeigt...
meinst du ich sollte ihn einfach mal eine Zeit lang machen lassen? Bisher habe ich ihm max. ca. 5 Minuten gegeben... danach ging ich davon aus dass sich nichts mehr tut.
Meinst du das Ding ist noch zu retten? Oder sollte ich einfach neu aufsetzen... das wäre ärgerlich aber nicht hochdramatisch... ich würde dann nur gerne verstehen was passiert ist. javascript hat es nämlich auch schon vor meinr rm -r aktion nicht installiert... möchte ja lernen und nicht nur ausführen
-
@don_kanaille sagte in Fehler bei Installation javascript:
Bisher habe ich ihm max. ca. 5 Minuten gegeben... danach ging ich davon aus dass sich nichts mehr tut.
Das kann deutlich länger dauern.
-
also das Ergebnis, wenn ich dem pi mehr zeit lasse ist, dass er mir diese Meldung mitgibt:
pi@iobroker:~ $ iob add javascript NPM version: 10.8.2 Installing iobroker.javascript@8.7.6... (System call) Try to solve ENOTEMPTY error automatically Could not handle ENOTEMPTY, because no deletable files were found npm error code ENOTEMPTY npm error syscall rename npm error path /opt/iobroker/node_modules/iobroker.javascript npm error dest /opt/iobroker/node_modules/.iobroker.javascript-5NZ432mn npm error errno -39 npm error ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.javascript' -> '/opt/iobroker/node_modules/.iobroker.javascript-5NZ432mn' npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-10-02T05_28_10_771Z-debug-0.log host.iobroker Cannot install iobroker.javascript@8.7.6: 217
dann habe ich iob fix drüber laufen lassen, Ergebnis:
pi@iobroker:~ $ iob add javascript NPM version: 10.8.2 Installing iobroker.javascript@8.7.6... (System call) host.iobroker Cannot install iobroker.javascript@8.7.6: undefined