upgrading nightly without the use of cvs

moiz87

Joined: 2005-02-18
Posts: 19
Posted: Sat, 2005-02-19 20:38

hey i was wondering if there is a way to upgrade the existing gallery 2 alpha 4 to the nightly versions and upgrade it every once in a while without the use of cvs because my host won't install the binaries or run the commands, thanks.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sat, 2005-02-19 20:48

sure, just replace all gallery files but the ones in the g2 data directory. i.e. delete your current gallery2 files and install a nightly snapshot.
note: keep config.php and your g2data directory, and of course, do _not_ delete the database.

 
moiz87

Joined: 2005-02-18
Posts: 19
Posted: Sun, 2005-02-20 16:10

i deleted my gallery2 folder and saved my config.php and galdata folder, now do i install the gallery2 nightly snapshot and then replace the files or do i put the files into the folder and then install the nightly snapshot?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-02-20 16:29

just place the files where the former gallery2 files were. and browse to your gallery in a webbrowser. the upgrader should start automatically. there's no "install process".

 
moiz87

Joined: 2005-02-18
Posts: 19
Posted: Sun, 2005-02-20 16:32

i all ready deleted the gallery2 directory, should i reinstall the gallery and then replace the config.php and galdata directory, will that work?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-02-20 16:38

don't run the installer. just place the files from the nightly snapshot to the place where your former gallery2 files were, put the old config.php into the directory and browse to your gallery2 in a browser.

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Mon, 2005-02-21 14:47

or you can force the upgrade by opening the \gallery\upgrade page directly.
Best regards,
Lutz