Re: [xwiki-users] upgrading xwiki 1.2.2

2008-03-17 Thread Joao Henrique Silva Santos
  Great! As for the database, I think I could offer you temporal hosting for
 a small MySQL database here. Let me know if you consider it will help you to
 convince your administrator that to host MySQL there (or any other option)
 will be a good idea.

Thanks for your offer, but i think it won't be necessary :)



  Nope, global.vm is by no means deprecated! But it is now stored in the
 /templates folder under /xwiki. All Velocity templates have been moved
 there.

Thanks! should have remembered of doing a find $WIKI -name global.vm :p


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


Re: [xwiki-users] upgrading xwiki 1.2.2

2008-03-14 Thread Joao Henrique Silva Santos
 I think this path could go in a FAQ entry. Perhaps it does not make
  sense to propose a way of updating from the zipped standalone
  distribution running on Jetty/hhsqldb to the war one. The standalone
  release is intended to entry level users, and it would be advisable to
  move to the war distribution running on whatever servlet container and a
  relational database like MySQL or Oracle. But you have your contents in
  the standalone version... what database are you planning to run with
  XWiki war?


I'll make a post in the FAQ.
As for the database, I'm not sure, since I'm not responsible for the
server and don't know yet what database and servlets are availabe.
Will try to find out...


 This is not a good idea. Albatross has changed a lot since 1.2.2 times
  (better, the pair Albatross/Toucan :-), so I think you MUST use the new
  release. I will be glad to help you to recover your customized behavior,
  but first of all we need to work out the collapsed/expanded panels issue.

  What do you think?


I think you're right, even with the collapsed panels problem solved.
Just have to find a time when I can allow myself to break the layout
of the wiki. Even though the page its in the very early construction
phase, I have couple of co-workers who also make contributions.

So my first question regarding the albatross skin is the following:
Since the global.vm file is missing, and at least a few of the
properties it defined are now elsewhere (such as colors.css), while
others are not, should I create a new global.vm or is it entirely
deprecated?
In my case, I want to modify the url of the main logo, which was
defined in global.vm as

[...]
  div id=company
  div id=companylogo
a href=SOMEURL
[]
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] upgrading xwiki 1.2.2

2008-03-14 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team

Joao Henrique Silva Santos wrote:


I'll make a post in the FAQ.
As for the database, I'm not sure, since I'm not responsible for the
server and don't know yet what database and servlets are availabe.
Will try to find out...


Great! As for the database, I think I could offer you temporal hosting 
for a small MySQL database here. Let me know if you consider it will 
help you to convince your administrator that to host MySQL there (or any 
other option) will be a good idea.

I think you're right, even with the collapsed panels problem solved.
Just have to find a time when I can allow myself to break the layout
of the wiki. Even though the page its in the very early construction
phase, I have couple of co-workers who also make contributions.

So my first question regarding the albatross skin is the following:
Since the global.vm file is missing, and at least a few of the
properties it defined are now elsewhere (such as colors.css), while
others are not, should I create a new global.vm or is it entirely
deprecated?
In my case, I want to modify the url of the main logo, which was
defined in global.vm as

[...]
  div id=company
  div id=companylogo
a href=SOMEURL
[]


Nope, global.vm is by no means deprecated! But it is now stored in the 
/templates folder under /xwiki. All Velocity templates have been moved 
there.


But if you create your own skin and put a global.vm file there, it will 
take precedence over the one in /templates.


Take a look to this...

http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Skins#HCreatingawholenewskin

This might help.

Cheers,

Ricardo

--
Ricardo Rodríguez
Your EPEC Network ICT Team

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


Re: [xwiki-users] upgrading xwiki 1.2.2

2008-03-13 Thread Joao Henrique Silva Santos
Hi
Yes, I did, but it only mentions the WAR distribution upgrade. Or am I
mis-reading it?

rgds,
Joao

On 13/03/2008, [Ricardo Rodriguez] Your EPEC Network ICT Team
[EMAIL PROTECTED] wrote:
 Hi Joao,



  Joao Henrique Silva Santos wrote:
   Hi.
  
   I have installed an XWiki 1.2.2 through a XWiki Enterprise ZIP, and
   now want to upgrade to 1.3.
   From the documentation, it seems that easy upgrades of the wiki
   require the WAR installation, which I have not done. Do I have to
   export my current wiki into a WAR (if so, how can I do it?), or is it
   done through a different method?



 Have you checked out Upgrading an XWiki Installation in the following
  location?

  http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation

  HTH,

  Ricardo


  --
  Ricardo Rodríguez
  Your EPEC Network ICT Team

  ___
  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] upgrading xwiki 1.2.2

2008-03-13 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team
Hi,

Joao Henrique Silva Santos wrote:
 Hi
 Yes, I did, but it only mentions the WAR distribution upgrade. Or am I
 mis-reading it?

Touché! :-) Good point. It was me myself who misread your message.

I've once downloaded and used a zipped distribution to debug a problem 
with MySQL (following Vincent advice) and all what I did was to remove 
the folder of the hsqldb database (I don't remember the name and some 
xwiki.org sections are now down for maintenance, but it was easy to 
locate) and configure hibernate.cfg.xml accordingly.

So I am *guessing* that all you have to do is to bring down your servlet 
container, create a backup copy of the whole /xwiki directory structure 
(jsut in case!), put in place the new zip contents, copy your current 
database to the new location and start the container again.

