Re: [xwiki-users] migrating from .war to Debain apt package

2015-12-18 Thread shouldbe q931
On Sat, Dec 19, 2015 at 12:46 AM, shouldbe q931  wrote:
> On Fri, Dec 18, 2015 at 11:45 PM, shouldbe q931  
> wrote:
>> On Fri, Dec 18, 2015 at 7:30 PM, Paul Libbrecht  wrote:
>>> I'm sure others will have better hints, and your log could help, but I'd
>>> start by stopping the server, restoring the DB backup, then start it up.
>>>
>>> paul
>>>
 shouldbe q931 
 18 décembre 2015 20:05
 Hi,

 I'm struggling with migrating a 6.3 .war instance to a Debian
 APT/package 7.3 instance.

 I had hoped I would be able to install as per
 http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT
 choosing the xwiki-enterprise-tomcat7-mysql package, then edit
 hibernate.cfg.xml to point at the existing (external) MySQL instance
 hosting the database, then edit server.xml, xwiki.cfg and
 xwiki.properties to match the previous.

 The new instance connects, and after editing xwiki.cfg, I can login as
 superadmin, the previously setup LDAP auth not working), I was
 expecting to see the xwiki updater run, but it did not, and the top
 bar of xwiki is empty, it only has the logo on the far left and the
 three little lines on teh far right under which the only option is
 logout.

 Do I need to to do a .war update to get it up to 7.3 before migrating
 to a Debian APT/package instance ? or is there something that I have
 missed ?

 Cheers
 ___
 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
>>
>> Hi Paul,
>>
>> I'm fairly sure that none of the standard logs will help me with this
>> as the tomcat/java side is working correctly, it is the xwiki
>> application which is not seeing that the db needs to be updated.
>>
>> I have already stopping tomcat, rolling back to a previous database
>> snapshot and retrying, but did not see any improvement.
>>
>> Cheers
>
> I imported the 7.3 xar, and now it looks much better :-)
>
> Importing the xar did not wipe content or groups, but did wipe rights
> and LDAP config, wit the LDAP config recreated and the rights
> correctly set, it appears to up and running :-)
>
> Cheers

Most of the spaces are fine, but there are three that look like
http://pasteboard.co/8zJUMYt.png

I have confirmed that the rights on the spaces with the error are the
same as the rights on the spaces that do not show the error

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


Re: [xwiki-users] migrating from .war to Debain apt package

2015-12-18 Thread shouldbe q931
On Fri, Dec 18, 2015 at 11:45 PM, shouldbe q931  wrote:
> On Fri, Dec 18, 2015 at 7:30 PM, Paul Libbrecht  wrote:
>> I'm sure others will have better hints, and your log could help, but I'd
>> start by stopping the server, restoring the DB backup, then start it up.
>>
>> paul
>>
>>> shouldbe q931 
>>> 18 décembre 2015 20:05
>>> Hi,
>>>
>>> I'm struggling with migrating a 6.3 .war instance to a Debian
>>> APT/package 7.3 instance.
>>>
>>> I had hoped I would be able to install as per
>>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT
>>> choosing the xwiki-enterprise-tomcat7-mysql package, then edit
>>> hibernate.cfg.xml to point at the existing (external) MySQL instance
>>> hosting the database, then edit server.xml, xwiki.cfg and
>>> xwiki.properties to match the previous.
>>>
>>> The new instance connects, and after editing xwiki.cfg, I can login as
>>> superadmin, the previously setup LDAP auth not working), I was
>>> expecting to see the xwiki updater run, but it did not, and the top
>>> bar of xwiki is empty, it only has the logo on the far left and the
>>> three little lines on teh far right under which the only option is
>>> logout.
>>>
>>> Do I need to to do a .war update to get it up to 7.3 before migrating
>>> to a Debian APT/package instance ? or is there something that I have
>>> missed ?
>>>
>>> Cheers
>>> ___
>>> 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
>
> Hi Paul,
>
> I'm fairly sure that none of the standard logs will help me with this
> as the tomcat/java side is working correctly, it is the xwiki
> application which is not seeing that the db needs to be updated.
>
> I have already stopping tomcat, rolling back to a previous database
> snapshot and retrying, but did not see any improvement.
>
> Cheers

