Re: [xwiki-users] Install Task Manager Application 2.4.1, velocity error

2017-01-16 Thread Vincent Massol
Hi,

> On 17 Jan 2017, at 04:55, novnovice  wrote:
> 
> I had no idea that sql server is not officially supported, bummer. I worked
> from http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationWAR
> which lists sql server in the rdbms section and has a link to the sql server
> page. The sql server page does list older versions, but I sure didn't expect
> it to be unsupported.

You’re right, the info was missing. I’ve now added it to 
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationWAR#HInstallandconfigureaRelationalDatabase

Thanks for reporting this, you’ll help future users I’m sure :)

> This is frustrating because I could have just as easily used postgresql
> instead, or oracle, if I'd realized sql server was second tier to them as
> far as xwiki goes.
> 
> What does "Some pull requests for this would be nice..." mean?

It means that the DB that are not supported by the xwiki devs are supported by 
the community and the XWiki devs just apply patches and pull requests.

> I might post
> to taskman jira as you suggest.
> 
> I was only installing task manager to have a look at the inner workings of
> an application. So I don't need it to work per se. I thought it might be
> simpler than the "ideas" application (for example).
> 
> I suppose it is difficult to migrate xwiki from sql server to postgres?

I don’t know but maybe it’s not that hard. You’d need to do a SQL92 export from 
sqlserver and try to import it in Postgres for ex.

> Probably easier to reinstall from scratch (I don't have a lot of content
> that needs to be preserved).

In that case you can do a XAR export of your pages and reimport them in a clean 
instance indeed.

Thanks
-Vincent

> 
> Thanks for your input.
> 
> 
> 
> 
> --
> View this message in context: 
> http://xwiki.475771.n2.nabble.com/Install-Task-Manager-Application-2-4-1-velocity-error-tp7602410p7602424.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.



[xwiki-users] The FAQ Tutorial Manual is somewhat out of date, not sure how to proceed

2017-01-16 Thread novnovice
I am attempting to follow the guidance at 

http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorialManual

The idea of this page is to walk one through the creation of a new data
type. However the page is out of date. For example on the
xwiki/bin/view/XWiki/XWikiClasses page, things are not the same as the
tutorial image in the "Create a new data type" section. The tutorial says
one could fill out the space and class fields with "FAQ" but the 8.4.3 xwiki
does not offer a space field. The most recent comment made in Nov 2016
states

This example no longer works correctly in 8.4. However, it will if...
After you create the WebHome (FAQs) page.
Delete the FAQClass object from WebHome 

For a new xwiki user this kind of stuff is confusing. I am hesitant to
proceed because I don't know what the missing "space" field implies and am
not sure if I'll get tripped up by the FAQClass issue. I already ran the
"Apps within Minutes" FAQ tutorial, so I'm concerned that I'll have a
namespace collision with this new FAQ application unless I know what the
space issue implies.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/The-FAQ-Tutorial-Manual-is-somewhat-out-of-date-not-sure-how-to-proceed-tp7602425.html
Sent from the XWiki- Users mailing list archive at Nabble.com.


Re: [xwiki-users] Install Task Manager Application 2.4.1, velocity error

2017-01-16 Thread novnovice
I had no idea that sql server is not officially supported, bummer. I worked
from http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationWAR
which lists sql server in the rdbms section and has a link to the sql server
page. The sql server page does list older versions, but I sure didn't expect
it to be unsupported.

This is frustrating because I could have just as easily used postgresql
instead, or oracle, if I'd realized sql server was second tier to them as
far as xwiki goes.

What does "Some pull requests for this would be nice..." mean? I might post
to taskman jira as you suggest.

I was only installing task manager to have a look at the inner workings of
an application. So I don't need it to work per se. I thought it might be
simpler than the "ideas" application (for example).

I suppose it is difficult to migrate xwiki from sql server to postgres?
Probably easier to reinstall from scratch (I don't have a lot of content
that needs to be preserved).

Thanks for your input.




--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Install-Task-Manager-Application-2-4-1-velocity-error-tp7602410p7602424.html
Sent from the XWiki- Users mailing list archive at Nabble.com.


Re: [xwiki-users] [ANN] First version of the XWiki docker packaging

2017-01-16 Thread Miroslav Galajda
Hi, all that's great to hear. The docker is getting more and more popular
:-)

Recently, I have "dockerized" XWiki v8.4 hosted in Tomcat and backed by
OracleXE for my testing purposes. I will definitely try your version, it
seems more komplex and more configurable than mine :-)

Mirec

On 16 January 2017 at 22:36, Vincent Massol  wrote:

