Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing adapter doesn't work #176

Closed
patrickbs96 opened this issue Sep 4, 2021 · 1 comment
Closed

Installing adapter doesn't work #176

patrickbs96 opened this issue Sep 4, 2021 · 1 comment

Comments

@patrickbs96
Copy link

Describe the bug
I wanted to add the Twinkly adapter to the discoverable adapters but by trying to install the adapter I ended up with an empty instance. As I thought there might be an error with my added code I tried to install different adapters but with the same result. The Admin view is not even available as if the adapter wasn't installed properly.
If I deinstall the broken adapter and reinstall it manually it works.

To Reproduce
Steps to reproduce the behavior:

  1. Discover adapters
  2. Check instance with keyword "new" in description
  3. install
  4. See error

Expected behavior
Working instance of the adapter.

Screenshots & Logfiles
image
image
image

Install through discovery

2021-09-04 19:08:22.911 - info: host.raspberrypi iobroker install fritzdect
2021-09-04 19:08:26.388 - info: host.raspberrypi iobroker NPM version: 6.14.9
2021-09-04 19:08:26.390 - info: host.raspberrypi iobroker npm install iobroker.fritzdect@2.1.15 --loglevel error --prefix "/opt/iobroker" (System call)
2021-09-04 19:09:46.841 - info: host.raspberrypi iobroker host.raspberrypi install adapter fritzdect
2021-09-04 19:09:46.899 - info: host.raspberrypi iobroker upload [4] fritzdect.admin /opt/iobroker/node_modules/iobroker.fritzdect/admin/words.js words.js application/javascript
2021-09-04 19:09:47.019 - info: host.raspberrypi iobroker upload [3] fritzdect.admin /opt/iobroker/node_modules/iobroker.fritzdect/admin/style.css style.css text/css
2021-09-04 19:09:47.082 - info: host.raspberrypi iobroker upload [2] fritzdect.admin /opt/iobroker/node_modules/iobroker.fritzdect/admin/index_m.html index_m.html text/html
2021-09-04 19:09:47.221 - info: host.raspberrypi iobroker upload [1] fritzdect.admin /opt/iobroker/node_modules/iobroker.fritzdect/admin/fritzdect_logo.png fritzdect_logo.png image/png
2021-09-04 19:09:47.338 - info: host.raspberrypi iobroker upload [0] fritzdect.admin /opt/iobroker/node_modules/iobroker.fritzdect/admin/admin.d.ts admin.d.ts video/mp2t
2021-09-04 19:09:48.780 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.fritzdect created/updated
2021-09-04 19:09:49.953 - info: host.raspberrypi iobroker exit 0

Manual Install

2021-09-04 19:34:20.024 - info: host.raspberrypi iobroker add fritzdect --host raspberrypi
2021-09-04 19:34:24.479 - info: host.raspberrypi iobroker NPM version: 6.14.9
2021-09-04 19:34:24.481 - info: host.raspberrypi iobroker npm install iobroker.fritzdect@2.1.15 --loglevel error --prefix "/opt/iobroker" (System call)
2021-09-04 19:35:00.996 - info: host.raspberrypi instance system.adapter.dwd.0 started with pid 23927
2021-09-04 19:35:09.432 - info: host.raspberrypi instance system.adapter.dwd.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
2021-09-04 19:36:10.621 - info: host.raspberrypi iobroker host.raspberrypi install adapter fritzdect
2021-09-04 19:36:10.681 - info: host.raspberrypi iobroker upload [4] fritzdect.admin /opt/iobroker/node_modules/iobroker.fritzdect/admin/words.js words.js application/javascript
2021-09-04 19:36:10.803 - info: host.raspberrypi iobroker upload [3] fritzdect.admin /opt/iobroker/node_modules/iobroker.fritzdect/admin/style.css style.css text/css
2021-09-04 19:36:10.864 - info: host.raspberrypi iobroker upload [2] fritzdect.admin /opt/iobroker/node_modules/iobroker.fritzdect/admin/index_m.html index_m.html text/html
2021-09-04 19:36:10.925 - info: host.raspberrypi iobroker upload [1] fritzdect.admin /opt/iobroker/node_modules/iobroker.fritzdect/admin/fritzdect_logo.png fritzdect_logo.png image/png
2021-09-04 19:36:10.985 - info: host.raspberrypi iobroker upload [0] fritzdect.admin /opt/iobroker/node_modules/iobroker.fritzdect/admin/admin.d.ts admin.d.ts video/mp2t
2021-09-04 19:36:11.933 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.fritzdect created/updated
2021-09-04 19:36:12.565 - info: host.raspberrypi iobroker host.raspberrypi create instance fritzdect
2021-09-04 19:36:12.595 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.fritzdect.0.logLevel created
2021-09-04 19:36:12.666 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.fritzdect.0.sigKill created
2021-09-04 19:36:12.697 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.fritzdect.0.eventLoopLag created
2021-09-04 19:36:12.747 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.fritzdect.0.outputCount created
2021-09-04 19:36:12.785 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.fritzdect.0.inputCount created
2021-09-04 19:36:12.830 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.fritzdect.0.uptime created
2021-09-04 19:36:12.868 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.fritzdect.0.memRss created
2021-09-04 19:36:12.907 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.fritzdect.0.memHeapTotal created
2021-09-04 19:36:12.947 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.fritzdect.0.memHeapUsed created
2021-09-04 19:36:12.986 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.fritzdect.0.cputime created
2021-09-04 19:36:13.026 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.fritzdect.0.cpu created
2021-09-04 19:36:13.064 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.fritzdect.0.compactMode created
2021-09-04 19:36:13.106 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.fritzdect.0.connected created
2021-09-04 19:36:13.145 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.fritzdect.0.alive created
2021-09-04 19:36:13.200 - debug: host.raspberrypi object change system.adapter.fritzdect.0 (from: system.host.raspberrypi.cli)
2021-09-04 19:36:13.211 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.fritzdect.0 created
2021-09-04 19:36:14.405 - info: host.raspberrypi iobroker exit 0

Versions:

  • Adapter version: <2.7.2>
  • JS-Controller version: <3.3.15>
  • Node version: <v14.15.3>
  • Operating system:
@GermanBluefox
Copy link
Contributor

GermanBluefox commented Nov 9, 2021

Thank you for reporting. It is really a serous bug.
Should be fixed in admin 5.1.26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants