Upgrading From Gallery 2?

gabstero
gabstero's picture

Joined: 2010-01-06
Posts: 51
Posted: Thu, 2012-05-31 18:16

Hi Folks -

I might have overlooked it somewhere, but I'd like to upgrade a Gallery 2 version to the current Gallery 3 version. Can you please point me to the right set of instructions?

thanks,
Gabstero

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Thu, 2012-05-31 18:37

Its not an upgrade, G2 and G3 are two completely different application w/ a similar purpose.
So you'd install G3 in a separate directory and import your G2 items.
http://codex.gallery2.org/Gallery3:FAQ#Upgrading_from_Gallery_2_to_Gallery_3

Before you decide, be aware that G3 does not support as many mime types as G2, so things like PDF, or older video types won't be supported.
G3 was built to be lean and support the 80% who just want basic photo/video capabilities.
http://codex.gallery2.org/Gallery3:About <- needs expanding

There are a ton of community modules to accomplish much of the functionality of G2.

G3 also has no external Embed API so making it look like your site requires getting your hands dirty and editing html/php/css/js based themes.

G2 is still a viable option, so "upgrading" is not mandatory.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
gabstero
gabstero's picture

Joined: 2010-01-06
Posts: 51
Posted: Fri, 2012-06-01 17:50

thanks suprsdr

so i updated my old G2 to version 2.3.2. Please correct me if I am wrong but with the limited knowledge I have of both versions, G3 looks more SEO friendly than G2 - the tag cloud on the page, etc.
Also looks like editing G2 tpl files is a royal pain with all the caching, etc.

again, I might be reading all these wrong...

thanks for the insight.

g

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Fri, 2012-06-01 22:14
 
glimmersdad

Joined: 2009-02-11
Posts: 6
Posted: Sat, 2012-06-02 12:26

It's helpful to read this converstaion - I just spent the past few hours reading the Gallery website looking for data to make the same G2-G3 decision, and then found this thread.

I've been running a 3-site installation of G2 for a few years now, and am moving my server to new hardware, OS (will be Centos 6.2), MySQL, PHP (will be 5.3.3), Apache. I found the line in "What's New" about G3 not supporting multi-site.

Does that make my decision for me if I want/need to keep my multiple sites? My sites have totally different background images and colors, and the user bases are different enough that sharing isn't really appropriate. (I changed the borders and the background colors of my galleries instead of embedding the gallery displays in existing web pages.) So question #1 is, Is G3 even an option?

Question #2 is, Will G2 choke on any of my updated infrastructure (Centos 6.2, PHP 5.3.3, MySQL, whatever)? I see in the FAQ that G2.3.x is supposed to work with PHP 5.3.x so I should be cool on that - right?

I guess Question #3 would be, Did I forget to ask any other critical questions? Thanks for any help you can give - I'm trying to do my homework first, before I install a version that won't do what I need it to.

-- glimmersdad

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Sat, 2012-06-02 18:33

The decision on whether to migrate from G2 to G3 is one that has to be taken on whether, given the situation of a properly functioning G2 installation, G3 gives something specific and compelling that is missing from G2.

G2 is NOT out of date in any way, shape or form. The developers simply decided to develop a new application, G3, to do the same thing but with a different design paradigm.

This is why you don't UPGRADE G2 to G3, you MIGRATE from G2 to G3 ... similar to how you can migrate from G2 (or G3 for that matter) to any other web photo tool such as Coppermine, Zenphoto etc, etc, etc.

So when you are looking at this, you need to look at it as the case of moving to a totally different application that just happens to have been developed by the same team and has a similar name. I.E., you should look at a G2 to G3 migration in the same way as you would look at migrating to Zenphoto for instance.

So, given that your G2 is running fine with no issues, would you decide to migrate to Zenphoto just because a new version of Zenphoto is released for instance? I would think obviously not if there isn't something specific that you need provided in Zenphoto.

Obviously your case is slightly different since you are upgrading your server and situations like this gives opportunities to look at things afresh. Well, one thing is certain, G2.3.1+ will run on any current versions (June 2012) of Linux, PHP and MySQL. I run Centos 6.2, PHP 5.3.13, MySQL 5.5.25 and everything is served by Nginx.

On your queries:

Question #1 - You need to make the call yourself. I am sure G3 can do whatever you want it to do.

Question #2 - No, it will not choke. The main potential issue with G2 after official development stopped was a looming change in PHP. Thankfully however, one of the dev team put in a lot of work to bring it up to date in the G2.3.1 update and did so in a way to make it consistent with PHP's development path for the foreseeable future. This is why for instance, G2.3.1+ is compatible with PHP 5.4 out of the box. (Ironically, pending the next release, the current G3.0.3 is not)

Question #3 - Yes you did forget a critical question. "Does G2 already do what I need it to do?" One element of the G3 design paradigm is to make it easier to use on shared hosts. This might be a big one for some.

Also, if you are going to be migrating from G2 to another application, why limit your options to G3? Have you looked at other web photo applications such as Zenphoto, Coppermine, Piwigo? I actually like the look of Piwigo a lot and if I find that I need to move from G2, this, at this point in time, will be top of my list.

Having said that, there is a lot to be said about moving within the same project ... relative ease of the migration process to start with and knowing you will be part of the same team that brought us G1 & G2. Also, if I was starting off from scratch, I'll probably go with G3 in place of G2 simply because that is where the development thrust is.

BTW, there is a small scale user led update of G2 on GitHub. Assistance is welcome :)

--
dakanji.com

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sat, 2012-06-02 11:40

@glimmersdad yeah, paragraphs would have been helpful.
But to answer your question(s)
Install a quick demo of each on your new hardware and test them out.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2