[cmmigrate] Halt during migration of a single album


Joined: 2007-01-02
Posts: 9
Posted: Wed, 2007-01-03 11:58

After having succesfully migrated one album, then I tried to migrate another. The album is about 58MB in 649 files, no high bit characters at all. The migration itself went flawless for about 226 seconds, then it just stopped (full debug file is linked below).

Following is all the debugging info I have:

* Gallery installation: http://kamajole.dk/gallery

* Debug info from the migration: http://kamajole.dk/gallery/20070103_1236_debug.htm.zip

* phpinfo(): http://kamajole.dk/gallery/php.php

* Integrity check:
Orphaned data in table AccessSubscriberMap with no row in Item table; ids: 21, 23
Orphaned data in table AccessMap with no row in AccessSubscriberMap table; ids: 8, 9, 9, 10, 10, 11, 11, 13, 13, 14, 14, 16, 16, 17, 17, 26, 26, 26, 6327
Orphaned data in table PluginParameterMap with no row in PluginMap table; ids: module/core, module/dcraw, module/digibug, module/ffmpeg, module/multilang, module/multiroot, module/nokiaupload, module/rewrite, module/squarethumb, module/thumbpage, module/zipcart

* System info:
Gallery version = 2.2-rc-1 core 1.1.26
PHP version = 4.4.4 apache
Webserver = Servage.net Cluster/(Enhanced Apache)
Database = mysqlt 5.0.15, lock.system=flock
Toolkits = ArchiveUpload, Exif, Getid3, LinkItemToolkit, Thumbnail, ImageMagick, NetPBM, Gd
Acceleration = none, none
Operating system = Linux node3.c15 2.6.11-1.1369_FC4smp #1 SMP Thu Jun 2 23:08:39 EDT 2005 i686
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1) Gecko/20060601 Firefox/2.0 (Ubuntu-edgy)
Rows in GalleryAccessMap table = 28
Rows in GalleryAccessSubscriberMap table = 448
Rows in GalleryUser table = 2
Rows in GalleryItem table = 446
Rows in GalleryAlbumItem table = 4
Rows in GalleryCacheMap table = 0


Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2007-01-03 14:53

For reference, your other topic about the same issue:

Sorry about not getting back in a timely fashion in the other topic, but creating new topics won't help people later searching the forums for similar problems. In future, please just continue the topics that you started in case it's about the same issue.

The problem with the cmmigrate module is: I don't know it. It has been written by a user in assistance of another core developer about a year ago. It was never 100% finished / reviewed. That's why it's no official module. So supporting it is a little tough right now since it requires me to actually do the code review now, to some degree.

@debug output:
There's no error or the such.
Is there a corresponding (timewise) entry in your webserver's error log?

I suspect a memory limit. Maybe a timeout. Another possibility is a fatal php error. And those things are usually at least logged in the webserver's error log.

Also, deactivating the getid3, the exif and the gd module during import could help to keep the memory consumption low.


Joined: 2007-01-02
Posts: 9
Posted: Wed, 2007-01-03 22:06

My reason for creating new topics were to honor the different forum sections and we are actually talking about different bugs/errors with cmmigrate. I wasn't aware that you wanted every discussion about cmmigrate in the same topic, but I will keep adding to this topic now.

I kinda thought you had taken the cmmigrate module under your wings and maintained it now. After having googled for some while, I can see that I'm not the only person looking for a method to migrate from Coppermine to Gallery, so I hope it will/can be fixed.

I will try to see if I can get my hands on the webserver's error log and check it for errors.

And for information, then I have afterwards tried to uninstall getid3, exif, gd and 10ish other modules, but the import still halts after having run for some minutes.


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

No worries and thanks for the feedback. Yes, I definitely want to get this module into a more reliable shape. The question is just about how to find the time to do all the things I'd like to do. :)