Upgrade to 4.3 : how to specify the DB in updatenodeassignment.php ?

Upgrade to 4.3 : how to specify the DB in updatenodeassignment.php ?

Saturday 03 April 2010 9:09:54 am - 2 replies

Author Message

Hakim Bouras

Sunday 04 April 2010 12:08:02 am

After digging some more, the answer is to use one site access for each DB that needs to be updated :

php update/common/scripts/4.3/updatenodeassignment.php -s <SITE-NAME>

All the scripts built using eZScript and eZCLI are natively able to receive many parameters (see eZScript::getOptions )

One more info for people using multi-site config with database settings stored in extensions, you may update the script line 141 and change :

'use-extensions' => true

Hope it helps,

Hakim

Nicolas Pastorino

Tuesday 06 April 2010 2:14:56 am

One more info for people using multi-site config with database settings stored in extensions, you may update the script line 141 and change :

'use-extensions' => true

Hi Hakim,

Thanks for sharing the solution, very useful. I can see there is a bug in the updatenodeassignment.php script, would you mind reporting it in the issue tracker ? http://issue.ez.no/ezpublish (or, if a similar issue already exists, simply comment on it).

Thanks in advance !
Cheers,

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.