Changes for page Increasing XWiki attachment size limit
Last modified by Alexandru Pentilescu on 2023/01/08 13:30
From version 6.1
edited by Alexandru Pentilescu
on 2023/01/08 12:40
on 2023/01/08 12:40
Change comment:
There is no comment for this version
To version 10.1
edited by Alexandru Pentilescu
on 2023/01/08 12:48
on 2023/01/08 12:48
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 1 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -16,7 +16,7 @@ 16 16 ((( 17 17 = Steps = 18 18 19 - First, makesure that nginx willallowfor largeruploadsonyourspecificserver.19 +The following are the steps you must take to change the limit. 20 20 21 21 == Decide on a sensible limit for your needs == 22 22 ... ... @@ -39,7 +39,6 @@ 39 39 On this page, you should find a section called "XWikiPreferences 0", right under "Objects of type XWiki.XWikiPreferences (1)". These sections can be expanded by clicking on them, much like a collapsable tree structure. Expand the "XWikiPreferences 0" node by left clicking on it! 40 40 41 41 [[image:Screenshot_20230108_142805.png]] 42 -))) 43 43 44 44 Scroll down to "Maximum Upload Size" and enter a proper setting in that box! It's a text box that is initially empty, but can be set to contain natural numbers. 45 45 ... ... @@ -49,6 +49,18 @@ 49 49 50 50 In the screenshot below, I set it to 4 GB. 51 51 51 +[[image:Screenshot_20230108_143902.png]] 52 + 53 +Please don't forget to click the "Save" or "Save & View" buttons at the end, otherwise your change will not be saved! 54 +I said at the beginning that I plan for my limit to be 2.5GB but here I set it to 4GB. Ultimately, it doesn't matter which it is, as long as there's a sensible limit set. Set it to whatever you feel comfortable for you. 55 + 56 += Footnote = 57 +That's it! You're done! 58 +Please note that you might still get an upload error when attaching large files in the future, but, this time, once you'll refresh the page, the file should be in the "Attachments" section of the page, this time, and you should be able to use it. The error is merely aesthetic, and will have no actual effects whatsoever. 59 + 60 +Happy coding! 61 +))) 62 + 52 52 (% class="col-xs-12 col-sm-4" %) 53 53 ((( 54 54 {{box title="**Contents**"}}{{toc /}}{{/box}}
- Screenshot_20230108_143902.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.AlexandruPentilescu - Size
-
... ... @@ -1,0 +1,1 @@ 1 +71.4 KB - Content