FAQ Manager - How to increase the max size of an attachment

Moderator: crythias

Locked
ZioBuddha
Znuny newbie
Posts: 5
Joined: 08 Sep 2010, 23:04
Znuny Version: 2.4.7

FAQ Manager - How to increase the max size of an attachment

Post by ZioBuddha »

I'm using the FAQ add-on also to provide files and documentation to tu customers. It seems that the max file size for an attachment of a faq article is 16384KB. There'a a way to increase it?
Thanks you very much,
Stefano
ferrosti
Znuny superhero
Posts: 723
Joined: 10 Oct 2007, 14:30
Znuny Version: 3.0
Location: Hamburg, Germany

Re: FAQ Manager - How to increase the max size of an attachm

Post by ferrosti »

What kind of error do you get?
Is this possibly due to a mySQL MaxPacketSize limit?
openSuSE on ESX
IT-Helpdesk: OTRS 3.0
Customer Service: OTRS 3.0 (upgraded from 2.3)
Customer Service (subsidiary): OTRS 3.0
+additional test and development systems
ZioBuddha
Znuny newbie
Posts: 5
Joined: 08 Sep 2010, 23:04
Znuny Version: 2.4.7

Re: FAQ Manager - How to increase the max size of an attachm

Post by ZioBuddha »

Hi Ferrosti, thank you for the interest.
This is the error I get:

Errore: 413 Request entity too large - POST_MAX=16384KB
ERROR details: OTRS-CGI-10 Perl: 5.10.0 OS: MSWin32 Time: Tue Sep 14 12:52:58 2010
Message: 413 Request entity too large - POST_MAX=16384KB
Traceback (5552):
Module: Kernel::System::Web::InterfaceAgent::Run (v1.43.2.1) Line: 147
Module: C:/Program Files/OTRS/OTRS/bin/cgi-bin/index.pl (v1.88) Line: 48
ferrosti
Znuny superhero
Posts: 723
Joined: 10 Oct 2007, 14:30
Znuny Version: 3.0
Location: Hamburg, Germany

Re: FAQ Manager - How to increase the max size of an attachm

Post by ferrosti »

Well, it seems your webservers value for POST-vars is limited to this size. You´ll have to adjust this.
openSuSE on ESX
IT-Helpdesk: OTRS 3.0
Customer Service: OTRS 3.0 (upgraded from 2.3)
Customer Service (subsidiary): OTRS 3.0
+additional test and development systems
dindras
Znuny newbie
Posts: 3
Joined: 27 Oct 2010, 08:18
Znuny Version: 3.0
Location: Vilnius, Lithuania

Re: FAQ Manager - How to increase the max size of an attachm

Post by dindras »

hi,

I faced similar problem while trying to upload big file through FileManager.

The solution laid in these two files:

Code: Select all

Kernel/Config/Files/ZZZAAuto.pm
Kernel/Config/Defaults.pm
look for values of $Self->{WebMaxFileUpload}
OTRS 3.0 OTRS::ITSM 3.0 Gentoo GNU/Linux Apache MySQL
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: FAQ Manager - How to increase the max size of an attachm

Post by jojo »

don't change these two files!

earch for the parameter in SysConfig and change it there
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
dindras
Znuny newbie
Posts: 3
Joined: 27 Oct 2010, 08:18
Znuny Version: 3.0
Location: Vilnius, Lithuania

Re: FAQ Manager - How to increase the max size of an attachm

Post by dindras »

yes, it seems the correct way to change this value is through:

SysConfig -> Core::Web -> WebMaxFileUpload

thank you for noticing that.
OTRS 3.0 OTRS::ITSM 3.0 Gentoo GNU/Linux Apache MySQL
cjseriy
Znuny newbie
Posts: 27
Joined: 05 Jan 2011, 22:03
Znuny Version: 3.04

Re: FAQ Manager - How to increase the max size of an attachm

Post by cjseriy »

when I am sending to a OTRS system a message witn an attachement 1 - 10 mb size. It is recieved in OTRS, after I open it I see a message but there is no any attachement. When I send 100 kb file I can see attachement in a message.
I changed SysConfig -> Core::Web -> WebMaxFileUpload to nearly 20 mb. Doesnt help.

In /etc/my.cnf I have
[mysqldump]
quick
max_allowed_packet = 16M

Where can it be changed ?
OTRS 3.0.4, FreeBSD, using not for IT but as a service desk only to effectively process customer's requests.
Locked