[xwiki-users] How to get property data type

2016-08-02 Thread dullfig
hello:

This seems like a simple question, but I looked through the API and couldn't
igure it out. How do you get the data type of a field? is there a way to
know from velocity if a field is a text field, number, date, etc?

Dan



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/How-to-get-property-data-type-tp7600548.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Ubuntu 16.04 fail install

2016-08-02 Thread Dev Dev
Ok I had to change the /etc/default/tomcat7:
JAVA_HOME=/usr/lib/jvm/java-8-oracle

I think my problem was because I installed openjdk and the
installation was all messed up.

Thank you Thomas for all the help.



2016-08-02 16:39 GMT-04:00 Dev Dev :
> Aug 02, 2016 4:31:04 PM org.apache.catalina.core.StandardContext startInternal
> SEVERE: Context [/xwiki] startup failed due to previous errors
>
> 2016-08-02 16:39 GMT-04:00 Dev Dev :
>> The file exist, I have also installed the manager webapp and I can see
>> /xwiki, but when trying to start it I get:
>>
>> 2016-08-02 14:42 GMT-04:00 Thomas Mortagne :
>>> I just tried on a fresh Ubuntu 14.04 VM and it worked well for me.
>>>
>>> Make sure you have a xwiki.xml link in
>>> /etc/tomcat7/Catalina/localhost/ which targets
>>> /etc/xwiki/xwiki-tomcat7.xml.
>>>
>>> By the way in case you did not already, make sure you look at
>>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT#HMemory
>>> since standard Tomcat 7 on Ubuntu 14.04 does not have much memory
>>> allocated.
>>>
>>> On Tue, Aug 2, 2016 at 7:00 PM, Dev Dev  wrote:
 http://my.dns:8080/xwiki/ = HTTP 404 - /xwiki/ (Tomcat)


 2016-08-02 12:55 GMT-04:00 Thomas Mortagne :
> You probably missed the /xwiki/ part in the URL. XWiki does not force
> itself as default application in Tomcat.
>
> On Tue, Aug 2, 2016 at 5:44 PM, Dev Dev  wrote:
>> Ok it works on Ubuntu 14.04 when installing (maybe updating the
>> documentation so people don't use openjdk?)
>> http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html
>>
>> But after the installation:
>> dbconfig-common: writing config to /etc/dbconfig-common/xwiki.conf
>> Creating config file /etc/dbconfig-common/xwiki.conf with new version
>> Creating config file /etc/xwiki/hibernate.cfg.xml with new version
>> granting access to database xwiki for xwiki@localhost: success.
>> verifying access for xwiki@localhost: success.
>> creating database xwiki: success.
>> verifying database xwiki exists: success.
>> dbconfig-common: flushing administrative password
>> allow xwiki user to create new databases
>> Setting up authbind (2.1.1) ...
>> Processing triggers for ureadahead (0.100.0-16) ...
>> Setting up xwiki-enterprise-tomcat7-common (8.2.1) ...
>>  * Stopping Tomcat servlet engine tomcat7
>>   [ OK ]
>>  * Starting Tomcat servlet engine tomcat7
>>   [ OK ]
>> Setting up xwiki-enterprise-tomcat7-mysql (8.2.1) ...
>>  * Stopping Tomcat servlet engine tomcat7
>>   [ OK ]
>>  * Starting Tomcat servlet engine tomcat7
>>
>> All I see on :8080 is "It works! If you're seeing this page via a web
>> browser, it means you've setup Tomcat successfully. Congratulations!"
>>
>> Any idea?
>>
>> 2016-08-02 10:06 GMT-04:00 Thomas Mortagne :
>>> Actually I just checked to be sure and Ubuntu 14.04 standard
>>> repository don't have any openjdk 8. That's probably your issue.
>>>
>>> I personally use
>>> http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html
>>> to install Oracle jvm and it's working like a charm.
>>>
>>> On Tue, Aug 2, 2016 at 3:55 PM, Thomas Mortagne
>>>  wrote:
 What error do you get exactly and are you sure you are installing 8.2
 since http://jira.xwiki.org/browse/XWIKI-13590 is fixed in 8.2 ?

 On Tue, Aug 2, 2016 at 3:45 PM, Dev Dev  
 wrote:
> I tried it also on Ubuntu 14.04 LTS but many errors about dependencies
> not satisfied. Found a post that said it was fixed, but still not
> working:
> http://jira.xwiki.org/browse/XWIKI-13590
>
> In short, is it possible to install xwiki using the apt-get /
> documentation on Ubuntu 14.04 & 16.04?

 I'm using Ubuntu 14.04 and it's working well. I did not hit
 http://jira.xwiki.org/browse/XWIKI-13590 because I install Oracle
 version of Java before XWiki.

>
> Anyone?
>
> 2016-08-02 4:44 GMT-04:00 Thomas Mortagne :
>> The issue seems to be in Tomcat package which XWiki just declare as
>> dependency but for some reason Ubuntu failed to install it.
>>
>>> Job for tomcat7.service failed because the control process exited 
>>> with error code. See "systemctl status tomcat7.service" and 
>>> "journalctl -xe" for details.
>>
>> I guess you should looks at 

Re: [xwiki-users] Ubuntu 16.04 fail install

2016-08-02 Thread Dev Dev
Aug 02, 2016 4:31:04 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/xwiki] startup failed due to previous errors

2016-08-02 16:39 GMT-04:00 Dev Dev :
> The file exist, I have also installed the manager webapp and I can see
> /xwiki, but when trying to start it I get:
>
> 2016-08-02 14:42 GMT-04:00 Thomas Mortagne :
>> I just tried on a fresh Ubuntu 14.04 VM and it worked well for me.
>>
>> Make sure you have a xwiki.xml link in
>> /etc/tomcat7/Catalina/localhost/ which targets
>> /etc/xwiki/xwiki-tomcat7.xml.
>>
>> By the way in case you did not already, make sure you look at
>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT#HMemory
>> since standard Tomcat 7 on Ubuntu 14.04 does not have much memory
>> allocated.
>>
>> On Tue, Aug 2, 2016 at 7:00 PM, Dev Dev  wrote:
>>> http://my.dns:8080/xwiki/ = HTTP 404 - /xwiki/ (Tomcat)
>>>
>>>
>>> 2016-08-02 12:55 GMT-04:00 Thomas Mortagne :
 You probably missed the /xwiki/ part in the URL. XWiki does not force
 itself as default application in Tomcat.

 On Tue, Aug 2, 2016 at 5:44 PM, Dev Dev  wrote:
