Re: [xwiki-users] Can't get Export/Import to work
Hi Tim, > On 29 Apr 2016, at 09:41, Tim Dudgeon wrote: > > On 25/04/2016 08:04, Vincent Massol wrote: > >> I’ve documented this at >> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/NginX#HRequestEntityTooLarge >> >> BTW, would be great if you could validate the nginx configuration there. It >> was entered by a contributor and not by any member of the xwiki dev team (we >> don’t use nginx) so we don’t know if the config is good or not, and thus it >> can be promoted as a good configuration to follow. Do you think you could do >> that? > > I can't really validate that config as a whole as it serves its own purpose > (and I'm no nginx expert). > But taking a quick look the basic proxy configuration (the last location > section) looks OK to me. > The major comment I would have is that this is not a proxy setup for using > TLS, which would normally be one of the main reasons for using a reverse > proxy. > I'd be happy to send you my config (that does handle TLS) though I'd need to > "sanitise" it a bit first. Feel free to directly edit and information on that page. I even less an nginx expert than you since I’ve not even used it once ;) Thanks -Vincent > Tim ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Can't get Export/Import to work
On 25/04/2016 08:04, Vincent Massol wrote: I’ve documented this at http://platform.xwiki.org/xwiki/bin/view/AdminGuide/NginX#HRequestEntityTooLarge BTW, would be great if you could validate the nginx configuration there. It was entered by a contributor and not by any member of the xwiki dev team (we don’t use nginx) so we don’t know if the config is good or not, and thus it can be promoted as a good configuration to follow. Do you think you could do that? I can't really validate that config as a whole as it serves its own purpose (and I'm no nginx expert). But taking a quick look the basic proxy configuration (the last location section) looks OK to me. The major comment I would have is that this is not a proxy setup for using TLS, which would normally be one of the main reasons for using a reverse proxy. I'd be happy to send you my config (that does handle TLS) though I'd need to "sanitise" it a bit first. Tim ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Can't get Export/Import to work
Hi Tim, > On 23 Apr 2016, at 09:41, Tim Dudgeon wrote: > > On 22/04/2016 16:07, Clemens Klein-Robbenhaar wrote: >> This blog post: >> >> >> http://cnedelcu.blogspot.de/2013/09/nginx-error-413-request-entity-too-large.html >> >> tells me nginx does not allow request bodies larger than 1mb by default >> >> if you use nginx you might want to update this configuration variable: >> >> >> http://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size >> >> hth >> clemens >> > > Yes, confirmed. That was indeed the problem. Raising the limit solved the > problem. I’ve documented this at http://platform.xwiki.org/xwiki/bin/view/AdminGuide/NginX#HRequestEntityTooLarge BTW, would be great if you could validate the nginx configuration there. It was entered by a contributor and not by any member of the xwiki dev team (we don’t use nginx) so we don’t know if the config is good or not, and thus it can be promoted as a good configuration to follow. Do you think you could do that? Thanks -Vincent > Thanks > Tim ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Can't get Export/Import to work
On 22/04/2016 16:07, Clemens Klein-Robbenhaar wrote: This blog post: http://cnedelcu.blogspot.de/2013/09/nginx-error-413-request-entity-too-large.html tells me nginx does not allow request bodies larger than 1mb by default if you use nginx you might want to update this configuration variable: http://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size hth clemens Yes, confirmed. That was indeed the problem. Raising the limit solved the problem. Thanks Tim ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Can't get Export/Import to work
On 22/04/2016 16:07, Clemens Klein-Robbenhaar wrote: This blog post: http://cnedelcu.blogspot.de/2013/09/nginx-error-413-request-entity-too-large.html tells me nginx does not allow request bodies larger than 1mb by default if you use nginx you might want to update this configuration variable: http://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size hth clemens Ah, that could well be it. This is running behind an nginx reverse proxy. I'll give it a try. Thanks Tim ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Can't get Export/Import to work
This blog post: http://cnedelcu.blogspot.de/2013/09/nginx-error-413-request-entity-too-large.html tells me nginx does not allow request bodies larger than 1mb by default if you use nginx you might want to update this configuration variable: http://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size hth clemens > In the range of 2-3 MB > > Tim > > On 22/04/2016 13:21, Thomas Mortagne wrote: >> What size is this XAR ? >> >> On Fri, Apr 22, 2016 at 2:01 PM, Tim Dudgeon >> wrote: >>> On 22/04/2016 12:19, Thomas Mortagne wrote: Do you have anything related in the log ? >>> >>> >>> Not in the Tomcat logs, but I found something in the javascript console: >>> >>> Failed to load resource: the server responded with a status of 413 (Request >>> Entity Too Large) >>> >>> with some link to >>> https:///xwiki/bin/upload/XWiki/XWikiPreferences >>> >>> >>> Tim >>> ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Can't get Export/Import to work
Pretty small. Without more detail I don't have much idea of what would be your issue. If there is nothing sensitive in that XAR and you can reproduce with standard jetty/hsqldb package what you could do maybe is create an issue on http://jira.xwiki.org and attach the XAR there so that we can reproduce and debug. On Fri, Apr 22, 2016 at 4:22 PM, Tim Dudgeon wrote: > In the range of 2-3 MB > > Tim > > > On 22/04/2016 13:21, Thomas Mortagne wrote: >> >> What size is this XAR ? >> >> On Fri, Apr 22, 2016 at 2:01 PM, Tim Dudgeon >> wrote: >>> >>> On 22/04/2016 12:19, Thomas Mortagne wrote: Do you have anything related in the log ? >>> >>> >>> >>> Not in the Tomcat logs, but I found something in the javascript console: >>> >>> Failed to load resource: the server responded with a status of 413 >>> (Request >>> Entity Too Large) >>> >>> with some link to >>> https:///xwiki/bin/upload/XWiki/XWikiPreferences >>> >>> >>> Tim >>> >>> >>> ___ >>> users mailing list >>> users@xwiki.org >>> http://lists.xwiki.org/mailman/listinfo/users >> >> >> >> > > > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Can't get Export/Import to work
In the range of 2-3 MB Tim On 22/04/2016 13:21, Thomas Mortagne wrote: What size is this XAR ? On Fri, Apr 22, 2016 at 2:01 PM, Tim Dudgeon wrote: On 22/04/2016 12:19, Thomas Mortagne wrote: Do you have anything related in the log ? Not in the Tomcat logs, but I found something in the javascript console: Failed to load resource: the server responded with a status of 413 (Request Entity Too Large) with some link to https:///xwiki/bin/upload/XWiki/XWikiPreferences Tim ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Can't get Export/Import to work
What size is this XAR ? On Fri, Apr 22, 2016 at 2:01 PM, Tim Dudgeon wrote: > On 22/04/2016 12:19, Thomas Mortagne wrote: >> >> Do you have anything related in the log ? > > > Not in the Tomcat logs, but I found something in the javascript console: > > Failed to load resource: the server responded with a status of 413 (Request > Entity Too Large) > > with some link to > https:///xwiki/bin/upload/XWiki/XWikiPreferences > > > Tim > > > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Can't get Export/Import to work
On 22/04/2016 12:19, Thomas Mortagne wrote: Do you have anything related in the log ? Not in the Tomcat logs, but I found something in the javascript console: Failed to load resource: the server responded with a status of 413 (Request Entity Too Large) with some link to https:///xwiki/bin/upload/XWiki/XWikiPreferences Tim ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Can't get Export/Import to work
Do you have anything related in the log ? On Fri, Apr 22, 2016 at 12:37 PM, Tim Dudgeon wrote: > Using a simple XWiki 7.4.2 system I'm having problems getting Export and > then Import to work. I'm want to export the entire contents of one Wiki and > import it into another one. > I think I'm following the instructions here correctly: > http://platform.xwiki.org/xwiki/bin/view/AdminGuide/ImportExport > The Export seem to go OK and generates a xar file. > But when I try to Import that into a different 7.4.2 wiki (or even the one > it was exported from) I get told that "No package is available for import". > Tim > > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Can't get Export/Import to work
Using a simple XWiki 7.4.2 system I'm having problems getting Export and then Import to work. I'm want to export the entire contents of one Wiki and import it into another one. I think I'm following the instructions here correctly: http://platform.xwiki.org/xwiki/bin/view/AdminGuide/ImportExport The Export seem to go OK and generates a xar file. But when I try to Import that into a different 7.4.2 wiki (or even the one it was exported from) I get told that "No package is available for import". Tim ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users