I tried to upgrade my existing multisite G2 installation (2.0.2) to the latest
nightly build 2.1 (01-10-2006).
1. Replaced /gallery2 (codebase) with the one from nightly archive
2. Browsed to the first multisite /files/siteA/gallery/upgrade
I passed the first 3 steps without any errors, but after step 3 (core upgrade:
1.0.0.2 => 1.0.16) I am presented an empty page.
I never reach step 4 (module upgrade). I also tried this procedure with a clean
2.0.2 installation on Win32 and Linux. No success. Step 3 destroys my installation
and no page can be accessed afterwards (neither /upgrade nor gallery itself).
Did I miss anything? Any missing steps? Did anyone encounter the same problem?
Regards Thilo
Gallery version : 2.0.2
PHP version : 5.1.1
Webserver : 2.2.0
Database : 5.0.18
Activated toolkits : ImageMagick, NetPBM, GD2
Operating system : Win32/Linux (problem exists on both platforms)
Browser : Firefox 1.5
Posts: 32509
please check your config.php (of the multisite).
does the path in
$gallery->setConfig('data.gallery.base', __HERE__ )
have a traling / (linux/unix) or \ (windows server) ?
are you using mysql? from the version (5.0.18) i guess so.
also, note that mysql 5 has not been tested with g2 yet.
i'd restore and try tomorrows nightly snapshot again.
hmm, is it a windows server?
i guess there might be a bug in the upgrade code.
in config.php, check again the data.gallery.base path. i guess all \ should be \\ , else it won't work.
Posts: 32509
a fix for windows upgrades is in the next nightly snapshot.
Posts: 135
I tried with last night's build (01-11-2006). Nearly same problem as reported above.
Now core upgrade finishes successful, but the next page is still empty.
To answer your questions:
from my config.php
Win32: $gallery->setConfig('data.gallery.base', 'C:\\Programme\\xampp\\htdocs\\files\\gallery\\g2data');
Linux: $gallery->setConfig('data.gallery.base', '/www/htdocs/files/gallery/g2data');
Yes, your guess was right: I'm using MySQL 5
(I will check the upgarde-procedure with MySQL 4 in the afternoon).
Posts: 135
Upgrade from 2.0.2 to 2.1 (01-11-2006) on Linux works perfectly now.
Thanks. But I was unable to perform the same upgrade on Win32 platform.
Posts: 32509
@mysql5:
we tested mysql5 today with the latest nightly snapshot and there were no issues, all unit tests pass.
so g2 and mysql 5 should work together nicely.
@windows
can't test that right now myself. buying a new PSU tomorrow for my windows box and asked another g2 dev to test it on windows.
Posts: 1023
is it already in the public CVS? Tried yesterday evening (12.11./19:00CET) and got the same break you've identified not having performed the step:
Is it better to use a Nightly?
Thanks Lutz
Posts: 32509
please see:
http://gallery.menalto.com/node/42737