NEWS
nach nodeJs update auf 20.16.0 keine Skrpt seite mehr
-
@stoffel67 sagte in nach nodeJs update auf 20.16.0 keine Skrpt seite mehr:
Boot Target: graphical.target
Schalt den Desktop aus... (Inkl. VNC-Server und Drucker-Server und so einem Quark...)
sudo systemctl set-default multi-user.target
Some problems detected, please run iob fix
iob stop iob fix
Schmeiß das Modul
mime-db
mal aus dem javascript-Adapter raus. Wozu wird das benötigt?Dann die
Pending iob updates: 5
auf 0 bringen. -
@tt-tom
js-controller auf 6.0.9 … was muss ich da eingeben, ist dan npm install… -
@thomas-braun
mime-db ist doch da garnicht drin… -
/opt/iobroker/node_modules/iobroker.javascript/node_modules/mime-db/db.json
Ich würde sagen, das Ding spukt da herum.cd /opt/iobroker npm ls mime-db
sagt?
-
pi@ /home/pi └── (empty)
-
Du sollst ja auch zuvor in das richtige Verzeichnis wechseln...
Deswegen gebe ich das sogar an. -
@thomas-braun
sorry, hab ich übersehen…pi@raspberrypi:~ $ cd /opt/iobroker/ pi@raspberrypi:/opt/iobroker $ npm ls mime-db iobroker.inst@3.0.0 /opt/iobroker ├─┬ iobroker.admin@7.0.22 │ └─┬ compression@1.7.4 │ └─┬ compressible@2.0.18 │ └── mime-db@1.52.0 deduped ├─┬ iobroker.javascript@8.7.6 │ └─┬ axios@1.7.2 │ └─┬ form-data@4.0.0 │ └─┬ mime-types@2.1.35 │ └── mime-db@ invalid: "1.52.0" from node_modules/iobroker.javascript/node_modules/mime-types └─┬ iobroker.web@6.2.5 └─┬ mime-types@2.1.35 └── mime-db@1.52.0 npm error code ELSPROBLEMS npm error invalid: mime-db@ /opt/iobroker/node_modules/iobroker.javascript/node_modules/mime-db npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-08-02T18_22_41_904Z-debug-0.log pi@raspberrypi:/opt/iobroker $
die mime-types werden soweitz ich weiß für ein SH1106 Display gebraucht
-
@stoffel67 sagte in nach nodeJs update auf 20.16.0 keine Skrpt seite mehr:
mime-db ist doch da garnicht drin…
Was ist denn drin?
-
@thomas-braun sagte in nach nodeJs update auf 20.16.0 keine Skrpt seite mehr:
Was ist denn drin?
lass mich raten...
@stoffel67 sagte in nach nodeJs update auf 20.16.0 keine Skrpt seite mehr:
mime-types
-
@thomas-braun
ich versteh’s aktuell nicht so richtig…
im javascript adapter habe ich zusätzlich npm module
„modbus-seriell,i2c-bus,oled-font-5x7,ms5611,basic-ftp“ -
@stoffel67
Nix mit npm install machen, sondern überiob upgrade self
-
@tt-tom
OK werden den JS-controller updaten -
pi@raspberrypi:/opt/iobroker $ iob stop pi@raspberrypi:/opt/iobroker $ iob upgrade self Update js-controller from @5.0.12 to @6.0.9 Stopped Objects DB Stopped States DB NPM version: 10.8.1 Installing iobroker.js-controller@6.0.9... (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/node_modules/@iobroker/types npm error dest /opt/iobroker/node_modules/iobroker.javascript/node_modules/@iobroker/.types-YI5CT0ue npm error errno -39 npm error ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.javascript/node_modules/@iobroker/types' -> '/opt/iobroker/node_modules/iobroker.javascript/node_modules/@iobroker/.types-YI5CT0ue' npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-08-02T18_32_43_299Z-debug-0.log host.raspberrypi Cannot install iobroker.js-controller@6.0.9: 217 pi@raspberrypi:/opt/iobroker $
-
Hau den javascript-Adapter nochmal drüber.
-
Das mine-db Problem löst du damit aber nicht.
-
iob stop iob fix iob update iob upgrade all -y iob upgrade self
-
@thomas-braun
es wird immer schlimmeraspberrypi:/opt/iobroker $ iob stop iob fix iob update iob upgrade all -y iob upgrade self 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) ========================================================================== Holen:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15,0 kB] OK:2 http://archive.raspberrypi.org/debian bullseye InRelease OK:3 https://deb.nodesource.com/node_20.x nodistro InRelease Holen:4 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages [13,2 MB] Es wurden 13,3 MB in 15 s geholt (855 kB/s). 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! ========================================================================== Used repository: stable Adapter "admin" : 7.0.22 , installed 7.0.22 Adapter "backitup" : 2.11.0 , installed 2.11.0 Adapter "ble" : 0.14.0 , installed 0.14.0 Adapter "discovery" : 4.5.0 , installed 4.5.0 Adapter "ds18b20" : 2.0.5 , installed 2.0.5 Adapter "enet" : 1.0.1 , installed 1.0.1 Adapter "javascript" : 8.7.6 , installed 8.7.6 Controller "js-controller": 6.0.9 , installed 5.0.12 [Updatable] Adapter "linkeddevices": 1.5.5 , installed 1.5.5 Adapter "modbus" : 6.2.3 , installed 6.1.0 [Updatable] Adapter "node-red" : 5.2.1 , installed 5.2.1 Adapter "proxy" : 1.3.2 , installed 1.3.2 Adapter "radar2" : 2.2.0 , installed 2.1.0 [Updatable] Adapter "rpi2" : 1.3.2 , installed 1.3.2 Adapter "shelly" : 7.0.0 , installed 7.0.0 Adapter "simple-api" : 2.8.0 , installed 2.8.0 Adapter "smartmeter" : 3.4.0 , installed 3.4.0 Adapter "socketio" : 6.7.0 , installed 6.7.0 Adapter "sonoff" : 3.1.0 , installed 3.0.3 [Updatable] Adapter "tr-064" : 4.3.0 , installed 4.2.18 [Updatable] Adapter "vis" : 1.5.6 , installed 1.5.6 Adapter "web" : 6.2.5 , installed 6.2.5 Adapter "withings" : 0.0.13 , installed 0.0.13 Adapter "ws" : 2.6.1 , installed 2.6.1 Adapter "yahka" : 1.0.3 , installed 1.0.3 Cannot check dependencies: Invalid version of "js-controller". Installed "5.0.12", required ">=5.0.19 Cannot check dependencies: Invalid version of "js-controller". Installed "5.0.12", required ">=5.0.19 Update radar2 from @2.1.0 to @2.2.0 NPM version: 10.8.1 Installing iobroker.radar2@2.2.0... (System call) npm error code 7 npm error path /opt/iobroker/node_modules/@abandonware/noble npm error command failed npm error command sh -c node-gyp-build npm error gyp ERR! UNCAUGHT EXCEPTION npm error gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>' npm error gyp ERR! stack at createConfigFile (/opt/iobroker/node_modules/node-gyp/lib/configure.js:117:21) npm error gyp ERR! stack at /opt/iobroker/node_modules/node-gyp/lib/configure.js:84:9 npm error gyp ERR! stack at FSReqCallback.oncomplete (node:fs:187:23) npm error gyp ERR! System Linux 6.1.21-v7+ npm error gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild" npm error gyp ERR! cwd /opt/iobroker/node_modules/@abandonware/noble npm error gyp ERR! node -v v20.16.0 npm error gyp ERR! node-gyp -v v7.1.2 npm error gyp ERR! Node-gyp failed to build your package. npm error gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author. npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-08-02T18_39_25_194Z-debug-0.log host.raspberrypi Cannot install iobroker.radar2@2.2.0: 7 Update js-controller from @5.0.12 to @6.0.9 Stopped Objects DB Stopped States DB NPM version: 10.8.1 Installing iobroker.js-controller@6.0.9... (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/@abandonware/bluetooth-hci-socket npm error dest /opt/iobroker/node_modules/@abandonware/.bluetooth-hci-socket-0H6suKAo npm error errno -39 npm error ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket' -> '/opt/iobroker/node_modules/@abandonware/.bluetooth-hci-socket-0H6suKAo' npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-08-02T18_40_47_269Z-debug-0.log host.raspberrypi Cannot install iobroker.js-controller@6.0.9: 217
-
iob delete ble iob fix
-
pi@raspberrypi:/opt/iobroker $ iob delete ble Delete adapter "ble" host.raspberrypi Counted 1 instances of ble host.raspberrypi Counted 1 meta of ble host.raspberrypi Counted 1 adapter for ble host.raspberrypi Counted 2 channels of ble host.raspberrypi Counted 3 states of ble host.raspberrypi Counted 14 states of system.adapter.ble host.raspberrypi Counted 1 states (system.adapter.ble.*) from states host.raspberrypi file ble.admin deleted host.raspberrypi object ble deleted host.raspberrypi object ble.admin deleted host.raspberrypi Deleting 22 object(s). host.raspberrypi Deleting 1 state(s). Error deleting adapter ble from disk: host.raspberrypi: Cannot uninstall iobroker.ble: 217 You might have to delete it yourself!
-
iob list adapters iob fix