I imported the 7.3 xar, and now it looks much better :-)

Importing the xar did not wipe content or groups, but did wipe rights
and LDAP config, wit the LDAP config recreated and the rights
correctly set, it appears to up and running :-)

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


Re: [xwiki-users] migrating from .war to Debain apt package

2015-12-18 Thread shouldbe q931
On Fri, Dec 18, 2015 at 7:30 PM, Paul Libbrecht  wrote:
> I'm sure others will have better hints, and your log could help, but I'd
> start by stopping the server, restoring the DB backup, then start it up.
>
> paul
>
>> shouldbe q931 
>> 18 décembre 2015 20:05
>> Hi,
>>
>> I'm struggling with migrating a 6.3 .war instance to a Debian
>> APT/package 7.3 instance.
>>
>> I had hoped I would be able to install as per
>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT
>> choosing the xwiki-enterprise-tomcat7-mysql package, then edit
>> hibernate.cfg.xml to point at the existing (external) MySQL instance
>> hosting the database, then edit server.xml, xwiki.cfg and
>> xwiki.properties to match the previous.
>>
>> The new instance connects, and after editing xwiki.cfg, I can login as
>> superadmin, the previously setup LDAP auth not working), I was
>> expecting to see the xwiki updater run, but it did not, and the top
>> bar of xwiki is empty, it only has the logo on the far left and the
>> three little lines on teh far right under which the only option is
>> logout.
>>
>> Do I need to to do a .war update to get it up to 7.3 before migrating
>> to a Debian APT/package instance ? or is there something that I have
>> missed ?
>>
>> Cheers
>> ___
>> 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

Hi Paul,

I'm fairly sure that none of the standard logs will help me with this
as the tomcat/java side is working correctly, it is the xwiki
application which is not seeing that the db needs to be updated.

I have already stopping tomcat, rolling back to a previous database
snapshot and retrying, but did not see any improvement.

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


Re: [xwiki-users] migrating from .war to Debain apt package

2015-12-18 Thread Paul Libbrecht
I'm sure others will have better hints, and your log could help, but I'd
start by stopping the server, restoring the DB backup, then start it up.

paul

> shouldbe q931 
> 18 décembre 2015 20:05
> Hi,
>
> I'm struggling with migrating a 6.3 .war instance to a Debian
> APT/package 7.3 instance.
>
> I had hoped I would be able to install as per
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT
> choosing the xwiki-enterprise-tomcat7-mysql package, then edit
> hibernate.cfg.xml to point at the existing (external) MySQL instance
> hosting the database, then edit server.xml, xwiki.cfg and
> xwiki.properties to match the previous.
>
> The new instance connects, and after editing xwiki.cfg, I can login as
> superadmin, the previously setup LDAP auth not working), I was
> expecting to see the xwiki updater run, but it did not, and the top
> bar of xwiki is empty, it only has the logo on the far left and the
> three little lines on teh far right under which the only option is
> logout.
>
> Do I need to to do a .war update to get it up to 7.3 before migrating
> to a Debian APT/package instance ? or is there something that I have
> missed ?
>
> Cheers
> ___
> 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] migrating from .war to Debain apt package

2015-12-18 Thread shouldbe q931
Hi,

I'm struggling with migrating a 6.3 .war instance to a Debian
APT/package 7.3 instance.

I had hoped I would be able to install as per
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT
choosing the xwiki-enterprise-tomcat7-mysql package, then edit
hibernate.cfg.xml to point at the existing (external) MySQL instance
hosting the database, then edit server.xml, xwiki.cfg and
xwiki.properties to match the previous.

