NEWS
Cannot read properties of null (reading 'native')
-
@faz3rs-adventures sagte in Cannot read properties of null (reading 'native'):
ich bin nach der Anleitung (https://www.iobroker.net/#de/documentation/install/nodejs.md) vorgegangen.
FALSCH
dafür gibt es den Befehl:
iob nodejs-updateEDIT:
wobei ich nicht weis was da falsch gelaufen ist.
Dein System ist schief
/usr/local/bin/
richtig .. alles in
/usr/bin/
@glasfaser sagte in Cannot read properties of null (reading 'native'):
Dein System ist schief
bekomm ich das so hin oder ist es weniger aufwand es platt zu machen und neu einzuspielen mit einem backup von davor?
-
@glasfaser sagte in Cannot read properties of null (reading 'native'):
Dein System ist schief
bekomm ich das so hin oder ist es weniger aufwand es platt zu machen und neu einzuspielen mit einem backup von davor?
Alles gut ... nimm den Befehl
-
@glasfaser ```
======================= SUMMARY ======================= v.2023-10-10 Static hostname: raspberrypi Icon name: computer Operating System: Raspbian GNU/Linux 11 (bullseye) Kernel: Linux 6.1.21-v8+ Architecture: arm64 Installation: native Kernel: aarch64 Userland: armhf Timezone: Europe/Berlin (CET, +0100) User-ID: 1000 X-Server: true Boot Target: graphical.target Pending OS-Updates: 0 Error: Object "system.repositories" not found Pending iob updates: 0 Nodejs-Installation: /usr/bin/nodejs v18.19.0 /usr/bin/node v18.19.0 /usr/bin/npm 10.2.3 /usr/local/bin/npx 10.2.3 /usr/local/bin/corepack 0.22.0 Recommended versions are nodejs 18.19.0 and npm 10.2.3 *** nodejs is NOT correctly installed *** Wrong installation path detected. This needs to be fixed. Please check https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian for more information on how to fix these errors. MEMORY: total used free shared buff/cache available Mem: 7.8G 1.2G 5.7G 34M 881M 6.4G Swap: 99M 0B 99M Total: 7.9G 1.2G 5.8G Active iob-Instances: 26 List is empty ioBroker Core: js-controller 5.0.17 admin 6.12.0 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: + system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin + system.adapter.web.0 : web : raspberrypi - enabled, port: 8082, bind: 0.0.0.0 (SSL), run as: admin Objects: 5635 States: 4392 Size of iob-Database: 31M /opt/iobroker/iobroker-data/objects.jsonl 7.5M /opt/iobroker/iobroker-data/states.jsonl =================== END OF SUMMARY ====================Das könne es erklären wobei ich nicht weis was da falsch gelaufen ist.
ich bin nach der Anleitung (https://www.iobroker.net/#de/documentation/install/nodejs.md) vorgegangen.@faz3rs-adventures sagte in Cannot read properties of null (reading 'native'):
Error: Object "system.repositories" not found
Dazu müssen wir gleich mal schauen !
-
@faz3rs-adventures sagte in Cannot read properties of null (reading 'native'):
Error: Object "system.repositories" not found
Dazu müssen wir gleich mal schauen !
@glasfaser ```
Damit müsste zumindest das wieder passen oder?======================= SUMMARY ======================= v.2023-10-10 Static hostname: raspberrypi Icon name: computer Operating System: Raspbian GNU/Linux 11 (bullseye) Kernel: Linux 6.1.21-v8+ Architecture: arm64 Installation: native Kernel: aarch64 Userland: armhf Timezone: Europe/Berlin (CET, +0100) User-ID: 1000 X-Server: true Boot Target: graphical.target Pending OS-Updates: 0 Error: Object "system.repositories" not found Pending iob updates: 0 Nodejs-Installation: /usr/bin/nodejs v18.19.0 /usr/bin/node v18.19.0 /usr/bin/npm 10.2.3 /usr/bin/npx 10.2.3 /usr/bin/corepack 0.22.0 Recommended versions are nodejs 18.19.0 and npm 10.2.3 Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 7.8G 1.3G 5.7G 35M 888M 6.4G Swap: 99M 0B 99M Total: 7.9G 1.3G 5.8G Active iob-Instances: 26 List is empty ioBroker Core: js-controller 5.0.17 admin 6.12.0 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: + system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin + system.adapter.web.0 : web : raspberrypi - enabled, port: 8082, bind: 0.0.0.0 (SSL), run as: admin Objects: 5635 States: 4391 Size of iob-Database: 31M /opt/iobroker/iobroker-data/objects.jsonl 9.2M /opt/iobroker/iobroker-data/states.jsonl =================== END OF SUMMARY ==================== -
@glasfaser ```
Damit müsste zumindest das wieder passen oder?======================= SUMMARY ======================= v.2023-10-10 Static hostname: raspberrypi Icon name: computer Operating System: Raspbian GNU/Linux 11 (bullseye) Kernel: Linux 6.1.21-v8+ Architecture: arm64 Installation: native Kernel: aarch64 Userland: armhf Timezone: Europe/Berlin (CET, +0100) User-ID: 1000 X-Server: true Boot Target: graphical.target Pending OS-Updates: 0 Error: Object "system.repositories" not found Pending iob updates: 0 Nodejs-Installation: /usr/bin/nodejs v18.19.0 /usr/bin/node v18.19.0 /usr/bin/npm 10.2.3 /usr/bin/npx 10.2.3 /usr/bin/corepack 0.22.0 Recommended versions are nodejs 18.19.0 and npm 10.2.3 Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 7.8G 1.3G 5.7G 35M 888M 6.4G Swap: 99M 0B 99M Total: 7.9G 1.3G 5.8G Active iob-Instances: 26 List is empty ioBroker Core: js-controller 5.0.17 admin 6.12.0 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: + system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin + system.adapter.web.0 : web : raspberrypi - enabled, port: 8082, bind: 0.0.0.0 (SSL), run as: admin Objects: 5635 States: 4391 Size of iob-Database: 31M /opt/iobroker/iobroker-data/objects.jsonl 9.2M /opt/iobroker/iobroker-data/states.jsonl =================== END OF SUMMARY ==================== -
pi@raspberrypi:~ $ iob repo list List is empty -
pi@raspberrypi:~ $ iob repo list List is emptydann
iob repo del beta iob repo del stable iob repo add stable http://download.iobroker.net/sources-dist.json iob repo add beta http://download.iobroker.net/sources-dist-latest.json iob repo list -
dann
iob repo del beta iob repo del stable iob repo add stable http://download.iobroker.net/sources-dist.json iob repo add beta http://download.iobroker.net/sources-dist-latest.json iob repo listpi@raspberrypi:~ $ iob repo del beta Repository "beta" deleted. List is emptypi@raspberrypi:~ $ iob repo del stable Cannot remove repository: Cannot delete active repository: stablesoll ich den rest trotzdem laufen lassen wenn die stable nicht entfernt werden kann?
-
pi@raspberrypi:~ $ iob repo del beta Repository "beta" deleted. List is emptypi@raspberrypi:~ $ iob repo del stable Cannot remove repository: Cannot delete active repository: stablesoll ich den rest trotzdem laufen lassen wenn die stable nicht entfernt werden kann?
alles nacheinander ... del ist nur zur Sicherheit
-
alles nacheinander ... del ist nur zur Sicherheit
pi@raspberrypi:~ $ iob repo add stable http://download.iobroker.net/sources-dist.json Cannot add repository location: Repository "stable" yet exists: http://download.iobroker.net/sources-dist.json pi@raspberrypi:~ $ iob repo add beta http://download.iobroker.net/sources-dist-latest.json Cannot add repository location: Repository "beta" yet exists: http://download.iobroker.net/sources-dist-latest.json pi@raspberrypi:~ $ iob repo list List is empty -
pi@raspberrypi:~ $ iob repo add stable http://download.iobroker.net/sources-dist.json Cannot add repository location: Repository "stable" yet exists: http://download.iobroker.net/sources-dist.json pi@raspberrypi:~ $ iob repo add beta http://download.iobroker.net/sources-dist-latest.json Cannot add repository location: Repository "beta" yet exists: http://download.iobroker.net/sources-dist-latest.json pi@raspberrypi:~ $ iob repo list List is emptyiob stop iob setup first sudo reboot -
iob stop iob setup first sudo rebootpi@raspberrypi:~ $ iob stop pi@raspberrypi:~ $ iob setup first Successfully migrated 5683 objects to Redis Sets object system.repositories created object _design/system updated { "defaultPrivate": "-----BEGIN RSA PRIVATE KEY----- "defaultPublic": "-----BEGIN CERTIFICATE----- } Update certificate defaultPrivate The object "system.certificates" was updated successfully. Update certificate defaultPublic The object "system.certificates" was updated successfully. pi@raspberrypi:~ $ sudo reboot pi@raspberrypi:~ $ iob repo list stable : http://download.iobroker.net/sources-dist.json beta : http://download.iobroker.net/sources-dist-latest.json Active repo(s): stable -
pi@raspberrypi:~ $ iob stop pi@raspberrypi:~ $ iob setup first Successfully migrated 5683 objects to Redis Sets object system.repositories created object _design/system updated { "defaultPrivate": "-----BEGIN RSA PRIVATE KEY----- "defaultPublic": "-----BEGIN CERTIFICATE----- } Update certificate defaultPrivate The object "system.certificates" was updated successfully. Update certificate defaultPublic The object "system.certificates" was updated successfully. pi@raspberrypi:~ $ sudo reboot pi@raspberrypi:~ $ iob repo list stable : http://download.iobroker.net/sources-dist.json beta : http://download.iobroker.net/sources-dist-latest.json Active repo(s): stablesieht gut aus :)
-
sieht gut aus :)
@glasfaser
Sau stark es passt:+1:
Kann die Updates für die Adapter laden
Vielen Dank:+1: :muscle: -
@glasfaser
Sau stark es passt:+1:
Kann die Updates für die Adapter laden
Vielen Dank:+1: :muscle:@faz3rs-adventures sagte in Cannot read properties of null (reading 'native'):
Vielen Dank
Sehr gerne .... ;)