WebUI problem - can...
 
Notifications
Clear all

WebUI problem - cannot upload attachment more 1024Kb

10 Posts
6 Users
1 Likes
220 Views
(@nikaven)
Joined: 2 months ago
Posts: 5
Topic starter  

Hello

I Use Carbonio CE 23.12.0  
WebUI problem - cannot upload attachment more 1024Kb, if i use any imap client - all working good.

My setting for filesize
zimbraFileUploadMaxSize 40960000
zimbraMailContentMaxSize 40960000
zimbraFileUploadMaxSize 40960000
zimbraMailContentMaxSize 40960000

I think its NGINX restriction, "client_max_body_size" But I can't find where to change it

now zmproxyconf say client_max_body_size 0; 

Regards


   
Quote
(@anahuac)
Joined: 8 months ago
Posts: 267
 

Last time I had an issue like that is was the a user quota limitation. I added a bit more space to it and it worked.

Not sure it's your case, but give it a try.

 


   
ReplyQuote
(@cvidal)
Joined: 12 years ago
Posts: 18
 

Are you sure that the problem is the size? In the app server where you host the account, check the log file /opt/zextras/log/mailbox.log while you perform the upload. You may have a forbidden suffix (like ".exe"). Unfortunately there is no clue in the error message displayed in the UI, but "mailbox.log" can be more helpful.

Check also anything you have between the proxy and your PC. Is your server directly plugged to the Net or is there yet another proxy in between?

Regarding your hypothesis about "nginx", its configuration is sophisticated but easy to check. Everything is under /opt/zextras/conf/nginx. Under "templates" you have the templates used to generate the files under "include", that are the ones actually used by nginx. There is no limit in upload size (client_max_body_size=0). You can verify this with :

cd /opt/zextras/conf/nginx/include
grep client_max_body_size *

   
ReplyQuote
(@nikaven)
Joined: 2 months ago
Posts: 5
Topic starter  

@cvidal 

/opt/zextras/conf/nginx/includes, not /opt/zextras/conf/nginx/include
 
zextras@mail:~$ cd /opt/zextras/conf/nginx/includes/
zextras@mail:~/conf/nginx/includes$ grep client_max_body_size *
nginx.conf.web.admin: client_max_body_size 100M;
nginx.conf.web.admin.default: client_max_body_size 100M;
nginx.conf.web.carbonio.admin: client_max_body_size 100M;
nginx.conf.web.carbonio.admin.default: client_max_body_size 100M;
nginx.conf.web.https: client_max_body_size 100M;
nginx.conf.web.https.default: client_max_body_size 100M;

Its edited files, in original client_max_body_size 0;

And not, its not extension problem, text file without extension and size 1024Kb upload successful, 1025Kb - error uploading


   
ReplyQuote
(@nikaven)
Joined: 2 months ago
Posts: 5
Topic starter  

@anahuac 
IN QOS No quota (unlimited) for mail domain


   
ReplyQuote
(@nikaven)
Joined: 2 months ago
Posts: 5
Topic starter  

Posted by: @cvidal

Check also anything you have between the proxy and your PC. Is your server directly plugged to the Net or is there yet another proxy in between?

No, test in one network, 2 client PC, random browser (Chrome & Firefox) 


   
ReplyQuote
(@nikaven)
Joined: 2 months ago
Posts: 5
Topic starter  

YES!!! I find problem

This is not Carbonio, this is a limitation of my web proxy. (Internet or localnet <> WWW proxy (at this stage there was a limitation) <> carbonio)


   
ReplyQuote
 MAX
(@max)
Joined: 8 months ago
Posts: 69
 

I encountered a similar problem on two Carbonio CE 24.1.0 servers.

Problem when uploading files to Carbonio Files from the Carbonio Files web interface or mobile client for files larger than 1024kb. They upload, but have an apparent size of 1MB. They can be download, deleted, copied, forwarded to mail, but they are cut to 1MB in size. Everything works well with files smaller than 1024kb.


   
ReplyQuote
(@sambhit08)
Joined: 1 week ago
Posts: 1
 

Head over to the Voron Discord #Klipper channel, they have a sticky note on how to resolve this problem that is caused by a recent update you performed.


   
ReplyQuote
 MAX
(@max)
Joined: 8 months ago
Posts: 69
 

@sambhit08 Thanks! I can't watch on the channel you specified.

Please post information on this problem here, in this topic. This will help other users too.


   
anahuac reacted
ReplyQuote