Managing extensions¶
Installing¶
In order to install EspoCRM extension (e.g. Advanced Pack):
- Login as an administrator.
- Go to Administration > Extensions.
- Upload your extension package (zip file).
- Click Install button.
Upgrading¶
In order to upgrade an already installed extension to a newer version:
- Download the new version of the needed extension.
- Log in as an administrator.
- Go to Administration > Extensions.
- Upload your new extension package (zip file) without uninstalling the already installed version.
- Click the Install button.
Note
There's no need to install intermediate versions. Install just the latest one.
Uninstalling¶
Steps to uninstall an extension:
- Login as an administrator.
- Go to Administration > Extensions.
- Find the needed extension on the list of available extensions.
- Click Uninstall from the dropdown.
Note
Uninstalling an extension does not cause data loss (unless the developer deliberately added such a logic). You can install the extension again and continue using it. Though, if you run a hard rebuild after uninstalling, it will remove all custom database columns added by the extension but it won't remove custom tables.
Deleting¶
When an extension is uninstalled, it is still available in the system. It can be completely deleted. Steps to delete an extension:
- Login as an administrator.
- Go to Administration > Extensions.
- Find the needed extension in the list of available extensions.
- Click Remove from the dropdown.
CLI commands¶
Installing & upgrading¶
php command.php extension --file="path/to/extension/package.zip"
See more commands.
Note
In some cases, installing extensions via CLI is preferable, as usually PHP configuration for CLI is not as limited as for a web server. For example, if a new version of an extension adds some database index, it can cause a timeout error when upgrading through the UI.