Re: [xwiki-users] Set Parent in XWiki 8.0

2016-03-25 Thread Personal
Thank you Matthias! I know it wasn’t intentional but I am working on a similar issue and your code example was extremely useful. Regards, Jesse Bright > On Mar 25, 2016, at 3:10 PM, Matthias Wegner wrote: > > Hi Vincent, > > thanks, now it is clear and works. But i

[xwiki-users] Fetching resources from cdn

2016-03-25 Thread Andrew Kuang
Hi, I had a question regarding resource calls in XWiki. Currently, they are being made to my local environment and I would like to know if there is any simple way to modify the calls to fetch the resources from a CDN. I was able to replicate my desired functionality by extending the

Re: [xwiki-users] Upgrade To 8.0 - Permissions / Admin Pages Problem

2016-03-25 Thread Keith Davis
Restored back to 7.4.2 (files and database). Not sure how to proceed. Can't upgrade with resolving this issue. Keith Davis (214) 906-5183 From: Keith Davis Sent: Friday, March 25, 2016 4:52 PM To: 'XWiki Users' Subject: RE: Upgrade To 8.0 - Permissions / Admin Pages Problem When I attempt to

Re: [xwiki-users] Set Parent in XWiki 8.0

2016-03-25 Thread Matthias Wegner
Hi Vincent, thanks, now it is clear and works. But i used a query like #set($hql = "where doc.parent='Book.WebHome' and not doc.name='WebPreferences' order by doc.title asc") #set($chapters = $xwiki.searchDocuments($hql, 0, 0)) to get all Documents in den Space "Book" (old model). It shows all

Re: [xwiki-users] Upgrade To 8.0 - Permissions / Admin Pages Problem

2016-03-25 Thread Keith Davis
When I attempt to upgrade back to 8.0, I get the Distribution Wizard and that attempts to upgrade and then fails: Extension [org.xwiki.platform:xwiki-platform-distribution-flavor-8.0] is already installed on namespace [wiki:xwiki] class org.xwiki.extension.InstallException: Failed to resolve

Re: [xwiki-users] Upgrade To 8.0 - Permissions / Admin Pages Problem

2016-03-25 Thread Keith Davis
Downgraded to 7.4.2, that seemed to work fine but only user that has Edit right is still only Admin and no ability to access administer pages. Keith Davis (214) 906-5183 From: Keith Davis Sent: Friday, March 25, 2016 4:12 PM To: XWiki Users Subject: Upgrade To 8.0 - Permissions / Admin Pages

[xwiki-users] Upgrade To 8.0 - Permissions / Admin Pages Problem

2016-03-25 Thread Keith Davis
After the upgrade (from 7.4.2), I got the Distribution Wizard, but it seemed to stop at one point and gave me 2 options: Later & Never. I have no idea why. I hit Later, then restarted, did not get the wizard again. We are able to login, but the only user that can Edit is the "Admin" account,

Re: [xwiki-users] 7.4.2 To 8.0 Failure

2016-03-25 Thread Vincent Massol
> On 25 Mar 2016, at 18:28, Keith Davis wrote: > > So that's a no. > > For some us (like me) who are very inept when it comes to Java & Apache > Tomcat, it would be helpful if this was more prominent (and specific). I do > what those instructions specify ("When

Re: [xwiki-users] 7.4.2 To 8.0 Failure

2016-03-25 Thread Keith Davis
So that's a no. For some us (like me) who are very inept when it comes to Java & Apache Tomcat, it would be helpful if this was more prominent (and specific). I do what those instructions specify ("When upgrading make sure you compare your xwiki.cfg, xwiki.properties and web.xml files with

Re: [xwiki-users] 7.4.2 To 8.0 Failure

2016-03-25 Thread Thomas Mortagne
On Fri, Mar 25, 2016 at 6:20 PM, Keith Davis wrote: > About that, I looked over the release notes, but there are so many and this > the second time this has happened, that I missed something in the release > notes. Upgrading is very difficult for us. Anyway that

Re: [xwiki-users] 7.4.2 To 8.0 Failure

2016-03-25 Thread Keith Davis
About that, I looked over the release notes, but there are so many and this the second time this has happened, that I missed something in the release notes. Upgrading is very difficult for us. Anyway that these types of changes could be highlighted, like "Hey, these changes could break your

Re: [xwiki-users] 7.4.2 To 8.0 Failure

2016-03-25 Thread Vincent Massol
Glad you found it. Seems you missed it from the release notes for 8.0: http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki80#HIssuesspecifictoXWiki8.0Milestone1 :) Thanks -Vincent > On 25 Mar 2016, at 18:15, Keith Davis wrote: > > Found the problem.

Re: [xwiki-users] 7.4.2 To 8.0 Failure

2016-03-25 Thread Keith Davis
Found the problem. The new web.xml removed these lines, but I did not accept these changes (we store the config in Git). I used the new file "as-is" and now it loads. diff --git a/web.xml b/web.xml index 918b0a2..929100f 100644 --- a/web.xml +++ b/web.xml @@ -83,12 +83,6 @@

Re: [xwiki-users] 7.4.2 To 8.0 Failure

