For people who are facing this issue (like in OMV 1) when installing plugins within web GUI on OMV 2 (target system: Wheezy with OMV installed over) you could add this line
in /usr/share/openmediavault/engined/rpc/pluginmgmt.inc next to the one containing
and restart the openmediavault-service