Migrating from G1 to G2, Win to Linux between different servers- help needed

LeSporty

Joined: 2008-05-20
Posts: 7
Posted: Mon, 2008-06-02 03:25

Hi all,
I believed some of the questions I am seeking help here may have been answered somewhere but I just could not find the answers I need. So please help.
I have to recreate my site on another domain and hosting company because the old hosting kept access problems and to my dismay, I discovered that the domain which I have used for the last 5 years is actually öwned"by the hosting company despite us paying the registration every year.
We had our photos and albums on G1 running on Windows previously. We have now successfully installed G2 on a Linux server.
Instead of re-uploading and recreating all the albums & photos (hence losing the counter history & so on) we hope to be able to migrate our archive from:
- G1 to G2
- between different hosting servers
- from Windows to Linux

We are not technically inclined and so programming will be a learning curve process. Can anyone please advise how/where we can achieve that? Thanks very much.

 
jmullan
jmullan's picture

Joined: 2002-07-28
Posts: 974
Posted: Mon, 2008-06-02 03:41

There shouldn't be a problem -- just copy your files and database from one server to another and give it a try. If you have problems, please come back and let us know what happened.

Once you have copied your files and database, please try reading this:
http://codex.gallery2.org/Gallery2:migration

 
LeSporty

Joined: 2008-05-20
Posts: 7
Posted: Mon, 2008-06-02 04:00

Thanks for the quick reply.
I can copy the files easily as I can identify all of them under the "gallery" folder. However what files should I be looking for the database?
And I should copy all the contents of the "gallery" folder & the database into the "gallaey2" folder in the new setup?

Apologies for asking dumb questions.

 
jmullan
jmullan's picture

Joined: 2002-07-28
Posts: 974
Posted: Mon, 2008-06-02 04:43

I meant your gallery and "albums" folders -- I said "database" thinking Gallery2 already. Sorry about that!

 
block306

Joined: 2008-05-19
Posts: 21
Posted: Mon, 2008-06-02 04:55

o

 
LeSporty

Joined: 2008-05-20
Posts: 7
Posted: Mon, 2008-06-02 04:56

ok- will try and feedback on sucess or otherwise.Thanks.

 
LeSporty

Joined: 2008-05-20
Posts: 7
Posted: Wed, 2008-06-04 08:41

ok- I have re-uploaded all the albums & setting from the old gallery1 folder into my new webserver. I then attempted to do an "import from Gallery1" in the site admin.
At " Path to Gallery 1 albums directory" I put in "/gallery/albums" which is where all my old albums from Gallery1 are residing now. After that I click "select" but nothing happens. There ar options like "choose opjects page" as described in this document:http://codex.gallery2.org/Gallery2:migration

What to do now?? Thanks.

 
LeSporty

Joined: 2008-05-20
Posts: 7
Posted: Thu, 2008-06-05 02:49

Tried various things incl. pointing a new album in Gallery2 to an existing album in the gallery1 directory but does not work.
No one can suggest a solution? Thanks.

 
jmullan
jmullan's picture

Joined: 2002-07-28
Posts: 974
Posted: Thu, 2008-06-05 03:34

Your old albums are probably *not* living at /gallery/albums -- that is most likely the *web path*, not the *file path*.

Also, when you posted, you might have missed this stuff in the box to post:
Please fill out the following form and take a look at the linked pages. The more information you supply, the better we can help you. Remove this FAQ information from your post before submitting.

FAQ:
- Is there a guide for migrating from G1 to G2 available?
http://codex.gallery2.org/index.php/Gallery2:migration
- What information is required when asking for help in the forums?
http://codex.gallery2.org/index.php/Gallery2:faq#What_information_is_required_when_I_ask_for_help_in_the_forums.3F
- How to enable and use the debug mode of G2?
http://codex.gallery2.org/index.php/Gallery2:faq#How_to_set.2Fuse_Gallery_in_debug_mode.3F
- Known Issues (might explain your problem):
http://codex.gallery2.org/index.php/Gallery2:KnownIssues
- You can copy and paste a lot of the required information from "Site Admin" -> "Maintenance" -> "System Information" if your G2 is up and running.

Please fill out the following, if you can:

G2 URL (optional):
G2 version:
G1 URL (optional):
G1 version:
G1 character set:
PHP memory limit:
--
PHP version (e.g. 5.1.6):
PHPInfo Link (see FAQ):
Webserver (e.g. Apache 1.3.33):
Database (e.g. MySql 5.0.32):
Activated toolkits (e.g. NetPbm, GD):
Operating system (e.g. Linux):
Browser (e.g. Firefox 2.0):