how do you change the max file size for uploads?

When trying to upload a file larger than 10M, I'm getting this youtrack error:

the request was rejected because its size (12009830) exceeds the configured maximum (10485760)

how do I configure a larger max filesize?
3 comments
Comment actions Permalink

Jason,

Do you use hosted ot standalone youtrack?

0
Comment actions Permalink

I use the standalone version.

0
Comment actions Permalink

Jason,

To specify the maximum allowed file size, use -Djetbrains.webr.maxUploadFileSize=<value> JVM property. The value should specified in bytes. For example, to  limit the maximum allowed attachment size to 50Mb, you should specify:

-Djetbrains.webr.maxUploadFileSize=50000000

0

Please sign in to leave a comment.