@thomas-braun ja, ich komme wieder auf die Weboberfläche. Und dort habe ich auch die Instanzen gerade gelöscht. Jetzt scheint alles wieder sauber zu laufen. Vielen Dank an alle
NEWS
Latest posts made by P. Schulz
-
RE: *gelöst* Weboberfläche nicht erreichbar
-
RE: *gelöst* Weboberfläche nicht erreichbar
@thomas-braun wie lösch ich die 2 instanzen wieder?
pi@raspberrypi:/opt/iobroker $ iob status iobroker is running on this host. Objects type: jsonl States type: jsonl pi@raspberrypi:/opt/iobroker $ iob list instances + system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin system.adapter.admin.1 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.backitup.0 : backitup : raspberrypi - enabled + system.adapter.deconz.0 : deconz : raspberrypi - enabled system.adapter.discovery.0 : discovery : raspberrypi - disabled system.adapter.hm-rega.0 : hm-rega : raspberrypi - disabled system.adapter.hm-rpc.0 : hm-rpc : raspberrypi - disabled, port: 0 + system.adapter.javascript.0 : javascript : raspberrypi - enabled + system.adapter.telegram.0 : telegram : raspberrypi - enabled, port: 8443, bind: 0.0.0.0 + system.adapter.text2command.0 : text2command : raspberrypi - enabled system.adapter.web.0 : web : raspberrypi - disabled, port: 8082, bind: 0.0.0.0, run as: admin + system.adapter.web.1 : web : raspberrypi - enabled, port: 8082, bind: 0.0.0.0, run as: admin + instance is alive
-
RE: *gelöst* Weboberfläche nicht erreichbar
@thomas-braun komisch, den js-controller hatte ich doch erst installiert. anscheinend ist der beim upgrade aller Dateien, sowie der admin und weg rausgeflogen. Sehr merkwürdig. Aber gut. Bei der Installation vom JS.Controller bin ich wieder über den NPM8 fehler mit dem rename gestoßen, den ich mit deinem "Einzeiler" beheben konnte. Rest noch installiert und neu gestartet. Jetzt funktioniert es wieder. Vielen Dank. Jetzt wird erstmal wieder ein Backup erstellt bevor es weiter geht. Die ganzen Warnungen sind normal oder muss ich da noch etwas machen?
Vielen Dank schonmal bis hierhin. Hast mir sehr geholfen.
pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller npm ERR! code ENOTEMPTY npm ERR! syscall rename npm ERR! path /opt/iobroker/node_modules/error-ex/node_modules/is-arrayish npm ERR! dest /opt/iobroker/node_modules/error-ex/node_modules/.is-arrayish-qBglV5Z1 npm ERR! errno -39 npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/error-ex/node_modules/is-arrayish' -> '/opt/iobroker/node_modules/error-ex/node_modules/.is-arrayish-qBglV5Z1' npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2023-02-21T08_30_12_726Z-debug-0.log pi@raspberrypi:/opt/iobroker $ for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%%/}; done pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies. npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated request-promise@4.2.6: request-promise has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142 npm WARN deprecated node-inspect@2.0.0: This module is part of Node.js core and does not need to be installed separately. It is now unmaintained. npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 added 5 packages, and changed 704 packages in 15m 78 packages are looking for funding run `npm fund` for details pi@raspberrypi:/opt/iobroker $ iobroker add admin host.raspberrypi create instance admin host.raspberrypi object system.adapter.admin.1.alive created host.raspberrypi object system.adapter.admin.1.connected created host.raspberrypi object system.adapter.admin.1.compactMode created host.raspberrypi object system.adapter.admin.1.cpu created host.raspberrypi object system.adapter.admin.1.cputime created host.raspberrypi object system.adapter.admin.1.memHeapUsed created host.raspberrypi object system.adapter.admin.1.memHeapTotal created host.raspberrypi object system.adapter.admin.1.memRss created host.raspberrypi object system.adapter.admin.1.uptime created host.raspberrypi object system.adapter.admin.1.inputCount created host.raspberrypi object system.adapter.admin.1.outputCount created host.raspberrypi object system.adapter.admin.1.eventLoopLag created host.raspberrypi object system.adapter.admin.1.sigKill created host.raspberrypi object system.adapter.admin.1.logLevel created host.raspberrypi object system.adapter.admin.upload created host.raspberrypi object admin.1.info created host.raspberrypi object admin.1 created host.raspberrypi object admin.1.info.connected created host.raspberrypi object admin.1.info.connection created host.raspberrypi object admin.1.info.newsFeed created host.raspberrypi object admin.1.info.newsETag created host.raspberrypi object admin.1.info.newsLastId created host.raspberrypi object admin.1.info.updatesList created host.raspberrypi Set default value of admin.1.info.connected: host.raspberrypi Set default value of admin.1.info.connection: false host.raspberrypi Set default value of admin.1.info.updatesList: host.raspberrypi object system.adapter.admin.1 created pi@raspberrypi:/opt/iobroker $ iobroker add web host.raspberrypi create instance web host.raspberrypi object system.adapter.web.1.alive created host.raspberrypi object system.adapter.web.1.connected created host.raspberrypi object system.adapter.web.1.compactMode created host.raspberrypi object system.adapter.web.1.cpu created host.raspberrypi object system.adapter.web.1.cputime created host.raspberrypi object system.adapter.web.1.memHeapUsed created host.raspberrypi object system.adapter.web.1.memHeapTotal created host.raspberrypi object system.adapter.web.1.memRss created host.raspberrypi object system.adapter.web.1.uptime created host.raspberrypi object system.adapter.web.1.inputCount created host.raspberrypi object system.adapter.web.1.outputCount created host.raspberrypi object system.adapter.web.1.eventLoopLag created host.raspberrypi object system.adapter.web.1.sigKill created host.raspberrypi object system.adapter.web.1.logLevel created host.raspberrypi object system.adapter.web.upload created host.raspberrypi object web.1 created host.raspberrypi object web.1.info created host.raspberrypi object web.1.info.connected created host.raspberrypi object web.1.info.connection created host.raspberrypi Set default value of web.1.info.connected: host.raspberrypi Set default value of web.1.info.connection: false host.raspberrypi object system.adapter.web.1 created pi@raspberrypi:/opt/iobroker $ iobroker restart
-
*gelöst* Weboberfläche nicht erreichbar
Hi,
nachdem ich es ednlich geschafft habe, mein System von buster auf bullseye um zu stellen, Thomas Braun mir noch geholfen hat, meinen Fehler beim Update des JS-Controllers zu beheben und ich danach auch noch alle Adapter geupdatet habe, komme ich nicht mehr auf die Weboberfläche drauf. Aktuell sieht mein System jetzt so aus.pi@raspberrypi:~ $ sudo ln -s /usr/bin/node /usr/bin/nodejs uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs ln: failed to create symbolic link '/usr/bin/nodejs': File exists armv7l /usr/bin/nodejs /usr/bin/node /usr/bin/npm v16.19.1 v16.19.1 8.19.3 pi /home/pi Hit:1 http://phoscon.de/apt/deconz bullseye InRelease Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Hit:3 http://archive.raspberrypi.org/debian bullseye InRelease Hit:4 https://deb.nodesource.com/node_16.x bullseye InRelease Hit:5 https://www.pivccu.de/piVCCU stable InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. nodejs: Installed: 16.19.1-deb-1nodesource1 Candidate: 16.19.1-deb-1nodesource1 Version table: *** 16.19.1-deb-1nodesource1 500 500 https://deb.nodesource.com/node_16.x bullseye/main armhf Packages 100 /var/lib/dpkg/status 12.22.12~dfsg-1~deb11u3 500 500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
bei meinen ganzen Update versuchen hatte ich dort eigentlich noch einen "/usr/bin/npx" Eintrag. Ist das jetzt korrekt, das er fehlt?
Iobroker fix habe ich bereits mehrfach versucht, leider ohne Erfolg. Bin auch den Werkzeugkasten durchgegangen und dies ist der Log dazu.
pi@raspberrypi:~ $ iobroker logs --watch | uniq Uncaught Rejection: Error: Cannot find module 'moment' Require stack: - /opt/iobroker/node_modules/file-stream-rotator/FileStreamRotator.js - /opt/iobroker/node_modules/winston-daily-rotate-file/daily-rotate-file.js - /opt/iobroker/node_modules/winston-daily-rotate-file/index.js - /opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/logger.js - /opt/iobroker/node_modules/@iobroker/js-controller-common/index.js - /opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js - /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1021:15) at Function.Module._load (node:internal/modules/cjs/loader:866:27) at Module.require (node:internal/modules/cjs/loader:1093:19) at require (node:internal/modules/cjs/helpers:108:18) at Object.<anonymous> (/opt/iobroker/node_modules/file-stream-rotator/FileStreamRotator.js:15:14) at Module._compile (node:internal/modules/cjs/loader:1191:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10) at Module.load (node:internal/modules/cjs/loader:1069:32) at Function.Module._load (node:internal/modules/cjs/loader:904:12) at Module.require (node:internal/modules/cjs/loader:1093:19)
iob diag sagt
======== Start marking the full check here ========= Skript v.2023-01-02 *** BASE SYSTEM *** Model : Raspberry Pi 4 Model B Rev 1.1 Architecture: armv7l Docker: false Virtualization: none Distributor ID: Raspbian Description: Raspbian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseye PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)" NAME="Raspbian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye ID=raspbian ID_LIKE=debian HOME_URL="http://www.raspbian.org/" SUPPORT_URL="http://www.raspbian.org/RaspbianForums" BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs" Systemuptime and Load: 02:58:01 up 43 min, 1 user, load average: 4.17, 2.69, 2.05 CPU threads: 4 *** Time and Time Zones *** Tue Feb 21 01:58:01 UTC 2023 Tue Feb 21 02:58:01 CET 2023 CET +0100 Europe/Berlin *** User and Groups *** pi /home/pi pi adm dialout cdrom sudo audio video plugdev games users input netdev gpio i2c spi iobroker *** X-Server-Setup *** X-Server: false Desktop: Terminal: tty Boot Target: multi-user.target *** MEMORY *** total used free shared buff/cache available Mem: 3.8G 98M 3.2G 0.0K 518M 3.6G Swap: 99M 0B 99M Total: 3.9G 98M 3.3G 3838 M total memory 98 M used memory 280 M active memory 207 M inactive memory 3221 M free memory 132 M buffer memory 386 M swap cache 99 M total swap 0 M used swap 99 M free swap *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on /dev/root ext4 15G 4.7G 9.1G 34% / devtmpfs devtmpfs 1.8G 0 1.8G 0% /dev tmpfs tmpfs 1.9G 0 1.9G 0% /dev/shm tmpfs tmpfs 768M 720K 768M 1% /run tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock /dev/mmcblk0p1 vfat 253M 50M 203M 20% /boot tmpfs tmpfs 384M 0 384M 0% /run/user/1000 Messages in dmesg: [Tue Feb 21 02:14:54 2023] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 smsc95xx.macaddr=DC:A6:32:47:0D:7D vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 dwc_otg.lpm_enable=0 console=tty1 root=PARTUUID=e52a9d10-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait [Tue Feb 21 02:14:54 2023] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none. [Tue Feb 21 02:14:54 2023] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. [Tue Feb 21 02:14:57 2023] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null). Quota mode: none. Show mounted filesystems (real ones only): 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,flush,errors=remount-ro Files in neuralgic directories: /var: 1.6G /var/ 740M /var/lib 630M /var/lib/piVCCU3 459M /var/lib/piVCCU3/rootfs 410M /var/cache /opt/iobroker/backups: 4.0K /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 153M /opt/iobroker/iobroker-data/ 107M /opt/iobroker/iobroker-data/files 51M /opt/iobroker/iobroker-data/files/javascript.admin 34M /opt/iobroker/iobroker-data/backup-objects 32M /opt/iobroker/iobroker-data/files/javascript.admin/static/js The five largest files in iobroker-data are: 9.7M /opt/iobroker/iobroker-data/files/text2command.admin/static/js/main.bbfeb1bf.js.map 6.9M /opt/iobroker/iobroker-data/files/javascript.admin/static/js/610.de0231c9.chunk.js.map 6.3M /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_js-node_modules_iobr-99c23e.847b8ad9.chunk.js.map 4.9M /opt/iobroker/iobroker-data/files/javascript.admin/static/js/848.7424922d.chunk.js.map 4.6M /opt/iobroker/iobroker-data/files/javascript.admin/vs/language/typescript/tsWorker.js *** NodeJS-Installation *** /usr/bin/nodejs v16.19.1 /usr/bin/node v16.19.1 /usr/bin/npm 8.19.3 /usr/bin/npx 8.19.3 nodejs: Installed: 16.19.1-deb-1nodesource1 Candidate: 16.19.1-deb-1nodesource1 Version table: *** 16.19.1-deb-1nodesource1 500 500 https://deb.nodesource.com/node_16.x bullseye/main armhf Packages 100 /var/lib/dpkg/status 12.22.12~dfsg-1~deb11u3 500 500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages Temp directories causing npm8 problem: 66 *** ioBroker-Installation *** ioBroker Status iobroker is not running on this host. Objects type: jsonl States type: jsonl Core adapters versions js-controller: 4.0.24 admin: "admin" not found javascript: "javascript" not found npm ERR! code ELSPROBLEMS npm ERR! extraneous: @iobroker/socket-classes@1.0.2 /opt/iobroker/node_modules/@iobroker/socket-classes npm ERR! extraneous: @iobroker/ws-server@2.1.0 /opt/iobroker/node_modules/@iobroker/ws-server npm ERR! extraneous: @types/caseless@0.12.2 /opt/iobroker/node_modules/@types/caseless npm ERR! extraneous: @types/request@2.48.8 /opt/iobroker/node_modules/@types/request npm ERR! extraneous: @types/tough-cookie@4.0.2 /opt/iobroker/node_modules/@types/tough-cookie npm ERR! extraneous: available-typed-arrays@1.0.5 /opt/iobroker/node_modules/available-typed-arrays npm ERR! extraneous: busboy@1.6.0 /opt/iobroker/node_modules/busboy npm ERR! extraneous: coffeescript@1.12.7 /opt/iobroker/node_modules/coffeescript npm ERR! extraneous: compressible@2.0.18 /opt/iobroker/node_modules/compressible npm ERR! extraneous: compression@1.7.4 /opt/iobroker/node_modules/compression npm ERR! extraneous: connect-flash@0.1.1 /opt/iobroker/node_modules/connect-flash npm ERR! extraneous: es-set-tostringtag@2.0.1 /opt/iobroker/node_modules/es-set-tostringtag npm ERR! extraneous: es-to-primitive@1.2.1 /opt/iobroker/node_modules/es-to-primitive npm ERR! extraneous: express-fileupload@1.4.0 /opt/iobroker/node_modules/express-fileupload npm ERR! extraneous: for-each@0.3.3 /opt/iobroker/node_modules/for-each npm ERR! extraneous: function.prototype.name@1.1.5 /opt/iobroker/node_modules/function.prototype.name npm ERR! extraneous: functions-have-names@1.2.3 /opt/iobroker/node_modules/functions-have-names npm ERR! extraneous: get-symbol-description@1.0.0 /opt/iobroker/node_modules/get-symbol-description npm ERR! extraneous: globalthis@1.0.3 /opt/iobroker/node_modules/globalthis npm ERR! extraneous: gopd@1.0.1 /opt/iobroker/node_modules/gopd npm ERR! extraneous: has-bigints@1.0.2 /opt/iobroker/node_modules/has-bigints npm ERR! extraneous: has-proto@1.0.1 /opt/iobroker/node_modules/has-proto npm ERR! extraneous: has-tostringtag@1.0.0 /opt/iobroker/node_modules/has-tostringtag npm ERR! extraneous: internal-slot@1.0.5 /opt/iobroker/node_modules/internal-slot npm ERR! invalid: iobroker.admin@ /opt/iobroker/node_modules/iobroker.admin npm ERR! invalid: iobroker.javascript@ /opt/iobroker/node_modules/iobroker.javascript npm ERR! missing: iobroker.tankerkoenig@3.3.7, required by iobroker.inst@2.0.3 npm ERR! invalid: iobroker.vis@ /opt/iobroker/node_modules/iobroker.vis npm ERR! invalid: iobroker.web@ /opt/iobroker/node_modules/iobroker.web npm ERR! extraneous: iobroker.ws.server@1.0.1 /opt/iobroker/node_modules/iobroker.ws.server npm ERR! extraneous: iobroker.ws@1.3.0 /opt/iobroker/node_modules/iobroker.ws npm ERR! extraneous: is-array-buffer@3.0.1 /opt/iobroker/node_modules/is-array-buffer npm ERR! extraneous: is-bigint@1.0.4 /opt/iobroker/node_modules/is-bigint npm ERR! extraneous: is-boolean-object@1.1.2 /opt/iobroker/node_modules/is-boolean-object npm ERR! extraneous: is-callable@1.2.7 /opt/iobroker/node_modules/is-callable npm ERR! extraneous: is-date-object@1.0.5 /opt/iobroker/node_modules/is-date-object npm ERR! extraneous: is-nan@1.3.2 /opt/iobroker/node_modules/is-nan npm ERR! extraneous: is-negative-zero@2.0.2 /opt/iobroker/node_modules/is-negative-zero npm ERR! extraneous: is-number-object@1.0.7 /opt/iobroker/node_modules/is-number-object npm ERR! extraneous: is-regex@1.1.4 /opt/iobroker/node_modules/is-regex npm ERR! extraneous: is-shared-array-buffer@1.0.2 /opt/iobroker/node_modules/is-shared-array-buffer npm ERR! extraneous: is-string@1.0.7 /opt/iobroker/node_modules/is-string npm ERR! extraneous: is-symbol@1.0.4 /opt/iobroker/node_modules/is-symbol npm ERR! extraneous: is-typed-array@1.1.10 /opt/iobroker/node_modules/is-typed-array npm ERR! extraneous: is-weakref@1.0.2 /opt/iobroker/node_modules/is-weakref npm ERR! extraneous: jsonata@1.8.6 /opt/iobroker/node_modules/jsonata npm ERR! extraneous: minimist@1.2.8 /opt/iobroker/node_modules/minimist npm ERR! extraneous: node-inspect@2.0.0 /opt/iobroker/node_modules/node-inspect npm ERR! extraneous: passport-local@1.0.0 /opt/iobroker/node_modules/passport-local npm ERR! extraneous: passport@0.6.0 /opt/iobroker/node_modules/passport npm ERR! extraneous: picocolors@1.0.0 /opt/iobroker/node_modules/picocolors npm ERR! extraneous: regexp.prototype.flags@1.4.3 /opt/iobroker/node_modules/regexp.prototype.flags npm ERR! extraneous: safe-regex-test@1.0.0 /opt/iobroker/node_modules/safe-regex-test npm ERR! extraneous: streamsearch@1.1.0 /opt/iobroker/node_modules/streamsearch npm ERR! extraneous: string.prototype.trimend@1.0.6 /opt/iobroker/node_modules/string.prototype.trimend npm ERR! extraneous: string.prototype.trimstart@1.0.6 /opt/iobroker/node_modules/string.prototype.trimstart npm ERR! extraneous: suncalc2@1.8.1 /opt/iobroker/node_modules/suncalc2 npm ERR! extraneous: typed-array-length@1.0.4 /opt/iobroker/node_modules/typed-array-length npm ERR! extraneous: typescript@ /opt/iobroker/node_modules/typescript npm ERR! extraneous: unbox-primitive@1.0.2 /opt/iobroker/node_modules/unbox-primitive npm ERR! extraneous: virtual-tsc@0.6.2 /opt/iobroker/node_modules/virtual-tsc npm ERR! extraneous: wake_on_lan@1.0.0 /opt/iobroker/node_modules/wake_on_lan npm ERR! extraneous: which-boxed-primitive@1.0.2 /opt/iobroker/node_modules/which-boxed-primitive npm ERR! extraneous: which-typed-array@1.1.9 /opt/iobroker/node_modules/which-typed-array npm ERR! extraneous: ws@8.12.1 /opt/iobroker/node_modules/ws npm ERR! extraneous: xtend@4.0.2 /opt/iobroker/node_modules/xtend npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2023-02-21T01_58_49_399Z-debug-0.log Adapters from github: 0 Adapter State system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin system.adapter.backitup.0 : backitup : raspberrypi - enabled system.adapter.deconz.0 : deconz : raspberrypi - enabled system.adapter.discovery.0 : discovery : raspberrypi - disabled system.adapter.hm-rega.0 : hm-rega : raspberrypi - disabled system.adapter.hm-rpc.0 : hm-rpc : raspberrypi - disabled, port: 0 system.adapter.javascript.0 : javascript : raspberrypi - enabled system.adapter.telegram.0 : telegram : raspberrypi - enabled, port: 8443, bind: 0.0.0.0 system.adapter.text2command.0 : text2command : raspberrypi - enabled system.adapter.web.0 : web : raspberrypi - disabled, port: 8082, bind: 0.0.0.0, run as: admin + instance is alive Enabled adapters with bindings system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin system.adapter.telegram.0 : telegram : raspberrypi - enabled, port: 8443, bind: 0.0.0.0 ioBroker-Repositories stable : http://download.iobroker.net/sources-dist.json beta : http://download.iobroker.net/sources-dist-latest.json Active repo(s): stable Installed ioBroker-Instances Used repository: stable Adapter "backitup" : 2.5.12 , installed 2.5.12 Adapter "deconz" : 1.3.21 , installed 1.3.21 Adapter "discovery" : 3.1.0 , installed 3.1.0 Adapter "hm-rega" : 3.0.43 , installed 3.0.44 Adapter "hm-rpc" : 1.15.16 , installed 1.15.16 Adapter "info" : 1.9.19 , installed 1.9.26 Controller "js-controller": 4.0.24 , installed 4.0.24 Adapter "simple-api" : 2.7.2 , installed 2.7.2 Adapter "socketio" : 4.2.0 , installed 4.2.0 Adapter "telegram" : 1.15.2 , installed 1.15.6 Adapter "text2command" : 2.3.0 , installed 2.3.0 Adapter "ws" : 1.3.0 , installed 1.3.0 Adapter "yr" : 5.3.0 , installed 5.3.0 Objects and States Please stand by - This may take a while Objects: 1601 States: 1060 *** OS-Repositories and Updates *** Hit:1 http://phoscon.de/apt/deconz bullseye InRelease Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease Hit:3 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Hit:4 https://deb.nodesource.com/node_16.x bullseye InRelease Hit:5 https://www.pivccu.de/piVCCU stable InRelease Reading package lists... Pending Updates: 0 *** 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:80 0.0.0.0:* LISTEN 1000 14476 364/deCONZ tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 10156 731/sshd: /usr/sbin tcp 0 0 10.0.3.1:53 0.0.0.0:* LISTEN 0 10190 751/dnsmasq tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 1000 10917 364/deCONZ tcp6 0 0 :::22 :::* LISTEN 0 10158 731/sshd: /usr/sbin udp 0 0 0.0.0.0:1900 0.0.0.0:* 1000 10928 364/deCONZ udp 0 0 10.0.3.1:53 0.0.0.0:* 0 10189 751/dnsmasq udp 0 0 0.0.0.0:67 0.0.0.0:* 0 10186 751/dnsmasq udp 0 0 0.0.0.0:68 0.0.0.0:* 0 13793 637/dhclient udp 0 0 0.0.0.0:46309 0.0.0.0:* 108 13716 355/avahi-daemon: r udp 0 0 0.0.0.0:5353 0.0.0.0:* 108 13714 355/avahi-daemon: r udp6 0 0 :::57738 :::* 108 13717 355/avahi-daemon: r udp6 0 0 :::5353 :::* 108 13715 355/avahi-daemon: r *** Log File - Last 25 Lines *** 2023-02-21 01:16:57.441 - info: text2command.0 (4003) Got terminate signal TERMINATE_YOURSELF 2023-02-21 01:16:57.440 - info: telegram.0 (4002) Got terminate signal TERMINATE_YOURSELF 2023-02-21 01:16:57.444 - info: backitup.0 (4036) Got terminate signal TERMINATE_YOURSELF 2023-02-21 01:16:57.442 - info: deconz.0 (3898) Got terminate signal TERMINATE_YOURSELF 2023-02-21 01:16:57.450 - info: backitup.0 (4036) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason 2023-02-21 01:16:57.458 - info: admin.0 (3775) Got terminate signal TERMINATE_YOURSELF 2023-02-21 01:16:57.456 - info: javascript.0 (3859) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason 2023-02-21 01:16:57.475 - info: deconz.0 (3898) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason 2023-02-21 01:16:57.481 - info: admin.0 (3775) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason 2023-02-21 01:16:57.483 - info: host.raspberrypi stopInstance system.adapter.admin.0 send kill signal 2023-02-21 01:16:57.485 - info: host.raspberrypi stopInstance system.adapter.javascript.0 send kill signal 2023-02-21 01:16:57.486 - info: host.raspberrypi stopInstance system.adapter.deconz.0 send kill signal 2023-02-21 01:16:57.486 - info: host.raspberrypi stopInstance system.adapter.telegram.0 send kill signal 2023-02-21 01:16:57.487 - info: host.raspberrypi stopInstance system.adapter.text2command.0 send kill signal 2023-02-21 01:16:57.487 - info: host.raspberrypi stopInstance system.adapter.backitup.0 send kill signal 2023-02-21 01:16:57.816 - info: text2command.0 (4003) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason 2023-02-21 01:16:57.826 - info: telegram.0 (4002) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason 2023-02-21 01:16:58.058 - info: host.raspberrypi instance system.adapter.backitup.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP) 2023-02-21 01:16:58.112 - info: host.raspberrypi instance system.adapter.javascript.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP) 2023-02-21 01:16:58.183 - info: host.raspberrypi instance system.adapter.admin.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP) 2023-02-21 01:16:58.184 - info: host.raspberrypi instance system.adapter.deconz.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP) 2023-02-21 01:16:58.378 - info: host.raspberrypi instance system.adapter.text2command.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP) 2023-02-21 01:16:58.408 - info: host.raspberrypi instance system.adapter.telegram.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP) 2023-02-21 01:16:58.409 - info: host.raspberrypi All instances are stopped. 2023-02-21 01:17:02.921 - info: host.raspberrypi terminated ============ Mark until here for C&P ============= iob diag has finished. Press any key for a summary
Hoffe ihr könnt mir helfen. Vielen Dank schonmal.
-
RE: Diskussion zum HowTo nodejs-Installation und upgrade
@thomas-braun said in Diskussion zum HowTo nodejs-Installation und upgrade:
Du stehst im falschen Verzeichnis.
cd /opt/iobroker
vorab, dann funktioniert es auch.
An der Stelle kann man auch gut sehen, warum man nicht als root herumhampelt. Wenn du den Befehl mit dessen vollen Rechten ausgeführt hättest wäre der ganze Kram an der falschen Stelle ins System geklatscht worden. So ist gar nix passiert und die Rechteverwaltung konnte den Fehler abfangen.
Und man kann ebenfalls gut sehen, warum immer alle darauf bestehen, dass Konsolentexte vollständig inkl. Login Prompt zu posten sind. So konnte man direkt sehen, dass du da falsch stehst.
Alles richtig gemacht, was das Forum angeht.
(Nur ein wenig am eigentlichen Thema des Threads vorbei...)Danke schonmal für die Antwort, leider bringt auch der Wechsel des Verzeichnisses leider nicht den gewünschten Erfolg.
pi@raspberrypi:/opt/iobroker $ iobroker upgrade self Update js-controller from @3.3.22 to @4.0.24 NPM version: 8.19.3 npm install iobroker.js-controller@4.0.24 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call) npm ERR! code ENOTEMPTY npm ERR! syscall rename npm ERR! path /opt/iobroker/node_modules/accepts npm ERR! dest /opt/iobroker/node_modules/.accepts-rBwU1CL7 npm ERR! errno -39 npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/accepts' -> '/opt/iobroker/node_modules/.accepts-rBwU1CL7' npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2023-02-20T08_50_59_078Z-debug-0.log host.raspberrypi Cannot install iobroker.js-controller@4.0.24: 217
-
RE: Diskussion zum HowTo nodejs-Installation und upgrade
Guten Morgen,
ich versuche gerade meinen alten Raspberry Pi 4 wieder auf den aktuellen STand zu bringen. Ich habe bereits das update von Buster auf Bullseye vollzogen und bin von Nodejs V12.22.12 auf aktuell v16.19.1 gewechselt. NPM ist 8.19.3. Was leider nicht funktioniert, ist das Update des JS.Controllers. Der bleibt ums verrecken auf 3.1.6 stehen. Ich hab das Forum hier mehrfach durchsucht und alles mögliche ausprobiert, aber es hilft nichts. Hier der aktuelle Stand, danach die Fehlermeldungen beim upgrade.
pi@raspberrypi:~ $ uname -m && type -P nodejs node npm npx && nodejs -v && node -v && npm -v && npx -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs armv7l /usr/bin/nodejs /usr/bin/node /usr/bin/npm /usr/bin/npx v16.19.1 v16.19.1 8.19.3 8.19.3 3.1.6 pi pi adm dialout cdrom sudo audio video plugdev games users input netdev gpio i2c spi iobroker tty /home/pi Hit:1 http://phoscon.de/apt/deconz buster InRelease Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease Hit:3 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Hit:4 https://deb.nodesource.com/node_16.x bullseye InRelease Hit:5 https://www.pivccu.de/piVCCU stable InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. nodejs: Installed: 16.19.1-deb-1nodesource1 Candidate: 16.19.1-deb-1nodesource1 Version table: *** 16.19.1-deb-1nodesource1 500 500 https://deb.nodesource.com/node_16.x bullseye/main armhf Packages 100 /var/lib/dpkg/status 12.22.12~dfsg-1~deb11u3 500 500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
pi@raspberrypi:~ $ sudo -H -u iobroker npm install iobroker.js-controller npm notice npm notice New major version of npm available! 8.19.3 -> 9.5.0 npm notice Changelog: https://github.com/npm/cli/releases/tag/v9.5.0 npm notice Run npm install -g npm@9.5.0 to update! npm notice npm ERR! code EACCES npm ERR! syscall mkdir npm ERR! path /home/pi/node_modules npm ERR! errno -13 npm ERR! Error: EACCES: permission denied, mkdir '/home/pi/node_modules' npm ERR! [Error: EACCES: permission denied, mkdir '/home/pi/node_modules'] { npm ERR! errno: -13, npm ERR! code: 'EACCES', npm ERR! syscall: 'mkdir', npm ERR! path: '/home/pi/node_modules' npm ERR! } npm ERR! npm ERR! The operation was rejected by your operating system. npm ERR! It is likely you do not have the permissions to access this file as the current user npm ERR! npm ERR! If you believe this might be a permissions issue, please double-check the npm ERR! permissions of the file and its containing directories, or try running npm ERR! the command again as root/Administrator. npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2023-02-20T08_00_59_410Z-debug-0.log
Da ich mittlerweile ratlos bin, hoffe ich das ihr mir helfen könnt den JS-Controller auf die aktuelle Stable Version zu bekommen. Vielen Dank.
-
RE: [Problem] Astro funktioniert nicht
das funktioniert leider auch nicht. so langsam bin ich echt am verzweifeln....
-
RE: [Problem] Astro funktioniert nicht
hab die Reihenfolge geändert, aber das bringt auch nichts. hat sonst noch jemand eine Idee?
-
RE: [Problem] Astro funktioniert nicht
Also daran lag es anscheinend nicht. Der Bewegungsmelder macht jetzt das Licht noch immer an...
-
RE: [Problem] Astro funktioniert nicht
ok, hab es dort nochmal eingetragen und werde es jetzt morgen testen, ob es dann wieder geht! Danke schonmal für die Antworten. Melde mich morgen nach Sonneaufgang (Ende) erneut^^