Problem with max attachement size XWiki 14.10.4

Hello, after update from 13.10.12 to 14.10.4 i can’t attach file.
I get this error
image

How can I fix it?

That’s weird. The max size is controlled with Attachments (XWiki.org) normally

https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Attachments#HSizeLimit
this is fix for me.
Filed was clean and i filled it to 512000000

Did you change the max size in the past to set it to 0?

may be it rewrited when i use update master

That shouldn’t happen automatically.

1 Like

I don’t remember all the steps.
When updating
I chose to merge parameters for first time and then for other I chose - to rewrite new ones for everyone

Hello @urs19work,

Can you check the Maximum Upload Size value following the steps described in the “Size Limit” section of the attachments documentation?
I’m expecting it to be set to 0 for you. Can you confirm?

A quick fix is to it back to its default value (107374182400).

To understand why it has been changed, can you check the history (<host>/xwiki/bin/view/XWiki/XWikiPreferences?viewer=history) and search for the change where Maximum Upload Size has been set to 0?

1 Like

Hello, thank you for help!
You are right.
I writed about this above

I use instrictions, went to admin page, there i had empty field, type 512000000 and attachements were fixed

@urs19work thanks but we’d like to know how the issue happened. Do you think you could check the history of that page?

Thanks!

i roll back to bad version of page made after update, this filed is emty (in Version coming from extension Base Flavor Application 14.10.4 page this filed are normal)

image

I think what this filed always been empty,
in version 115.2 it was empty
in 116.1 i fixed it

image

image
in 113.1 this field was empty too