Return a more verbose error message in new UI on plugin failure
Copying to miwi as the source plugin doesn't return anything when it's failing along with it's broken.
root@freenas[~]# /root/iocage/iocage fetch -P -n zoneminder ip4_addr='vnet0|DHCP' ; echo $? Plugin: Zoneminder Official Plugin: True Using RELEASE: 11.2-RELEASE Using Branch: 11.2-RELEASE Post-install Artifact: https://github.com/freenas/iocage-plugin-zoneminder These pkgs will be installed: - multimedia/zoneminder - www/fcgiwrap - www/nginx - databases/mysql56-server Testing Host DNS response to pkg.cdn.trueos.org Testing zoneminder_2's SRV response to pkg.cdn.trueos.org Testing zoneminder_2's DNSSEC response to pkg.cdn.trueos.org Installing plugin packages: - multimedia/zoneminder... - www/fcgiwrap... - www/nginx... - databases/mysql56-server... Fetching artifact... Branch 11.2-RELEASE does not exist at https://github.com/freenas/iocage-plugin-zoneminder! Using "master" branch for plugin, this may not work with your RELEASE Running post_install.sh Command output: 1
At present, attempting to install the ZoneMinder plugin seems to fail during the post install script, but there doesn't seem to be a way to determine what went wrong. In the GUI, the only indication is the progress dialog box displaying the text "Exception: RuntimeError: occured, destroyed zoneminder."
Thankfully it does indeed destroy the partial jail so conflicts don't occur with duplicate names (since you can't choose the name of the jail when creating a plugin for some reason), but it would be nice to know if there's something else that can be done, some syslog entry or whatever that tells me any information at all.