Please, let me knows if this helped. It could be helpful for others if 
we could create a FAQ about this (if it doesn't existe yet!) Thanks.

Best,

Ricado

-- 
Ricardo Rodríguez
Your EPEC Network ICT Team

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


Re: [xwiki-users] upgrading xwiki 1.2.2

2008-03-13 Thread Joao Henrique Silva Santos
Thanks for the info.
I'll try it when I know I have some free time just for the upgrading,
in case something goes wrong. Perhaps later today.
In any case, I'll post some results.

But I have a question, when you say to copy database do you mean only
the $XWIKI_HOME/database folder? just like that :-) ?

rgds,
Joao

On 13/03/2008, [Ricardo Rodriguez] Your EPEC Network ICT Team
[EMAIL PROTECTED] wrote:
 Hi,


  Joao Henrique Silva Santos wrote:
   Hi

  Yes, I did, but it only mentions the WAR distribution upgrade. Or am I
   mis-reading it?


 Touché! :-) Good point. It was me myself who misread your message.

  I've once downloaded and used a zipped distribution to debug a problem
  with MySQL (following Vincent advice) and all what I did was to remove
  the folder of the hsqldb database (I don't remember the name and some
  xwiki.org sections are now down for maintenance, but it was easy to
  locate) and configure hibernate.cfg.xml accordingly.

  So I am *guessing* that all you have to do is to bring down your servlet
  container, create a backup copy of the whole /xwiki directory structure
  (jsut in case!), put in place the new zip contents, copy your current
  database to the new location and start the container again.


 Please, let me knows if this helped. It could be helpful for others if
  we could create a FAQ about this (if it doesn't existe yet!) Thanks.

  Best,

  Ricado


  --

 Ricardo Rodríguez
  Your EPEC Network ICT Team

  ___
  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] upgrading xwiki 1.2.2

2008-03-13 Thread Joao Henrique Silva Santos
Hi.
I've upgraded the xwiki from 1.2.2 to 1.3 final using the zip distributions
All I did was:

1 - copy the entire directory to a backup folder
2 - unzip the 1.3 zip file xwiki-enterprise-hsqldb-1.3.zip
3 - deleted the newly created database ($XWIKI_HOME/database), and
replaced it with the backed up database folder.

Then I wanted to implement the changes I had made on the 1.2.2
albatross skin, but since I could not find where to make some changes
(namely how to change the url of the wiki icon, which was defined on
global.vm), I decided instead to:

4 - rename albatross (in webapps/xwiki/skins) to albatrossORIGINAL;
5 - copy to the skins folder the albatross folder from my backed up
1.2.2 xwiki

It is now running and so far it seems everything is fine, including user list.

Joao


On 13/03/2008, [Ricardo Rodriguez] Your EPEC Network ICT Team
[EMAIL PROTECTED] wrote:
 Joao Henrique Silva Santos wrote:

  Thanks for the info.
   I'll try it when I know I have some free time just for the upgrading,
   in case something goes wrong. Perhaps later today.
   In any case, I'll post some results.
  
   But I have a question, when you say to copy database do you mean only
   the $XWIKI_HOME/database folder? just like that :-) ?


 Yeap, as simple as that :-) XWiki is a great and simple stuff!

  Cheers,


  --

 Ricardo Rodríguez
  Your EPEC Network ICT Team

  ___
  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] upgrading xwiki 1.2.2

2008-03-13 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team
Great!

Joao Henrique Silva Santos wrote:
 Hi.
 I've upgraded the xwiki from 1.2.2 to 1.3 final using the zip distributions
 All I did was:

 1 - copy the entire directory to a backup folder
 2 - unzip the 1.3 zip file xwiki-enterprise-hsqldb-1.3.zip
 3 - deleted the newly created database ($XWIKI_HOME/database), and
 replaced it with the backed up database folder.
   

I think this path could go in a FAQ entry. Perhaps it does not make 
sense to propose a way of updating from the zipped standalone 
distribution running on Jetty/hhsqldb to the war one. The standalone 
release is intended to entry level users, and it would be advisable to 
move to the war distribution running on whatever servlet container and a 
relational database like MySQL or Oracle. But you have your contents in 
the standalone version... what database are you planning to run with 
XWiki war?
 Then I wanted to implement the changes I had made on the 1.2.2
 albatross skin, but since I could not find where to make some changes
 (namely how to change the url of the wiki icon, which was defined on
 global.vm), I decided instead to:

 4 - rename albatross (in webapps/xwiki/skins) to albatrossORIGINAL;
 5 - copy to the skins folder the albatross folder from my backed up
 1.2.2 xwiki
   

This is not a good idea. Albatross has changed a lot since 1.2.2 times 
(better, the pair Albatross/Toucan :-), so I think you MUST use the new 
release. I will be glad to help you to recover your customized behavior, 
but first of all we need to work out the collapsed/expanded panels issue.

What do you think?

Saúde,

Ricardo

-- 
Ricardo Rodríguez
Your EPEC Network ICT Team

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


Re: [xwiki-users] upgrading xwiki 1.2.2

2008-03-12 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team
Hi Joao,


Joao Henrique Silva Santos wrote:
 Hi.

 I have installed an XWiki 1.2.2 through a XWiki Enterprise ZIP, and
 now want to upgrade to 1.3.
 From the documentation, it seems that easy upgrades of the wiki
 require the WAR installation, which I have not done. Do I have to
 export my current wiki into a WAR (if so, how can I do it?), or is it
 done through a different method?


Have you checked out Upgrading an XWiki Installation in the following 
location?

http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation

HTH,

Ricardo

-- 
Ricardo Rodríguez
Your EPEC Network ICT Team

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