2016-03-25 Thread Keith Davis
The only thing we have changed is to replace the xwiki folder that was 7.4.2 with the files from the WAR from 8.0. Keith Davis (214) 906-5183 -Original Message- From: users [mailto:users-boun...@xwiki.org] On Behalf Of Keith Davis Sent: Friday, March 25, 2016 12:11 PM To: XWiki Users

Re: [xwiki-users] 7.4.2 To 8.0 Failure

2016-03-25 Thread Keith Davis
I don't know what that means. Keith Davis (214) 906-5183 -Original Message- From: users [mailto:users-boun...@xwiki.org] On Behalf Of Thomas Mortagne Sent: Friday, March 25, 2016 12:10 PM To: XWiki Users Subject: Re: [xwiki-users] 7.4.2 To 8.0 Failure No idea. I usually have everything

Re: [xwiki-users] 7.4.2 To 8.0 Failure

2016-03-25 Thread Thomas Mortagne
No idea. I usually have everything in catalina.out. On Fri, Mar 25, 2016 at 6:06 PM, Keith Davis wrote: > " Full details will be found in the appropriate container log file" > > Yea, I saw that, but what log file is this referring to? > > Keith Davis (214) 906-5183 >

Re: [xwiki-users] 7.4.2 To 8.0 Failure

2016-03-25 Thread Keith Davis
" Full details will be found in the appropriate container log file" Yea, I saw that, but what log file is this referring to? Keith Davis (214) 906-5183 -Original Message- From: users [mailto:users-boun...@xwiki.org] On Behalf Of Thomas Mortagne Sent: Friday, March 25, 2016 12:05 PM To:

Re: [xwiki-users] 7.4.2 To 8.0 Failure

2016-03-25 Thread Thomas Mortagne
Note sure how tomcat is configured on your system but "One or more Filters failed to start. Full details will be found in the appropriate container log file" seems to indicate this is the interesting log file :) On Fri, Mar 25, 2016 at 5:34 PM, Keith Davis wrote: >

Re: [xwiki-users] 7.4.2 To 8.0 Failure

2016-03-25 Thread Keith Davis
tomcat8-stderr: 2016-03-25 11:32:03 Commons Daemon procrun stderr initialized 25-Mar-2016 11:32:04.281 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/8.0.23 25-Mar-2016 11:32:04.283 INFO [main]

Re: [xwiki-users] 7.4.2 To 8.0 Failure

2016-03-25 Thread Thomas Mortagne
You should share the complete log you get when starting Tomcat. Looks like it fail to initialize XWiki application for some reason. Usually the most interesting is the first error, here you shared only consequences of the root issue. On Fri, Mar 25, 2016 at 5:17 PM, Keith Davis

Re: [xwiki-users] 7.4.2 To 8.0 Failure

2016-03-25 Thread Keith Davis
25-Mar-2016 11:26:48.480 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal One or more Filters failed to start. Full details will be found in the appropriate container log file 25-Mar-2016 11:26:48.480 SEVERE [localhost-startStop-1]

Re: [xwiki-users] 7.4.2 To 8.0 Failure

2016-03-25 Thread Keith Davis
25-Mar-2016 11:00:14.478 INFO [Core extension repository updater] org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading Illegal access: this web application instance has been stopped already. Could not load [org.xwiki.extension.repository.xwiki.internal.XWikiExtension].

[xwiki-users] 7.4.2 To 8.0 Failure

2016-03-25 Thread Keith Davis
I followed our exact process in this upgrade that we have done with all previous versions and now we are getting this error. Any pointers as to what changed that could cause this? HTTP Status 404 - /xwiki type Status report message /xwiki description The requested resource is not available.

Re: [xwiki-users] Creating Nested Page Hierarchies

2016-03-25 Thread Personal
So after looking through the API docs I see that $xwiki.searchDocuments is also deprecated so I have updated my code to: {{velocity}} #set($query="where doc.space='$doc.getSpace()'") #set($results = false) #set($results = $services.query.xwql($query).execute()) #foreach($docname in $results)

[xwiki-users] Migration Guide to Nested Pages

2016-03-25 Thread Vincent Massol
To all XWiki users, If you’re upgrading from a version of XWiki < 7.2 and moving to a version > 7.2 (don’t use 7.2 or 7.3, you should use 7.4.2), then you should read this page: http://platform.xwiki.org/xwiki/bin/view/Features/ContentOrganization It explains the concept of Nested Pages and

Re: [xwiki-users] Set Parent in XWiki 8.0

2016-03-25 Thread Vincent Massol
Hi Matthias, > On 25 Mar 2016, at 13:21, Matthias Wegner wrote: > > Hi Users, > > i added over 500 Pages to the new XWiki and now want to sort it in depth. > But i cant find the "Change Parent" Symbol in Edit-Mode. Where can i change > the Parent of a Page? See

[xwiki-users] Set Parent in XWiki 8.0

2016-03-25 Thread Matthias Wegner
Hi Users, i added over 500 Pages to the new XWiki and now want to sort it in depth. But i cant find the "Change Parent" Symbol in Edit-Mode. Where can i change the Parent of a Page? Regards, Matthias -- View this message in context: