I’m using Docker to run this service. The setup is real easy, and I thank you all for that.
However, I’m now a fair bit stuck in troubleshooting hell to figure our why I can’t enable the plugin installer.
I’ll figure it out eventually, but I’ll have to spend precious time on this, just because the error/status message is only generically stating “Your Kanboard instance is not configured to install plugins from the user interface” and not giving me any hint of what’s missing.
Please, include information in these messages that make it clear why and/or what is missing.
Thanks for the tip.
I figured this out on my own in the end, and managed to fix it, but the original request still remains; providing information in the actual message would make this that much easier to troubleshoot and, I will wager a guess, generate less Q&A about this specific configuration.
I agree with OP because this $is_configured isn’t just about having setted PLUGIN_INSTALLER to true.
$is_configured is setted with Installer::isConfigured() (PluginController.php#L43-L48) and depends on three conditions:
On my first days with kanboard, I had to check the source code to find out why it wasnt getting enabled, and it was because I didnt have the zip extension enabled
The whole idea with this request, as I believe rafaelcamargo would agree with as well, is to get a status message that reports the state of all the necessary criteria.
“Your Kanboard instance is not configured to install plugins from the user interface.”
becomes something along the lines of
"
Your Kanboard instance does not meet the requirements for installing plugins from this user interface.
Your instance’s current state:
define(‘PLUGIN_INSTALLER’) value: [actual value from instance]
extension_loaded(‘zip’) value: [actual value from instance]
is_writable(PLUGINS_DIR) value: [actual value from instance]
"
This way people would get to know the terminology, what requirements are needed and their current states, up front.