Prerequisites
Before installing a plugin, ensure:- You have administrative access to ITSM-NG
- The plugin is compatible with your ITSM-NG version
- All required PHP extensions are installed
- File system permissions are correctly set on the plugins directory
Installation Methods
Method 1: Manual Installation via Web Interface
Download the Plugin
Download the plugin package (usually a
.tar.gz or .zip file) from the official source or plugin marketplace.Extract to Plugins Directory
Extract the plugin archive to the ITSM-NG plugins directory:Or for zip files:
Access Plugin Management
- Log in to ITSM-NG as an administrator
- Navigate to Setup > Plugins
- The new plugin should appear in the list with status “Not installed”
Install the Plugin
- Locate the plugin in the list
- Click the Install button
- Wait for the installation process to complete
- Check for any installation messages or errors
Configure (if required)
If the plugin requires configuration:
- The status will show “To be configured”
- Click on the plugin name to access configuration
- Complete the required settings
- Save the configuration
inc/plugin.class.php:724-784
Method 2: Command Line Installation
For automated deployments or scripting:Run Discovery
ITSM-NG automatically discovers plugins when the admin interface is accessed. Alternatively, trigger discovery programmatically through the Plugin API.
Plugin States
Understanding plugin states helps troubleshoot installation issues:Not Installed
Plugin files are present but not installed in the database. Click Install to proceed.To Be Configured
Plugin is installed but requires configuration before activation. Access the plugin configuration page to complete setup. Source:inc/plugin.class.php:530-560
Not Activated
Plugin is installed and configured but not currently active. Click Enable to activate.Activated
Plugin is fully operational and integrated into ITSM-NG.Not Updated
Plugin files are newer than the installed version. Click Update to migrate to the new version. Source:inc/plugin.class.php:497-527
To Be Cleaned
Plugin directory is missing but database entries remain. Click Clean to remove database entries. Source:inc/plugin.class.php:971-982
Managing Plugins
Activating a Plugin
Verify Prerequisites
The system automatically checks:
- GLPI version compatibility
- PHP version requirements
- Required PHP extensions
- Dependent plugins
- Configuration status
inc/plugin.class.php:794-888
Deactivating a Plugin
Source:
inc/plugin.class.php:898-930
Updating a Plugin
Source:
inc/plugin.class.php:497-527
Uninstalling a Plugin
Uninstall via Interface
- Go to Setup > Plugins
- Click the Uninstall button
- Confirm the uninstallation
inc/plugin.class.php:670-711
Troubleshooting
Plugin Not Appearing
Issue: Plugin directory exists but doesn’t show in the plugin list. Solutions:- Check file permissions - web server must be able to read the plugin directory
- Verify
setup.phpexists and contains required functions - Check for PHP syntax errors in plugin files
- Review web server error logs
Prerequisites Not Met
Issue: Cannot activate plugin due to failed prerequisites. Solutions:- Review the error message for specific requirements
- Install missing PHP extensions
- Update GLPI/ITSM-NG to required version
- Install dependent plugins first
inc/plugin.class.php:815-835
Plugin Causes Errors
Issue: ITSM-NG shows errors after activating a plugin. Solutions:- Deactivate the plugin immediately
- Check compatibility with your ITSM-NG version
- Review plugin and ITSM-NG logs
- Contact plugin developer for support
Configuration Required
Issue: Plugin installed but stuck in “To be configured” state. Solutions:- Click on the plugin name to access configuration
- Review documentation for required settings
- Complete all mandatory configuration fields
- Check
plugin_myplugin_check_config()function requirements
inc/plugin.class.php:531-560
Update Fails
Issue: Plugin update process fails or produces errors. Solutions:- Restore from backup
- Check plugin changelog for breaking changes
- Review upgrade notes in plugin documentation
- Ensure database user has sufficient privileges
- Check for conflicts with other plugins
Plugin Directories
ITSM-NG supports multiple plugin directories for flexibility:- Default:
/var/www/html/itsm-ng/plugins/ - Custom locations can be defined in configuration
inc/plugin.class.php:233-259
Security Considerations
- Only install trusted plugins - Plugins have full access to ITSM-NG
- Verify plugin sources - Download only from official repositories
- Review code - For critical systems, audit plugin code before installation
- Keep plugins updated - Security patches may be released
- Test in staging - Always test plugins in a non-production environment first
Performance Tips
- Limit active plugins - Only activate plugins you actually use
- Monitor resource usage - Some plugins can impact performance
- Regular maintenance - Keep plugins updated for performance improvements
- Database optimization - Run database maintenance after installing/removing plugins
Next Steps
- Plugin System Overview - Understand plugin architecture
- Developing Custom Plugins - Create your own plugins