> Hi Craig,
>
> > On 16 Jan 2017, at 21:51, Craig Wright  wrote:
> >
> > Hi Vincent,
> >
> > This is great, and if it had been out two weeks ago I would have used it
> as the basis for my installation! ;D
> >
> > I can’t promise to check it out in the near-term future but when I get a
> chance to revisit the install method, I will check it out.
>
> Cool
>
> > When you release a new version, do you plan on pushing that out as a new
> Docker image, or will you upgrade-in-place in the container? I assume the
> former.
>
> Yep, I’ll push new images.
>
> Thanks
> -Vincent
>
> > Thanks,
> > Craig
> >
> >
> >> On Jan 16, 2017, at 12:33 PM, Vincent Massol 
> wrote:
> >>
> >> Note that my assumption so far has been to provide a production-ready
> Dockerized XWiki. This is not meant to be a demo container to test out
> XWiki.
> >>
> >> * This is for example why I’ve used Debian:jessy as the base imagine
> and not alpine for example. Another option to slim it down would be to use
> https://hub.docker.com/r/tklx/base/ but I’ve preferred to use what you’d
> use in production.
> >> * This is also why I’m using docker-compose and have several separate
> containers for the DB and for XWiki/Tomcat.
> >>
> >> Thanks
> >> -Vìncent
> >>
> >>> On 16 Jan 2017, at 18:37, Vincent Massol  wrote:
> >>>
> >>> Hi everyone,
> >>>
> >>> I’ve started a first version of a XWiki docker packaging at
> https://github.com/xwiki-contrib/docker-xwiki and I’ve created an
> automated build on DockerHub at https://hub.docker.com/u/xwiki/. The goal
> is to provide an official packaging done by the XWiki dev team.
> >>>
> >>> Since I’m a recent user of Docker I’m sure I’ve made plenty of
> mistakes and not following some best practices, even though I’ve tried my
> best to do that ;)
> >>>
> >>> So it would be great if:
> >>> * Some users could try it out and let me know how it works
> >>> * Users could tell me what they’d expect in term of setup from a
> docker distribution.
> >>> * Some Docker experts review my code and let me know what I should
> improve!
> >>>
> >>> After I receive some confirmation that it works well-enough, my goal
> is to document it as an official way of installing xwiki on xwiki.org.
> >>>
> >>> Feel free to create jiras for ideas and bugs at
> http://jira.xwiki.org/browse/XDOCKER.
> >>>
> >>> Thanks a lot!
> >>> -Vincent
> >>>
> >>> PS: Note that I’m sure some will want a different DB, such as
> postgreSQL for example. That should be easy to do. Pull request accepted! :)
> >>>
> >>
> >
>
>


Re: [xwiki-users] [ANN] First version of the XWiki docker packaging

2017-01-16 Thread Vincent Massol
Hi Craig,

> On 16 Jan 2017, at 21:51, Craig Wright  wrote:
> 
> Hi Vincent,
> 
> This is great, and if it had been out two weeks ago I would have used it as 
> the basis for my installation! ;D
> 
> I can’t promise to check it out in the near-term future but when I get a 
> chance to revisit the install method, I will check it out. 

Cool

> When you release a new version, do you plan on pushing that out as a new 
> Docker image, or will you upgrade-in-place in the container? I assume the 
> former.

Yep, I’ll push new images.

Thanks
-Vincent

> Thanks,
> Craig
> 
> 
>> On Jan 16, 2017, at 12:33 PM, Vincent Massol  wrote:
>> 
>> Note that my assumption so far has been to provide a production-ready 
>> Dockerized XWiki. This is not meant to be a demo container to test out 
>> XWiki. 
>> 
>> * This is for example why I’ve used Debian:jessy as the base imagine and not 
>> alpine for example. Another option to slim it down would be to use 
>> https://hub.docker.com/r/tklx/base/ but I’ve preferred to use what you’d use 
>> in production.
>> * This is also why I’m using docker-compose and have several separate 
>> containers for the DB and for XWiki/Tomcat.
>> 
>> Thanks
>> -Vìncent
>> 
>>> On 16 Jan 2017, at 18:37, Vincent Massol  wrote:
>>> 
>>> Hi everyone,
>>> 
>>> I’ve started a first version of a XWiki docker packaging at 
>>> https://github.com/xwiki-contrib/docker-xwiki and I’ve created an automated 
>>> build on DockerHub at https://hub.docker.com/u/xwiki/. The goal is to 
>>> provide an official packaging done by the XWiki dev team.
>>> 
>>> Since I’m a recent user of Docker I’m sure I’ve made plenty of mistakes and 
>>> not following some best practices, even though I’ve tried my best to do 
>>> that ;)
>>> 
>>> So it would be great if:
>>> * Some users could try it out and let me know how it works
>>> * Users could tell me what they’d expect in term of setup from a docker 
>>> distribution.
>>> * Some Docker experts review my code and let me know what I should improve!
>>> 
>>> After I receive some confirmation that it works well-enough, my goal is to 
>>> document it as an official way of installing xwiki on xwiki.org.
>>> 
>>> Feel free to create jiras for ideas and bugs at 
>>> http://jira.xwiki.org/browse/XDOCKER.
>>> 
>>> Thanks a lot!
>>> -Vincent
>>> 
>>> PS: Note that I’m sure some will want a different DB, such as postgreSQL 
>>> for example. That should be easy to do. Pull request accepted! :)
>>> 
>> 
> 



