Skip to main content

RoundCube "Oops... something went wrong!" after transfer to new server

Comments

8 comments

  • User Avatar
    JIKOmetrix

    To add to the mystery, in cpanel the default user can access roundcube with no errors.

    However, the one mailbox in the account gets a  "Oops... something went wrong!" when trying to access roundcube.

    I looked for error logs and did not see any yet.

    0
  • User Avatar
    JIKOmetrix

    I found a few error files

    • carddav.log
    • errors.log
    • .php.error.log

    They do show errors. I Can see

    • ERROR: [1] no such table: carddav_addressbooks in carddav.log
    • PHP Deprecated:  Using ${var} in strings is deprecated, use {$var} instead  in php.error.log
    • DB Error: [1] no such table: carddav_addressbooks (SQL Query: SELECT * FROM carddav_addressbooks WHERE (("user_id" = '3'))) in errors.log

    It looks like thus user is missing carddav_addressbooks?

    0
  • User Avatar
    JIKOmetrix

    But why would this one mailbox have a problem and not any other on the server or even in the same account?

     

    0
  • User Avatar
    cPRex Jurassic Moderator

    The most likely explanation is that the Roundcube database was corrupted somehow.  Can you try working through this article and see if that takes care of the issue for that user?

    https://support.cpanel.net/hc/en-us/articles/360051956994-How-To-Fix-A-Corrupted-RoundCube-SQLite-Database

    0
  • User Avatar
    JIKOmetrix

    Thank you. I'll do this today.

    0
  • User Avatar
    JIKOmetrix

    Hello,

    This fixed the issue. Thank you.

    o allow RoundCube to start from the beginning without attempting to restore any previous settings or contacts.

    1. Rename the file <email_user>.rcube.db to <email_user>.rcube.db.bak or move it out of the folder
    2. For servers running PHP-FPM for the cPanel service the service should be restarted
        • /scripts/restartsrv_cpanel_php_fpm --stop
        • /scripts/restartsrv_cpanel_php_fpm --start
    3. Attempt to access RoundCube again
    2
  • User Avatar
    cPRex Jurassic Moderator

    Glad to hear you found a solution!

    0
  • User Avatar
    JIKOmetrix

    Me too! :-)

    1

Please sign in to leave a comment.