Roundcube plugin installer and add-on plugins

Anyone, please help me, with how can I install the Roundcube plugin installer plugin and how to use it?
[roundcube/plugin-installer - Packagist
GitHub - roundcube/plugin-installer: A composer installer for Roundcube plugins]

also, I am trying to install this plugin https://packagist.org/packages/texxasrulez/persistent_login but it requires the plugin-installer plugin in the system.

please guide how to add and active multiple or single plugins. and how to use the plugin-installer plugin.

Hello @yesbhautik,

You don’t need to use plugin-installer, just install the plugin persistent_login manually.

Here are the steps:

Note: I’m using latest version 5.3.0 (2023-Aug-03) but you should double check whether there is another version available at the time you are reading this and change wget, tar and rm commands I post below with the correct name and version.

cd /var/lib/roundcube/plugins/
wget "https://github.com/mfreiholz/persistent_login/archive/refs/tags/version-5.3.0.tar.gz"
tar zxf version-5.3.0.tar.gz
mv persistent_login-version-5.3.0 persistent_login
rm version-5.3.0.tar.gz
chown -R root:www-data persistent_login/
mkdir /etc/roundcube/plugins/persistent_login/
cp persistent_login/config.inc.php.dist /etc/roundcube/plugins/persistent_login/config.inc.php
chown -R root:www-data /etc/roundcube/plugins/persistent_login/
ln -s /etc/roundcube/plugins/persistent_login/config.inc.php persistent_login/config.inc.php

Now edit /etc/roundcube/config.inc.php file and add the plugin name persistent_login to plugins array:

Example:

Before:

// List of active plugins (in plugins/ directory)
$config["plugins"] = ["password", "newmail_notifier", "zipdownload", "archive", "managesieve"];

After:

// List of active plugins (in plugins/ directory)
$config["plugins"] = ["password", "newmail_notifier", "zipdownload", "archive", "managesieve", "persistent_login"];

Save the file and thats all, the plugin is installed and activated.

Hopè this helps.

Cheers,
sahsanu

3 Likes

Awesome dude!

same process for other plugins?

1 Like

Yes …

1 Like

Bro. I have tried to install another plugin
[alfnru/password_recovery - Packagist
GitHub - AlfnRU/roundcube-password_recovery: Plugin that adds functionality so that a user can create a new password if the original is lost]


but its not working as before


tell me if any mistake!


also guide for removal process of plugin, if plugin doesn’t work or harn other features or don’t want.

The name of the plugin is password_recovery, not roundcube-password_recovery so the dirs have the wrong name, and I suppose you used that name inside plugins array… doesn’t matter, that plugin works with postfix and hestiacp uses exim so you can’t use this plugin.

To remove a plugin, edit /etc/roundcube/config.inc.php and remove the plugin name from plugins array (and previous comma) and after that, remove the directories /etc/roundcube/plugins/NAMEOFTHEPLUGIN/ and /var/lib/roundcube/plugins/NAMEOFTHEPLUGIN/

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.