Help upgrading from 1.4-pl2 to 1.4.2

grimholtz

Joined: 2003-11-30
Posts: 19
Posted: Thu, 2004-02-12 22:33

Hi,
I'm running Gallery 1.4-pl2 (11/10/2003) and have just downloaded 1.4.2. I'm wondering how to upgrade? Should I just overwrite old files with the new ones from 1.4.2? Or should I delete everything and do a fresh install (but then how do I retain my albums, images, etc)?

Any help would be greatly appreciated as I haven't seen any posts on this yet,and no README in 1.4.2 about upgrading.

Thank you in advance.

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Thu, 2004-02-12 22:46

http://gallery.sf.net/docs.php <-- Upgrading section.

 
grimholtz

Joined: 2003-11-30
Posts: 19
Posted: Thu, 2004-02-12 22:59

Thanks.

These instructions essentially say to do a backup then overlay old files with the ones from the new release. One question: what if there are files in the old release that are no longer used by the new release? Won't they sit around forever, never to be used again?

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Thu, 2004-02-12 23:26

I don't think we've removed any files in this release.

 
arestheimpaler

Joined: 2004-02-14
Posts: 3
Posted: Sat, 2004-02-14 23:56

I'm having trouble upgrading.. I did the following:

sh configure.sh
tar -cz ../gallery > gallery-backup.tar.gz
mv gallery-backup.tar.gz ~
wget http://aleron.dl.sourceforge.net/sourceforge/gallery/gallery-1.4.2.tar.gz
tar -xvzf gallery-1.4.2.tar.gz
// I reconfigured everything
sh secure.sh

after that, I still get the front page of gallery to say that it is "Powered by Gallery v1.4-pl2". what am I doing wrong?

Thanks

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Mon, 2004-02-16 05:46

What I've done on some upgrades, is everything you've done, but also copying the .htaccess and config.php files out of my gallery directory. Then deleting the entire directory (backing up before hand of course), decompressing the new version of gallery, then copying the .htaccess and config.php files back in.

I also run PHP under php-cgiwrap so I've also got to redo my permissions afterwards as well.

Kevin

 
grimholtz

Joined: 2003-11-30
Posts: 19
Posted: Mon, 2004-02-16 18:49

I'm having the same problem as arestheimpaler, but on Windows (so I'm using WinZip instead of tar). Gallery still says its "Powered by Gallery v1.4-pl2" when clearly this can't be the case...

Any ideas?

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Mon, 2004-02-16 19:51

arestheimpaler, run configure.sh first to open up the setup/ dir's permissions so the upgrade process can overwrite those files.

grimholtz, you probably haven't overwritten all files, try again and remember to overwrite all files.

 
grimholtz

Joined: 2003-11-30
Posts: 19
Posted: Thu, 2008-01-24 07:34

<...>

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Mon, 2004-02-16 21:44

grimholtz, easy mistake - I bet you remember next time. :)

 
arestheimpaler

Joined: 2004-02-14
Posts: 3
Posted: Tue, 2004-02-17 01:52
h0bbel wrote:
arestheimpaler, run configure.sh first to open up the setup/ dir's permissions so the upgrade process can overwrite those files.

I'm doing that.. quoting my first post:

Quote:
sh configure.sh
tar -cz ../gallery > gallery-backup.tar.gz
mv gallery-backup.tar.gz ~
wget http://aleron.dl.sourceforge.net/source ... 4.2.tar.gz
tar -xvzf gallery-1.4.2.tar.gz
// I reconfigured everything
sh secure.sh

no idea what else to do...

 
arestheimpaler

Joined: 2004-02-14
Posts: 3
Posted: Tue, 2004-02-17 02:01
grimholtz wrote:
I'm such a st00pid n00b. I was unzipping to <path-to-gallery>/gallery instead of <path-to-gallery>

Thanks, h0bbel.

doh! I was doing the same thing.. damn it... thank God for:

tar -tzf

 
grimholtz

Joined: 2003-11-30
Posts: 19
Posted: Thu, 2008-01-24 07:30

<...>

 
grimholtz

Joined: 2003-11-30
Posts: 19
Posted: Thu, 2008-01-24 07:30

<.....>

 
grimholtz

Joined: 2003-11-30
Posts: 19
Posted: Thu, 2008-01-24 07:31

<...>