[Solved] Upgrade from non svn to svn version

daboss

Joined: 2006-05-12
Posts: 4
Posted: Fri, 2006-11-24 10:43

Hello,

I have gallery 2 installed and I want to upgrade it to an svn version.

I would like to know how I can upgrade it without destroy my data (database and albums) and keep my gallery configuration ?

thanks a lot for your help

--
Salah

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2006-11-24 16:02

is your g2data/ folder outside the gallery2 folder? if so, good.

just rename the gallery2 folder to gallery2_old.
then do a svn checkout.
finally copy config.php and .htaccess from gallery2_old to the new gallery2/ folder.
now you can delete the gallery2_old folder.

 
daboss

Joined: 2006-05-12
Posts: 4
Posted: Sat, 2006-11-25 16:32

Hi Valiant,

thanks for your support. It's what i have done before you repied :-)

--
Salah

 
giosico

Joined: 2004-11-17
Posts: 14
Posted: Mon, 2006-11-27 02:36

Hi

Any tips if my g2data/folder is inside the galler2 folder?

I just wanted to check with you in case there may be permissions issues etc?

Thanks in advance.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2006-11-27 13:02

you'll have to move g2data out of the old gallery2 folder and into the new gallery2 folder. that's it.
note: when moving / renaming g2data, be sure that permissions are not changed!

 
Eleazar

Joined: 2006-01-06
Posts: 27
Posted: Mon, 2008-10-06 12:55

Also note that if you move /g2data, you have to edit config.php to reflect this change on the following line:

$gallery->setConfig('data.gallery.base', '/gallery2/g2data/');