RainLoop / rainloop-webmail

Simple, modern & fast web-based email client
http://rainloop.net
MIT License
4.1k stars 890 forks source link

RainLoop file upload does not work #1184

Open criskolkman opened 8 years ago

criskolkman commented 8 years ago

Hello all,

I've been searching for this for quite a while now but haven't found a solution yet. Attachment uploads do not work (most of the time) and I can't really find out why, it also seems random and not really limited to an upload size. See screenshots. rainloop error

Running on CentOS 7 with Apache2. Error message is "An unkown file upload error occured".

RainLoop commented 8 years ago

Fixed in v1.10.4.181 Thanks for reporting this problem!

criskolkman commented 8 years ago

Hello,

I have the new version installed but the exact same problem is happening.

criskolkman commented 8 years ago

Anything on this because it's still not working?

dgiordano commented 7 years ago

Hi Experts, I'm using the latest versione of rainloop 1.10.4.183 but I've the same issue. attachment_error Not all clients have this problem. Only some one. How can I fix it? PHP and NGINX settings are ok. Thanks in advance.

dgiordano commented 7 years ago

I fix my issue studing logs of rainloop. Was a permission error in the folder /var/www/apps/rainloop/data/data***/default/storage/files/an

Thanks.

criskolkman commented 7 years ago

Don't think this is the solution for me. The location for the AN folder you mention is in: /var/www/clients/client2/web2/web/data/data/default/storage/cfg

And the rights on those folders: ]# ls -l total 16 drwxr-xr-x 3 web2 client2 4096 Sep 24 12:01 an drwxr-xr-x 3 web2 client2 4096 Sep 23 14:07 cr drwxr-xr-x 3 web2 client2 4096 Sep 23 16:46 in drwxr-xr-x 3 web2 client2 4096 Sep 24 11:52 ti

Franselbaer commented 6 years ago

Seems to be still open. It really looks like Rainloop cannot store uploaded files because of permission. Haven't found it yet.

woohooyeah commented 5 years ago

Not sure whether it's the same issue, but I also experienced an inability to upload any attachments. My NGINX logs were showing things like: 2018/10/24 18:22:43 [error] 12165#0: *4294 client intended to send too large body: [blah blah blah]

It works here now by setting: client_max_body_size 30M; in my RainLoop's website config in NGINX.

The equivalent for Apache2 would be: LimitRequestBody 31457280

Or some other sane value. I never noticed until recently, when trying attachments larger than 1M (NGINX's default client_max_body_size value). But Apache2 should have a default of LimitRequestBody 0, so it might indeed be permission related in your case.