Re: [xwiki-users] Wiki application templates error (SOLVED?)
Hi everyone, I finally solved the issue with a workaround. DB was ok (all tables where using InnoDB) so I simply tried to delete all the pages that triggered the SQL error. Following is the list of conflicting pages: AnnotationCode->Translations Main->SOLRTranslations Main->Welcome Sandbox->Webhome Wikimanager->Translations XWiki->XWikiSyntax* (all pages except "XWikiSyntax" and "XWikiSyntaxClass") After deleting all these pages now I'm able to create subwikis from templates and no SQL errors appears at status.xml. The only thing that I'm able to find in common in all these pages is parent/child relationship in some of them. Maybe it could be interesting if someone at xwiki team reproduces this issue and open a JIRA. Regards, Jaume 2014/1/12 Jaume Giribert Peraire <[email protected]>
Hi,
Thanks again Thomas, looks like I didn't search well...
I found the job status (for other/future people, you will find it at Tomcat work directory ../work/Catalina/localhost/xwiki/jobs/status/wiki/provisioning/wikiprovisioning.template/ ) and it seems that template is not copied to new subwiki due to an SQL error:
<org.xwiki.logging.event.LogEvent> <level>WARN</level> <message>SQL Error: 1062, SQLState: 23000</message> </org.xwiki.logging.event.LogEvent> <org.xwiki.logging.event.LogEvent> <level>ERROR</level> <message>Duplicate entry 'AnnotationCode.Translations--2014-01-12 12:13:40' for key 'XDD_FULLNAME'</message> </org.xwiki.logging.event.LogEvent> <org.xwiki.logging.event.LogEvent> <level>INFO</level> <message>Finished job of type [{}] with identifier [{}]</message> ny
So, it looks like subwiki is created correctly but template is not copied due to duplicate entry error. After that, the UI wizard is called in other to get the Xwiki-UI.
I think the problem may be related to MyISAM/InnoDB MySQL storage Engine. I will check that tomorrow.
Any ideas regarding this issue are welcome.
Regards, Jaume
2014/1/11 Jaume Giribert Peraire <[email protected]>
Hi Thomas,
Thank you so much for your comments. Unfortunately I don't fully understand your answer as I'm not familiar with the "jobs" part.
Are you talking about the Scheduler app? Should I access the job status on http://xxxx:8080/xwiki/bin/.../jobs/status? Can you point me to any documentation related?
Regards, Jaume
* Hi Thomas, *>>* Yes, it looks like the template is not copied when the new subwiki is created. *>>* I tried to switch to Oracle Java6 JVM and updating to the last Tomcat6 *>* version (Centos) but the problem persist. *>>* I'm not really sure where the problem comes from. The only thing I *>* have found is this entry catalina.out: *>>* Jan 10, 2014 6:35:33 PM org.apache.tomcat.util.http.Parameters processParameters *>* WARNING: Parameters: Invalid chunk '' ignored.
On Fri, Jan 10, 2014 at 6:58 PM, Jaume Giribert Peraire <jaume.giribert at gmail.com <http://lists.xwiki.org/mailman/listinfo/users>> wrote: *
Does not really seems to be related. If you have nothing in catalina.out it's probably normal since wiki creation is done in an isolated job, you should be able to find it's status somewhere in <data>/jobs/status/ (not fully sure what are those jobs ids). A pity the UI does not display this log.
* Looks like a problem when calling this URL (note the double && before
* <http://lists.xwiki.org/mailman/listinfo/users <http://lists.xwiki.org/mailman/listinfo/users>>> wrote: *>>** Hi, *>* *>>* I'm working with a fresh install of xwiki 5.3 (centos6 + openjdk 1.6 + *>* *>* tomcat6 + mysql). *>* *>>* I have create a new subwiki (as a template) but whenever I try to create a *>* *>* new subwiki using this template, i only get a blank wiki, just the standard *>* *>* deploy. *>* *>>* I have followed these instructions with no luck: *>* *>* http://extensions.xwiki.org/xwiki/bin/view/Extension/Wiki+Application <http://extensions.xwiki.org/xwiki/bin/view/Extension/Wiki+Application> *>* <http://extensions.xwiki.org/xwiki/bin/view/Extension/Wiki+Application <http://extensions.xwiki.org/xwiki/bin/view/Extension/Wiki+Application>> *>* *>>* Just after the subwiki creation (from a template) I get a progress bar *>* *>* indicating that the system is provisioning the wiki. When I click on *>* *>* "Finalize", I'm automatically redirected to the "Distribution Wizard" page *>* *>* telling me that I have to install "XWiki Enterprise UI - Wiki". If I skip *>* *>* the wizard, the wiki is shown as it didn't have any UI.
* * *>* Sounds like the template hasn't really been copied. *>
** Looking at catalina.out I don't see anything strange. I have also found out *>* *>* that the first created wiki template doesn't show in the "Wiki Template" *>* *>* admin panel. If I create a new template, this new one is shown in "xwiki *>* *>* index" and "xwiki template". If I try to create a new subwiki using this *>* *>* second template the error persist. *>* *>>* Anyone with this issue? *>* *>>* Regards, *>* *>* Jaume *>* *>* _______________________________________________ *>* *>* users mailing list *>* *>* users at xwiki.org <http://xwiki.org> <http://lists.xwiki.org/mailman/listinfo/users <http://lists.xwiki.org/mailman/listinfo/users>> *>* *>* http://lists.xwiki.org/mailman/listinfo/users <http://lists.xwiki.org/mailman/listinfo/users> *>* <http://lists.xwiki.org/mailman/listinfo/users <http://lists.xwiki.org/mailman/listinfo/users>> *>* * *>>>* -- *>* Thomas Mortagne *>>>>* 2014/1/10 Jaume Giribert Peraire <jaume.giribert at gmail.com <http://lists.xwiki.org/mailman/listinfo/users>>
* Hi, *>>>>* I'm working with a fresh install of xwiki 5.3 (centos6 + openjdk 1.6 + *>>* tomcat6 + mysql). *>>>>* I have create a new subwiki (as a template) but whenever I try to create a *>>* new subwiki using this template, i only get a blank wiki, just the standard *>>* deploy. *>>>>* I have followed these instructions with no luck: *>>* http://extensions.xwiki.org/xwiki/bin/view/Extension/Wiki+Application <http://extensions.xwiki.org/xwiki/bin/view/Extension/Wiki+Application> *>>>>* Just after the subwiki creation (from a template) I get a progress bar *>>* indicating that the system is provisioning the wiki. When I click on *>>* "Finalize", I'm automatically redirected to the "Distribution Wizard" page *>>* telling me that I have to install "XWiki Enterprise UI - Wiki". If I skip *>>* the wizard, the wiki is shown as it didn't have any UI. *>>>>* Looking at catalina.out I don't see anything strange. I have also found *>>* out that the first created wiki template doesn't show in the "Wiki *>>* Template" admin panel. If I create a new template, this new one is shown in *>>* "xwiki index" and "xwiki template". If I try to create a new subwiki using *>>* this second template the error persist. *>>>>* Anyone with this issue? *>>>>* Regards, *>>* Jaume *>>>* _______________________________________________ *>* users mailing list *>* users at xwiki.org <http://lists.xwiki.org/mailman/listinfo/users> *>* http://lists.xwiki.org/mailman/listinfo/users <http://lists.xwiki.org/mailman/listinfo/users>
*>* input) when creating the subwiki: *>* http://xxxxxx:8080/xwiki/bin/get/WikiManager/CreateWiki?xpage=uorgsuggest&uo... <http://xxxxxx:8080/xwiki/bin/get/WikiManager/CreateWiki?xpage=uorgsuggest&uorg=user&&input=XWiki.Admin> *>>* I tried to download and install the windows version (comes with Jetty) *>* but I'm not able to reproduce this issue. It works as expected. *>>* Anyone with a similar scenario or any clue where I can found where the issue is? *>>* Regards, *>* Jaume *>>>* On Fri, Jan 10, 2014 at 2:20 PM, Jaume Giribert Peraire *>* <jaume.giribert at gmail.com <http://gmail.com> * * * *
-- Thomas Mortagne
2014/1/10 Jaume Giribert Peraire <[email protected]>
Hi Thomas,
Yes, it looks like the template is not copied when the new subwiki is created.
I tried to switch to Oracle Java6 JVM and updating to the last Tomcat6 version (Centos) but the problem persist.
I'm not really sure where the problem comes from. The only thing I have found is this entry catalina.out:
Jan 10, 2014 6:35:33 PM org.apache.tomcat.util.http.Parameters processParameters WARNING: Parameters: Invalid chunk '' ignored.
Looks like a problem when calling this URL (note the double && before input) when creating the subwiki: http://xxxxxx:8080/xwiki/bin/get/WikiManager/CreateWiki?xpage=uorgsuggest&uo...
I tried to download and install the windows version (comes with Jetty) but I'm not able to reproduce this issue. It works as expected.
Anyone with a similar scenario or any clue where I can found where the issue is?
Regards, Jaume
* Hi, *>>* I'm working with a fresh install of xwiki 5.3 (centos6 + openjdk 1.6 + *>* tomcat6 + mysql). *>>* I have create a new subwiki (as a template) but whenever I try to create a *>* new subwiki using this template, i only get a blank wiki, just the standard *>* deploy. *>>* I have followed these instructions with no luck: *>* http://extensions.xwiki.org/xwiki/bin/view/Extension/Wiki+Application <http://extensions.xwiki.org/xwiki/bin/view/Extension/Wiki+Application> *>>* Just after the subwiki creation (from a template) I get a progress bar *>* indicating that the system is provisioning the wiki. When I click on *>* "Finalize", I'm automatically redirected to the "Distribution Wizard" page *>* telling me that I have to install "XWiki Enterprise UI - Wiki". If I skip *>* the wizard, the wiki is shown as it didn't have any UI.
On Fri, Jan 10, 2014 at 2:20 PM, Jaume Giribert Peraire <jaume.giribert at gmail.com <http://lists.xwiki.org/mailman/listinfo/users>> wrote: *
Sounds like the template hasn't really been copied.
* Looking at catalina.out I don't see anything strange. I have also found out
* _______________________________________________ *>* users mailing list *>* users at xwiki.org <http://lists.xwiki.org/mailman/listinfo/users> *>* http://lists.xwiki.org/mailman/listinfo/users <http://lists.xwiki.org/mailman/listinfo/users>
*>* that the first created wiki template doesn't show in the "Wiki Template" *>* admin panel. If I create a new template, this new one is shown in "xwiki *>* index" and "xwiki template". If I try to create a new subwiki using this *>* second template the error persist. *>>* Anyone with this issue? *>>* Regards, *>* Jaume * *
-- Thomas Mortagne
2014/1/10 Jaume Giribert Peraire <[email protected]>
Hi,
I'm working with a fresh install of xwiki 5.3 (centos6 + openjdk 1.6 + tomcat6 + mysql).
I have create a new subwiki (as a template) but whenever I try to create a new subwiki using this template, i only get a blank wiki, just the standard deploy.
I have followed these instructions with no luck: http://extensions.xwiki.org/xwiki/bin/view/Extension/Wiki+Application
Just after the subwiki creation (from a template) I get a progress bar indicating that the system is provisioning the wiki. When I click on "Finalize", I'm automatically redirected to the "Distribution Wizard" page telling me that I have to install "XWiki Enterprise UI - Wiki". If I skip the wizard, the wiki is shown as it didn't have any UI.
Looking at catalina.out I don't see anything strange. I have also found out that the first created wiki template doesn't show in the "Wiki Template" admin panel. If I create a new template, this new one is shown in "xwiki index" and "xwiki template". If I try to create a new subwiki using this second template the error persist.
Anyone with this issue?
Regards, Jaume
Good afternoon, I have created a JIRA about the fact that the log are not accessible through the UI: http://jira.xwiki.org/browse/XWIKI-9876 But concerning your issue, I don't see why it has happened. 2014/1/13 Jaume Giribert Peraire <[email protected]> > Hi everyone, > > I finally solved the issue with a workaround. DB was ok (all tables where > using InnoDB) so I simply tried to delete all the pages that triggered the > SQL error. > > Following is the list of conflicting pages: > > AnnotationCode->Translations > Main->SOLRTranslations > Main->Welcome > Sandbox->Webhome > Wikimanager->Translations > XWiki->XWikiSyntax* (all pages except "XWikiSyntax" and "XWikiSyntaxClass") > > After deleting all these pages now I'm able to create subwikis from > templates and no SQL errors appears at status.xml. > > The only thing that I'm able to find in common in all these pages is > parent/child relationship in some of them. > > Maybe it could be interesting if someone at xwiki team reproduces this > issue and open a JIRA. > > Regards, > Jaume > > > 2014/1/12 Jaume Giribert Peraire <[email protected]> > > > Hi, > > > > Thanks again Thomas, looks like I didn't search well... > > > > I found the job status (for other/future people, you will find it at > > Tomcat work directory > > > ../work/Catalina/localhost/xwiki/jobs/status/wiki/provisioning/wikiprovisioning.template/ > > ) and it seems that template is not copied to new subwiki due to an SQL > > error: > > > > <org.xwiki.logging.event.LogEvent> > > <level>WARN</level> > > <message>SQL Error: 1062, SQLState: 23000</message> > > </org.xwiki.logging.event.LogEvent> > > <org.xwiki.logging.event.LogEvent> > > <level>ERROR</level> > > <message>Duplicate entry > > 'AnnotationCode.Translations--2014-01-12 12:13:40' for key > > 'XDD_FULLNAME'</message> > > </org.xwiki.logging.event.LogEvent> > > <org.xwiki.logging.event.LogEvent> > > <level>INFO</level> > > <message>Finished job of type [{}] with identifier [{}]</message> > > ny > > > > So, it looks like subwiki is created correctly but template is not copied > > due to duplicate entry error. After that, the UI wizard is called in > other > > to get the Xwiki-UI. > > > > I think the problem may be related to MyISAM/InnoDB MySQL storage Engine. > > I will check that tomorrow. > > > > Any ideas regarding this issue are welcome. > > > > Regards, > > Jaume > > > > > > > > 2014/1/11 Jaume Giribert Peraire <[email protected]> > > > >> Hi Thomas, > >> > >> Thank you so much for your comments. Unfortunately I don't fully > >> understand your answer as I'm not familiar with the "jobs" part. > >> > >> Are you talking about the Scheduler app? Should I access the job status > >> on http://xxxx:8080/xwiki/bin/.../jobs/status? Can you point me to any > >> documentation related? > >> > >> Regards, > >> Jaume > >> > >> On Fri, Jan 10, 2014 at 6:58 PM, Jaume Giribert Peraire > >> <jaume.giribert at gmail.com < > http://lists.xwiki.org/mailman/listinfo/users>> wrote: > >> >* Hi Thomas, > >> *>>* Yes, it looks like the template is not copied when the new subwiki > is created. > >> *>>* I tried to switch to Oracle Java6 JVM and updating to the last > Tomcat6 > >> *>* version (Centos) but the problem persist. > >> *>>* I'm not really sure where the problem comes from. The only thing I > >> *>* have found is this entry catalina.out: > >> *>>* Jan 10, 2014 6:35:33 PM org.apache.tomcat.util.http.Parameters > processParameters > >> *>* WARNING: Parameters: Invalid chunk '' ignored. > >> * > >> > >> Does not really seems to be related. If you have nothing in > >> catalina.out it's probably normal since wiki creation is done in an > >> isolated job, you should be able to find it's status somewhere in > >> <data>/jobs/status/ (not fully sure what are those jobs ids). A pity > >> the UI does not display this log. > >> > >> > > >> >* Looks like a problem when calling this URL (note the double && before > >> *>* input) when creating the subwiki: > >> *>* > http://xxxxxx:8080/xwiki/bin/get/WikiManager/CreateWiki?xpage=uorgsuggest&uorg=user&&input=XWiki.Admin< > http://xxxxxx:8080/xwiki/bin/get/WikiManager/CreateWiki?xpage=uorgsuggest&uorg=user&&input=XWiki.Admin > > > >> *>>* I tried to download and install the windows version (comes with > Jetty) > >> *>* but I'm not able to reproduce this issue. It works as expected. > >> *>>* Anyone with a similar scenario or any clue where I can found where > the issue is? > >> *>>* Regards, > >> *>* Jaume > >> *>>>* On Fri, Jan 10, 2014 at 2:20 PM, Jaume Giribert Peraire > >> *>* <jaume.giribert at gmail.com <http://gmail.com> > >> * > >> >* <http://lists.xwiki.org/mailman/listinfo/users < > http://lists.xwiki.org/mailman/listinfo/users>>> wrote: > >> *>>** Hi, > >> *>* *>>* I'm working with a fresh install of xwiki 5.3 (centos6 + > openjdk 1.6 + > >> *>* *>* tomcat6 + mysql). > >> *>* *>>* I have create a new subwiki (as a template) but whenever I try > to create a > >> *>* *>* new subwiki using this template, i only get a blank wiki, just > the standard > >> *>* *>* deploy. > >> *>* *>>* I have followed these instructions with no luck: > >> *>* *>* > http://extensions.xwiki.org/xwiki/bin/view/Extension/Wiki+Application < > http://extensions.xwiki.org/xwiki/bin/view/Extension/Wiki+Application> > >> *>* < > http://extensions.xwiki.org/xwiki/bin/view/Extension/Wiki+Application < > http://extensions.xwiki.org/xwiki/bin/view/Extension/Wiki+Application>> > >> *>* *>>* Just after the subwiki creation (from a template) I get a > progress bar > >> *>* *>* indicating that the system is provisioning the wiki. When I > click on > >> *>* *>* "Finalize", I'm automatically redirected to the "Distribution > Wizard" page > >> *>* *>* telling me that I have to install "XWiki Enterprise UI - Wiki". > If I skip > >> *>* *>* the wizard, the wiki is shown as it didn't have any UI. > >> * > >> >* * > >> *>* Sounds like the template hasn't really been copied. > >> *> > >> >>>** Looking at catalina.out I don't see anything strange. I have also > found out > >> *>* *>* that the first created wiki template doesn't show in the "Wiki > Template" > >> *>* *>* admin panel. If I create a new template, this new one is shown > in "xwiki > >> *>* *>* index" and "xwiki template". If I try to create a new subwiki > using this > >> *>* *>* second template the error persist. > >> *>* *>>* Anyone with this issue? > >> *>* *>>* Regards, > >> *>* *>* Jaume > >> *>* *>* _______________________________________________ > >> *>* *>* users mailing list > >> *>* *>* users at xwiki.org <http://xwiki.org> < > http://lists.xwiki.org/mailman/listinfo/users < > http://lists.xwiki.org/mailman/listinfo/users>> > >> *>* *>* http://lists.xwiki.org/mailman/listinfo/users < > http://lists.xwiki.org/mailman/listinfo/users> > >> *>* <http://lists.xwiki.org/mailman/listinfo/users < > http://lists.xwiki.org/mailman/listinfo/users>> > >> *>* * > >> *>>>* -- > >> *>* Thomas Mortagne > >> *>>>>* 2014/1/10 Jaume Giribert Peraire <jaume.giribert at gmail.com < > http://lists.xwiki.org/mailman/listinfo/users>> > >> * > >> >>>* Hi, > >> *>>>>* I'm working with a fresh install of xwiki 5.3 (centos6 + openjdk > 1.6 + > >> *>>* tomcat6 + mysql). > >> *>>>>* I have create a new subwiki (as a template) but whenever I try > to create a > >> *>>* new subwiki using this template, i only get a blank wiki, just the > standard > >> *>>* deploy. > >> *>>>>* I have followed these instructions with no luck: > >> *>>* > http://extensions.xwiki.org/xwiki/bin/view/Extension/Wiki+Application < > http://extensions.xwiki.org/xwiki/bin/view/Extension/Wiki+Application> > >> *>>>>* Just after the subwiki creation (from a template) I get a > progress bar > >> *>>* indicating that the system is provisioning the wiki. When I click > on > >> *>>* "Finalize", I'm automatically redirected to the "Distribution > Wizard" page > >> *>>* telling me that I have to install "XWiki Enterprise UI - Wiki". If > I skip > >> *>>* the wizard, the wiki is shown as it didn't have any UI. > >> *>>>>* Looking at catalina.out I don't see anything strange. I have > also found > >> *>>* out that the first created wiki template doesn't show in the "Wiki > >> *>>* Template" admin panel. If I create a new template, this new one is > shown in > >> *>>* "xwiki index" and "xwiki template". If I try to create a new > subwiki using > >> *>>* this second template the error persist. > >> *>>>>* Anyone with this issue? > >> *>>>>* Regards, > >> *>>* Jaume > >> *>>>* _______________________________________________ > >> *>* users mailing list > >> *>* users at xwiki.org <http://lists.xwiki.org/mailman/listinfo/users> > >> *>* http://lists.xwiki.org/mailman/listinfo/users < > http://lists.xwiki.org/mailman/listinfo/users> > >> * > >> > >> > >> -- > >> Thomas Mortagne > >> > >> > >> > >> 2014/1/10 Jaume Giribert Peraire <[email protected]> > >> > >>> Hi Thomas, > >>> > >>> Yes, it looks like the template is not copied when the new subwiki is > created. > >>> > >>> > >>> I tried to switch to Oracle Java6 JVM and updating to the last Tomcat6 > version (Centos) but the problem persist. > >>> > >>> I'm not really sure where the problem comes from. The only thing I > have found is this entry catalina.out: > >>> > >>> Jan 10, 2014 6:35:33 PM org.apache.tomcat.util.http.Parameters > processParameters > >>> WARNING: Parameters: Invalid chunk '' ignored. > >>> > >>> > >>> Looks like a problem when calling this URL (note the double && before > input) when creating the subwiki: > >>> > http://xxxxxx:8080/xwiki/bin/get/WikiManager/CreateWiki?xpage=uorgsuggest&uorg=user&&input=XWiki.Admin > >>> > >>> > >>> I tried to download and install the windows version (comes with Jetty) > but I'm not able to reproduce this issue. It works as expected. > >>> > >>> Anyone with a similar scenario or any clue where I can found where the > issue is? > >>> > >>> > >>> Regards, > >>> Jaume > >>> > >>> > >>> On Fri, Jan 10, 2014 at 2:20 PM, Jaume Giribert Peraire > >>> <jaume.giribert at gmail.com < > http://lists.xwiki.org/mailman/listinfo/users>> wrote: > >>> >* Hi, > >>> *>>* I'm working with a fresh install of xwiki 5.3 (centos6 + openjdk > 1.6 + > >>> *>* tomcat6 + mysql). > >>> *>>* I have create a new subwiki (as a template) but whenever I try to > create a > >>> *>* new subwiki using this template, i only get a blank wiki, just the > standard > >>> *>* deploy. > >>> *>>* I have followed these instructions with no luck: > >>> *>* > http://extensions.xwiki.org/xwiki/bin/view/Extension/Wiki+Application < > http://extensions.xwiki.org/xwiki/bin/view/Extension/Wiki+Application> > >>> *>>* Just after the subwiki creation (from a template) I get a > progress bar > >>> *>* indicating that the system is provisioning the wiki. When I click > on > >>> *>* "Finalize", I'm automatically redirected to the "Distribution > Wizard" page > >>> *>* telling me that I have to install "XWiki Enterprise UI - Wiki". If > I skip > >>> *>* the wizard, the wiki is shown as it didn't have any UI. > >>> * > >>> > >>> Sounds like the template hasn't really been copied. > >>> > >>> > > >>> >* Looking at catalina.out I don't see anything strange. I have also > found out > >>> *>* that the first created wiki template doesn't show in the "Wiki > Template" > >>> *>* admin panel. If I create a new template, this new one is shown in > "xwiki > >>> *>* index" and "xwiki template". If I try to create a new subwiki > using this > >>> *>* second template the error persist. > >>> *>>* Anyone with this issue? > >>> *>>* Regards, > >>> *>* Jaume > >>> * > >>> >* _______________________________________________ > >>> *>* users mailing list > >>> *>* users at xwiki.org <http://lists.xwiki.org/mailman/listinfo/users> > >>> *>* http://lists.xwiki.org/mailman/listinfo/users < > http://lists.xwiki.org/mailman/listinfo/users> > >>> * > >>> > >>> > >>> -- > >>> Thomas Mortagne > >>> > >>> > >>> > >>> 2014/1/10 Jaume Giribert Peraire <[email protected]> > >>> > >>>> Hi, > >>>> > >>>> I'm working with a fresh install of xwiki 5.3 (centos6 + openjdk 1.6 + > >>>> tomcat6 + mysql). > >>>> > >>>> I have create a new subwiki (as a template) but whenever I try to > >>>> create a new subwiki using this template, i only get a blank wiki, > just the > >>>> standard deploy. > >>>> > >>>> I have followed these instructions with no luck: > >>>> http://extensions.xwiki.org/xwiki/bin/view/Extension/Wiki+Application > >>>> > >>>> Just after the subwiki creation (from a template) I get a progress bar > >>>> indicating that the system is provisioning the wiki. When I click on > >>>> "Finalize", I'm automatically redirected to the "Distribution Wizard" > page > >>>> telling me that I have to install "XWiki Enterprise UI - Wiki". If I > skip > >>>> the wizard, the wiki is shown as it didn't have any UI. > >>>> > >>>> Looking at catalina.out I don't see anything strange. I have also > found > >>>> out that the first created wiki template doesn't show in the "Wiki > >>>> Template" admin panel. If I create a new template, this new one is > shown in > >>>> "xwiki index" and "xwiki template". If I try to create a new subwiki > using > >>>> this second template the error persist. > >>>> > >>>> Anyone with this issue? > >>>> > >>>> Regards, > >>>> Jaume > >>>> > >>> > >>> > >> > > > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users >
Hi, Found out that the problem was related to the translated pages! I created the following script to delete all translated pages on the template. Now I'm able to create subwikis from template without any issue and everything works as expected. Thanks Thomas for you help :) Following is the script. I only preserve the "en" version (yeah, I know it's dirty but it works!). Hope it could help someone. {{velocity}}$xwiki.getDocument("AnnotationCode.Translations").getTranslatedDocument("de").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("AnnotationCode.Translations").getTranslatedDocument("da").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("AnnotationCode.Translations").getTranslatedDocument("es").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("AnnotationCode.Translations").getTranslatedDocument("fr").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("AnnotationCode.Translations").getTranslatedDocument("it").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("AnnotationCode.Translations").getTranslatedDocument("nl").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("AnnotationCode.Translations").getTranslatedDocument("pt_BR").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("Main.SolrTranslations").getTranslatedDocument("de").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("Main.SolrTranslations").getTranslatedDocument("es").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("Main.SolrTranslations").getTranslatedDocument("fr").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("Main.SolrTranslations").getTranslatedDocument("nl").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("Main.SolrTranslations").getTranslatedDocument("pt_BR").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("Main.SolrTranslations").getTranslatedDocument("sv").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("Main.Welcome").getTranslatedDocument("ca").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("Main.Welcome").getTranslatedDocument("da").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("Main.Welcome").getTranslatedDocument("de").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("Main.Welcome").getTranslatedDocument("es").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("Main.Welcome").getTranslatedDocument("fr").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("Main.Welcome").getTranslatedDocument("it").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("Main.Welcome").getTranslatedDocument("lv").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("Main.Welcome").getTranslatedDocument("nl").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("Main.Welcome").getTranslatedDocument("pt_BR").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("Main.Welcome").getTranslatedDocument("ro").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("Main.Welcome").getTranslatedDocument("ru").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("Main.Welcome").getTranslatedDocument("sv").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("Main.Welcome").getTranslatedDocument("uk").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("Main.Welcome").getTranslatedDocument("zh").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("Main.Welcome").getTranslatedDocument("zh_TW").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("WikiManager.Translations").getTranslatedDocument("ca").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("WikiManager.Translations").getTranslatedDocument("da").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("WikiManager.Translations").getTranslatedDocument("de").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("WikiManager.Translations").getTranslatedDocument("es").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("WikiManager.Translations").getTranslatedDocument("fr").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("WikiManager.Translations").getTranslatedDocument("it").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("WikiManager.Translations").getTranslatedDocument("lv").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("WikiManager.Translations").getTranslatedDocument("nl").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("WikiManager.Translations").getTranslatedDocument("pt_BR").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("WikiManager.Translations").getTranslatedDocument("ru").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("WikiManager.Translations").getTranslatedDocument("sv").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxDefinitionLists").getTranslatedDocument("de").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxDefinitionLists").getTranslatedDocument("fr").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxDefinitionLists").getTranslatedDocument("it").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxDefinitionLists").getTranslatedDocument("lv").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxDefinitionLists").getTranslatedDocument("sv").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxEscapes").getTranslatedDocument("de").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxEscapes").getTranslatedDocument("fr").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxEscapes").getTranslatedDocument("it").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxEscapes").getTranslatedDocument("lv").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxEscapes").getTranslatedDocument("sv").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxGeneralRemarks").getTranslatedDocument("de").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxGeneralRemarks").getTranslatedDocument("fr").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxGeneralRemarks").getTranslatedDocument("it").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxGeneralRemarks").getTranslatedDocument("lv").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxGeneralRemarks").getTranslatedDocument("sv").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxGroups").getTranslatedDocument("de").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxGroups").getTranslatedDocument("fr").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxGroups").getTranslatedDocument("it").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxGroups").getTranslatedDocument("lv").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxGroups").getTranslatedDocument("sv").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxHTML").getTranslatedDocument("de").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxHTML").getTranslatedDocument("fr").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxHTML").getTranslatedDocument("it").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxHTML").getTranslatedDocument("lv").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxHTML").getTranslatedDocument("sv").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxHeadings").getTranslatedDocument("de").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxHeadings").getTranslatedDocument("fr").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxHeadings").getTranslatedDocument("it").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxHeadings").getTranslatedDocument("lv").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxHeadings").getTranslatedDocument("sv").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxHorizontalLine").getTranslatedDocument("de").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxHorizontalLine").getTranslatedDocument("fr").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxHorizontalLine").getTranslatedDocument("it").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxHorizontalLine").getTranslatedDocument("lv").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxHorizontalLine").getTranslatedDocument("sv").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxImages").getTranslatedDocument("de").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxImages").getTranslatedDocument("fr").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxImages").getTranslatedDocument("it").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxImages").getTranslatedDocument("lv").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxImages").getTranslatedDocument("sv").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxIntroduction").getTranslatedDocument("de").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxIntroduction").getTranslatedDocument("fr").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxIntroduction").getTranslatedDocument("it").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxIntroduction").getTranslatedDocument("lv").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxIntroduction").getTranslatedDocument("sv").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxLinks").getTranslatedDocument("de").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxLinks").getTranslatedDocument("fr").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxLinks").getTranslatedDocument("it").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxLinks").getTranslatedDocument("lv").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxLinks").getTranslatedDocument("sv").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxLists").getTranslatedDocument("de").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxLists").getTranslatedDocument("fr").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxLists").getTranslatedDocument("it").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxLists").getTranslatedDocument("lv").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxLists").getTranslatedDocument("sv").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxMacros").getTranslatedDocument("de").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxMacros").getTranslatedDocument("fr").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxMacros").getTranslatedDocument("it").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxMacros").getTranslatedDocument("lv").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxMacros").getTranslatedDocument("sv").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxNewLineLineBreaks").getTranslatedDocument("de").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxNewLineLineBreaks").getTranslatedDocument("fr").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxNewLineLineBreaks").getTranslatedDocument("it").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxNewLineLineBreaks").getTranslatedDocument("lv").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxNewLineLineBreaks").getTranslatedDocument("sv").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxOtherSyntaxes").getTranslatedDocument("de").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxOtherSyntaxes").getTranslatedDocument("fr").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxOtherSyntaxes").getTranslatedDocument("it").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxOtherSyntaxes").getTranslatedDocument("lv").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxOtherSyntaxes").getTranslatedDocument("sv").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxParagraphs").getTranslatedDocument("de").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxParagraphs").getTranslatedDocument("fr").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxParagraphs").getTranslatedDocument("it").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxParagraphs").getTranslatedDocument("lv").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxParagraphs").getTranslatedDocument("sv").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxParameters").getTranslatedDocument("de").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxParameters").getTranslatedDocument("fr").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxParameters").getTranslatedDocument("it").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxParameters").getTranslatedDocument("lv").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxParameters").getTranslatedDocument("sv").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxQuotations").getTranslatedDocument("de").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxQuotations").getTranslatedDocument("fr").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxQuotations").getTranslatedDocument("it").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxQuotations").getTranslatedDocument("lv").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxQuotations").getTranslatedDocument("sv").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxScripts").getTranslatedDocument("de").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxScripts").getTranslatedDocument("fr").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxScripts").getTranslatedDocument("it").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxScripts").getTranslatedDocument("lv").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxScripts").getTranslatedDocument("sv").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxTables").getTranslatedDocument("de").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxTables").getTranslatedDocument("fr").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxTables").getTranslatedDocument("it").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxTables").getTranslatedDocument("lv").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxTables").getTranslatedDocument("sv").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxTextFormatting").getTranslatedDocument("de").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxTextFormatting").getTranslatedDocument("fr").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxTextFormatting").getTranslatedDocument("it").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxTextFormatting").getTranslatedDocument("lv").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxTextFormatting").getTranslatedDocument("sv").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxTranslations").getTranslatedDocument("de").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxTranslations").getTranslatedDocument("fr").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxVerbatim").getTranslatedDocument("de").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxVerbatim").getTranslatedDocument("fr").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxVerbatim").getTranslatedDocument("it").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxVerbatim").getTranslatedDocument("lv").delete(){{/velocity}} {{velocity}}$xwiki.getDocument("XWiki.XWikiSyntaxVerbatim").getTranslatedDocument("sv").delete(){{/velocity}}
participants (2)
-
Guillaume "Louis-Marie" Delhumeau -
Jaume Giribert Peraire