ioBroker / ioBroker.admin

user interface for configuration and administration
https://iobroker.net
MIT License
273 stars 78 forks source link

Admin 5.0.7 - After Seq loglevel change manual restart of iobroker is necessary #754

Closed Feuer-sturm closed 3 years ago

Feuer-sturm commented 3 years ago

Admin 5.0.7 js-controller 3.2.16

If the settings for logging will be changed for Seq from "Standard" to "debug" grafik

the user needs to confirm the restart of the controller grafik

but no debug-log messages will be received in Seq. It is necessary to do a manual restart of iobroker with iobroker stop and iobroker start to receive the debug-log messages in Seq

After saving Seq log settings the following values are in iobroker.json


      "seq1": {
        "type": "seq",
        "enabled": true,
        "serverUrl": "http://192.168.178.73:5341",
        "serverUrlComment": "The http(s) URL including port of the seq server. If you use HTTPS a real certificate is needed; se$
        "apiKey": "xxx",
        "apiKeyComment": "The apiKey of the seq system",
        "level": "debug",
        "eol": ""
      }
Apollon77 commented 3 years ago

@GermanBluefox I do not know that a option "level" exists for seq logging ...

GermanBluefox commented 3 years ago

Restart does not work on non debian systems

Feuer-sturm commented 3 years ago

@GermanBluefox Thanks. In this case a short information about the manual restart would be helpful. It is confusing to confirm the restart of the Controller but no restart will be done.

Apollon77 commented 3 years ago

Restart does not work on non debian systems

If the system is setup with the installer a normal stop of controller should be enough to have systemd restart it automatically

Feuer-sturm commented 3 years ago

@Apollon77 @GermanBluefox Were there some changes for this topic in js-controller or in Admin5 for this topic?

I just checked this issue with Admin 5.0.12 and js-controller 3.3.6 by switching from "Standard" (info) to "debug" log level.

After confirming "Restart controller" a automatic restart was done

02 May 2021 22:16:26.191 host.ioBrokerTestsystem ip addresses: 192.168.178.77 fe80::f854:cfff:fe5f:6c25
02 May 2021 22:16:26.190 host.ioBrokerTestsystem hostname: ioBrokerTestsystem, node: v12.21.0
02 May 2021 22:16:26.188 host.ioBrokerTestsystem Copyright (c) 2014-2021 bluefox, 2014 hobbyquaker
02 May 2021 22:16:26.184 host.ioBrokerTestsystem iobroker.js-controller version 3.3.6 js-controller starting
02 May 2021 22:16:10.256 unifi.0 (20650) Update done
02 May 2021 22:16:00.611 proxmox.0 (20287) State value to set for "proxmox.0.qemu_Docker.pid" has to be type "number" but received type "string"
02 May 2021 22:16:00.316 proxmox.0 (20287) State value to set for "proxmox.0.lxc_Confluence.pid" has to be type "number" but received type "string"
02 May 2021 22:15:58.822 proxmox.0 (20287) State value to set for "proxmox.0.qemu_RaspberryMatic.pid" has to be type "number" but received type "string"
02 May 2021 22:15:58.743 proxmox.0 (20287) State value to set for "proxmox.0.lxc_ioBrokerBETA.pid" has to be type "number" but received type "string"
02 May 2021 22:15:58.639 proxmox.0 (20287) State value to set for "proxmox.0.lxc_ioBrokerTestsystem.pid" has to be type "number" but received type "string" 

but during boot a lot of errors were logged

