Attachment doesnt work in roundcube [Webmail]

Discussion in 'Plugins/Modules/Addons' started by nork613, Nov 7, 2019.

  1. nork613

    nork613 New Member

    Hi.
    I have ISPConfig 3.1 and roundcubemail-1.3.10.
    When the user try upload any file in webmail, show this error:

    upload_2019-11-7_14-11-46.png
    In the network show:

    <!DOCTYPE html>
    <html lang="en">
    <head><title></title><meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <script type="text/javascript">

    if (window.parent && parent.rcmail) {
    parent.rcmail.iframe_loaded("");
    parent.rcmail.display_message("File upload failed.","error");
    parent.rcmail.remove_from_attachment_list("1573153819277");
    parent.rcmail.auto_save_start(false);
    }
    </script>

    </head>
    <body>
    </body>
    </html>

    Please, any help, thanks.
     
  2. Steini86

    Steini86 Active Member

    look for error in
    1) error.log of apache logfile
    2) logs/errors.log in roundcube folder
     
  3. nork613

    nork613 New Member

    Hi, thanks for you answer.
    In the logs doesnt appear nothing important, jus login of some users, even i put debug_level=4 and nothing, 0 errors in the screen.
     
  4. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Have you tried with attached file that is smaller than 10 MB?
     
  5. nork613

    nork613 New Member

    Hi,
    Yes, I tried with a image of 105kb and the result is the same.
     
  6. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Is the disk full? Does the email user have permission to write?
    Code:
    df -hT
     
  7. nork613

    nork613 New Member

    Hi, Space is good
    upload_2019-11-8_11-40-46.png

    How Can I check, if the user have permission to write in which folder?
     
  8. Steini86

    Steini86 Active Member

    Verify that temp folder in roundcube folder is writable. (change to 777 for testing)

    Are there any restrictions like X-Frame-Options set? See in developer console (of your browser, F12 in Chrome) if there are such errors.
     
  9. nork613

    nork613 New Member

    Hi.
    Temp folder is writable. I changed to 777. Same.
    any restrictions like X-Frame-Options set? Not, any errors. Is rare.
     
  10. Steini86

    Steini86 Active Member

    - What folder is set as temp_dir in roundcube config? Make sure it is an absolute path and writable by php.
    - Deactivate all plugins and try again.
     
  11. nork613

    nork613 New Member

    Folder: $config['temp_dir'] = RCUBE_INSTALL_PATH . 'temp/';
     
  12. Steini86

    Steini86 Active Member

    - "ls -al RCUBE_INSTALL_PATH . temp"
    - Deactivate all plugins and try again.
     
  13. nork613

    nork613 New Member

    Thanks to all,
    The solutions for me, was upgrade to the new responsive version 1.4.0
    And reconfigure of roundcube.conf of apache files.

    Thanks.
     

Share This Page