virtualmin CLI set-global-feature doesn't work for virtualmin-nginx and virtualmin-nginx-ssl

When trying to run the following command virtualmin set-global-feature --enable-feature virtualmin-nginx-ssl it produces the below error:

Error: Require virtualmin-nginx-ssl/virtual_feature.pl failed : Undefined subroutine &virtualmin_nginx_ssl::load_language called at /usr/libexec/webmin/virtualmin-nginx-ssl/virtual_feature.pl line 9.

Error
-----
Require virtualmin-nginx-ssl/virtual_feature.pl failed : Undefined subroutine &virtualmin_nginx_ssl::load_language called at /usr/libexec/webmin/virtualmin-nginx-ssl/virtual_feature.pl line 9.

When trying to run the following command virtualmin set-global-feature --enable-feature virtualmin-nginx it produces the below error:

Use of uninitialized value in -r at /usr/libexec/webmin/virtualmin-nginx/virtual_feature.pl line 48.
Use of uninitialized value $virtualmin_nginx::config{"nginx_config"} in concatenation (.) or string at /usr/libexec/webmin/virtualmin-nginx/virtual_feature.pl line 49.
Error: virtualmin-nginx::feature_check failed : Undefined subroutine &virtualmin_nginx::text called at /usr/libexec/webmin/virtualmin-nginx/virtual_feature.pl line 49.

Error
-----
virtualmin-nginx::feature_check failed : Undefined subroutine &virtualmin_nginx::text called at /usr/libexec/webmin/virtualmin-nginx/virtual_feature.pl line 49.

-----

The issue was first reported here in 2013: https://www.virtualmin.com/node/30742

Any plans on when this will be fixed? it looks like a simple fix... It's stopping us utilising NGINX in an automated set up which is incredibly annoying and time wasting.

Thanks

Status: 
Closed (fixed)

Comments

Hi,

Just bumping this as doesn't seem to have got any attention... do I need to provide more information? I think I was clear but maybe not.

Sorry, somehow we missed this bug. This will be fixed in the next Virtualmin release.

Status: Active ยป Fixed