02 May 2021 22:18:34.990 host.ioBrokerTestsystem instance system.adapter.nina.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
02 May 2021 22:18:34.000 nina.0 (21544) Terminated (ADAPTER_ALREADY_RUNNING): Without reason
02 May 2021 22:18:33.985 nina.0 (21544) nina.0 already running
02 May 2021 22:18:27.476 host.ioBrokerTestsystem instance system.adapter.samsung-community.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
02 May 2021 22:18:22.617 host.ioBrokerTestsystem instance system.adapter.simple-api.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
02 May 2021 22:18:21.683 simple-api.0 (21488) Terminated (ADAPTER_ALREADY_RUNNING): Without reason
02 May 2021 22:18:21.679 simple-api.0 (21488) simple-api.0 already running
02 May 2021 22:18:11.593 host.ioBrokerTestsystem instance system.adapter.unifi.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
02 May 2021 22:18:08.181 unifi.0 (21380) Terminated (ADAPTER_ALREADY_RUNNING): Without reason
02 May 2021 22:18:08.147 unifi.0 (21380) unifi.0 already running
02 May 2021 22:18:01.470 valloxmv.0 (21356) Read-only state "valloxmv.0.info.connection" has been written without ack-flag with value "true"
02 May 2021 22:17:55.104 host.ioBrokerTestsystem instance system.adapter.fully-tablet-control.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
02 May 2021 22:17:50.976 host.ioBrokerTestsystem instance system.adapter.trashschedule.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
02 May 2021 22:17:46.735 host.ioBrokerTestsystem instance system.adapter.tr-064.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
02 May 2021 22:17:42.257 host.ioBrokerTestsystem instance system.adapter.socketio.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
02 May 2021 22:17:38.599 host.ioBrokerTestsystem instance system.adapter.proxmox.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
02 May 2021 22:17:34.307 host.ioBrokerTestsystem instance system.adapter.scenes.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
02 May 2021 22:17:31.407 host.ioBrokerTestsystem instance system.adapter.info.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
02 May 2021 22:17:26.402 host.ioBrokerTestsystem instance system.adapter.valloxmv.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
02 May 2021 22:17:24.426 host.ioBrokerTestsystem instance system.adapter.hm-rega.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
02 May 2021 22:17:18.793 host.ioBrokerTestsystem instance system.adapter.fritzbox.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
02 May 2021 22:17:18.697 host.ioBrokerTestsystem instance system.adapter.javascript.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
02 May 2021 22:16:54.834 host.ioBrokerTestsystem instance system.adapter.tankerkoenig.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
02 May 2021 22:16:46.802 host.ioBrokerTestsystem instance system.adapter.web.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
02 May 2021 22:16:38.574 host.ioBrokerTestsystem instance system.adapter.hue.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
02 May 2021 22:16:34.392 host.ioBrokerTestsystem instance system.adapter.hm-rpc.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
02 May 2021 22:16:31.116 host.ioBrokerTestsystem instance system.adapter.admin.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING) 
GermanBluefox commented 3 years ago

I think, its shuld be so... @Apollon77 ? Isn't it?

Apollon77 commented 3 years ago

Yes, Logging as base config of the host requires - like all other host config changes a controller restart to become effective.

@GermanBluefox maybe we enhabce the message w´that asks for the restart to tell "For your changes to become effective ..."

Feuer-sturm commented 3 years ago

@Apollon77 are the errors normal as well after the restart is done?

Apollon77 commented 3 years ago

The error should be not that way any longer. Update controller to 3.3.8 please

Feuer-sturm commented 3 years ago

js-controller 3.3.8 Admin 5.0.17 (installed using npm)

I just tested it once again with my current setting @GermanBluefox @Apollon77

Here english and german is mixed aup grafik

and the errors are still there with current js-controller


07 May 2021 16:50:32.194
host.ioBrokerTestsystem instance system.adapter.nina.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
07 May 2021 16:50:24.092
host.ioBrokerTestsystem instance system.adapter.samsung-community.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
07 May 2021 16:50:17.425
host.ioBrokerTestsystem instance system.adapter.simple-api.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
07 May 2021 16:50:01.551
host.ioBrokerTestsystem instance system.adapter.unifi.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
07 May 2021 16:49:52.173
host.ioBrokerTestsystem instance system.adapter.fully-tablet-control.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
07 May 2021 16:49:46.199
host.ioBrokerTestsystem instance system.adapter.tr-064.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
07 May 2021 16:49:41.561
host.ioBrokerTestsystem instance system.adapter.socketio.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
07 May 2021 16:49:37.934
host.ioBrokerTestsystem instance system.adapter.proxmox.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
07 May 2021 16:49:33.557
host.ioBrokerTestsystem instance system.adapter.scenes.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
07 May 2021 16:49:30.784
host.ioBrokerTestsystem instance system.adapter.info.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
07 May 2021 16:49:25.810
host.ioBrokerTestsystem instance system.adapter.valloxmv.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
07 May 2021 16:49:22.189
host.ioBrokerTestsystem instance system.adapter.hm-rega.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
07 May 2021 16:49:17.160
host.ioBrokerTestsystem instance system.adapter.fritzbox.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
07 May 2021 16:49:14.897
host.ioBrokerTestsystem instance system.adapter.javascript.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
07 May 2021 16:48:54.014
host.ioBrokerTestsystem instance system.adapter.tankerkoenig.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
07 May 2021 16:48:45.782
host.ioBrokerTestsystem instance system.adapter.web.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
07 May 2021 16:48:37.913
host.ioBrokerTestsystem instance system.adapter.hue.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
07 May 2021 16:48:33.622
host.ioBrokerTestsystem instance system.adapter.hm-rpc.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
07 May 2021 16:48:30.198
host.ioBrokerTestsystem instance system.adapter.admin.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING) 
Apollon77 commented 3 years ago

Linux or Windows?

Feuer-sturm commented 3 years ago

@Apollon77 proxmox LXC Container mit Ubuntu 18.xx

Apollon77 commented 3 years ago

Please reboot lxc and try again. Does it work then or same?

Feuer-sturm commented 3 years ago

@Apollon77 js-controller 3.3.8 admin 5.0.15

