Hi Jason,
On 10 Dec 2014 at 05:11:40, Jason Clemons
(jason.clemons@live.com(mailto:jason.clemons@live.com)) wrote:
I have say, upgrading makes me very nervous too..
Have you ever tried using the Distribution Wizard?
so, I'd definitely vote for anything that changes
or enhances that process. So far, I'm terrified to even try an upgrade (currently on
5.4) since my wiki is production and we've done a fair bit of customized solutions to
unique problems (likely not in a "supported" way maybe) .
Well, first nobody should ever upgrade a wiki in production directly! You should make
backups and do the upgrade on a staging server and then only move the instance to
production.
My fear is that some piece of code or settings will
get overwritten which will break stuff and I won't know where to look to fix them. 😃
A wizard would be awesome to take the guess work out of it.
err… The Distribution Wizard …. is a... wizard ;)
You should give it a try! We do have some ideas in jira to make it even better but it’s
already quite good in its current state.
As is, I've read some of the tutorials out there
regarding upgrades several times but I'm not really able to determine the prescribed
steps using those.
What tutorial? Could you give me the links?
I think at the end of the day I'm going to end up
exporting my solutions as XAR's and then try importing them into an upgraded Xwiki
environment too, since it seems easier to me.
The DW is generally a better solution to upgrades.
Thanks
-Vincent
> On Dec 9, 2014, at 2:58 PM, Jeremie BOUSQUET
wrote:
>
> Le 9 déc. 2014 22:37, "Thomas Mortagne" a écrit
> :
>>
>> On Tue, Dec 9, 2014 at 10:28 PM, Guillaume Lerouge
> wrote:
>>> Hi,
>>>
>>> On Tue, Dec 9, 2014 at 10:23 PM, Thomas Mortagne <
> thomas.mortagne(a)xwiki.com>
>>> wrote:
>>>
>>>> On Tue, Dec 9, 2014 at 9:57 PM, Harald Ommang > >>
>>>> wrote:
>>>>> Hi!
>>>>>
>>>>> In one way, I very much appreciate the relatively high frequency of
>>>> updates done by the XWIKI crew. You are doing a great job, making sure
> that
>>>> XWIKI is alive and kicking and always improving.
>>>>>
>>>>> The downside to this, is all the work needed to be done when
> upgrading.
>>>> So, I don't do that very often. The basic part of
> installation/migration
>>>> works very well, but when it comes to content, the upgrade procedure is
>>>> messy, as I see it. It is a hassle to have to pick and choose between
>>>> various parts when importing and exported XAR.
>>>>>
>>>>> I would very much suggest planning for a future where the parts
that
> are
>>>> XWIKI software are clearly separated from the parts where customers
>>>> typically do modifications. Especially items like users and groups. It
>>>> should be possible to have a more separated export/import so that you
> GET
>>>> new versions of e.g. the admin pages, while still KEEPING your setup of
>>>> users, groups, etc., without having to click on a million of
> checkboxes in
>>>> the import.
>>>>
>>>> I don't really understand this comment, doing export/import is
really
>>>> not the standard way of doing an upgrade. In typical upgrade you
>>>> backup everything if you want to be safe (or better you have automated
>>>> backups and you don't really need to do it when you upgrade),
upgrade
>>>> the WAR part (if you use the Debian package then it's just about
doing
>>>> apt-get upgrade or install with a specific version), restart, XWiki
>>>> upgrade the database shema automatically if needed and then you get
>>>> the Distribution Wizard which download and upgrade the wiki pages with
>>>> 3 ways merge. Most of the time you don't have anything to do.
>>>
>>> Sure, but to benefit from all those nice Distribution Wizard features,
>>> Harald would first need to... upgrade to the latest version ;-)
>>
>> Distribution Wizard has been introduced in 4.2 so not really the
>> latest version. And even before that export/import everything never
>> really been standard upgrade process either.
>
> Sure, but you usually did reverse way : import new xwiki ui xar (and
> remember to uncheck standard pages customized, or have them overwritten).
> And yes, it was sometimes a hassle, and compared to that distribution
> wizard is really really great :)
>
>>
>>>
>>> Guillaume