System checks fails on upgrade to RC2 & on upgrade to 2.2

JM|Tomi
JM|Tomi's picture

Joined: 2004-10-11
Posts: 54
Posted: Sun, 2007-03-04 21:23

Hi there,

Tried to upgrade from 2.1.2 to 2.2 RC2, with multisite, and the upgrade process halted at step 2: system check. The progress bar stopped at about 10%, and no more response from the webserver. Where could be the problem?
I uploaded the new files within the RC2 package to the code directory and browsed to one of the multisites url (according to the manual), and then the upgrade started and halted at step 2. Is it possible to debug the upgrade process? I turned on the debug on the multisite but that doesn't debug the upgrade process.
Please help! The versions are below.
Thanks,
JM|Tomi


Gallery version: RC2
PHP version: PHP Version 4.3.10-18
PHPInfo Link: -
Webserver: Apache/2.0.54
Database: Mysql 4.0.24
Activated toolkits: GD
Operating system: Linux (Debian, kernel: 2.6.16.13)
Browser: Firefox 2.0.0.2, IE

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2007-03-04 21:40

> Where could be the problem?

either a fatal php error or a time / resource limit.
either way, please check your webserver's error log.

-> FAQ: What is the webserver error log?
/ FAQ: I get only a blank screen when trying to view my Gallery, what's wrong?

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

 
JM|Tomi
JM|Tomi's picture

Joined: 2004-10-11
Posts: 54
Posted: Sun, 2007-03-04 21:57

But if I create a new multisite by browsing to the codebase/install folder the step2: system checks run corretly, without halting. So I think the php/webserver settings are OK. Do you have any other idea? Is it possible to debug the upgrade process?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2007-03-04 22:02

have you checked the webserver's error log?

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

 
JM|Tomi
JM|Tomi's picture

Joined: 2004-10-11
Posts: 54
Posted: Sun, 2007-03-04 22:11

Not yet, because I have to ask it from the webhost.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2007-03-04 22:18
 
JM|Tomi
JM|Tomi's picture

Joined: 2004-10-11
Posts: 54
Posted: Sun, 2007-03-04 22:28

It's on the way, I'll get it tomorrow.

 
JM|Tomi
JM|Tomi's picture

Joined: 2004-10-11
Posts: 54
Posted: Sat, 2007-03-24 19:47

Here is the phpinfo: http://***/phpinfo.php

 
JM|Tomi
JM|Tomi's picture

Joined: 2004-10-11
Posts: 54
Posted: Mon, 2007-03-19 11:25

Hi,

The problem still exists, on version 2.2 also. I debugged the system check process by editing the /upgrade/steps/SystemChecksStep.class and inserting some code that wrote some output to a logfile to figure out where the process stops. The result is that the function CheckManifest(&$statusMonitor, $useSetTimeLimit) halted (it's almost at the end of file) at the row $manifest = GalleryUtilities::readManifest();. By placing this row between /* */ solved the problem (resulting a warning that manifest is not accessible but that's not problem). I asked for the errolog but haven't got yet.
I have another error, will post in a new topic.

Thanks
JM|Tomi

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2007-03-19 12:40

php's set_time_limit is disabled on the server.
no wonder that you get timeouts.

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

 
JM|Tomi
JM|Tomi's picture

Joined: 2004-10-11
Posts: 54
Posted: Mon, 2007-09-24 18:14

But I get "set_time_limit() allowed - Success" message (and also all the test run successfully) during the installation or upgrade at the system check step! Why? Look at the test gallery: http://***/upgrade,

Thx

edit by valiant: passwords removed

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2007-03-19 13:23

i've removed the password from your post. never ever post your passwords in public forums.

probably, your local php settings are different than the ones at http://www.genyabanda.hu/phpinfo.php .
please put a phpinfo file into your gallery folder.
it's explained here: FAQ: What information is required when I ask for help in the forums?

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

 
JM|Tomi
JM|Tomi's picture

Joined: 2004-10-11
Posts: 54
Posted: Mon, 2007-09-24 18:13

Thanks,

The phpinfo: http://***/phpinfo.php

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2007-03-19 14:06

now i understand.
your webhost made a mistake. the local value od disable_functions is space-delimited instead of comma-delimited. that shouldn't work.
g2 thinks set_time_limit is enabled, but i can't tell if it is. it might not be.

anyhow, where are you now? what's failing?

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

 
JM|Tomi
JM|Tomi's picture

Joined: 2004-10-11
Posts: 54
Posted: Tue, 2007-03-20 09:17

Hi,

All problems solved. :)
I've got the errorlog, and it's full of memory allocation error. My webhost increased the php's memory form 16 to 32 MB, and everything works fine, no errors at all!

Thanks for your help!
J

 
JM|Tomi
JM|Tomi's picture

Joined: 2004-10-11
Posts: 54
Posted: Mon, 2007-09-24 18:16

valiant, could you please remove the domain name from this post?

Thanks,
JM|Tomi