for when you want to start beta-testing a migration path...

psygarden

Joined: 2003-03-25
Posts: 128
Posted: Wed, 2009-04-29 07:35

I've got a very large gallery installation I'd be happy to share with the dev-team for beta testing purposes (migration path tests / ...)

Current system info:
Gallery version = 2.2 core 1.2.0
PHP version = 5.2.6-0.dotdeb.1 cgi-fcgi
Webserver = Apache
Rows in GalleryAccessMap table = 1735
Rows in GalleryAccessSubscriberMap table = 16888
Rows in GalleryUser table = 1444
Rows in GalleryItem table = 16780
Rows in GalleryAlbumItem table = 925
Rows in GalleryCacheMap table = 52221

Kind regards,
Rik

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sun, 2009-05-03 23:36

I've successfully imported my 13k+ photo G2 into G3 successfully using the latest code from svn. It required a lot of disk space because it's an import (so we copy the photos over). Want to install a recent nightly build and see if you can import your G2 into G3?

 
Dhaos

Joined: 2008-01-10
Posts: 10
Posted: Mon, 2009-05-04 11:29

I just tried with a clean install of the latest svn code and am getting the following error when attempting to import.

Quote:
2009-05-04 04:04:43 -07:00 --- error: Uncaught PHP Error: Undefined variable: group in file modules/g2_import/helpers/g2_import.php on line 124

Additionally going to the maintenance page with the g2import module installed, but no path defined results in an error

Quote:
2009-05-04 04:25:40 -07:00 --- error: Uncaught PHP Error: Invalid argument supplied for foreach() in file core/helpers/task.php on line 29

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Tue, 2009-05-05 03:58

Not sure what's up with the first error; can try running it a second time to see if that resolves it? (the import remembers what its done so far so sometimes you can skip over an error by running again).

I fixed the second problem in r20676 -- please svn up to get it. Thanks for the report!

 
Dhaos

Joined: 2008-01-10
Posts: 10
Posted: Tue, 2009-05-05 11:28

Tried with the latest version (and another clean install) and it still gave the same error so i decided to have a quick look at the groups in my g2 install.

Turns out I had added an empty group (test), which deleting seems to have solved the error.

As a side note the installer won't let you install to a database with tables already present, even with a table prefix specified.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Wed, 2009-05-06 04:10

Ah ha, turns out that I could reproduce the error.. Fixed.. thanks! Unfortunately the fix didn't make alpha-4, but it's in the latest code in svn.