ioBroker / ioBroker.simple-api

HTTP-API Interface to read and write objets and states
MIT License
40 stars 19 forks source link

File index_m.html not found after installation #58

Closed manoloxxl closed 3 years ago

manoloxxl commented 3 years ago

Describe the bug
After Installation i receive only this error File index_m.html not found

when i try to config the adapter. Also the Log shows:

host.LibreELEC 2021-03-21 16:59:40.346 error instance system.adapter.simple-api.0 terminated by request of the instance itself and will not be restarted, before user restarts it.

I have reinstalled the adapter without success.

After stop & start there is no error in the log but still only the message when i try to edit the adapter config:

       
simple-api.0 2021-03-21 17:03:15.711 info (13710) http server listening on port 8087
simple-api.0 2021-03-21 17:03:15.704 info (13710) Allow states only when user is owner: false
simple-api.0 2021-03-21 17:03:15.704 info (13710) simpleAPI server listening on port 8087
simple-api.0 2021-03-21 17:03:15.685 info (13710) starting. Version 2.5.3 in /opt/iobroker/node_modules/iobroker.simple-api, node: v12.21.0, js-controller: 3.2.16
host.LibreELEC 2021-03-21 17:03:15.001 info instance system.adapter.simple-api.0 started with pid 13710
host.LibreELEC 2021-03-21 17:03:14.923 info "system.adapter.simple-api.0" enabled

Versions:

Apollon77 commented 3 years ago

Please execute "iobroker upload simple-api". Working then?

If you can find the originalinstallation output of the adapter in the log that would be great to see why this was not executed. Logfiels should be in /opt/iobroker/log for atleast 7 days.

manoloxxl commented 3 years ago

Thanks, it was working after the command.

Apollon77 commented 3 years ago

Do you still have logs to check Why it did not happened automaticllay as it should??

manoloxxl commented 3 years ago

Here is the log:

