Author Topic: Unable to configure Roundcube Change Password Plugin  (Read 4289 times)

Offline ccpplinux

  • Newbie
  • *
  • Posts: 1
Unable to configure Roundcube Change Password Plugin
« on: November 21, 2016, 03:08:51 PM »


Hi,
On my Arch Linux VPS, I have configured the Roundcube Change Password Plugin as per instructions given on the page https://wiki.archlinux.org/index.php/Vi … ord_Plugin. But when I am trying to change password of a user by logging into roundcube then I am unable to change the password of the user. However password can be changed from postfixadmin. Here is the error log of the roundcube from the file /var/log/roundcubemail/errors:

[21-Nov-2016 20:26:56 +0530]: <2tqpnnje> DB Error: [1305] FUNCTION roundcubemail.update_passwd does not exist (SQL Query: SELECT update_passwd('$1$4qSfAp9L$xx7tDpFz/15nfm4BTR5dm.', 'tarun@ratna.net.in')) in /srv/http/roundcubemail/program/lib/Roundcube/rcube_db.php on line 539 (POST /roundcubemail/?_task=settings&_action=plugin.password-save)

So it is clear that roundcube is searching for FUNCTION roundcubemail.update_passwd. But in the file /usr/share/webapps/roundcubemail/plugins/password/config.inc.php, I have set the parameter as $config['password_query'] = 'UPDATE mailbox SET password=%c WHERE username=%u';. The setting $config['password_query'] = 'SELECT update_passwd(%c, %u)'; has been commented. But still roundcube is searching for FUNCTION roundcubemail.update_passwd.

Best Regards ...

Pankaj Kumar

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Re: Unable to configure Roundcube Change Password Plugin
« Reply #1 on: November 21, 2016, 03:19:03 PM »
You seem to have two installs of Roundcube. The error is giving the path as /srv/http/roundcubemail but your changing configs at /usr/share/webapps/roundcubemail