I agree the upgrade file needs some upgrading. But I don't want to wait on it. I'm confused by step 3, "Unpack the new Gallery on top of your old one". Can anyone explain how to do that? Something about "tar xvf", I'm unfamiliar with this.
----
Give us your Gallery/webserver information to get a faster answer.
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful): agnew31.ext.vt.edu
Gallery version: 1.3.3
Apache version: 1.3.27
PHP version (don't just say PHP 4, please): 4.1.2
Graphics Toolkit: netpbm
Operating system: Mac OS 10.2.6
Web browser/version (if applicable):
Posts: 8194
Yep, if you have shell access, go to Gallery's parent directory and type this
$ tar -xvzf new-gallery-filename.tar.gz
Make sure Gallery is in setup mode before you do that.
Posts: 9
Thanks, the upgrade works now! From other posts I had it almost figured out except I wasn't unpacking the file from gallery's parent directory, but instead from within the gallery directory.
Posts: 10
i am having a problem with the upgrade.
i have put gallery-1.3.4.tar.gz in my /public_html directory.
/gallery is under /public_html.
i have put gallery in configure mode.
from /public_html i unpack the file.
it goes fine for a few seconds, and the i get
---snip----
gallery/images/nav_page.gif
gallery/images/nav_prev.gif
gallery/images/pixel_trans.gif
gallery/images/uploading.gif
gallery/index.php
gallery/init.php
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
gzip: stdin: invalid compressed data--crc error
gzip: stdin: invalid compressed data--length error
tar: Child returned status 1
tar: Error exit delayed from previous errors
--------------------------------------
what is wrong?
jeff
Posts: 13451
jegefe, your archive seems corrupt. Try downloading a fresh one.
Posts: 10
thanks, you were right.
i think i did an ascii ftp.
jeff
Posts: 13451
And that is not a good idea. Glad you got it working!
Posts: 10
sorry to be a pest, but i am now doing the upgrade for a second installation. i have done everything exactly the same as the first,
but i get this error message when i unpack:
-----------
tar: gallery/html_wrap/gallery.header.default: Cannot open: File exists
gallery/html_wrap/inline_albumthumb.footer.default
tar: gallery/html_wrap/inline_albumthumb.footer.default: Cannot open: File exists
gallery/html_wrap/inline_albumthumb.frame.default
tar: gallery/html_wrap/inline_albumthumb.frame.default: Cannot open: File exists
gallery/html_wrap/inline_albumthumb.header.default
tar: gallery/html_wrap/inline_albumthumb.header.default: Cannot open: File exists
-----------
any ideas?
thanks
jeff
Posts: 8194
Are you using the -f flag?
e.g.
tar -xvzf gallery.tar.gz
Posts: 10
yes i am using -f.
jeff
Posts: 3473
It looks like it might be write permissions problems. Simplest fix:
Copy gallery/.htaccess and gallery/config.php somewhere safe. Remove all the gallery files and untar the new code into an empty directory. Move config.php and .htaccess back again, and proceed as before.
Posts: 10
thanks, it worked.
jeff
Posts: 36
I have 2 gallerys with to seperate album folders running on my server. One gallery is called "gallery" and the other is called "friends". How can I unpack gallery to upgrade "friends"? If I unpack using
$ tar -xvzf new-gallery-filename.tar.gz
It unpacks over the "gallery" folder.
Is there a script that will let me force it to unpack over "friends"
Thanks.
Posts: 16
OK, I used the preinstaller to load a .tar.gz file in the root directory, and I inputted
$ tar -xvzf gallery2.tar.gz
and I got back the error
500?
What's going on?
Posts: 16
And when I try to unpack gallery.zip using the preinstaller, it gives
exec returned an error status Archive: /home/content/e/m/b/embk1/html/gallery2.zip
by the way:
Gallery version = 2.1.1 core 1.1.0.1
PHP version = 4.3.11 cgi-fcgi
Webserver = Apache
Database = mysql 4.0.27-max-log, lock.system=flock
Toolkits = Gd, NetPBM, ImageMagick, Ffmpeg, Exif
Acceleration = none, none
Operating system = Linux linhost117.prod.mesa1.secureserver.net 2.4.21-27.ELsmp #1 SMP Wed Dec 1 21:59:02 EST 2004 i686
Default theme = siriux
Locale = en_GB
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6