2021-03-21 16:57:29.066 - info: host.LibreELEC iobroker add simple-api --host LibreELEC 2021-03-21 16:57:30.166 - info: host.LibreELEC iobroker host.LibreELEC create instance simple-api 2021-03-21 16:57:30.173 - info: host.LibreELEC iobroker host.LibreELEC object system.adapter.simple-api.0.logLevel created 2021-03-21 16:57:30.206 - info: host.LibreELEC iobroker host.LibreELEC object system.adapter.simple-api.0.sigKill created 2021-03-21 16:57:30.239 - info: host.LibreELEC iobroker host.LibreELEC object system.adapter.simple-api.0.eventLoopLag created 2021-03-21 16:57:30.271 - info: host.LibreELEC iobroker host.LibreELEC object system.adapter.simple-api.0.outputCount created 2021-03-21 16:57:30.304 - info: host.LibreELEC iobroker host.LibreELEC object system.adapter.simple-api.0.inputCount created 2021-03-21 16:57:30.336 - info: host.LibreELEC iobroker host.LibreELEC object system.adapter.simple-api.0.uptime created 2021-03-21 16:57:30.370 - info: host.LibreELEC iobroker host.LibreELEC object system.adapter.simple-api.0.memRss created 2021-03-21 16:57:30.403 - info: host.LibreELEC iobroker host.LibreELEC object system.adapter.simple-api.0.memHeapTotal created 2021-03-21 16:57:30.437 - info: host.LibreELEC iobroker host.LibreELEC object system.adapter.simple-api.0.memHeapUsed created 2021-03-21 16:57:30.468 - info: host.LibreELEC iobroker host.LibreELEC object system.adapter.simple-api.0.cputime created 2021-03-21 16:57:30.501 - info: host.LibreELEC iobroker host.LibreELEC object system.adapter.simple-api.0.cpu created 2021-03-21 16:57:30.533 - info: host.LibreELEC iobroker host.LibreELEC object system.adapter.simple-api.0.compactMode created 2021-03-21 16:57:30.562 - info: host.LibreELEC iobroker host.LibreELEC object system.adapter.simple-api.0.connected created 2021-03-21 16:57:30.594 - info: host.LibreELEC iobroker host.LibreELEC object system.adapter.simple-api.0.alive created 2021-03-21 16:57:30.640 - info: host.LibreELEC iobroker host.LibreELEC object system.adapter.simple-api.0 created 2021-03-21 16:57:31.655 - info: host.LibreELEC iobroker exit 0 2021-03-21 16:58:08.646 - info: host.LibreELEC "system.adapter.simple-api.0" enabled 2021-03-21 16:58:08.719 - info: host.LibreELEC instance system.adapter.simple-api.0 started with pid 13359 2021-03-21 16:58:09.388 - info: simple-api.0 (13359) starting. Version 2.5.3 in /opt/iobroker/node_modules/iobroker.simple-api, node: v12.21.0, js-controller: 3.2.16 2021-03-21 16:58:09.408 - info: simple-api.0 (13359) simpleAPI server listening on port 8087 2021-03-21 16:58:09.408 - info: simple-api.0 (13359) Allow states only when user is owner: false 2021-03-21 16:58:09.415 - info: simple-api.0 (13359) http server listening on port 8087 2021-03-21 16:58:56.976 - info: host.LibreELEC iobroker add simple-api --host LibreELEC 2021-03-21 16:58:58.092 - info: host.LibreELEC iobroker host.LibreELEC create instance simple-api 2021-03-21 16:58:58.099 - info: host.LibreELEC iobroker host.LibreELEC object system.adapter.simple-api.1.logLevel created 2021-03-21 16:58:58.132 - info: host.LibreELEC iobroker host.LibreELEC object system.adapter.simple-api.1.sigKill created 2021-03-21 16:58:58.172 - info: host.LibreELEC iobroker host.LibreELEC object system.adapter.simple-api.1.eventLoopLag created 2021-03-21 16:58:58.203 - info: host.LibreELEC iobroker host.LibreELEC object system.adapter.simple-api.1.outputCount created 2021-03-21 16:58:58.235 - info: host.LibreELEC iobroker host.LibreELEC object system.adapter.simple-api.1.inputCount created 2021-03-21 16:58:58.268 - info: host.LibreELEC iobroker host.LibreELEC object system.adapter.simple-api.1.uptime created 2021-03-21 16:58:58.299 - info: host.LibreELEC iobroker host.LibreELEC object system.adapter.simple-api.1.memRss created 2021-03-21 16:58:58.334 - info: host.LibreELEC iobroker host.LibreELEC object system.adapter.simple-api.1.memHeapTotal created 2021-03-21 16:58:58.366 - info: host.LibreELEC iobroker host.LibreELEC object system.adapter.simple-api.1.memHeapUsed created 2021-03-21 16:58:58.398 - info: host.LibreELEC iobroker host.LibreELEC object system.adapter.simple-api.1.cputime created 2021-03-21 16:58:58.431 - info: host.LibreELEC iobroker host.LibreELEC object system.adapter.simple-api.1.cpu created 2021-03-21 16:58:58.464 - info: host.LibreELEC iobroker host.LibreELEC object system.adapter.simple-api.1.compactMode created 2021-03-21 16:58:58.497 - info: host.LibreELEC iobroker host.LibreELEC object system.adapter.simple-api.1.connected created 2021-03-21 16:58:58.527 - info: host.LibreELEC iobroker host.LibreELEC object system.adapter.simple-api.1.alive created 2021-03-21 16:58:58.571 - info: host.LibreELEC iobroker host.LibreELEC object system.adapter.simple-api.1 created 2021-03-21 16:58:59.588 - info: host.LibreELEC iobroker exit 0 2021-03-21 16:59:21.992 - info: host.LibreELEC iobroker del simple-api.1 2021-03-21 16:59:23.070 - info: host.LibreELEC iobroker Delete adapter "simple-api.1" 2021-03-21 16:59:23.081 - info: host.LibreELEC iobroker host.LibreELEC Counted 1 instances of simple-api.1 2021-03-21 16:59:23.099 - info: host.LibreELEC iobroker host.LibreELEC Counted 14 states of system.adapter.simple-api.1 2021-03-21 16:59:23.851 - info: host.LibreELEC iobroker host.LibreELEC Deleting 15 object(s). 2021-03-21 16:59:24.019 - info: host.LibreELEC object deleted system.adapter.simple-api.1 2021-03-21 16:59:25.048 - info: host.LibreELEC iobroker exit 0 2021-03-21 16:59:37.784 - info: host.LibreELEC iobroker del simple-api.0 2021-03-21 16:59:38.862 - info: host.LibreELEC iobroker Delete adapter "simple-api.0" 2021-03-21 16:59:38.872 - info: host.LibreELEC iobroker host.LibreELEC Counted 1 instances of simple-api.0 2021-03-21 16:59:38.892 - info: host.LibreELEC iobroker host.LibreELEC Counted 15 states of system.adapter.simple-api.0 2021-03-21 16:59:38.898 - info: host.LibreELEC iobroker host.LibreELEC Counted 15 states (system.adapter.simple-api.0.*) from states 2021-03-21 16:59:39.599 - info: host.LibreELEC iobroker host.LibreELEC Counted 1 objects of simple-api.0 2021-03-21 16:59:39.600 - info: host.LibreELEC iobroker host.LibreELEC Deleting 17 object(s). 2021-03-21 16:59:39.790 - info: host.LibreELEC object deleted system.adapter.simple-api.0 2021-03-21 16:59:39.791 - info: host.LibreELEC stopInstance system.adapter.simple-api.0 (force=false, process=true) 2021-03-21 16:59:39.793 - info: host.LibreELEC stopInstance system.adapter.simple-api.0 send kill signal 2021-03-21 16:59:39.793 - info: simple-api.0 (13359) Got terminate signal TERMINATE_YOURSELF 2021-03-21 16:59:39.794 - info: simple-api.0 (13359) terminating http server on port 8087 2021-03-21 16:59:39.795 - info: simple-api.0 (13359) terminating 2021-03-21 16:59:39.795 - info: simple-api.0 (13359) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2021-03-21 16:59:39.801 - info: host.LibreELEC iobroker host.LibreELEC Deleting 15 state(s). 2021-03-21 16:59:40.346 - error: host.LibreELEC instance system.adapter.simple-api.0 terminated by request of the instance itself and will not be restarted, before user restarts it. 2021-03-21 16:59:40.347 - info: host.LibreELEC Do not restart adapter system.adapter.simple-api.0 because desired by instance 2021-03-21 16:59:40.822 - info: host.LibreELEC iobroker exit 0 2021-03-21 16:59:59.383 - info: host.LibreELEC iobroker add simple-api --host LibreELEC 2021-03-21 17:00:00.488 - info: host.LibreELEC iobroker host.LibreELEC create instance simple-api 2021-03-21 17:00:00.498 - info: host.LibreELEC iobroker host.LibreELEC object system.adapter.simple-api.0.logLevel created 2021-03-21 17:00:00.531 - info: host.LibreELEC iobroker host.LibreELEC object system.adapter.simple-api.0.sigKill created 2021-03-21 17:00:00.563 - info: host.LibreELEC iobroker host.LibreELEC object system.adapter.simple-api.0.eventLoopLag created 2021-03-21 17:00:00.596 - info: host.LibreELEC iobroker host.LibreELEC object system.adapter.simple-api.0.outputCount created 2021-03-21 17:00:00.628 - info: host.LibreELEC iobroker host.LibreELEC object system.adapter.simple-api.0.inputCount created 2021-03-21 17:00:00.661 - info: host.LibreELEC iobroker host.LibreELEC object system.adapter.simple-api.0.uptime created 2021-03-21 17:00:00.694 - info: host.LibreELEC iobroker host.LibreELEC object system.adapter.simple-api.0.memRss created 2021-03-21 17:00:00.726 - info: host.LibreELEC iobroker host.LibreELEC object system.adapter.simple-api.0.memHeapTotal created 2021-03-21 17:00:00.759 - info: host.LibreELEC iobroker host.LibreELEC object system.adapter.simple-api.0.memHeapUsed created 2021-03-21 17:00:00.791 - info: host.LibreELEC iobroker host.LibreELEC object system.adapter.simple-api.0.cputime created 2021-03-21 17:00:00.824 - info: host.LibreELEC iobroker host.LibreELEC object system.adapter.simple-api.0.cpu created 2021-03-21 17:00:00.855 - info: host.LibreELEC iobroker host.LibreELEC object system.adapter.simple-api.0.compactMode created 2021-03-21 17:00:00.885 - info: host.LibreELEC iobroker host.LibreELEC object system.adapter.simple-api.0.connected created 2021-03-21 17:00:00.916 - info: host.LibreELEC iobroker host.LibreELEC object system.adapter.simple-api.0.alive created 2021-03-21 17:00:00.959 - info: host.LibreELEC iobroker host.LibreELEC object system.adapter.simple-api.0 created 2021-03-21 17:00:01.976 - info: host.LibreELEC iobroker exit 0 2021-03-21 17:03:14.923 - info: host.LibreELEC "system.adapter.simple-api.0" enabled 2021-03-21 17:03:15.001 - info: host.LibreELEC instance system.adapter.simple-api.0 started with pid 13710 2021-03-21 17:03:15.685 - info: simple-api.0 (13710) starting. Version 2.5.3 in /opt/iobroker/node_modules/iobroker.simple-api, node: v12.21.0, js-controller: 3.2.16 2021-03-21 17:03:15.704 - info: simple-api.0 (13710) simpleAPI server listening on port 8087 2021-03-21 17:03:15.704 - info: simple-api.0 (13710) Allow states only when user is owner: false 2021-03-21 17:03:15.711 - info: simple-api.0 (13710) http server listening on port 8087 2021-03-21 17:04:41.669 - info: history.0 (298) disabled logging of 0_userdata.0.Besuchermodus 2021-03-21 17:04:56.373 - info: host.LibreELEC stopInstance system.adapter.simple-api.0 (force=false, process=true) 2021-03-21 17:04:56.379 - info: host.LibreELEC stopInstance system.adapter.simple-api.0 send kill signal 2021-03-21 17:04:56.379 - info: simple-api.0 (13710) Got terminate signal TERMINATE_YOURSELF 2021-03-21 17:04:56.380 - info: simple-api.0 (13710) terminating http server on port 8087 2021-03-21 17:04:56.380 - info: simple-api.0 (13710) terminating 2021-03-21 17:04:56.381 - info: simple-api.0 (13710) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2021-03-21 17:04:56.935 - info: host.LibreELEC instance system.adapter.simple-api.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2021-03-21 17:04:59.444 - info: host.LibreELEC instance system.adapter.simple-api.0 started with pid 13832 2021-03-21 17:05:00.107 - info: simple-api.0 (13832) starting. Version 2.5.3 in /opt/iobroker/node_modules/iobroker.simple-api, node: v12.21.0, js-controller: 3.2.16 2021-03-21 17:05:00.129 - info: simple-api.0 (13832) simpleAPI server listening on port 8087 2021-03-21 17:05:00.130 - info: simple-api.0 (13832) Allow states only when user is owner: false 2021-03-21 17:05:00.137 - info: simple-api.0 (13832) http server listening on port 8087

Apollon77 commented 3 years ago

Das ist log vom anlegen der Instanz ... da müsste aber auch log sein als der Adapter installiert wurde. Das ist relevant