After reboot of LXC container I switched log level for Seq and confirmed restart. There are still the same erros in the log (Adapter_already_running)

Apollon77 commented 3 years ago

Can you post a full log please?

I checked myself and in fact I also get those messae ... that seems to be that in löinux restart case the delay migt be too short between stop and start again. Would like to verify that in your log

Feuer-sturm commented 3 years ago

@Apollon77 Sure. Is this the relevant extract or do you need more of the log?

2021-05-07 20:46:27.318 - info: host.ioBrokerTestsystem received SIGTERM
2021-05-07 20:46:27.319 - info: hm-rpc.0 (2966) xmlrpc -> 192.168.178.76:2010/ init ["http://192.168.178.77:2010",""]
2021-05-07 20:46:27.326 - info: web.0 (3035) terminated http server on port 8082
2021-05-07 20:46:27.325 - info: hue.0 (2993) cleaned everything up...
2021-05-07 20:46:27.320 - info: admin.0 (2941) terminating http server on port 8081
2021-05-07 20:46:27.340 - info: socketio.0 (3337) terminating http server on port 8084
2021-05-07 20:46:27.341 - info: info.0 (3254) cleaned everything up...
2021-05-07 20:46:27.349 - info: fully-tablet-control.0 (3678) Adapter Fully Tablet Control stopped...
2021-05-07 20:46:27.348 - info: javascript.0 (3146) Stop script script.js.Skripte_ungenutzt.Telegram
2021-05-07 20:46:27.357 - info: simple-api.0 (3789) terminating http server on port 8087
2021-05-07 20:46:27.360 - info: unifi.0 (3751) cleaned everything up...
2021-05-07 20:46:27.353 - info: proxmox.0 (3306) cleaned everything up...
2021-05-07 20:46:27.367 - info: web-speedy.0 (3826) cleaned everything up...
2021-05-07 20:46:27.375 - info: trashschedule.0 (3833) cleaned everything up...
2021-05-07 20:46:27.406 - info: hm-rpc.0 (2966) Disconnected
2021-05-07 20:46:27.387 - info: javascript.0 (3146) Stop script script.js.Skripte.Stauberechnung_per_Google_Maps
2021-05-07 20:46:27.396 - info: javascript.0 (3146) Stop script script.js.Skripte.Stauberechnung_per_Google_Maps
2021-05-07 20:46:27.398 - info: javascript.0 (3146) Stop script script.js.Skripte.Beschattung_Rolladen
2021-05-07 20:46:27.409 - info: javascript.0 (3146) Stop script script.js.Skripte.Timerscript
2021-05-07 20:46:27.426 - info: javascript.0 (3146) script.js.Skripte.Timerscript: Timer Schedule 1 killed
2021-05-07 20:46:27.429 - info: javascript.0 (3146) Stop script script.js.Blockly.Rasenmaeher
2021-05-07 20:46:27.440 - info: javascript.0 (3146) Stop script script.js.Skripte.Telefon
2021-05-07 20:46:27.443 - info: javascript.0 (3146) Stop script script.js.Skripte.Hue
2021-05-07 20:46:27.446 - info: javascript.0 (3146) Stop script script.js.Skripte.Grafana.grafana_view_changer
2021-05-07 20:46:27.448 - info: javascript.0 (3146) Stop script script.js.Skripte.Netzwerk.Unifi_Network_Status
2021-05-07 20:46:27.450 - info: javascript.0 (3146) Stop script script.js.Skripte.Netzwerk.Unifi_Vouchers
2021-05-07 20:46:27.452 - info: javascript.0 (3146) Stop script script.js.Skripte.Corona.Corona_7Tage_Landkreise
2021-05-07 20:46:27.453 - info: javascript.0 (3146) Stop script script.js.Skripte.Corona.Corona_DeltaInfizierte
2021-05-07 20:46:27.455 - info: javascript.0 (3146) Stop script script.js.Skripte.Kalender.ical_0_ToHtmlTable
2021-05-07 20:46:27.457 - info: javascript.0 (3146) Stop script script.js.Skripte.Kalender.ical_2_ToHtmlTable
2021-05-07 20:46:27.458 - info: javascript.0 (3146) Stop script script.js.Skripte.Kalender.ical_3_ToHtmlTable
2021-05-07 20:46:27.460 - info: javascript.0 (3146) Stop script script.js.Skripte.Kalender.ical_4_ToHtmlTable
2021-05-07 20:46:27.461 - info: javascript.0 (3146) Stop script script.js.Skripte.Kalender.muellkalender
2021-05-07 20:46:27.462 - info: javascript.0 (3146) Stop script script.js.Skripte.Wetter.daswettercom
2021-05-07 20:46:27.464 - info: javascript.0 (3146) Stop script script.js.Skripte.Wetter.daswettercom_detail
2021-05-07 20:46:27.466 - info: javascript.0 (3146) Stop script script.js.Skripte.Netzwerk.Serverschrank_Temperaturen
2021-05-07 20:46:27.468 - info: javascript.0 (3146) Stop script script.js.Skripte.Spielwiese
2021-05-07 20:46:27.470 - info: javascript.0 (3146) Stop script script.js.Skripte.Netzwerk.Anwesenheitserkennung
2021-05-07 20:46:27.471 - info: javascript.0 (3146) Stop script script.js.Skripte.Homematic.Homematic_Servicemeldungen
2021-05-07 20:46:27.474 - info: javascript.0 (3146) Stop script script.js.Skripte.Homematic.Homematic_Tabelle_Batteriestatus
2021-05-07 20:46:27.475 - info: javascript.0 (3146) Stop script script.js.Skripte.Homematic.6fach_Taster_Kueche
2021-05-07 20:46:27.477 - info: javascript.0 (3146) Stop script script.js.Skripte.Flur_Wandtablet.Tablet_Energieverwaltung
2021-05-07 20:46:27.478 - info: javascript.0 (3146) Stop script script.js.Skripte.Flur_Wandtablet.Homescreen_nachTimeout
2021-05-07 20:46:27.480 - info: javascript.0 (3146) Stop script script.js.Skripte.Lueftungsanlage.Lueftung_Aussentemperatur
2021-05-07 20:46:27.481 - info: javascript.0 (3146) Stop script script.js.Skripte.Lueftungsanlage.Lueftung
2021-05-07 20:46:27.483 - info: javascript.0 (3146) Stop script script.js.Skripte.Testdatei
2021-05-07 20:46:27.331 - info: host.ioBrokerTestsystem stopInstance system.adapter.admin.0 (force=false, process=true)
2021-05-07 20:46:27.337 - info: host.ioBrokerTestsystem stopInstance system.adapter.hm-rpc.0 (force=false, process=true)
2021-05-07 20:46:27.361 - info: host.ioBrokerTestsystem stopInstance system.adapter.hue.0 (force=false, process=true)
2021-05-07 20:46:27.396 - info: host.ioBrokerTestsystem stopInstance system.adapter.ical.0 (force=false, process=false)
2021-05-07 20:46:27.399 - info: host.ioBrokerTestsystem stopInstance canceled schedule system.adapter.ical.0
2021-05-07 20:46:27.403 - info: host.ioBrokerTestsystem stopInstance system.adapter.web.0 (force=false, process=true)
2021-05-07 20:46:27.405 - info: host.ioBrokerTestsystem stopInstance system.adapter.vis.0 (force=false, process=false)
2021-05-07 20:46:27.407 - info: host.ioBrokerTestsystem stopInstance system.adapter.vis-timeandweather.0 (force=false, process=false)
2021-05-07 20:46:27.412 - info: host.ioBrokerTestsystem stopInstance system.adapter.vis-metro.0 (force=false, process=false)
2021-05-07 20:46:27.413 - info: host.ioBrokerTestsystem stopInstance system.adapter.vis-jqui-mfd.0 (force=false, process=false)
2021-05-07 20:46:27.415 - info: host.ioBrokerTestsystem stopInstance system.adapter.vis-map.0 (force=false, process=false)
2021-05-07 20:46:27.419 - info: host.ioBrokerTestsystem stopInstance system.adapter.tankerkoenig.0 (force=false, process=true)
2021-05-07 20:46:27.422 - info: host.ioBrokerTestsystem stopInstance system.adapter.ical.1 (force=false, process=false)
2021-05-07 20:46:27.423 - info: host.ioBrokerTestsystem stopInstance canceled schedule system.adapter.ical.1
2021-05-07 20:46:27.427 - info: host.ioBrokerTestsystem stopInstance system.adapter.ical.2 (force=false, process=false)
2021-05-07 20:46:27.430 - info: host.ioBrokerTestsystem stopInstance canceled schedule system.adapter.ical.2
2021-05-07 20:46:27.433 - info: host.ioBrokerTestsystem stopInstance system.adapter.ical.3 (force=false, process=false)
2021-05-07 20:46:27.435 - info: host.ioBrokerTestsystem stopInstance canceled schedule system.adapter.ical.3
2021-05-07 20:46:27.436 - info: host.ioBrokerTestsystem stopInstance system.adapter.vis-justgage.0 (force=false, process=false)
2021-05-07 20:46:27.438 - info: host.ioBrokerTestsystem stopInstance system.adapter.javascript.0 (force=false, process=true)
2021-05-07 20:46:27.442 - info: host.ioBrokerTestsystem stopInstance system.adapter.vis-history.0 (force=false, process=false)
2021-05-07 20:46:27.444 - info: host.ioBrokerTestsystem stopInstance system.adapter.fritzbox.0 (force=false, process=true)
2021-05-07 20:46:27.446 - info: host.ioBrokerTestsystem stopInstance system.adapter.telegram.0 (force=false, process=false)
2021-05-07 20:46:27.449 - info: host.ioBrokerTestsystem stopInstance system.adapter.daswetter.0 (force=false, process=false)
2021-05-07 20:46:27.453 - info: host.ioBrokerTestsystem stopInstance canceled schedule system.adapter.daswetter.0
2021-05-07 20:46:27.454 - info: host.ioBrokerTestsystem stopInstance system.adapter.hm-rega.0 (force=false, process=true)
2021-05-07 20:46:27.456 - info: host.ioBrokerTestsystem stopInstance system.adapter.valloxmv.0 (force=false, process=true)
2021-05-07 20:46:27.458 - info: host.ioBrokerTestsystem stopInstance system.adapter.info.0 (force=false, process=true)
2021-05-07 20:46:27.460 - info: host.ioBrokerTestsystem stopInstance system.adapter.scenes.0 (force=false, process=true)
2021-05-07 20:46:27.461 - info: host.ioBrokerTestsystem stopInstance system.adapter.proxmox.0 (force=false, process=true)
2021-05-07 20:46:27.463 - info: host.ioBrokerTestsystem stopInstance system.adapter.influxdb.0 (force=false, process=false)
2021-05-07 20:46:27.464 - info: host.ioBrokerTestsystem stopInstance system.adapter.socketio.0 (force=false, process=true)
2021-05-07 20:46:27.469 - info: host.ioBrokerTestsystem stopInstance system.adapter.tr-064.0 (force=false, process=true)
2021-05-07 20:46:27.472 - info: host.ioBrokerTestsystem stopInstance system.adapter.vis-materialdesign.0 (force=false, process=false)
2021-05-07 20:46:27.473 - info: host.ioBrokerTestsystem stopInstance system.adapter.logparser.0 (force=false, process=false)
2021-05-07 20:46:27.475 - info: host.ioBrokerTestsystem stopInstance system.adapter.spotify-premium.0 (force=false, process=false)
2021-05-07 20:46:27.476 - info: host.ioBrokerTestsystem stopInstance system.adapter.fully-tablet-control.0 (force=false, process=true)
2021-05-07 20:46:27.478 - info: host.ioBrokerTestsystem stopInstance system.adapter.rainbird.0 (force=false, process=false)
2021-05-07 20:46:27.479 - info: host.ioBrokerTestsystem stopInstance system.adapter.dwd.0 (force=false, process=false)
2021-05-07 20:46:27.483 - info: host.ioBrokerTestsystem stopInstance canceled schedule system.adapter.dwd.0
2021-05-07 20:46:27.484 - info: host.ioBrokerTestsystem stopInstance system.adapter.worx.0 (force=false, process=false)
2021-05-07 20:46:27.485 - info: host.ioBrokerTestsystem stopInstance system.adapter.vis-fancyswitch.0 (force=false, process=false)
2021-05-07 20:46:27.486 - info: host.ioBrokerTestsystem stopInstance system.adapter.unifi.0 (force=false, process=true)
2021-05-07 20:46:27.488 - info: host.ioBrokerTestsystem stopInstance system.adapter.coronavirus-statistics.0 (force=false, process=false)
2021-05-07 20:46:27.489 - info: host.ioBrokerTestsystem stopInstance canceled schedule system.adapter.coronavirus-statistics.0
2021-05-07 20:46:27.490 - info: host.ioBrokerTestsystem stopInstance system.adapter.ical.4 (force=false, process=false)
2021-05-07 20:46:27.492 - info: host.ioBrokerTestsystem stopInstance canceled schedule system.adapter.ical.4
2021-05-07 20:46:27.493 - info: host.ioBrokerTestsystem stopInstance system.adapter.sayit.0 (force=false, process=false)
2021-05-07 20:46:27.501 - info: host.ioBrokerTestsystem stopInstance system.adapter.vis-google-fonts.0 (force=false, process=false)
2021-05-07 20:46:27.502 - info: host.ioBrokerTestsystem stopInstance system.adapter.simple-api.0 (force=false, process=true)
2021-05-07 20:46:27.504 - info: host.ioBrokerTestsystem stopInstance system.adapter.mqtt.0 (force=false, process=false)
2021-05-07 20:46:27.505 - info: host.ioBrokerTestsystem stopInstance system.adapter.seq.0 (force=false, process=false)
2021-05-07 20:46:27.506 - info: host.ioBrokerTestsystem stopInstance system.adapter.samsung-community.0 (force=false, process=true)
2021-05-07 20:46:27.510 - info: host.ioBrokerTestsystem stopInstance system.adapter.nina.0 (force=false, process=true)
2021-05-07 20:46:27.511 - info: host.ioBrokerTestsystem stopInstance system.adapter.web-speedy.0 (force=false, process=true)
2021-05-07 20:46:27.512 - info: host.ioBrokerTestsystem stopInstance system.adapter.backitup.0 (force=false, process=false)
2021-05-07 20:46:27.513 - info: host.ioBrokerTestsystem stopInstance system.adapter.trashschedule.0 (force=false, process=true)
2021-05-07 20:46:27.568 - info: fritzbox.0 (3161) State value to set for "fritzbox.0.calls.ringActualNumbers" has to be type "string" but received type "object"
2021-05-07 20:46:27.581 - info: fritzbox.0 (3161) State value to set for "fritzbox.0.calls.connectNumbers" has to be type "string" but received type "object"
2021-05-07 20:46:27.590 - info: fritzbox.0 (3161) State value to set for "fritzbox.0.calls.counterActualCalls.ringCount" has to be type "string" but received type "number"
2021-05-07 20:46:27.592 - info: fritzbox.0 (3161) State value to set for "fritzbox.0.calls.counterActualCalls.callCount" has to be type "string" but received type "number"
2021-05-07 20:46:27.598 - info: fritzbox.0 (3161) State value to set for "fritzbox.0.calls.counterActualCalls.connectCount" has to be type "string" but received type "number"
2021-05-07 20:46:27.601 - info: fritzbox.0 (3161) State value to set for "fritzbox.0.calls.counterActualCalls.allActiveCount" has to be type "string" but received type "number"
2021-05-07 20:46:27.672 - info: admin.0 (2941) Got terminate signal TERMINATE_YOURSELF
2021-05-07 20:46:27.673 - info: hue.0 (2993) Got terminate signal TERMINATE_YOURSELF
2021-05-07 20:46:27.682 - info: web.0 (3035) Got terminate signal TERMINATE_YOURSELF
2021-05-07 20:46:27.684 - info: fritzbox.0 (3161) Got terminate signal TERMINATE_YOURSELF
2021-05-07 20:46:27.686 - info: hm-rega.0 (3202) Got terminate signal TERMINATE_YOURSELF
2021-05-07 20:46:27.690 - info: info.0 (3254) Got terminate signal TERMINATE_YOURSELF
2021-05-07 20:46:27.690 - info: scenes.0 (3268) Got terminate signal TERMINATE_YOURSELF
2021-05-07 20:46:27.694 - info: socketio.0 (3337) Got terminate signal TERMINATE_YOURSELF
2021-05-07 20:46:27.698 - info: unifi.0 (3751) Got terminate signal TERMINATE_YOURSELF
2021-05-07 20:46:27.706 - info: samsung-community.0 (3804) Got terminate signal TERMINATE_YOURSELF
2021-05-07 20:46:27.714 - info: tr-064.0 (3370) Got terminate signal TERMINATE_YOURSELF
2021-05-07 20:46:27.710 - info: web-speedy.0 (3826) Got terminate signal TERMINATE_YOURSELF
2021-05-07 20:46:27.719 - info: simple-api.0 (3789) Got terminate signal TERMINATE_YOURSELF
2021-05-07 20:46:27.721 - info: fully-tablet-control.0 (3678) Got terminate signal TERMINATE_YOURSELF
2021-05-07 20:46:27.739 - info: javascript.0 (3146) Got terminate signal TERMINATE_YOURSELF
2021-05-07 20:46:27.725 - info: trashschedule.0 (3833) Got terminate signal TERMINATE_YOURSELF
2021-05-07 20:46:27.695 - info: proxmox.0 (3306) Got terminate signal TERMINATE_YOURSELF
2021-05-07 20:46:27.720 - info: nina.0 (3811) Got terminate signal TERMINATE_YOURSELF
2021-05-07 20:46:27.785 - info: web.0 (3035) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
2021-05-07 20:46:27.786 - info: hue.0 (2993) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
2021-05-07 20:46:27.812 - info: samsung-community.0 (3804) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
2021-05-07 20:46:27.819 - info: trashschedule.0 (3833) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
2021-05-07 20:46:27.820 - info: proxmox.0 (3306) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
2021-05-07 20:46:27.830 - info: web-speedy.0 (3826) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
2021-05-07 20:46:27.851 - info: nina.0 (3811) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
2021-05-07 20:46:27.853 - info: tr-064.0 (3370) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
2021-05-07 20:46:27.856 - info: scenes.0 (3268) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
2021-05-07 20:46:27.855 - info: hm-rpc.0 (2966) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
2021-05-07 20:46:27.858 - info: socketio.0 (3337) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
2021-05-07 20:46:27.867 - info: admin.0 (2941) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
2021-05-07 20:46:27.869 - info: fully-tablet-control.0 (3678) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
2021-05-07 20:46:27.877 - info: unifi.0 (3751) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
2021-05-07 20:46:27.859 - info: simple-api.0 (3789) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
2021-05-07 20:46:27.875 - info: info.0 (3254) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
2021-05-07 20:46:27.956 - error: samsung-community.0 (3804) States database error: read ECONNRESET
2021-05-07 20:46:27.958 - error: proxmox.0 (3306) States database error: read ECONNRESET
2021-05-07 20:46:27.963 - error: socketio.0 (3337) States database error: read ECONNRESET
2021-05-07 20:46:27.953 - error: web-speedy.0 (3826) States database error: read ECONNRESET
2021-05-07 20:46:27.971 - error: hm-rega.0 (3202) States database error: read ECONNRESET
2021-05-07 20:46:27.975 - error: fritzbox.0 (3161) States database error: read ECONNRESET
2021-05-07 20:46:27.979 - error: hm-rpc.0 (2966) States database error: read ECONNRESET
2021-05-07 20:46:27.966 - error: info.0 (3254) States database error: read ECONNRESET
2021-05-07 20:46:27.980 - error: unifi.0 (3751) States database error: read ECONNRESET
2021-05-07 20:46:27.988 - error: tankerkoenig.0 (3072) States database error: read ECONNRESET
2021-05-07 20:46:27.985 - error: trashschedule.0 (3833) States database error: read ECONNRESET