Re: [xwiki-users] [ANN] First version of the XWiki docker packaging

2017-01-16 Thread Vincent Massol
Note that my assumption so far has been to provide a production-ready 
Dockerized XWiki. This is not meant to be a demo container to test out XWiki. 

* This is for example why I’ve used Debian:jessy as the base imagine and not 
alpine for example. Another option to slim it down would be to use 
https://hub.docker.com/r/tklx/base/ but I’ve preferred to use what you’d use in 
production.
* This is also why I’m using docker-compose and have several separate 
containers for the DB and for XWiki/Tomcat.

Thanks
-Vìncent

> On 16 Jan 2017, at 18:37, Vincent Massol  wrote:
> 
> Hi everyone,
> 
> I’ve started a first version of a XWiki docker packaging at 
> https://github.com/xwiki-contrib/docker-xwiki and I’ve created an automated 
> build on DockerHub at https://hub.docker.com/u/xwiki/. The goal is to provide 
> an official packaging done by the XWiki dev team.
> 
> Since I’m a recent user of Docker I’m sure I’ve made plenty of mistakes and 
> not following some best practices, even though I’ve tried my best to do that 
> ;)
> 
> So it would be great if:
> * Some users could try it out and let me know how it works
> * Users could tell me what they’d expect in term of setup from a docker 
> distribution.
> * Some Docker experts review my code and let me know what I should improve!
> 
> After I receive some confirmation that it works well-enough, my goal is to 
> document it as an official way of installing xwiki on xwiki.org.
> 
> Feel free to create jiras for ideas and bugs at 
> http://jira.xwiki.org/browse/XDOCKER.
> 
> Thanks a lot!
> -Vincent
> 
> PS: Note that I’m sure some will want a different DB, such as postgreSQL for 
> example. That should be easy to do. Pull request accepted! :)
> 



[xwiki-users] [ANN] First version of the XWiki docker packaging

2017-01-16 Thread Vincent Massol
Hi everyone,

I’ve started a first version of a XWiki docker packaging at 
https://github.com/xwiki-contrib/docker-xwiki and I’ve created an automated 
build on DockerHub at https://hub.docker.com/u/xwiki/. The goal is to provide 
an official packaging done by the XWiki dev team.

Since I’m a recent user of Docker I’m sure I’ve made plenty of mistakes and not 
following some best practices, even though I’ve tried my best to do that ;)

So it would be great if:
* Some users could try it out and let me know how it works
* Users could tell me what they’d expect in term of setup from a docker 
distribution.
* Some Docker experts review my code and let me know what I should improve!

After I receive some confirmation that it works well-enough, my goal is to 
document it as an official way of installing xwiki on xwiki.org.

Feel free to create jiras for ideas and bugs at 
http://jira.xwiki.org/browse/XDOCKER.

Thanks a lot!
-Vincent

PS: Note that I’m sure some will want a different DB, such as postgreSQL for 
example. That should be easy to do. Pull request accepted! :)



Re: [xwiki-users] Install Task Manager Application 2.4.1, velocity error

2017-01-16 Thread Vincent Massol
Hi,

> On 16 Jan 2017, at 03:01, novnovice  wrote:
> 
> I'm not sure if this is the correct venue for reporting an issue with a
> "recommended" extension? After installing Task Manager 2.4.1, when I visit
> the Task Manager page it shows an empty task list. Fine, but there is also
> an error reported. 
> 
> Failed to execute the [velocity] macro. Cause: [The data types text and
> nvarchar are incompatible in the equal to operator.]. 
> 
> The error message ends with these:

[snip]

> Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: The data types
> text and nvarchar are incompatible in the equal to operator.
>   at
> com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:217)

[snip]

The error seems related to SQLServer. It’s possible that some HQL query done by 
the Task Manager app is not working in SQLServer. That would need to be 
debugged. However note that the xwiki project doesn’t officially support 
SQLServer (see 
http://dev.xwiki.org/xwiki/bin/view/Community/DatabaseSupportStrategy). It’s 
also possible that the sqlserver HBM file needs some update.

Some pull requests fro this would be nice since it’s supported only by 
contributions and there’s no SQLServer user in the xwiki committers that I know 
of.

You should also raise a jira issue for the Task Manager app at 
http://jira.xwiki.org/browse/TASKMAN.

Thanks
-Vincent

> --
> View this message in context: 
> http://xwiki.475771.n2.nabble.com/Install-Task-Manager-Application-2-4-1-velocity-error-tp7602410.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.



[xwiki-users] Exclude "raw content" from solr search

2017-01-16 Thread Enste, Patrick
Hey,

I have googled for quite some time but wasn't able to find an answer to my 
question.

Is it possible to exclude the "raw content" from the solr search? I don't want 
it to be indexed and I don't want it to be shown as result. At the moment every 
"{{html}}" (and so on) can be found via search.

I am using XWiki 7.1.1.

Best regards,
Patrick Enste