Roundcube - Oops... something went wrong!

Discussion in 'General' started by onastvar, Oct 17, 2022.

Tags:
  1. onastvar

    onastvar Member

    Oops... something went wrong!
    An internal error has occurred. Your request cannot be processed at this time.
    For administrators: Please check the application and/or server error logs for more information.

    I accidentally deleted a folder in "/opt/roundcube" had to reinstall Roundcube 1.5.2. I used following guide:
    https://www.howtoforge.com/tutorial/roundcube-installation-on-debian-8-jessie/

    Currently, when I'm in webmail/roundcube I get above error. Every message shows above error in webmail however if I forward message I can see the actual message in the body of new composed emails.

    Everything works OK if I use an email client.
    Is this issue with IMAP settings or SSL settings since I had to reinstall, what to check, thanks in advance?

    From the log:
    [Mon Oct 17 09:56:46.776277 2022] [:error] [pid 99819] [client 11.11.11.58:54471] PHP Fatal error: Class 'Sabre\\VObject\\Property\\Text' not found in /opt/roundcube/plugins/libcalendaring/libvcalendar.php on line 1512, referer: https://mydomain.com/webmail/?_task=mail&_mbox=INBOX
    [Mon Oct 17 09:58:22.574895 2022] [:error] [pid 100073] [client 11.11.11.58:54567] PHP Warning: file_put_contents(/opt/roundcube/logs/errors.log): failed to open stream: Permission denied in /opt/roundcube/program/lib/Roundcube/rcube.php on line 1364
    [Mon Oct 17 09:58:22.575021 2022] [:error] [pid 100073] [client 11.11.11.58:54567] PHP Warning: Detected 'temp_dir' change. Access to '/opt/roundcube/temp' restricted by filesystem permissions or open_basedir in /opt/roundcube/program/lib/Roundcube/rcube.php on line 1483


    [​IMG]
     
    Last edited: Oct 17, 2022
  2. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Can you share the permissions of the content of that directory?
     
  3. onastvar

    onastvar Member

    Thank you in advance @Th0m!
    Here you go:

    root@server:/opt/roundcube# ls -la /opt/roundcube
    total 444
    drwxr-xr-x 13 www-data www-data 4096 Oct 17 00:26 .
    drwxr-xr-x 10 root root 4096 Oct 17 00:21 ..
    -rw-r--r-- 1 www-data www-data 2552 Dec 29 2021 .htaccess
    -rw-r--r-- 1 www-data www-data 199339 Dec 29 2021 CHANGELOG.md
    -rw-r--r-- 1 www-data www-data 12646 Dec 29 2021 INSTALL
    -rw-r--r-- 1 www-data www-data 35147 Dec 29 2021 LICENSE
    -rw-r--r-- 1 www-data www-data 3852 Dec 29 2021 README.md
    -rw-r--r-- 1 www-data www-data 967 Dec 29 2021 SECURITY.md
    drwxr-xr-x 7 www-data www-data 4096 Dec 29 2021 SQL
    -rw-r--r-- 1 www-data www-data 4657 Dec 29 2021 UPGRADING
    drwxr-xr-x 2 www-data www-data 4096 Oct 17 00:25 bin
    -rw-r--r-- 1 www-data www-data 971 Dec 29 2021 composer.json
    -rw-r--r-- 1 www-data www-data 1003 Dec 29 2021 composer.json-dist
    -rw-r--r-- 1 www-data www-data 105539 Dec 29 2021 composer.lock
    drwxr-xr-x 2 www-data www-data 4096 Oct 17 09:37 config
    -rw-r--r-- 1 www-data www-data 11413 Dec 29 2021 index.php
    drwxr-xr-x 3 www-data www-data 4096 Oct 17 00:25 installer
    drwxr-xr-x 2 www-data www-data 4096 Oct 17 10:01 logs
    drwxr-xr-x 48 www-data www-data 4096 Oct 17 00:37 plugins
    drwxr-xr-x 8 www-data www-data 4096 Oct 17 00:25 program
    drwxr-xr-x 3 www-data www-data 4096 Oct 17 00:25 public_html
    drwxr-xr-x 5 www-data www-data 4096 Oct 17 00:25 skins
    drwxr-xr-x 2 www-data www-data 4096 Oct 17 10:48 temp
     
  4. onastvar

    onastvar Member

    Update:
    A Calendar module for Roundcube (https://github.com/kolab-roundcube-plugins-mirror/calendar)
    caused above issue, after I removed the "calendar" line from following file, issue no longer exists.

    /opt/roundcube/config/config.inc.php
    $rcmail_config['plugins'] = array(
    "jqueryui",
    REMOVED "calendar",
    "ispconfig3_account",
    "ispconfig3_autoreply",
    "ispconfig3_pass",
    "ispconfig3_spam",
    "ispconfig3_fetchmail",
    "ispconfig3_filter"
    );
     
    Th0m and till like this.

Share This Page