2021-05-07 20:46:29.455 - info: host.ioBrokerTestsystem iobroker.js-controller version 3.3.8 js-controller starting
2021-05-07 20:46:29.465 - info: host.ioBrokerTestsystem Copyright (c) 2014-2021 bluefox, 2014 hobbyquaker
2021-05-07 20:46:29.467 - info: host.ioBrokerTestsystem hostname: ioBrokerTestsystem, node: v12.21.0
2021-05-07 20:46:29.468 - info: host.ioBrokerTestsystem ip addresses: 192.168.178.77 fe80::f854:cfff:fe5f:6c25
2021-05-07 20:46:30.503 - info: host.ioBrokerTestsystem connected to Objects and States
2021-05-07 20:46:30.662 - info: host.ioBrokerTestsystem added notifications configuration of host
2021-05-07 20:46:31.301 - info: host.ioBrokerTestsystem 52 instances found
2021-05-07 20:46:31.387 - info: host.ioBrokerTestsystem starting 39 instances
2021-05-07 20:46:31.528 - info: host.ioBrokerTestsystem instance system.adapter.admin.0 started with pid 3892
2021-05-07 20:46:33.636 - error: admin.0 (3892) admin.0 already running
2021-05-07 20:46:33.643 - warn: admin.0 (3892) Terminated (ADAPTER_ALREADY_RUNNING): Without reason
2021-05-07 20:46:34.262 - error: host.ioBrokerTestsystem instance system.adapter.admin.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
2021-05-07 20:46:34.264 - info: host.ioBrokerTestsystem Restart adapter system.adapter.admin.0 because enabled
2021-05-07 20:46:35.463 - info: host.ioBrokerTestsystem instance system.adapter.hm-rpc.0 started with pid 3903
2021-05-07 20:46:36.883 - error: hm-rpc.0 (3903) hm-rpc.0 already running
2021-05-07 20:46:36.891 - warn: hm-rpc.0 (3903) Terminated (ADAPTER_ALREADY_RUNNING): Without reason
2021-05-07 20:46:37.489 - error: host.ioBrokerTestsystem instance system.adapter.hm-rpc.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
2021-05-07 20:46:37.490 - info: host.ioBrokerTestsystem Restart adapter system.adapter.hm-rpc.0 because enabled
2021-05-07 20:46:39.470 - info: host.ioBrokerTestsystem instance system.adapter.hue.0 started with pid 3914
2021-05-07 20:46:41.269 - error: hue.0 (3914) hue.0 already running
2021-05-07 20:46:41.275 - warn: hue.0 (3914) Terminated (ADAPTER_ALREADY_RUNNING): Without reason
2021-05-07 20:46:41.879 - error: host.ioBrokerTestsystem instance system.adapter.hue.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
2021-05-07 20:46:41.881 - info: host.ioBrokerTestsystem Restart adapter system.adapter.hue.0 because enabled
Apollon77 commented 3 years ago

