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.
Posts: 8194
http://gallery.sf.net/docs.php <-- Upgrading section.
Posts: 19
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?
Posts: 8194
I don't think we've removed any files in this release.
Posts: 3
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
Posts: 16504
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
Posts: 19
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?
Posts: 13451
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.
Posts: 19
<...>
Posts: 13451
grimholtz, easy mistake - I bet you remember next time.
Posts: 3
I'm doing that.. quoting my first post:
no idea what else to do...
Posts: 3
doh! I was doing the same thing.. damn it... thank God for:
tar -tzf
Posts: 19
<...>
Posts: 19
<.....>
Posts: 19
<...>