gallery 2.2.4 (and 2.3.1) -> git trunk import fails

tieguy

Joined: 2007-01-30
Posts: 32
Posted: Wed, 2010-02-10 05:45

Using git trunk from Sunday, and then updating and trying again today, importing my wife's gallery 2.2.4 to gallery trunk fails. In /admin/g2_import, everything goes fine until the import progress bar comes up, and then it just stops in 'Starting up...' It appears that the name of a single album is imported, so database access and all that is fine, but even a couple of hours later nothing else has happened. This is a fairly small gallery (a couple of hundred pictures at most?), and I even tweaked the thumbnail sizes to match, so speed shouldn't be that much of an issue, I wouldn't think.

I'm using git trunk on my own site on the same server with no problems, and g2_import worked fine for that install when I used it several months ago, so it is unlikely (though not impossible) that the problem is related to libraries, system php version, etc.

Any pointers on debugging? I'm not seeing anything useful in var/logs/, so I'm guessing I'm looking in the right place.

Thanks!

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Wed, 2010-02-10 06:33

Try upgrading to 2.3.1 then doing the import again.
FAQ: How to upgrade Gallery2?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
tieguy

Joined: 2007-01-30
Posts: 32
Posted: Tue, 2010-02-23 06:37

Sadly after upgrading the old install to 2.3.1 + and the new install to git from today it still seems to hang/stop in the same place. Any suggestions on debugging?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Tue, 2010-02-23 16:41

You're sure you got the latest code from here:
http://github.com/gallery/gallery3/zipball/master

And followed the upgrade instructions from here:
http://codex.gallery2.org/Gallery3:Upgrading
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
tieguy

Joined: 2007-01-30
Posts: 32
Posted: Wed, 2010-02-24 18:41

git pull'd from head, and ran 'php index.php upgrade', yes. I guess next week I can try to nuke everything and start from scratch, but like I said, any debugging tips (where are the logs for the importer, for example?) would be appreciated.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22888
Posted: Thu, 2010-02-25 00:49

<gallery3>/var/logs i where the logs should reside.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
tieguy

Joined: 2007-01-30
Posts: 32
Posted: Sun, 2010-02-28 21:14

All I see in those logs is:

<?php defined('SYSPATH') or die('No direct script access.'); ?>

No other log entries. Do I have to turn on logging? Are there other places I should look to for debugging information?

(Note that it still happens with rc1.)

 
tieguy

Joined: 2007-01-30
Posts: 32
Posted: Sun, 2010-02-28 21:37

Sigh, sadly a complete nuking of everything (database and source) appears to have cleared this up. No idea what significant thing was the problem, but I guess we'll never know now...

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22888
Posted: Mon, 2010-03-01 04:42

Others: Please do a git pull to a experimantal version. More error reporting & debug info has been added to the G2 import, so we get a better idea as to why it is failing.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team