[xwiki-users] Upload error (XWiki 4.0)
Today a user tried, but failed, to upload a document to our XWiki 4.0 It was an existing document, so XWiki should have created a new version. So I tried to upload the file myself, but... Uploading file to PAGE_NAME Message Failed to upload one file. Internal failure while attaching: NAME_OF_DOCUMENT: NullPointerException. Not a lot of info, clicking on the "NullPointerExceptio" does not reveal any more info. The PDF is only 9Mb...so that should not be a problem, right? -- View this message in context: http://xwiki.475771.n2.nabble.com/Upload-error-XWiki-4-0-tp7589754.html Sent from the XWiki- Users mailing list archive at Nabble.com.
On Mar 21, 2014 3:12 PM, "Hamster" <[email protected]> wrote:
Today a user tried, but failed, to upload a document to our XWiki 4.0 It was an existing document, so XWiki should have created a new version.
So I tried to upload the file myself, but...
Uploading file to PAGE_NAME
Message Failed to upload one file. Internal failure while attaching: NAME_OF_DOCUMENT: NullPointerException.
Not a lot of info, clicking on the "NullPointerExceptio" does not reveal
any
more info.
The PDF is only 9Mb...so that should not be a problem, right?
9mb is easily a problem if you don't use the file system attachment store. Do you have the same problem with small files?
-- View this message in context:
http://xwiki.475771.n2.nabble.com/Upload-error-XWiki-4-0-tp7589754.html
Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
We have no problems with smaller files. Thing is...there are already files attached to that page. A 26.5 Mb Word Document and the 9 Mb PDF file. How come that uploading a file (9 Mb) in the first place is no problem...but uploading a new version is? -- View this message in context: http://xwiki.475771.n2.nabble.com/Upload-error-XWiki-4-0-tp7589754p7589784.h... Sent from the XWiki- Users mailing list archive at Nabble.com.
See http://jira.xwiki.org/browse/XWIKI-5568 . Depending on the memory configuration of your web server 26MB and even 9MB can be a lot for database storage. For storing large attachment the file system attachment store is recommended. See http://extensions.xwiki.org/xwiki/bin/view/Extension/Filesystem+Attachment+P... . Hope this helps, Marius On Tue, Mar 25, 2014 at 9:20 AM, Hamster <[email protected]> wrote:
We have no problems with smaller files.
Thing is...there are already files attached to that page. A 26.5 Mb Word Document and the 9 Mb PDF file.
How come that uploading a file (9 Mb) in the first place is no problem...but uploading a new version is?
-- View this message in context: http://xwiki.475771.n2.nabble.com/Upload-error-XWiki-4-0-tp7589754p7589784.h... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Hello, I got the same issue. I found on the configuration that the memory limit of a page is 30 mb. It can be extended but for me it was ok, This is not a question of a document size but the overall documents size on the same page. Cordialement Stéphane Lassire "users" <[email protected]> a écrit sur 25/03/2014 16:01:20 :
See http://jira.xwiki.org/browse/XWIKI-5568 . Depending on the memory configuration of your web server 26MB and even 9MB can be a lot for database storage. For storing large attachment the file system attachment store is recommended. See http://extensions.xwiki. org/xwiki/bin/view/Extension/Filesystem+Attachment+Porter .
Hope this helps, Marius
On Tue, Mar 25, 2014 at 9:20 AM, Hamster <[email protected]> wrote:
We have no problems with smaller files.
Thing is...there are already files attached to that page. A 26.5 Mb Word Document and the 9 Mb PDF file.
How come that uploading a file (9 Mb) in the first place is no problem...but uploading a new version is?
-- View this message in context: http://xwiki.475771.n2.nabble. com/Upload-error-XWiki-4-0-tp7589754p7589784.html Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (3)
-
Hamster -
Marius Dumitru Florea -
Stéphane LASSIRE