hehe ich habs ... versuch mal was

sudo -u iobroker -H vi /opt/iobroker/node_modules/iobroker.js-controller/lib/restart.js 

Dort in Zeile 33 ist

    setTimeout(() => process.exit(), 500);

mach da mal ne 2000 aus der 500

Dann besser?

Feuer-sturm commented 3 years ago

Nein hat nicht geholfen. In meinem oberen Log waren auch ca 1,5s Pause.

restart.js

    const child = spawn(cmd, args, {
        detached: true,
        stdio: ['ignore', 'ignore', 'ignore'],
        windowsHide: true
    });
    child.unref();
    setTimeout(() => process.exit(), 2000);

danach hab ich zur

Es sieht irgendwie nicht danach aus, dass 2s gewartet werden.

2021-05-07 22:32:43.609 - info: host.ioBrokerTestsystem stopInstance system.adapter.fritzbox.0 killing pid 6252
2021-05-07 22:32:43.636 - info: host.ioBrokerTestsystem instance system.adapter.admin.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP)
2021-05-07 22:32:43.791 - info: host.ioBrokerTestsystem instance system.adapter.web.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP)
2021-05-07 22:32:43.793 - info: host.ioBrokerTestsystem instance system.adapter.web-speedy.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP)
2021-05-07 22:32:43.794 - info: host.ioBrokerTestsystem instance system.adapter.proxmox.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP)
2021-05-07 22:32:43.795 - info: host.ioBrokerTestsystem instance system.adapter.unifi.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP)
2021-05-07 22:32:43.796 - info: host.ioBrokerTestsystem instance system.adapter.simple-api.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP)
2021-05-07 22:32:43.797 - info: host.ioBrokerTestsystem instance system.adapter.trashschedule.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP)
2021-05-07 22:32:43.998 - info: host.ioBrokerTestsystem instance system.adapter.info.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP)

