NEWS
Eufy-Security Adapter installiert sich nicht.
-
-
@wendy2702
na über das Protal, also wenn du den Experten Mouds aktivierst, dann über den Link...
Und dann über das termial. -
@longbow Warum nicht über den Admin?
-
so auch schon probiert, das komische ist, das er keine MB hat der Adapter.
Keine Ahnung was da nun los ist.$ iobroker add eusec auto --host iobroker-Final --debug NPM version: 8.19.3Installing iobroker.eusec@0.9.9... (System call) npm WARN skipping integrity check for git dependency ssh://git@github.com/bropat/eufy-security-ws.git added 13 packages, and changed 1 package in 14s158 packages are looking for funding run `npm fund` for details host.iobroker-Final install adapter eusec upload [14] eusec.admin /opt/iobroker/node_modules/iobroker.eusec/admin/eusec.png eusec.png image/png upload [13] eusec.admin /opt/iobroker/node_modules/iobroker.eusec/admin/i18n/de/translations.json i18n/de/translations.json application/json upload [12] eusec.admin /opt/iobroker/node_modules/iobroker.eusec/admin/i18n/en/translations.json i18n/en/translations.json application/json upload [11] eusec.admin /opt/iobroker/node_modules/iobroker.eusec/admin/i18n/es/translations.json i18n/es/translations.json application/json upload [10] eusec.admin /opt/iobroker/node_modules/iobroker.eusec/admin/i18n/fr/translations.json i18n/fr/translations.json application/json upload [9] eusec.admin /opt/iobroker/node_modules/iobroker.eusec/admin/i18n/it/translations.json i18n/it/translations.json application/json upload [8] eusec.admin /opt/iobroker/node_modules/iobroker.eusec/admin/i18n/nl/translations.json i18n/nl/translations.json application/json upload [7] eusec.admin /opt/iobroker/node_modules/iobroker.eusec/admin/i18n/pl/translations.json i18n/pl/translations.json application/json upload [6] eusec.admin /opt/iobroker/node_modules/iobroker.eusec/admin/i18n/pt/translations.json i18n/pt/translations.json application/json upload [5] eusec.admin /opt/iobroker/node_modules/iobroker.eusec/admin/i18n/ru/translations.json i18n/ru/translations.json application/json upload [4] eusec.admin /opt/iobroker/node_modules/iobroker.eusec/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json upload [2] eusec.admin /opt/iobroker/node_modules/iobroker.eusec/admin/jsonConfig.json jsonConfig.json application/json upload [0] eusec.admin /opt/iobroker/node_modules/iobroker.eusec/admin/words.js words.js application/javascript host.iobroker-Final object system.adapter.eusec created/updated host.iobroker-Final create instance eusec host.iobroker-Final object system.adapter.eusec.0.alive created host.iobroker-Final object system.adapter.eusec.0.cputime created host.iobroker-Final object system.adapter.eusec.0.uptime created host.iobroker-Final object system.adapter.eusec.0.outputCount created host.iobroker-Final object system.adapter.eusec.0.eventLoopLag created host.iobroker-Final object system.adapter.eusec.0.sigKill created host.iobroker-Final object system.adapter.eusec.0.logLevel created host.iobroker-Final object eusec.0 created host.iobroker-Final object system.adapter.eusec.0 created Process exited with code 0 Process exited with code 0 Schließen wenn fertig
-
@longbow Stell das loggen, da wo jetzt "Info" steht mal auf "Debug" und poste das log vom Adapter start
-
bitte
host.iobroker-Final 2023-02-23 11:18:32.304 error instance system.adapter.eusec.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.iobroker-Final 2023-02-23 11:18:32.304 error Caught by controller[0]: } host.iobroker-Final 2023-02-23 11:18:32.304 error Caught by controller[0]: requestPath: 'eufy-security-client' host.iobroker-Final 2023-02-23 11:18:32.304 error Caught by controller[0]: path: '/opt/iobroker/node_modules/eufy-security-client/package.json', host.iobroker-Final 2023-02-23 11:18:32.304 error Caught by controller[0]: code: 'MODULE_NOT_FOUND', host.iobroker-Final 2023-02-23 11:18:32.304 error Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1069:32) { host.iobroker-Final 2023-02-23 11:18:32.304 error Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10) host.iobroker-Final 2023-02-23 11:18:32.304 error Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1191:14) host.iobroker-Final 2023-02-23 11:18:32.304 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.eusec/build/main.js:35:32) host.iobroker-Final 2023-02-23 11:18:32.304 error Caught by controller[0]: at require (node:internal/modules/cjs/helpers:108:18) host.iobroker-Final 2023-02-23 11:18:32.304 error Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1093:19) host.iobroker-Final 2023-02-23 11:18:32.304 error Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:866:27) host.iobroker-Final 2023-02-23 11:18:32.304 error Caught by controller[0]: at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1007:27) host.iobroker-Final 2023-02-23 11:18:32.304 error Caught by controller[0]: at Function.Module._findPath (node:internal/modules/cjs/loader:638:18) host.iobroker-Final 2023-02-23 11:18:32.304 error Caught by controller[0]: at tryPackage (node:internal/modules/cjs/loader:425:19) host.iobroker-Final 2023-02-23 11:18:32.304 error Caught by controller[0]: Error: Cannot find module '/opt/iobroker/node_modules/eufy-security-client/build/index.js'. Please verify that the package.json has a valid "main" entry host.iobroker-Final 2023-02-23 11:18:32.304 error Caught by controller[0]: ^ host.iobroker-Final 2023-02-23 11:18:32.304 error Caught by controller[0]: throw err; host.iobroker-Final 2023-02-23 11:18:32.304 error Caught by controller[0]: node:internal/modules/cjs/loader:433``` code_text
-
@longbow sagte in Eufy-Security Adapter installiert sich nicht.:
Auf der Konsole:
ls -la /opt/iobroker/node_modules/ |grep eufy
Kommt da was?
-
da kommt das, sorry ist ein Bild, da ich über VPN über Handy in mein System rein bin, ging es nicht anderes.
-
ls -la /opt/iobroker/node_modules/eufy-security-client/
-
-
@longbow OK.
Da fehlt was drin.
Versuch:
cd /opt/iobroker/ npm i eufy-security-client ls -la /opt/iobroker/node_modules/eufy-security-client/
-
@wendy2702 !
Jetzt kommt das... -
@longbow Ja.
Erstmal nichts schlimmes.
Wie sieht es jetzt im Ordner aus?
Ist das jetzt so?
@Test:/opt/iobroker/node_modules$ ls -la /opt/iobroker/node_modules/eufy-security-client/ total 80 drwxrwxr-x+ 4 iobroker iobroker 4096 Feb 23 08:55 . drwxrwxr-x+ 479 iobroker iobroker 20480 Feb 23 08:55 .. -rw-rw-r--+ 1 iobroker iobroker 1091 Feb 23 08:55 LICENSE -rw-rw-r--+ 1 iobroker iobroker 39327 Feb 23 08:55 README.md drwxrwxr-x+ 6 iobroker iobroker 4096 Feb 23 08:55 build drwxrwxr-x+ 3 iobroker iobroker 4096 Feb 23 08:55 node_modules -rw-rw-r--+ 1 iobroker iobroker 2135 Feb 23 08:55 package.json
-
@wendy2702 Leider nur so
-
ls -la /opt/iobroker/ sudo ln -s /usr/bin/node /usr/bin/nodejs &> /dev/null 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
-
Ok, das ist aber eine Menge, das mach ich Später zuahuse am Rechner
Und melde ich dann bei dir.. Danke aber
-
Am Rechner kannst du dann auch
iob diag
ausführen, da ist neben dem obigen auch noch weiterers drin enthalten.
-
@wendy2702 sagte in Eufy-Security Adapter installiert sich nicht.:
ls -la /opt/iobroker/ sudo ln -s /usr/bin/node /usr/bin/nodejs &> /dev/null 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
das kommt da:
cototal 1416 drwxrwxr-x+ 6 iobroker iobroker 4096 Feb 23 08:05 . drwxr-xr-x 3 root root 4096 Feb 2 19:11 .. -rw-rwxr--+ 1 iobroker iobroker 155 Feb 23 08:05 .npmrc -rwxrwxrwx+ 1 iobroker iobroker 549 Feb 23 08:05 INSTALLER_INFO.txt drwxrwxr-x+ 2 iobroker iobroker 4096 Feb 23 02:40 backups lrwxrwxrwx 1 iobroker iobroker 22 Feb 23 08:05 iob -> /opt/iobroker/iobroker -rwxr-xr-x+ 1 iobroker iobroker 512 Feb 23 08:05 iobroker drwxrwxr-x+ 12 iobroker iobroker 4096 Feb 23 16:28 iobroker-data drwxrwxr-x+ 2 iobroker iobroker 4096 Feb 23 16:45 log drwxrwxr-x+ 1119 iobroker iobroker 36864 Feb 23 12:09 node_modules -rw-rwxr--+ 1 iobroker iobroker 1369981 Feb 23 12:09 package-lock.json -rw-rwxr--+ 1 iobroker iobroker 2987 Feb 23 11:10 package.jsonde_text x86_64 /usr/bin/nodejs /usr/bin/node /usr/bin/npm /usr/bin/npx v16.19.1 v16.19.1 8.19.3 8.19.3 4.0.24 cliffkirchhof cliffkirchhof sudo iobroker /home/cliffkirchhof Hit:1 http://deb.debian.org/debian bullseye InRelease Hit:2 http://security.debian.org bullseye-security InRelease Hit:3 https://deb.nodesource.com/node_16.x bullseye InRelease Hit:4 http://deb.debian.org/debian bullseye-updates InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done 2 packages can be upgraded. Run 'apt list --upgradable' to see them. 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 amd64 Packages 100 /var/lib/dpkg/status 12.22.12~dfsg-1~deb11u3 500 500 http://security.debian.org bullseye-security/main amd64 Packages 12.22.5~dfsg-2~11u1 500 500 http://deb.debian.org/debian bullseye/main amd64 Packages
-
@thomas-braun sagte in Eufy-Security Adapter installiert sich nicht.:
iob diag
Copy text starting here: ======================= SUMMARY ======================= v.2023-01-02 Operatingsystem: Debian GNU/Linux 11 (bullseye) Installation: lxc Timezone: Europe/Berlin User-ID: 1000 X-Server: false Boot Target: graphical.target Pending OS-Updates: 2 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 ioBroker Core: js-controller 4.0.24 admin 6.3.5 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin: + system.adapter.admin.0 : admin : iobroker-Final - enabled, port: 8081, bind: 0.0.0.0, run as: admin Pending iob updates: 0 Active repo(s): stable Objects: 33299 States: 25869 Size of iob-Database: 46M /opt/iobroker/iobroker-data/objects.jsonl 33M /opt/iobroker/iobroker-data/states.jsonl =================== END OF SUMMARY ====================
-
Bitte die Langfassung.