> Ok it works on Ubuntu 14.04 when installing (maybe updating the
> documentation so people don't use openjdk?)
> http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html
>
> But after the installation:
> dbconfig-common: writing config to /etc/dbconfig-common/xwiki.conf
> Creating config file /etc/dbconfig-common/xwiki.conf with new version
> Creating config file /etc/xwiki/hibernate.cfg.xml with new version
> granting access to database xwiki for xwiki@localhost: success.
> verifying access for xwiki@localhost: success.
> creating database xwiki: success.
> verifying database xwiki exists: success.
> dbconfig-common: flushing administrative password
> allow xwiki user to create new databases
> Setting up authbind (2.1.1) ...
> Processing triggers for ureadahead (0.100.0-16) ...
> Setting up xwiki-enterprise-tomcat7-common (8.2.1) ...
>  * Stopping Tomcat servlet engine tomcat7
>   [ OK ]
>  * Starting Tomcat servlet engine tomcat7
>   [ OK ]
> Setting up xwiki-enterprise-tomcat7-mysql (8.2.1) ...
>  * Stopping Tomcat servlet engine tomcat7
>   [ OK ]
>  * Starting Tomcat servlet engine tomcat7
>
> All I see on :8080 is "It works! If you're seeing this page via a web
> browser, it means you've setup Tomcat successfully. Congratulations!"
>
> Any idea?
>
> 2016-08-02 10:06 GMT-04:00 Thomas Mortagne :
>> Actually I just checked to be sure and Ubuntu 14.04 standard
>> repository don't have any openjdk 8. That's probably your issue.
>>
>> I personally use
>> http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html
>> to install Oracle jvm and it's working like a charm.
>>
>> On Tue, Aug 2, 2016 at 3:55 PM, Thomas Mortagne
>>  wrote:
>>> What error do you get exactly and are you sure you are installing 8.2
>>> since http://jira.xwiki.org/browse/XWIKI-13590 is fixed in 8.2 ?
>>>
>>> On Tue, Aug 2, 2016 at 3:45 PM, Dev Dev  wrote:
 I tried it also on Ubuntu 14.04 LTS but many errors about dependencies
 not satisfied. Found a post that said it was fixed, but still not
 working:
 http://jira.xwiki.org/browse/XWIKI-13590

 In short, is it possible to install xwiki using the apt-get /
 documentation on Ubuntu 14.04 & 16.04?
>>>
>>> I'm using Ubuntu 14.04 and it's working well. I did not hit
>>> http://jira.xwiki.org/browse/XWIKI-13590 because I install Oracle
>>> version of Java before XWiki.
>>>

 Anyone?

 2016-08-02 4:44 GMT-04:00 Thomas Mortagne :
> The issue seems to be in Tomcat package which XWiki just declare as
> dependency but for some reason Ubuntu failed to install it.
>
>> Job for tomcat7.service failed because the control process exited 
>> with error code. See "systemctl status tomcat7.service" and 
>> "journalctl -xe" for details.
>
> I guess you should looks at the suggested logs.
>
> On Mon, Aug 1, 2016 at 10:49 PM, Dev Dev  
> wrote:
>> Hi,
>>
>> I am trying to install xwiki (mysql) using the doc at:
>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT
>>
>> Here's the output:
>> http://paste.ubuntu.com/21810285/

Re: [xwiki-users] Ubuntu 16.04 fail install

2016-08-02 Thread Dev Dev
The file exist, I have also installed the manager webapp and I can see
/xwiki, but when trying to start it I get:

2016-08-02 14:42 GMT-04:00 Thomas Mortagne :
> I just tried on a fresh Ubuntu 14.04 VM and it worked well for me.
>
> Make sure you have a xwiki.xml link in
> /etc/tomcat7/Catalina/localhost/ which targets
> /etc/xwiki/xwiki-tomcat7.xml.
>
> By the way in case you did not already, make sure you look at
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT#HMemory
> since standard Tomcat 7 on Ubuntu 14.04 does not have much memory
> allocated.
>
> On Tue, Aug 2, 2016 at 7:00 PM, Dev Dev  wrote:
>> http://my.dns:8080/xwiki/ = HTTP 404 - /xwiki/ (Tomcat)
>>
>>
>> 2016-08-02 12:55 GMT-04:00 Thomas Mortagne :
>>> You probably missed the /xwiki/ part in the URL. XWiki does not force
>>> itself as default application in Tomcat.
>>>
>>> On Tue, Aug 2, 2016 at 5:44 PM, Dev Dev  wrote:
 Ok it works on Ubuntu 14.04 when installing (maybe updating the
 documentation so people don't use openjdk?)
 http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html

 But after the installation:
 dbconfig-common: writing config to /etc/dbconfig-common/xwiki.conf
 Creating config file /etc/dbconfig-common/xwiki.conf with new version
 Creating config file /etc/xwiki/hibernate.cfg.xml with new version
 granting access to database xwiki for xwiki@localhost: success.
 verifying access for xwiki@localhost: success.
 creating database xwiki: success.
 verifying database xwiki exists: success.
 dbconfig-common: flushing administrative password
 allow xwiki user to create new databases
 Setting up authbind (2.1.1) ...
 Processing triggers for ureadahead (0.100.0-16) ...
 Setting up xwiki-enterprise-tomcat7-common (8.2.1) ...
  * Stopping Tomcat servlet engine tomcat7
   [ OK ]
  * Starting Tomcat servlet engine tomcat7
   [ OK ]
 Setting up xwiki-enterprise-tomcat7-mysql (8.2.1) ...
  * Stopping Tomcat servlet engine tomcat7
   [ OK ]
  * Starting Tomcat servlet engine tomcat7

 All I see on :8080 is "It works! If you're seeing this page via a web
 browser, it means you've setup Tomcat successfully. Congratulations!"

 Any idea?

 2016-08-02 10:06 GMT-04:00 Thomas Mortagne :
> Actually I just checked to be sure and Ubuntu 14.04 standard
> repository don't have any openjdk 8. That's probably your issue.
>
> I personally use
> http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html
> to install Oracle jvm and it's working like a charm.
>
> On Tue, Aug 2, 2016 at 3:55 PM, Thomas Mortagne
>  wrote:
>> What error do you get exactly and are you sure you are installing 8.2
>> since http://jira.xwiki.org/browse/XWIKI-13590 is fixed in 8.2 ?
>>
>> On Tue, Aug 2, 2016 at 3:45 PM, Dev Dev  wrote:
>>> I tried it also on Ubuntu 14.04 LTS but many errors about dependencies
>>> not satisfied. Found a post that said it was fixed, but still not
>>> working:
>>> http://jira.xwiki.org/browse/XWIKI-13590
>>>
>>> In short, is it possible to install xwiki using the apt-get /
>>> documentation on Ubuntu 14.04 & 16.04?
>>
>> I'm using Ubuntu 14.04 and it's working well. I did not hit
>> http://jira.xwiki.org/browse/XWIKI-13590 because I install Oracle
>> version of Java before XWiki.
>>
>>>
>>> Anyone?
>>>
>>> 2016-08-02 4:44 GMT-04:00 Thomas Mortagne :
 The issue seems to be in Tomcat package which XWiki just declare as
 dependency but for some reason Ubuntu failed to install it.

> Job for tomcat7.service failed because the control process exited 
> with error code. See "systemctl status tomcat7.service" and 
> "journalctl -xe" for details.

 I guess you should looks at the suggested logs.

 On Mon, Aug 1, 2016 at 10:49 PM, Dev Dev  
 wrote:
> Hi,
>
> I am trying to install xwiki (mysql) using the doc at:
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT
>
> Here's the output:
> http://paste.ubuntu.com/21810285/
>
> Setting up tomcat7 (7.0.68-1ubuntu0.1) ...
>
> Creating config file /etc/default/tomcat7 with new version
>
> Adding system user `tomcat7' (UID 113) ...
>
> Adding new user `tomcat7' (UID 113) with group `tomcat7' ...
>
> Not 

Re: [xwiki-users] Ubuntu 16.04 fail install

2016-08-02 Thread Thomas Mortagne
I just tried on a fresh Ubuntu 14.04 VM and it worked well for me.

Make sure you have a xwiki.xml link in
/etc/tomcat7/Catalina/localhost/ which targets
/etc/xwiki/xwiki-tomcat7.xml.

By the way in case you did not already, make sure you look at
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT#HMemory
since standard Tomcat 7 on Ubuntu 14.04 does not have much memory
allocated.

On Tue, Aug 2, 2016 at 7:00 PM, Dev Dev  wrote:
> http://my.dns:8080/xwiki/ = HTTP 404 - /xwiki/ (Tomcat)
>
>
> 2016-08-02 12:55 GMT-04:00 Thomas Mortagne :
>> You probably missed the /xwiki/ part in the URL. XWiki does not force
>> itself as default application in Tomcat.
>>
>> On Tue, Aug 2, 2016 at 5:44 PM, Dev Dev  wrote:
>>> Ok it works on Ubuntu 14.04 when installing (maybe updating the
>>> documentation so people don't use openjdk?)
>>> http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html
>>>
>>> But after the installation:
>>> dbconfig-common: writing config to /etc/dbconfig-common/xwiki.conf
>>> Creating config file /etc/dbconfig-common/xwiki.conf with new version
>>> Creating config file /etc/xwiki/hibernate.cfg.xml with new version
>>> granting access to database xwiki for xwiki@localhost: success.
>>> verifying access for xwiki@localhost: success.
>>> creating database xwiki: success.
>>> verifying database xwiki exists: success.
>>> dbconfig-common: flushing administrative password
>>> allow xwiki user to create new databases
>>> Setting up authbind (2.1.1) ...
>>> Processing triggers for ureadahead (0.100.0-16) ...
>>> Setting up xwiki-enterprise-tomcat7-common (8.2.1) ...
>>>  * Stopping Tomcat servlet engine tomcat7
>>>   [ OK ]
>>>  * Starting Tomcat servlet engine tomcat7
>>>   [ OK ]
>>> Setting up xwiki-enterprise-tomcat7-mysql (8.2.1) ...
>>>  * Stopping Tomcat servlet engine tomcat7
>>>   [ OK ]
>>>  * Starting Tomcat servlet engine tomcat7
>>>
>>> All I see on :8080 is "It works! If you're seeing this page via a web
>>> browser, it means you've setup Tomcat successfully. Congratulations!"
>>>
>>> Any idea?
>>>
>>> 2016-08-02 10:06 GMT-04:00 Thomas Mortagne :
 Actually I just checked to be sure and Ubuntu 14.04 standard
 repository don't have any openjdk 8. That's probably your issue.

 I personally use
 http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html
 to install Oracle jvm and it's working like a charm.

 On Tue, Aug 2, 2016 at 3:55 PM, Thomas Mortagne
  wrote:
> What error do you get exactly and are you sure you are installing 8.2
> since http://jira.xwiki.org/browse/XWIKI-13590 is fixed in 8.2 ?
>
> On Tue, Aug 2, 2016 at 3:45 PM, Dev Dev  wrote:
>> I tried it also on Ubuntu 14.04 LTS but many errors about dependencies
>> not satisfied. Found a post that said it was fixed, but still not
>> working:
>> http://jira.xwiki.org/browse/XWIKI-13590
>>
>> In short, is it possible to install xwiki using the apt-get /
>> documentation on Ubuntu 14.04 & 16.04?
>
> I'm using Ubuntu 14.04 and it's working well. I did not hit
> http://jira.xwiki.org/browse/XWIKI-13590 because I install Oracle
> version of Java before XWiki.
>
>>
>> Anyone?
>>
>> 2016-08-02 4:44 GMT-04:00 Thomas Mortagne :
>>> The issue seems to be in Tomcat package which XWiki just declare as
>>> dependency but for some reason Ubuntu failed to install it.
>>>
 Job for tomcat7.service failed because the control process exited with 
 error code. See "systemctl status tomcat7.service" and "journalctl 
 -xe" for details.
>>>
>>> I guess you should looks at the suggested logs.
>>>
>>> On Mon, Aug 1, 2016 at 10:49 PM, Dev Dev  
>>> wrote:
 Hi,

 I am trying to install xwiki (mysql) using the doc at:
 http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT

 Here's the output:
 http://paste.ubuntu.com/21810285/

 Setting up tomcat7 (7.0.68-1ubuntu0.1) ...

 Creating config file /etc/default/tomcat7 with new version

 Adding system user `tomcat7' (UID 113) ...

 Adding new user `tomcat7' (UID 113) with group `tomcat7' ...

 Not creating home directory `/usr/share/tomcat7'.

 Creating config file /etc/logrotate.d/tomcat7 with new version

 Job for tomcat7.service failed because the control process exited with
 error code. See "systemctl status tomcat7.service" and "journalctl
 -xe" 

Re: [xwiki-users] Ubuntu 16.04 fail install

2016-08-02 Thread Dev Dev
http://my.dns:8080/xwiki/ = HTTP 404 - /xwiki/ (Tomcat)


2016-08-02 12:55 GMT-04:00 Thomas Mortagne :
> You probably missed the /xwiki/ part in the URL. XWiki does not force
> itself as default application in Tomcat.
>
> On Tue, Aug 2, 2016 at 5:44 PM, Dev Dev  wrote:
>> Ok it works on Ubuntu 14.04 when installing (maybe updating the
>> documentation so people don't use openjdk?)
>> http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html
>>
>> But after the installation:
>> dbconfig-common: writing config to /etc/dbconfig-common/xwiki.conf
>> Creating config file /etc/dbconfig-common/xwiki.conf with new version
>> Creating config file /etc/xwiki/hibernate.cfg.xml with new version
>> granting access to database xwiki for xwiki@localhost: success.
>> verifying access for xwiki@localhost: success.
>> creating database xwiki: success.
>> verifying database xwiki exists: success.
>> dbconfig-common: flushing administrative password
>> allow xwiki user to create new databases
>> Setting up authbind (2.1.1) ...
>> Processing triggers for ureadahead (0.100.0-16) ...
>> Setting up xwiki-enterprise-tomcat7-common (8.2.1) ...
>>  * Stopping Tomcat servlet engine tomcat7
>>   [ OK ]
>>  * Starting Tomcat servlet engine tomcat7
>>   [ OK ]
>> Setting up xwiki-enterprise-tomcat7-mysql (8.2.1) ...
>>  * Stopping Tomcat servlet engine tomcat7
>>   [ OK ]
>>  * Starting Tomcat servlet engine tomcat7
>>
>> All I see on :8080 is "It works! If you're seeing this page via a web
>> browser, it means you've setup Tomcat successfully. Congratulations!"
>>
>> Any idea?
>>
>> 2016-08-02 10:06 GMT-04:00 Thomas Mortagne :
>>> Actually I just checked to be sure and Ubuntu 14.04 standard
>>> repository don't have any openjdk 8. That's probably your issue.
>>>
>>> I personally use
>>> http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html
>>> to install Oracle jvm and it's working like a charm.
>>>
>>> On Tue, Aug 2, 2016 at 3:55 PM, Thomas Mortagne
>>>  wrote:
 What error do you get exactly and are you sure you are installing 8.2
 since http://jira.xwiki.org/browse/XWIKI-13590 is fixed in 8.2 ?

 On Tue, Aug 2, 2016 at 3:45 PM, Dev Dev  wrote:
> I tried it also on Ubuntu 14.04 LTS but many errors about dependencies
> not satisfied. Found a post that said it was fixed, but still not
> working:
> http://jira.xwiki.org/browse/XWIKI-13590
>
> In short, is it possible to install xwiki using the apt-get /
> documentation on Ubuntu 14.04 & 16.04?

 I'm using Ubuntu 14.04 and it's working well. I did not hit
 http://jira.xwiki.org/browse/XWIKI-13590 because I install Oracle
 version of Java before XWiki.

>
> Anyone?
>
> 2016-08-02 4:44 GMT-04:00 Thomas Mortagne :
>> The issue seems to be in Tomcat package which XWiki just declare as
>> dependency but for some reason Ubuntu failed to install it.
>>
>>> Job for tomcat7.service failed because the control process exited with 
>>> error code. See "systemctl status tomcat7.service" and "journalctl -xe" 
>>> for details.
>>
>> I guess you should looks at the suggested logs.
>>
>> On Mon, Aug 1, 2016 at 10:49 PM, Dev Dev  wrote:
>>> Hi,
>>>
>>> I am trying to install xwiki (mysql) using the doc at:
>>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT
>>>
>>> Here's the output:
>>> http://paste.ubuntu.com/21810285/
>>>
>>> Setting up tomcat7 (7.0.68-1ubuntu0.1) ...
>>>
>>> Creating config file /etc/default/tomcat7 with new version
>>>
>>> Adding system user `tomcat7' (UID 113) ...
>>>
>>> Adding new user `tomcat7' (UID 113) with group `tomcat7' ...
>>>
>>> Not creating home directory `/usr/share/tomcat7'.
>>>
>>> Creating config file /etc/logrotate.d/tomcat7 with new version
>>>
>>> Job for tomcat7.service failed because the control process exited with
>>> error code. See "systemctl status tomcat7.service" and "journalctl
>>> -xe" for details.
>>>
>>> invoke-rc.d: initscript tomcat7, action "start" failed.
>>>
>>> dpkg: error processing package tomcat7 (--configure):
>>>
>>>  subprocess installed post-installation script returned error exit 
>>> status 1
>>>
>>> Setting up xwiki-enterprise-common (8.2.1) ...
>>>
>>> Setting up xwiki-enterprise-mysql-common (8.2.1) ...
>>>
>>> Determining localhost credentials from /etc/mysql/debian.cnf: succeeded.
>>>
>>> dbconfig-common: writing config to /etc/dbconfig-common/xwiki.conf
>>>
>>> Creating 

Re: [xwiki-users] Ubuntu 16.04 fail install

2016-08-02 Thread Thomas Mortagne
You probably missed the /xwiki/ part in the URL. XWiki does not force
itself as default application in Tomcat.

On Tue, Aug 2, 2016 at 5:44 PM, Dev Dev  wrote:
> Ok it works on Ubuntu 14.04 when installing (maybe updating the
> documentation so people don't use openjdk?)
> http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html
>
> But after the installation:
> dbconfig-common: writing config to /etc/dbconfig-common/xwiki.conf
> Creating config file /etc/dbconfig-common/xwiki.conf with new version
> Creating config file /etc/xwiki/hibernate.cfg.xml with new version
> granting access to database xwiki for xwiki@localhost: success.
> verifying access for xwiki@localhost: success.
> creating database xwiki: success.
> verifying database xwiki exists: success.
> dbconfig-common: flushing administrative password
> allow xwiki user to create new databases
> Setting up authbind (2.1.1) ...
> Processing triggers for ureadahead (0.100.0-16) ...
> Setting up xwiki-enterprise-tomcat7-common (8.2.1) ...
>  * Stopping Tomcat servlet engine tomcat7
>   [ OK ]
>  * Starting Tomcat servlet engine tomcat7
>   [ OK ]
> Setting up xwiki-enterprise-tomcat7-mysql (8.2.1) ...
>  * Stopping Tomcat servlet engine tomcat7
>   [ OK ]
>  * Starting Tomcat servlet engine tomcat7
>
> All I see on :8080 is "It works! If you're seeing this page via a web
> browser, it means you've setup Tomcat successfully. Congratulations!"
>
> Any idea?
>
> 2016-08-02 10:06 GMT-04:00 Thomas Mortagne :
>> Actually I just checked to be sure and Ubuntu 14.04 standard
>> repository don't have any openjdk 8. That's probably your issue.
>>
>> I personally use
>> http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html
>> to install Oracle jvm and it's working like a charm.
>>
>> On Tue, Aug 2, 2016 at 3:55 PM, Thomas Mortagne
>>  wrote:
>>> What error do you get exactly and are you sure you are installing 8.2
>>> since http://jira.xwiki.org/browse/XWIKI-13590 is fixed in 8.2 ?
>>>
>>> On Tue, Aug 2, 2016 at 3:45 PM, Dev Dev  wrote:
 I tried it also on Ubuntu 14.04 LTS but many errors about dependencies
 not satisfied. Found a post that said it was fixed, but still not
 working:
 http://jira.xwiki.org/browse/XWIKI-13590

 In short, is it possible to install xwiki using the apt-get /
 documentation on Ubuntu 14.04 & 16.04?
>>>
>>> I'm using Ubuntu 14.04 and it's working well. I did not hit
>>> http://jira.xwiki.org/browse/XWIKI-13590 because I install Oracle
>>> version of Java before XWiki.
>>>

 Anyone?

 2016-08-02 4:44 GMT-04:00 Thomas Mortagne :
> The issue seems to be in Tomcat package which XWiki just declare as
> dependency but for some reason Ubuntu failed to install it.
>
>> Job for tomcat7.service failed because the control process exited with 
>> error code. See "systemctl status tomcat7.service" and "journalctl -xe" 
>> for details.
>
> I guess you should looks at the suggested logs.
>
> On Mon, Aug 1, 2016 at 10:49 PM, Dev Dev  wrote:
>> Hi,
>>
>> I am trying to install xwiki (mysql) using the doc at:
>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT
>>
>> Here's the output:
>> http://paste.ubuntu.com/21810285/
>>
>> Setting up tomcat7 (7.0.68-1ubuntu0.1) ...
>>
>> Creating config file /etc/default/tomcat7 with new version
>>
>> Adding system user `tomcat7' (UID 113) ...
>>
>> Adding new user `tomcat7' (UID 113) with group `tomcat7' ...
>>
>> Not creating home directory `/usr/share/tomcat7'.
>>
>> Creating config file /etc/logrotate.d/tomcat7 with new version
>>
>> Job for tomcat7.service failed because the control process exited with
>> error code. See "systemctl status tomcat7.service" and "journalctl
>> -xe" for details.
>>
>> invoke-rc.d: initscript tomcat7, action "start" failed.
>>
>> dpkg: error processing package tomcat7 (--configure):
>>
>>  subprocess installed post-installation script returned error exit 
>> status 1
>>
>> Setting up xwiki-enterprise-common (8.2.1) ...
>>
>> Setting up xwiki-enterprise-mysql-common (8.2.1) ...
>>
>> Determining localhost credentials from /etc/mysql/debian.cnf: succeeded.
>>
>> dbconfig-common: writing config to /etc/dbconfig-common/xwiki.conf
>>
>> Creating config file /etc/dbconfig-common/xwiki.conf with new version
>>
>> Creating config file /etc/xwiki/hibernate.cfg.xml with new version
>>
>> granting access to database xwiki for xwiki@localhost: success.
>>
>> verifying access 

[xwiki-users] Include/Display macro now requiring .WebHome

2016-08-02 Thread Patrick Tomblin
Good afternoon all,

I upgraded from 8.1 to 8.2 and for some reason when I use the include or
display macro I now need to specify .WebHome at the end of every document I
want to pull in.

Most of the pages that are being pulled in are pages and not spaces, from
my understanding you only need to specify .WebHome if you pull from a space
but this does not seem to be the case.

Thanks in advance,
- Patrick
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Ubuntu 16.04 fail install

2016-08-02 Thread Dev Dev
Ok it works on Ubuntu 14.04 when installing (maybe updating the
documentation so people don't use openjdk?)
http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html

But after the installation:
dbconfig-common: writing config to /etc/dbconfig-common/xwiki.conf
Creating config file /etc/dbconfig-common/xwiki.conf with new version
Creating config file /etc/xwiki/hibernate.cfg.xml with new version
granting access to database xwiki for xwiki@localhost: success.
verifying access for xwiki@localhost: success.
creating database xwiki: success.
verifying database xwiki exists: success.
dbconfig-common: flushing administrative password
allow xwiki user to create new databases
Setting up authbind (2.1.1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up xwiki-enterprise-tomcat7-common (8.2.1) ...
 * Stopping Tomcat servlet engine tomcat7
  [ OK ]
 * Starting Tomcat servlet engine tomcat7
  [ OK ]
Setting up xwiki-enterprise-tomcat7-mysql (8.2.1) ...
 * Stopping Tomcat servlet engine tomcat7
  [ OK ]
 * Starting Tomcat servlet engine tomcat7

All I see on :8080 is "It works! If you're seeing this page via a web
browser, it means you've setup Tomcat successfully. Congratulations!"

Any idea?

2016-08-02 10:06 GMT-04:00 Thomas Mortagne :
> Actually I just checked to be sure and Ubuntu 14.04 standard
> repository don't have any openjdk 8. That's probably your issue.
>
> I personally use
> http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html
> to install Oracle jvm and it's working like a charm.
>
> On Tue, Aug 2, 2016 at 3:55 PM, Thomas Mortagne
>  wrote:
>> What error do you get exactly and are you sure you are installing 8.2
>> since http://jira.xwiki.org/browse/XWIKI-13590 is fixed in 8.2 ?
>>
>> On Tue, Aug 2, 2016 at 3:45 PM, Dev Dev  wrote:
>>> I tried it also on Ubuntu 14.04 LTS but many errors about dependencies
>>> not satisfied. Found a post that said it was fixed, but still not
>>> working:
>>> http://jira.xwiki.org/browse/XWIKI-13590
>>>
>>> In short, is it possible to install xwiki using the apt-get /
>>> documentation on Ubuntu 14.04 & 16.04?
>>
>> I'm using Ubuntu 14.04 and it's working well. I did not hit
>> http://jira.xwiki.org/browse/XWIKI-13590 because I install Oracle
>> version of Java before XWiki.
>>
>>>
>>> Anyone?
>>>
>>> 2016-08-02 4:44 GMT-04:00 Thomas Mortagne :
 The issue seems to be in Tomcat package which XWiki just declare as
 dependency but for some reason Ubuntu failed to install it.

> Job for tomcat7.service failed because the control process exited with 
> error code. See "systemctl status tomcat7.service" and "journalctl -xe" 
> for details.

 I guess you should looks at the suggested logs.

 On Mon, Aug 1, 2016 at 10:49 PM, Dev Dev  wrote:
> Hi,
>
> I am trying to install xwiki (mysql) using the doc at:
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT
>
> Here's the output:
> http://paste.ubuntu.com/21810285/
>
> Setting up tomcat7 (7.0.68-1ubuntu0.1) ...
>
> Creating config file /etc/default/tomcat7 with new version
>
> Adding system user `tomcat7' (UID 113) ...
>
> Adding new user `tomcat7' (UID 113) with group `tomcat7' ...
>
> Not creating home directory `/usr/share/tomcat7'.
>
> Creating config file /etc/logrotate.d/tomcat7 with new version
>
> Job for tomcat7.service failed because the control process exited with
> error code. See "systemctl status tomcat7.service" and "journalctl
> -xe" for details.
>
> invoke-rc.d: initscript tomcat7, action "start" failed.
>
> dpkg: error processing package tomcat7 (--configure):
>
>  subprocess installed post-installation script returned error exit status 
> 1
>
> Setting up xwiki-enterprise-common (8.2.1) ...
>
> Setting up xwiki-enterprise-mysql-common (8.2.1) ...
>
> Determining localhost credentials from /etc/mysql/debian.cnf: succeeded.
>
> dbconfig-common: writing config to /etc/dbconfig-common/xwiki.conf
>
> Creating config file /etc/dbconfig-common/xwiki.conf with new version
>
> Creating config file /etc/xwiki/hibernate.cfg.xml with new version
>
> granting access to database xwiki for xwiki@localhost: success.
>
> verifying access for xwiki@localhost: success.
>
> creating database xwiki: success.
>
> verifying database xwiki exists: success.
>
> dbconfig-common: flushing administrative password
>
> allow xwiki user to create new databases
>
> dpkg: dependency problems prevent configuration of
> 

Re: [xwiki-users] Ubuntu 16.04 fail install

2016-08-02 Thread Thomas Mortagne
Actually I just checked to be sure and Ubuntu 14.04 standard
repository don't have any openjdk 8. That's probably your issue.

I personally use
http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html
to install Oracle jvm and it's working like a charm.

On Tue, Aug 2, 2016 at 3:55 PM, Thomas Mortagne
 wrote:
> What error do you get exactly and are you sure you are installing 8.2
> since http://jira.xwiki.org/browse/XWIKI-13590 is fixed in 8.2 ?
>
> On Tue, Aug 2, 2016 at 3:45 PM, Dev Dev  wrote:
>> I tried it also on Ubuntu 14.04 LTS but many errors about dependencies
>> not satisfied. Found a post that said it was fixed, but still not
>> working:
>> http://jira.xwiki.org/browse/XWIKI-13590
>>
>> In short, is it possible to install xwiki using the apt-get /
>> documentation on Ubuntu 14.04 & 16.04?
>
> I'm using Ubuntu 14.04 and it's working well. I did not hit
> http://jira.xwiki.org/browse/XWIKI-13590 because I install Oracle
> version of Java before XWiki.
>
>>
>> Anyone?
>>
>> 2016-08-02 4:44 GMT-04:00 Thomas Mortagne :
>>> The issue seems to be in Tomcat package which XWiki just declare as
>>> dependency but for some reason Ubuntu failed to install it.
>>>
 Job for tomcat7.service failed because the control process exited with 
 error code. See "systemctl status tomcat7.service" and "journalctl -xe" 
 for details.
>>>
>>> I guess you should looks at the suggested logs.
>>>
>>> On Mon, Aug 1, 2016 at 10:49 PM, Dev Dev  wrote:
 Hi,

 I am trying to install xwiki (mysql) using the doc at:
 http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT

 Here's the output:
 http://paste.ubuntu.com/21810285/

 Setting up tomcat7 (7.0.68-1ubuntu0.1) ...

 Creating config file /etc/default/tomcat7 with new version

 Adding system user `tomcat7' (UID 113) ...

 Adding new user `tomcat7' (UID 113) with group `tomcat7' ...

 Not creating home directory `/usr/share/tomcat7'.

 Creating config file /etc/logrotate.d/tomcat7 with new version

 Job for tomcat7.service failed because the control process exited with
 error code. See "systemctl status tomcat7.service" and "journalctl
 -xe" for details.

 invoke-rc.d: initscript tomcat7, action "start" failed.

 dpkg: error processing package tomcat7 (--configure):

  subprocess installed post-installation script returned error exit status 1

 Setting up xwiki-enterprise-common (8.2.1) ...

 Setting up xwiki-enterprise-mysql-common (8.2.1) ...

 Determining localhost credentials from /etc/mysql/debian.cnf: succeeded.

 dbconfig-common: writing config to /etc/dbconfig-common/xwiki.conf

 Creating config file /etc/dbconfig-common/xwiki.conf with new version

 Creating config file /etc/xwiki/hibernate.cfg.xml with new version

 granting access to database xwiki for xwiki@localhost: success.

 verifying access for xwiki@localhost: success.

 creating database xwiki: success.

 verifying database xwiki exists: success.

 dbconfig-common: flushing administrative password

 allow xwiki user to create new databases

 dpkg: dependency problems prevent configuration of
 xwiki-enterprise-tomcat7-common:

  xwiki-enterprise-tomcat7-common depends on tomcat7; however:

   Package tomcat7 is not configured yet.

 dpkg: error processing package xwiki-enterprise-tomcat7-common 
 (--configure):

  dependency problems - leaving unconfigured

 dpkg: dependency problems prevent configuration of
 xwiki-enterprise-tomcat7-mysql:No apport report written because the
 error message indicates its a followup error from a previous failure.

  xwiki-enterprise-tomcat7-mysql depends on
 xwiki-enterprise-tomcat7-common (= 8.2.1); however:

   Package xwiki-enterprise-tomcat7-common is not configured yet.

 dpkg: error processing package xwiki-enterprise-tomcat7-mysql 
 (--configure):

  dependency problems - leaving unconfigured

 Processing triggers for libc-bin (2.23-0ubuntu3) ...No apport report
 written because the error message indicates its a followup error from
 a previous failure.

 Processing triggers for systemd (229-4ubuntu7) ...

 Processing triggers for ureadahead (0.100.0-19) ...

 Errors were encountered while processing:

  tomcat7

  xwiki-enterprise-tomcat7-common

  xwiki-enterprise-tomcat7-mysql

 E: Sub-process /usr/bin/dpkg returned an error code (1)
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
>>>
>>>
>>>
>>> --
>>> Thomas Mortagne
>>> 

Re: [xwiki-users] Ubuntu 16.04 fail install

2016-08-02 Thread Thomas Mortagne
What error do you get exactly and are you sure you are installing 8.2
since http://jira.xwiki.org/browse/XWIKI-13590 is fixed in 8.2 ?

On Tue, Aug 2, 2016 at 3:45 PM, Dev Dev  wrote:
> I tried it also on Ubuntu 14.04 LTS but many errors about dependencies
> not satisfied. Found a post that said it was fixed, but still not
> working:
> http://jira.xwiki.org/browse/XWIKI-13590
>
> In short, is it possible to install xwiki using the apt-get /
> documentation on Ubuntu 14.04 & 16.04?

I'm using Ubuntu 14.04 and it's working well. I did not hit
http://jira.xwiki.org/browse/XWIKI-13590 because I install Oracle
version of Java before XWiki.

>
> Anyone?
>
> 2016-08-02 4:44 GMT-04:00 Thomas Mortagne :
>> The issue seems to be in Tomcat package which XWiki just declare as
>> dependency but for some reason Ubuntu failed to install it.
>>
>>> Job for tomcat7.service failed because the control process exited with 
>>> error code. See "systemctl status tomcat7.service" and "journalctl -xe" for 
>>> details.
>>
>> I guess you should looks at the suggested logs.
>>
>> On Mon, Aug 1, 2016 at 10:49 PM, Dev Dev  wrote:
>>> Hi,
>>>
>>> I am trying to install xwiki (mysql) using the doc at:
>>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT
>>>
>>> Here's the output:
>>> http://paste.ubuntu.com/21810285/
>>>
>>> Setting up tomcat7 (7.0.68-1ubuntu0.1) ...
>>>
>>> Creating config file /etc/default/tomcat7 with new version
>>>
>>> Adding system user `tomcat7' (UID 113) ...
>>>
>>> Adding new user `tomcat7' (UID 113) with group `tomcat7' ...
>>>
>>> Not creating home directory `/usr/share/tomcat7'.
>>>
>>> Creating config file /etc/logrotate.d/tomcat7 with new version
>>>
>>> Job for tomcat7.service failed because the control process exited with
>>> error code. See "systemctl status tomcat7.service" and "journalctl
>>> -xe" for details.
>>>
>>> invoke-rc.d: initscript tomcat7, action "start" failed.
>>>
>>> dpkg: error processing package tomcat7 (--configure):
>>>
>>>  subprocess installed post-installation script returned error exit status 1
>>>
>>> Setting up xwiki-enterprise-common (8.2.1) ...
>>>
>>> Setting up xwiki-enterprise-mysql-common (8.2.1) ...
>>>
>>> Determining localhost credentials from /etc/mysql/debian.cnf: succeeded.
>>>
>>> dbconfig-common: writing config to /etc/dbconfig-common/xwiki.conf
>>>
>>> Creating config file /etc/dbconfig-common/xwiki.conf with new version
>>>
>>> Creating config file /etc/xwiki/hibernate.cfg.xml with new version
>>>
>>> granting access to database xwiki for xwiki@localhost: success.
>>>
>>> verifying access for xwiki@localhost: success.
>>>
>>> creating database xwiki: success.
>>>
>>> verifying database xwiki exists: success.
>>>
>>> dbconfig-common: flushing administrative password
>>>
>>> allow xwiki user to create new databases
>>>
>>> dpkg: dependency problems prevent configuration of
>>> xwiki-enterprise-tomcat7-common:
>>>
>>>  xwiki-enterprise-tomcat7-common depends on tomcat7; however:
>>>
>>>   Package tomcat7 is not configured yet.
>>>
>>> dpkg: error processing package xwiki-enterprise-tomcat7-common 
>>> (--configure):
>>>
>>>  dependency problems - leaving unconfigured
>>>
>>> dpkg: dependency problems prevent configuration of
>>> xwiki-enterprise-tomcat7-mysql:No apport report written because the
>>> error message indicates its a followup error from a previous failure.
>>>
>>>  xwiki-enterprise-tomcat7-mysql depends on
>>> xwiki-enterprise-tomcat7-common (= 8.2.1); however:
>>>
>>>   Package xwiki-enterprise-tomcat7-common is not configured yet.
>>>
>>> dpkg: error processing package xwiki-enterprise-tomcat7-mysql (--configure):
>>>
>>>  dependency problems - leaving unconfigured
>>>
>>> Processing triggers for libc-bin (2.23-0ubuntu3) ...No apport report
>>> written because the error message indicates its a followup error from
>>> a previous failure.
>>>
>>> Processing triggers for systemd (229-4ubuntu7) ...
>>>
>>> Processing triggers for ureadahead (0.100.0-19) ...
>>>
>>> Errors were encountered while processing:
>>>
>>>  tomcat7
>>>
>>>  xwiki-enterprise-tomcat7-common
>>>
>>>  xwiki-enterprise-tomcat7-mysql
>>>
>>> E: Sub-process /usr/bin/dpkg returned an error code (1)
>>> ___
>>> 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
> ___
> 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] Ubuntu 16.04 fail install

2016-08-02 Thread Dev Dev
I tried it also on Ubuntu 14.04 LTS but many errors about dependencies
not satisfied. Found a post that said it was fixed, but still not
working:
http://jira.xwiki.org/browse/XWIKI-13590

In short, is it possible to install xwiki using the apt-get /
documentation on Ubuntu 14.04 & 16.04?

Anyone?

2016-08-02 4:44 GMT-04:00 Thomas Mortagne :
> The issue seems to be in Tomcat package which XWiki just declare as
> dependency but for some reason Ubuntu failed to install it.
>
>> Job for tomcat7.service failed because the control process exited with error 
>> code. See "systemctl status tomcat7.service" and "journalctl -xe" for 
>> details.
>
> I guess you should looks at the suggested logs.
>
> On Mon, Aug 1, 2016 at 10:49 PM, Dev Dev  wrote:
>> Hi,
>>
>> I am trying to install xwiki (mysql) using the doc at:
>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT
>>
>> Here's the output:
>> http://paste.ubuntu.com/21810285/
>>
>> Setting up tomcat7 (7.0.68-1ubuntu0.1) ...
>>
>> Creating config file /etc/default/tomcat7 with new version
>>
>> Adding system user `tomcat7' (UID 113) ...
>>
>> Adding new user `tomcat7' (UID 113) with group `tomcat7' ...
>>
>> Not creating home directory `/usr/share/tomcat7'.
>>
>> Creating config file /etc/logrotate.d/tomcat7 with new version
>>
>> Job for tomcat7.service failed because the control process exited with
>> error code. See "systemctl status tomcat7.service" and "journalctl
>> -xe" for details.
>>
>> invoke-rc.d: initscript tomcat7, action "start" failed.
>>
>> dpkg: error processing package tomcat7 (--configure):
>>
>>  subprocess installed post-installation script returned error exit status 1
>>
>> Setting up xwiki-enterprise-common (8.2.1) ...
>>
>> Setting up xwiki-enterprise-mysql-common (8.2.1) ...
>>
>> Determining localhost credentials from /etc/mysql/debian.cnf: succeeded.
>>
>> dbconfig-common: writing config to /etc/dbconfig-common/xwiki.conf
>>
>> Creating config file /etc/dbconfig-common/xwiki.conf with new version
>>
>> Creating config file /etc/xwiki/hibernate.cfg.xml with new version
>>
>> granting access to database xwiki for xwiki@localhost: success.
>>
>> verifying access for xwiki@localhost: success.
>>
>> creating database xwiki: success.
>>
>> verifying database xwiki exists: success.
>>
>> dbconfig-common: flushing administrative password
>>
>> allow xwiki user to create new databases
>>
>> dpkg: dependency problems prevent configuration of
>> xwiki-enterprise-tomcat7-common:
>>
>>  xwiki-enterprise-tomcat7-common depends on tomcat7; however:
>>
>>   Package tomcat7 is not configured yet.
>>
>> dpkg: error processing package xwiki-enterprise-tomcat7-common (--configure):
>>
>>  dependency problems - leaving unconfigured
>>
>> dpkg: dependency problems prevent configuration of
>> xwiki-enterprise-tomcat7-mysql:No apport report written because the
>> error message indicates its a followup error from a previous failure.
>>
>>  xwiki-enterprise-tomcat7-mysql depends on
>> xwiki-enterprise-tomcat7-common (= 8.2.1); however:
>>
>>   Package xwiki-enterprise-tomcat7-common is not configured yet.
>>
>> dpkg: error processing package xwiki-enterprise-tomcat7-mysql (--configure):
>>
>>  dependency problems - leaving unconfigured
>>
>> Processing triggers for libc-bin (2.23-0ubuntu3) ...No apport report
>> written because the error message indicates its a followup error from
>> a previous failure.
>>
>> Processing triggers for systemd (229-4ubuntu7) ...
>>
>> Processing triggers for ureadahead (0.100.0-19) ...
>>
>> Errors were encountered while processing:
>>
>>  tomcat7
>>
>>  xwiki-enterprise-tomcat7-common
>>
>>  xwiki-enterprise-tomcat7-mysql
>>
>> E: Sub-process /usr/bin/dpkg returned an error code (1)
>> ___
>> 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
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Filesystem Attachment Store Porter Extension missing

2016-08-02 Thread Thomas Mortagne
Thanks, I updated the link in the documentation.

On Tue, Aug 2, 2016 at 1:45 PM,   wrote:
> Thank you, it seems to be working.
>
> Just so you know, the button on the top of the page in the snippet page
> still points to extension.xwiki.org and not snippets.xwiki.org, but can be
> found at the bottom of the page in the "Attachment" tab
>
> Regards
>
>
>
>
> De :Marius Dumitru Florea 
> A : XWiki Users 
> Date :  02/08/2016 10:18
> Objet : Re: [xwiki-users] Filesystem Attachment Store Porter Extension
> missing
> Envoyé par :"users" 
>
>
>
> On Tue, Aug 2, 2016 at 9:55 AM,  wrote:
>
>> I need to migrate a Wiki in Filesystem attachment Store mode because I
>> have an existing wiki in which I need to import a big XAR file (>130MB)
>>
>> The procedure is explained here
>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Attachments
>>
>> "If you already have a wiki and want to take advantage of the Filesystem
>> Attachment Store, you should use the Filesystem Attachment Porter to
> move
>> your existing attachments onto the filesystem. "
>>
>>
>
>> but the script seem to have been removed a few days/weeks ago ...
>>
>>
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Filesystem+Attachment+Porter
>
>
>
> Indeed. We recently extracted the snippets from extensions.xwiki.org and
> moved them to snippets.xwiki.org . Unfortunately we didn't setup any
> redirect from the old location to the new one. Sorry about this.
>
>
>>
>>
>> How can I move from DB to FS ?
>>
>
> See
> http://snippets.xwiki.org/xwiki/bin/view/Extension/Filesystem+Attachment+Porter
>
> .
>
>
>>
>> Regards,
>> ___
>> 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
>
> ___
> 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] Filesystem Attachment Store Porter Extension missing

2016-08-02 Thread Denis . Germain
Thank you, it seems to be working.

Just so you know, the button on the top of the page in the snippet page 
still points to extension.xwiki.org and not snippets.xwiki.org, but can be 
found at the bottom of the page in the "Attachment" tab

Regards




De :Marius Dumitru Florea 
A : XWiki Users 
Date :  02/08/2016 10:18
Objet : Re: [xwiki-users] Filesystem Attachment Store Porter Extension 
missing
Envoyé par :"users" 



On Tue, Aug 2, 2016 at 9:55 AM,  wrote:

> I need to migrate a Wiki in Filesystem attachment Store mode because I
> have an existing wiki in which I need to import a big XAR file (>130MB)
>
> The procedure is explained here
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Attachments
>
> "If you already have a wiki and want to take advantage of the Filesystem
> Attachment Store, you should use the Filesystem Attachment Porter to 
move
> your existing attachments onto the filesystem. "
>
>

> but the script seem to have been removed a few days/weeks ago ...
>
> 
http://extensions.xwiki.org/xwiki/bin/view/Extension/Filesystem+Attachment+Porter



Indeed. We recently extracted the snippets from extensions.xwiki.org and
moved them to snippets.xwiki.org . Unfortunately we didn't setup any
redirect from the old location to the new one. Sorry about this.


>
>
> How can I move from DB to FS ?
>

See
http://snippets.xwiki.org/xwiki/bin/view/Extension/Filesystem+Attachment+Porter

.


>
> Regards,
> ___
> 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

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] How to resend activation link

2016-08-02 Thread Mahomed Hussein
Hi

Is there a way to re-send the activation link/code to a user without having to 
delete and recreate the user account? I’ve already configured permissions for 
this user and I really don’t want to have to do it again please. I created 
several users and they thought it was wiser to not activate it at the time.


Kind regards,


Mahomed Hussein
Custodian Data Centre
Email: maho...@custodiandc.com
http://www.CustodianDC.com
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Mediawiki to XWiki Migration

2016-08-02 Thread Thomas Mortagne
You probably have an error but don't see it because of
http://jira.xwiki.org/browse/XWIKI-12753.

The log of a conversion is stored in the permanent dir, search a
status.xml in a subfolder of jobs/status/filter/converter/ (depend of
the properties you chose).

If you are on XWiki 7.4.x or more replacing the
xwiki-platform-filter-script jar in /WEB-INF/lib/ by the last one on
http://maven.xwiki.org/snapshots/org/xwiki/platform/xwiki-platform-filter-script/7.4.5-SNAPSHOT/
might fix the UI for you (i.e. keep displaying the last conversion
status when the conversion has failed).

On Mon, Aug 1, 2016 at 9:30 PM, treed593  wrote:
> When trying to import a Mediawiki XML file I see Conversion started.but no
> output and dont see the converted pages. Please advise.
>
>
>
>
>
> --
> View this message in context: 
> http://xwiki.475771.n2.nabble.com/Mediawiki-to-XWiki-Migration-tp7600210p7600523.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
> ___
> 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] Ubuntu 16.04 fail install

2016-08-02 Thread Thomas Mortagne
The issue seems to be in Tomcat package which XWiki just declare as
dependency but for some reason Ubuntu failed to install it.

> Job for tomcat7.service failed because the control process exited with error 
> code. See "systemctl status tomcat7.service" and "journalctl -xe" for details.

I guess you should looks at the suggested logs.

On Mon, Aug 1, 2016 at 10:49 PM, Dev Dev  wrote:
> Hi,
>
> I am trying to install xwiki (mysql) using the doc at:
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT
>
> Here's the output:
> http://paste.ubuntu.com/21810285/
>
> Setting up tomcat7 (7.0.68-1ubuntu0.1) ...
>
> Creating config file /etc/default/tomcat7 with new version
>
> Adding system user `tomcat7' (UID 113) ...
>
> Adding new user `tomcat7' (UID 113) with group `tomcat7' ...
>
> Not creating home directory `/usr/share/tomcat7'.
>
> Creating config file /etc/logrotate.d/tomcat7 with new version
>
> Job for tomcat7.service failed because the control process exited with
> error code. See "systemctl status tomcat7.service" and "journalctl
> -xe" for details.
>
> invoke-rc.d: initscript tomcat7, action "start" failed.
>
> dpkg: error processing package tomcat7 (--configure):
>
>  subprocess installed post-installation script returned error exit status 1
>
> Setting up xwiki-enterprise-common (8.2.1) ...
>
> Setting up xwiki-enterprise-mysql-common (8.2.1) ...
>
> Determining localhost credentials from /etc/mysql/debian.cnf: succeeded.
>
> dbconfig-common: writing config to /etc/dbconfig-common/xwiki.conf
>
> Creating config file /etc/dbconfig-common/xwiki.conf with new version
>
> Creating config file /etc/xwiki/hibernate.cfg.xml with new version
>
> granting access to database xwiki for xwiki@localhost: success.
>
> verifying access for xwiki@localhost: success.
>
> creating database xwiki: success.
>
> verifying database xwiki exists: success.
>
> dbconfig-common: flushing administrative password
>
> allow xwiki user to create new databases
>
> dpkg: dependency problems prevent configuration of
> xwiki-enterprise-tomcat7-common:
>
>  xwiki-enterprise-tomcat7-common depends on tomcat7; however:
>
>   Package tomcat7 is not configured yet.
>
> dpkg: error processing package xwiki-enterprise-tomcat7-common (--configure):
>
>  dependency problems - leaving unconfigured
>
> dpkg: dependency problems prevent configuration of
> xwiki-enterprise-tomcat7-mysql:No apport report written because the
> error message indicates its a followup error from a previous failure.
>
>  xwiki-enterprise-tomcat7-mysql depends on
> xwiki-enterprise-tomcat7-common (= 8.2.1); however:
>
>   Package xwiki-enterprise-tomcat7-common is not configured yet.
>
> dpkg: error processing package xwiki-enterprise-tomcat7-mysql (--configure):
>
>  dependency problems - leaving unconfigured
>
> Processing triggers for libc-bin (2.23-0ubuntu3) ...No apport report
> written because the error message indicates its a followup error from
> a previous failure.
>
> Processing triggers for systemd (229-4ubuntu7) ...
>
> Processing triggers for ureadahead (0.100.0-19) ...
>
> Errors were encountered while processing:
>
>  tomcat7
>
>  xwiki-enterprise-tomcat7-common
>
>  xwiki-enterprise-tomcat7-mysql
>
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> ___
> 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] Filesystem Attachment Store Porter Extension missing

2016-08-02 Thread Marius Dumitru Florea
On Tue, Aug 2, 2016 at 9:55 AM,  wrote:

> I need to migrate a Wiki in Filesystem attachment Store mode because I
> have an existing wiki in which I need to import a big XAR file (>130MB)
>
> The procedure is explained here
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Attachments
>
> "If you already have a wiki and want to take advantage of the Filesystem
> Attachment Store, you should use the Filesystem Attachment Porter to move
> your existing attachments onto the filesystem. "
>
>

> but the script seem to have been removed a few days/weeks ago ...
>
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Filesystem+Attachment+Porter


Indeed. We recently extracted the snippets from extensions.xwiki.org and
moved them to snippets.xwiki.org . Unfortunately we didn't setup any
redirect from the old location to the new one. Sorry about this.


>
>
> How can I move from DB to FS ?
>

See
http://snippets.xwiki.org/xwiki/bin/view/Extension/Filesystem+Attachment+Porter
.


>
> Regards,
> ___
> 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] Removing old pages redirections

2016-08-02 Thread Marius Dumitru Florea
The issue you are describing is http://jira.xwiki.org/browse/XWIKI-13354
(fixed in 8.2).

On Tue, Aug 2, 2016 at 9:54 AM,  wrote:

> Hi,
>
> I have trouble renaming pages because of an old redirection on my 7.4.2
> XWiki instance.
>
> I'll try to summerize how it happened :
> - First, a wiki page called "Framework" with a lot of subpages was
> created.
> - Then, the users wanted to rearrange the subpages so they created a copy
> which they named Framework.new
> - When they where happy with the new page, they renamed the initial
> Framework page in Framework.old.
> - Trying to rename Framework.new into Framework failed
>
> My problem is that by default, when you rename a page (in this version of
> XWiki at least), the checkbox "Redirect to new page" is checked,
> effectivement creating a HTTP redirect when users are still using the old
> link. I understand the advantage of this method : you can have the page
> renamed without breaking the existing links.
>
> But now Framework.new can't be renamed in Framework, as the
> Framework.WebHome URL points to Framework.old.WebHome.




> Even if I remove all the pages from Framework.old, I still can't rename it.
>

That's not what you need to remove. When you renamed "Framework" to
"Framework.old" XWiki left behind a blank hidden "Framework" page that does
the redirect to "Framework.old". Same for all the child pages of
"Framework" (that have been moved as a consequence of the rename). So you
need to delete the "Framework" page and all its child pages (NOTE: that is
not the original Framework page but the one XWiki left behind to do the
redirect). Check my last comment on http://jira.xwiki.org/browse/XWIKI-13354
to see how to do that.

Hope this helps,
Marius


>
> Is there a menu/velocity script to remove these redirections ?
>
> Thanks in advance
> ___
> 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] How to customize sibling pages panel?

2016-08-02 Thread matmassa
No one has this needs? 
I think it will be a common problem for users that are migrating from older
versions to new ones...

Thank you
Matteo



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/How-to-customize-sibling-pages-panel-tp7600500p7600528.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Computed field (Display, Edit and Value)

2016-08-02 Thread Gerritjan Koekkoek
In our class we have a computed field

It shows a Date and two numbers

- the date represents a observation date calculated based on the two numbers 
and date of birth.

- The two numbers are

-- 1 Years since birth

-- Months

- Together they represent Years + Months that a person reaches a certain 
milestone.

(example: The child started to grab objects at age 0 years and 6 months, the 
child started walking at age 4 years and 5 months)


We would like to see the following in our sheet:

View mode: the date as a non-editable value and the two numbers with their 
labels

Edit mode: only the two numbers with labels

Preferably we would like to use in our sheet $objectDoc.Display('computed 
field')


But when we use the values in Velocity as class.attribute.value.years

and class.attribute.value.months


But it looks like the requirement for $doc.display('') forces us to write html 
code in our computed field that we need to strip away when using the 
velocity.value?


Any suggestions...




Gerritjan Koekkoek
Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
Visit our website
Facebook
email



___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Filesystem Attachment Store Porter Extension missing

2016-08-02 Thread Denis . Germain
I need to migrate a Wiki in Filesystem attachment Store mode because I 
have an existing wiki in which I need to import a big XAR file (>130MB)

The procedure is explained here 
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Attachments

"If you already have a wiki and want to take advantage of the Filesystem 
Attachment Store, you should use the Filesystem Attachment Porter to move 
your existing attachments onto the filesystem. "

but the script seem to have been removed a few days/weeks ago ...
http://extensions.xwiki.org/xwiki/bin/view/Extension/Filesystem+Attachment+Porter

How can I move from DB to FS ?

Regards,
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Removing old pages redirections

2016-08-02 Thread Denis . Germain
Hi,

I have trouble renaming pages because of an old redirection on my 7.4.2 
XWiki instance.

I'll try to summerize how it happened :
- First, a wiki page called "Framework" with a lot of subpages was 
created.
- Then, the users wanted to rearrange the subpages so they created a copy 
which they named Framework.new
- When they where happy with the new page, they renamed the initial 
Framework page in Framework.old. 
- Trying to rename Framework.new into Framework failed

My problem is that by default, when you rename a page (in this version of 
XWiki at least), the checkbox "Redirect to new page" is checked, 
effectivement creating a HTTP redirect when users are still using the old 
link. I understand the advantage of this method : you can have the page 
renamed without breaking the existing links.

But now Framework.new can't be renamed in Framework, as the 
Framework.WebHome URL points to Framework.old.WebHome. Even if I remove 
all the pages from Framework.old, I still can't rename it.

Is there a menu/velocity script to remove these redirections ?

Thanks in advance
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users