[SOLVED] Migration tool (G1->G2) comment and suggestion

ChrisJohnson00TA

Joined: 2004-03-15
Posts: 167
Posted: Sat, 2005-03-05 08:22

Hello all.

Thanks for making a migration tool from G1 to G2.. it worked well for me... sort of.

I'm running a 'larger' gallery... 450+ albums, close to 30k images.. most images are about 3 megs in size.

I got greedy and tried to do a mass import from my G1 and about half way, I had a CGI timeout...

I don't know how long the session was running.. I'd guess..... 15-20 minutes before it died. Is there a way to increase that timeout feature?

To be even more slick.. an estimated time remaining, or file count would be slicker than snot ;)

Thanks guys, keep up the AWESOME work!

 
volksport
volksport's picture

Joined: 2002-10-06
Posts: 239
Posted: Sat, 2005-03-05 10:41

The goal of the migration tool would be to be able to do larger galleries without any issues eventually (hopefully), but for now simply add them in smaller chunks please.

 
jmullan
jmullan's picture

Joined: 2002-07-28
Posts: 974
Posted: Sat, 2005-03-05 18:52

You didn't say what version of gallery2 you are using. Because you are asking for an "estimated time remaining" I'm guessing that you aren't using something recent. Please try the new beta release and see if that helps. You might still run out of memory, so you will probably still want to do it in batches.

 
ChrisJohnson00TA

Joined: 2004-03-15
Posts: 167
Posted: Sat, 2005-03-05 20:55

I'm running Beta 1 CVS as of March 4 2005.. I see the bar and file names.. I was thinking more of a timer.. estimated time remaining, or even a file counter... like.. file 123 of 1000. Just ignore me if I'm the only person who's asked ;)

Is it a memory issue, or a time length issue? I should have copied the error, but, didn't. I recall it was a CGI timeout issue, not a out of resources issue. It's a fairly large server... Dual Xeon 3.4ghz with 4gb of memory with nothing but IIS/MySQL/Gallery running on it right now.

Quick question while I've got ( some ) attention. I realize that the migration tool isn't completed, but, I'd like to point out, or ask, if the migration tool will move ( in the future ) hidden files and albums in G1.

I have about 300 hidden files in 4 sub albums in G1 that did not migrate into G2 using the tool.

Once again, thank you guys for such an awesome product :)

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sat, 2005-03-05 21:14

very nice specs (server). for maximum performance, install a PHP accelerator like PHPA or turk mm cache, or the commercial zend optimizer.

 
jmullan
jmullan's picture

Joined: 2002-07-28
Posts: 974
Posted: Sun, 2005-03-06 00:50
ChrisJohnson00TA wrote:
I was thinking more of a timer.. estimated time remaining, or even a file counter... like.. file 123 of 1000

I'm probably not going to do either. Counting all the files in advance would be a very heavy operation.

ChrisJohnson00TA wrote:
Is it a memory issue, or a time length issue? I should have copied the error, but, didn't. I recall it was a CGI timeout issue, not a out of resources issue.

I haven't ever used IIS so I don't have any experience, but it sounds like you have correctly interpreted your error message. I would check into IIS's options to see if you can extend that timeout.

As to memory usage, it shouldn't matter how much total memory you have, it's how much is allotted to php in your php.ini.

ChrisJohnson00TA wrote:
I'd like to point out, or ask, if the migration tool will move ( in the future ) hidden files and albums in G1.

I have about 300 hidden files in 4 sub albums in G1 that did not migrate into G2 using the tool.

It does move hidden files and albums, but the last time that I checked, it removed all permissions from those items except for the admins and owner.

If this isn't working, let me know.

 
ChrisJohnson00TA

Joined: 2004-03-15
Posts: 167
Posted: Sun, 2005-03-06 01:24
jmullan wrote:
If this isn't working, let me know.

It did not work...

I don't see the albums listed in the import albums/source section either.

I also checked some hidden files in public view folders.. the hidden files aren't there either.

If it strips all users except for admin and owner, does that mean that since I am the only admin, it will/should keep the files hidden from 'guest' in the migration?

What can I do to help?

 
jmullan
jmullan's picture

Joined: 2002-07-28
Posts: 974
Posted: Sun, 2005-03-06 18:51

Fill this out. You can send any private info to me separately. I would also like an admin login to your g2 and maybe your g1. Thanks!

Gallery1 URL (optional):
Gallery2 URL (optional):
Gallery1 Hidden Image URL (optional):
Gallery2 Hidden Album URL (optional):
Gallery version:
Webserver (with version):
Datatabase (with version):
PHP version (eg 4.2.1):
phpinfo URL (optional):
Graphics Toolkit(s):
Operating system:
Web browser/version:
G1 version (for migration bugs):

 
ChrisJohnson00TA

Joined: 2004-03-15
Posts: 167
Posted: Sun, 2005-03-06 19:14

You have email.

 
jmullan
jmullan's picture

Joined: 2002-07-28
Posts: 974
Posted: Sun, 2005-03-06 23:00

Running find_orphans.php seemed to help.

 
mrcolj
mrcolj's picture

Joined: 2004-01-06
Posts: 79
Posted: Mon, 2005-03-07 15:19

Where do I find said migration tool?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-03-07 15:24

The "migration tool" is part of G2. go to G2, site admin -> modules activate the migration module.
if you refer to find_orphans.php, this is part of G1.4.

 
ChrisJohnson00TA

Joined: 2004-03-15
Posts: 167
Posted: Tue, 2005-03-08 03:15

Jmullan:

I installed a fresh copy of G2 after my memory leak issue, and re-imported everything.

It came over perfectly.. all of my hidden images stayed hidden, and my hidden folders stayed hidden.

I haven't had the chance to test the memory leak issue.... all in due time.

Thanks for the help!