2021-05-07 22:32:45.302 - info: host.ioBrokerTestsystem iobroker.js-controller version 3.3.8 js-controller starting
2021-05-07 22:32:45.309 - info: host.ioBrokerTestsystem Copyright (c) 2014-2021 bluefox, 2014 hobbyquaker
2021-05-07 22:32:45.310 - info: host.ioBrokerTestsystem hostname: ioBrokerTestsystem, node: v12.21.0
2021-05-07 22:32:45.310 - info: host.ioBrokerTestsystem ip addresses: 192.168.178.77 fe80::f854:cfff:fe5f:6c25
2021-05-07 22:32:46.313 - info: host.ioBrokerTestsystem connected to Objects and States
2021-05-07 22:32:46.479 - info: host.ioBrokerTestsystem added notifications configuration of host
2021-05-07 22:32:47.153 - info: host.ioBrokerTestsystem 52 instances found
2021-05-07 22:32:47.262 - info: host.ioBrokerTestsystem starting 39 instances
2021-05-07 22:32:47.367 - info: host.ioBrokerTestsystem instance system.adapter.admin.0 started with pid 6894
2021-05-07 22:32:49.351 - error: admin.0 (6894) admin.0 already running
2021-05-07 22:32:49.357 - warn: admin.0 (6894) Terminated (ADAPTER_ALREADY_RUNNING): Without reason
2021-05-07 22:32:49.981 - error: host.ioBrokerTestsystem instance system.adapter.admin.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
2021-05-07 22:32:49.986 - info: host.ioBrokerTestsystem Restart adapter system.adapter.admin.0 because enabled
2021-05-07 22:32:51.342 - info: host.ioBrokerTestsystem instance system.adapter.hm-rpc.0 started with pid 6905
2021-05-07 22:32:52.933 - error: hm-rpc.0 (6905) hm-rpc.0 already running
2021-05-07 22:32:52.941 - warn: hm-rpc.0 (6905) Terminated (ADAPTER_ALREADY_RUNNING): Without reason
2021-05-07 22:32:53.534 - error: host.ioBrokerTestsystem instance system.adapter.hm-rpc.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
2021-05-07 22:32:53.535 - info: host.ioBrokerTestsystem Restart adapter system.adapter.hm-rpc.0 because enabled
2021-05-07 22:32:55.343 - info: host.ioBrokerTestsystem instance system.adapter.hue.0 started with pid 6916
2021-05-07 22:32:56.994 - error: hue.0 (6916) hue.0 already running
2021-05-07 22:32:57.001 - warn: hue.0 (6916) Terminated (ADAPTER_ALREADY_RUNNING): Without reason
2021-05-07 22:32:57.591 - error: host.ioBrokerTestsystem instance system.adapter.hue.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
2021-05-07 22:32:57.593 - info: host.ioBrokerTestsystem Restart adapter system.adapter.hue.0 because enabled
Apollon77 commented 3 years ago

Ok, dann machen wir es mal sauberer :-))

Installiere bitte mal GitHub Controller

cd /opt/iobroker/ && iobroker stop && npm i ioBroker/ioBroker.js-controller && iobroker start

So tut es bei mir sauber. Bei Dir?

Feuer-sturm commented 3 years ago

@Apollon77 Sieht gut aus :-D Hab jetzt ein paar Mal das Seq Loglevel geändert und bei den Neustarts kamen keine Errors mehr.

Apollon77 commented 3 years ago

Kommt dann mit controller 3.3.9

Apollon77 commented 3 years ago

means done here?

Feuer-sturm commented 3 years ago

@Apollon77 Thanks. I will close the issue.