Volumio2 icon indicating copy to clipboard operation
Volumio2 copied to clipboard

Plugins enabled but inactive after update

Open gvolt opened this issue 5 years ago • 1 comments

After updating an enabled and activated plugin (i.e. the plugin switch is "On" and status is shown as "active" accompanied by a green dot) the switch is still "On" (as expected), but status is shown as "inactive" with a red dot.

E.g. for the ir_controller plugin it looks like this after updating:

Plugin inactive after update

Accordingly in /data/configuration/plugins.json "enabled" has the value "true" and "status" has the value "STOPPED" after the update:

"accessory": {
    "ir_controller": {
      "enabled": {
        "type": "boolean",
        "value": true
      },
      "status": {
        "type": "string",
        "value": "STOPPED"
      }
    }
  }

Clicking the switch lets the switch jump shortly to "Off" and immediately (without another click) back to "On". The status changes from "inactive" to "active". After that the status value in plugins.json has changed to "STARTED" and the plugin works again.

Tested on Volumio 2.806 and with various other plugins (I just chose the ir_controller plugin as an example here).

gvolt avatar Sep 25 '20 21:09 gvolt

Just reporting that the same issue has also been described by @balbuze in the 3rd dash of Plugin manager #401.

gvolt avatar Mar 03 '21 19:03 gvolt