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.
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.
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/