The new instance connects, and after editing xwiki.cfg, I can login as
superadmin, the previously setup LDAP auth not working), I was
expecting to see the xwiki updater run, but it did not, and the top
bar of xwiki is empty, it only has the logo on the far left and the
three little lines on teh far right under which the only option is
logout.

Do I need to to do a .war update to get it up to 7.3 before migrating
to a Debian APT/package instance ? or is there something that I have
missed ?

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


[xwiki-users] [ANN] File Manager 2.0.5 released

2015-12-18 Thread Marius Dumitru Florea
A new version of the File Manager Application that works with the most
recent versions of XWiki (7.2+) is now available. You can see here the list
of bugs that have been fixed:
http://extensions.xwiki.org/xwiki/bin/view/Extension/File+Manager+Application#Hv2.0.5

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


[xwiki-users] AUTO : Denis Germain est absent (retour 28/12/2015)

2015-12-18 Thread Denis . Germain

Je suis absent(e) du bureau jusqu'au 28/12/2015

Je suis actuellement en congés.

En cas d'urgence, merci de contacter le Support Technique Isocel
support-techni...@isocel.info ou Tel: 05 24 54 99 80


Remarque : ceci est une réponse automatique à votre message  "Re:
[xwiki-users] Documentation on Velocity binding for 'config' object?"
envoyé le 18/12/2015 15:08:53.

C'est la seule notification que vous recevrez pendant l'absence de cette
personne.

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


Re: [xwiki-users] Documentation on Velocity binding for 'config' object?

2015-12-18 Thread Eric Johanson
Thank you for the information.  I was able to to go directly to the 
Invitation.InvitationConfig Document and see where I could edit the snippet of 
code that accesses the 'guestsActionsPage'.  (The Velocity code resides in an 
object of type "Invitation.WebHome" and there is an item titled "Email message 
body HTML template").  But I don't see anywhere that I can actually change the 
value of guestsActionsPage itself.
​
So I can't find where "$config.get("guestsActionPage") is actually defined.  Is 
somewhere that I can modify its value?  Or could it be hard-coded into the 
application?

I also looked at the XWiki.XWikiServerXwiki document and found an object of 
type XWikiServerClass.  This object has a property named "Server" that is set 
to "localhost".  But that's not what the getExternalURL method seems to be 
using (it is getting a value that matches the short hostname).  Is this the 
property that you were referring to in your answer?

Thank you again for your help.
-Eric


-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Eduard Moraru
Sent: Thursday, December 17, 2015 5:51 PM
To: XWiki Users 
Subject: Re: [xwiki-users] Documentation on Velocity binding for 'config' 
object?

Hi,

I don`t know the code of the app in question, but specifically to your
questions:
* the document "Invitation.InvitationConfig" seems to be the one holding the 
configuration object with the "guestsActionsPage" property
* getExternalURL uses the server configuration that you have set in your wiki's 
descriptor located in the main wiki at "XWiki.XWikiServerXwiki" (for the main 
wiki) or in "XWiki.XWikiServerWikiname" (for a subwiki).

Hope this helps,
Eduard

On Thu, Dec 17, 2015 at 8:36 PM, deltamind106  wrote:

> There is a snippet of Velocity code in the XWiki invitation email 
> template that looks like this:
>
>
>
> *$xwiki.getDocumentAsAuthor($config.get("guestsActionsPage")).getExter
> nalURL())*
>
> Where is the 'config' binding for Velocity documented?  If I want to 
> change the value for "guestsActionPage", where would make this change?
>
> How does the "getExternalURL" method work?  Currently, it seems to be 
> using the short hostname in the URL it returns, which will not work 
> for us since that particular hostname is not published on our DNS 
> server.  So I need to change the behavior of "getExternalURL" so that it uses 
> an IP address.
> Where would I do that?
>
> Thank you in advance for any help you can provide.
> -Eric
>
>
>
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/Documentation-on-Velocity-binding-fo
> r-config-object-tp7597271.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
>
___
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