Roundcube contacts not working

Discussion in 'Installation/Configuration' started by drewb0y, Feb 28, 2014.

  1. drewb0y

    drewb0y Member

    [Resolved] Roundcube contacts not working

    I have Roundcube version 0.9.5 and recently noticed that I can not add contacts to personal address book. It did work in the past but this server has been through a few upgrades and changes since original installation. Most recently switched from courier to dovecot and updated the Roundcube version.

    This server is only used as a mail/webmail server with multiple domains.
    My roundcube installation is at /usr/share/roundcubemail
    To access it, I have created a symlink in /var/www for index.php pointing to /usr/share/roundcubemail
    This way you can go to the IP address of the server or any of the domains/subdomains pointing to it and access the login page.

    Automatic address collection works, and adding a contact from an email works as well. Just add from within the address book does not. It will say saved successfully and then does not show the new contact.

    The following plugins are activated

    'ispconfig3_account', 'ispconfig3_autoreply' 'ispconfig3_pass', 'ispconfig3_spam', 'ispconfig3_fetchmail', 'ispconfig3_filter', 'ispconfig3_forward', 'ispconfig3_wblist'
    Please let me know if there is any other info which would be helpful in troubleshooting. Thanks in advance for any help and suggestions.
    Last edited: Mar 2, 2014
  2. drewb0y

    drewb0y Member

    Found some errors in the Roundcube logs which were generated
    I have PHP Version 5.4.4-14+deb7u7 installed

    [28-Feb-2014 11:43:53 -0600]: PHP Error: Deprecated hook name. address_sources -> addressbooks_list in /usr/share/roundcubemail/program/lib/Roundcube/rcube_plugin_api.php on line 242 (GET /index.php/?_task=logout)
    [28-Feb-2014 11:43:53 -0600]: PHP Error: Deprecated hook name. get_address_book -> addressbook_get in /usr/share/roundcubemail/program/lib/Roundcube/rcube_plugin_api.php on line 242 (GET /index.php/?_task=logout)
    [28-Feb-2014 11:43:53 -0600]: PHP Error: Deprecated hook name. create_contact -> contact_create in /usr/share/roundcubemail/program/lib/Roundcube/rcube_plugin_api.php on line 242 (GET /index.php/?_task=logout)
    [28-Feb-2014 11:43:53 -0600]: PHP Error: Deprecated hook name. save_contact -> contact_update in /usr/share/roundcubemail/program/lib/Roundcube/rcube_plugin_api.php on line 242 (GET /index.php/?_task=logout)
  3. drewb0y

    drewb0y Member

    Looking at those errors it seems like my original bright idea of having it installed in /usr/share/roundcubemail and then symlinked from /var/www breaks some of the script. Is there a better way to do this, or an easy way to fix it?

    I suppose I could move all the roundcube files from /usr/share to /var/www but that would have to be done after hours.

    This was done originally to make it a roundcube webmail only server. With admin access to ispconfig and phpmyadmin for maintenance.

    I am open to suggestions.
  4. drewb0y

    drewb0y Member


    Fixed this finally. The root cause of the problem was a combination of outdated plugins and my nonstandard install path breaking some of the code.

    So I backed up my existing config files. Got rid of my symlinks.
    I then did a fresh install of Roundcube 1.0RC and added back the ISPConfig plugins.

    Everything appears to be working properly now as it should be.

Share This Page