How to delete a plugin in Webuzo
- 0
Hi,
I'm unable to remove a plugin from Webuzo. There is no delete button/option.
Any idea how to remove it?
Answers
- 0
You’re right—Webuzo doesn’t always offer a "Delete" button for all plugins in its admin panel. If you need to completely remove a plugin, you can do it manually via SSH. Here’s a step-by-step guide:
1. Deactivate the Plugin:
First, log in to your Webuzo admin panel and deactivate the plugin you want to remove. This helps avoid issues during deletion.
2. Connect via SSH:
Use an SSH client (like PuTTY or Terminal) to connect to your server.
3. Navigate to the Plugins Directory:
cd /usr/local/webuzo/plugins/
4. List All Plugins:
See all installed plugins to confirm the directory name:
ls -la
5. Delete the Plugin Directory:
Remove the plugin folder (replace your-plugin with the actual plugin folder name):
rm -rf your-plugin
6. Remove Leftover Web Assets:
Some plugins add files to the webuzo web interface. Remove these as well:
rm -rf /usr/local/webuzo/enduser/webuzo/your-plugin
rm -rf /usr/local/webuzo/panel/your-plugin
7. Clean Up Plugin Data:
Delete any additional data stored by the plugin:
rm -rf /usr/local/webuzo/your-plugin
8. Remove Nginx Configurations (if present):
Some plugins create custom Nginx configs. Remove them:
rm -f /usr/local/webuzo/conf/webuzo/emps/admin_locations_your_plugin.conf
rm -f /usr/local/webuzo/conf/webuzo/emps/enduser_locations_your_plugin.conf
9. Restart Webuzo:
Finally, restart Webuzo for changes to take effect:
service webuzo restart