Control Web Panel

WebPanel => Aplications => Topic started by: SaveinCloud on October 19, 2020, 02:32:49 PM

Title: Mail file attachment error
Post by: SaveinCloud on October 19, 2020, 02:32:49 PM
Hello!

I work as a technical support at SaveinCloud in Brazil and we are experiencing a problem when trying to attach/upload a file to the roundcube mail.

Every email account on the same server returns the same error: ''An error occured, Failed to upload the file''

Att,
Gabriel Lopes
IP Company | SaveInCloud
Title: Re: Mail file attachment error
Post by: studio4host on October 19, 2020, 05:30:49 PM
you need to check server logs, if you use cwp port then cwp logs and if you use without port then also apache and cwp logs
Title: Re: Mail file attachment error
Post by: SaveinCloud on October 21, 2020, 01:01:17 PM
Solved.

I look into /usr/local/apache/domlogs

Saw the error [crit] 4548#0: *1289399 open() "/var/lib/nginx/tmp/client_body/0000000359" failed (13: Permission denied)


Found this solution: https://github.com/CampbellSoftwareSolutions/docker-osticket/issues/34

Updated the nginx.conf http by including the line client_body_temp_path /tmp 1 2;

Then restarted nginx.

Thanks!