Gallery 1 to Gallery 2 migration timeout!!

Upzook

Joined: 2007-03-07
Posts: 3
Posted: Thu, 2007-03-08 04:15

Gallery version = 2.1.2 core 1.1.0.2
PHP version = 5.2.1 apache2handler
Webserver = Apache
Database = mysql 4.0.26-standard, lock.system=flock
Toolkits = ArchiveUpload, Exif, NetPBM, Gd
Acceleration = none, none
Operating system = Linux node2.c18 2.6.11-1.1369_FC4smp #1 SMP Thu Jun 2 23:08:39 EDT 2005 i686
Default theme = matrix
Locale = en_GB
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.0; en-GB; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Gday,

I am trying to migrate Gallery 1 to Gallery 2.

In Gallery 2, after getting to the migrate gallery 1 interface and choosing all albums etc, I click on prepare import, and then click on import.... this is when the problem starts.

The orange progress bar starts to move, and the files start to move across. However, more often that not, the web browser times out and the status bar says done, before the process has finished and teh continue button appears.

I dont have any problems with folders with small amounts of pictures, but anything over about 20 pictures, and it times out. This is so frustrating!!!

I have tried using both Firefox & IE on my home and work computers, all giving the same result.

Am I doing something wrong?

MW :)

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2007-03-08 14:01

- did you follow the preparation steps (docs -> installation -> migrating from gallery 1)?
- does it always fail / stop at the same album / image? or is the number of items after which it stops that is constant?
- what's your php memory limit? see: FAQ: What information is required when I ask for help in the forums? (phpinfo), FAQ: PHP memory_limit - Why do I get the error Allowed memory size of Xxx bytes exhausted?

--------------
Doumentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
hstenzel

Joined: 2004-09-09
Posts: 11
Posted: Thu, 2007-03-22 20:39

I believe that I was having the same problem, and opened a bugzilla for it ([ 1684866 ] [G2][migration] Import timeouts & missing feedback).

However, I've since discovered some changes that were affecting me:

added to the top of my gallery2/.htaccess (assumes apache):

php_value post_max_size 128M
php_value upload_max_filesize 128M
php_value memory_limit 128M
php_value output_buffering 0
php_value max_execution_time 240

With these changes, I can migrate a few orders of magnitude more pictures than I could before. Perhaps similar changes will help you.

I do still sometimes see errors when I'm converting large numbers of albums. However, instead of timing out if I select more than about 6 albums, I can reliably migrate much more.

Also, the settings above really seemed to make gallery2 much more responsive. Before, it was a dog. Now it's speedy.

--Harley

 
Upzook

Joined: 2007-03-07
Posts: 3
Posted: Fri, 2007-03-23 00:33

Thanx for the reply, but I gave up on the whole migration process and just moved 5gb's of photos manually.... took me a few days :)