On 13 Oct 2014 at 09:33:31, vincent(a)massol.net
(vincent@massol.net(mailto:vincent@massol.net)) wrote:
On 13 Oct 2014 at 09:11:20, Manuel Smeria (manuel@xwiki.com(mailto:manuel@xwiki.com))
wrote:
Hi,
I think users want to see examples of migrations from version X to Y
instead of the current documentation.
For example my previous mini tutorial could be used here :
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade#HUpgradingthewe…
rather than what is currently written.
I think 90% of what you wrote is already there. Free free to integrate the 10% missing,
that’s exactly what I meant by “Would be great to understand how we can improve
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade to make it extra clear what
you have to do.” :)
Basically instead of responding to the user which helps 1 user I prefer the approach of
fixing the doc which helps N users (see
http://dev.xwiki.org/xwiki/bin/view/Community/Contributing#HStrategiesforan…).
This is what I tried to do by adding a section to the documentation for Maik’s need. Now
I need to know if what I did helped or not ;)
BTW your mini tutorial is not fully correct since it means potentially loosing new
configuration options.
The truth on this is that we don’t have any easy way to upgrade an install at this level
yet…
Thanks
-Vincent
Also we could
bundle the Java connectors for all the supported DBs into
XWiki by default, but that's a different issue :)
I don’t think Maik wanted to migrate DB, at least that’s not what he said. But yes we
should probably also have a tutorial for moving from one DB to another (although we do
already have a backup/export page and moving DB is exactly that: export then reimport,
either at DB level or at XAR level).
Thanks
-Vincent
PS: One possible issue with Maik’s case is that he may not be a java person. He may not
even know how Servlet Container work. This is what I added the new section which doesn’t
require any knowledge of Java/Servlet container (no need to even know what a WAR is).
> Thanks,
> Manuel
>
> On Mon, Oct 13, 2014 at 9:49 AM, vincent(a)massol.net
> wrote:
>
> > Hi Manuel/Maik,
> >
> > On 13 Oct 2014 at 08:28:00, Manuel Smeria (manuel(a)xwiki.com(mailto:
> > manuel(a)xwiki.com)) wrote:
> >
> > > Hello Maik,
> > >
> > > In order to upgrade your XWiki installataion from 6.1 to 6.2.1 you need
> > to
> > > follow these steps:
> > > * Download the 6.2.1 WAR file (
> > >
http://download.forge.ow2.org/xwiki/xwiki-enterprise-web-6.2.1.war) and
> > > extract it into a folder called "xwiki"
> > > * Go to your XWiki 6.1 installation folder and replace your
> > "webapps\xwiki"
> > > folder with the one from the previous step
> > > * Start your server
> > >
> > > This tutorial assumes you're using HyperSQL as the DB by default. If
you
> > > use another DB you need to copy a Java connector to your
> > > "xwiki\WEB-INF\lib" folder and also configure your
> > > "xwiki\WEB-INF\hibernate.cfg.xml" to connect to your specific
DB.
> > >
> > > Thanks,
> > > Manuel
> > >
> > > On Sun, Oct 12, 2014 at 6:59 PM, Maik Dehnert
> > > wrote:
> > >
> > > > Hello all together,
> > > >
> > > > I am a bit confused looking at upgrading section, because I have
never
> > > > upgraded XWIKI before, and I just have experience with the regular
> > ".exe"
> > > > installation process. Can you explain in a bit more detail to me how
to
> > > > upgrade XWIKI with a WAR file? Where can I replace the old WAR file
on
> > my
> > > > server with the newer one?
> >
> > Would be great to understand how we can improve
> >
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade to make it
> > extra clear what you have to do.
> >
> > I’ve created
> >
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade#HUpgradingthest…
> >
> > Let me know if it helps.
> >
> > Thanks
> > -Vincent