This is driving me crazy for hours now.
Below is my extremely basic plugin (virtual_feature.pl). The plugin is displayed in the plugin overview of virtualmin and I can enable it. But no matter what I do the labels that are suppose to show using “feature_label” do not show. Furthermore, “feature_setup” is never executed.
Perhaps cache? Already tried the “Refresh modules” button, and the “clear cache” button. The file “/etc/webmin/module.infos.cache” never seems to be present, so can’t delete that one as described here https://www.virtualmin.com/documentation/developer/plugins.
return ‘Test plugin’;
Returns a description of what will be deleted when this feature is removed
return ‘Plugin will be disabled, and its configuration deleted’;
Returns a description of what will be turned off when this feature is disabled
Returns the name of this feature, as displayed on the domain creation and
return ‘Enable test?’;