Page 1 of 1

Large upgrade completed then doesn't load

Posted: Sun Feb 20, 2011 4:31 pm
by baresi
I tried this upgrade (straight from 1.3.1 to 1.9.3) on same server as the main site but on a separate test domain. I had already copied existing 1.3.1 site to this test domain, changed config.php settings and tested, it was working

I tried to upgrade it (large site, 2000+ pages, zero non-core modules) all 7 steps were green except one exclamation at step 2

Code: Select all

You have passthru, exec, shell_exec, system, apache_note, apache_setenv, closelog, debugger_off, debugger_on, define_syslog_variables, openlog, syslog, ini_restore, symlink, escapeshellarg, escapeshellcmd, ini_alter, dl, socket_accept, socket_bind, socket_clear_error, socket_close, socket_connect, socket_create_listen, socket_create_pair, socket_create, socket_get_option, socket_getpeername, socket_getsockname, socket_last_error, socket_listen, socket_read, socket_recv, socket_recvfrom, socket_select, socket_send, socket_sendto, socket_set_block, socket_set_nonblock, socket_set_option, socket_shutdown, socket_strerror, socket_write, stream_sock 
Checking PHP disable functions

Warning: this is a list of functions disabled on your server.
After step 7 when I tried to go to either admin panel or site itself, it wouldn't load and browser (IE8) was just stuck trying to load. I noticed through mysql processes in phpmyadmin that cms_module_search_index is going through and rebuilding. So I thought that when that finishes I might get to the site (because I could/can load static content that I have on this test domain) but it finished and I still can't load the site, browser tries as before but nothing.

One strange thing, that may provide a clue, is that I see that when I try to load the site a sleep mysql process (looking in phpmyadmin) is triggered. In my limited knowledge that could happen with persistent db connections but for what it's worth my config.php has had it set to false, has always been false.

php error logs are empty (there is only

Code: Select all

[warn] RewriteCond: NoCase option for non-regex pattern '-d' is not supported and will be ignored. [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
that I have seen for a long time in many error logs)

I tried to see if setting debug error to true (in 'existing' config.php) gives me anything but nothing there.

I even tried full install (unchecking step 5) all green but then after completion doesn't load

I understand that I may have to try version by version upgrade but any insight is appreciated

Also, is there a way to delay or disable the cms_module_search_index process that starts? especially if I have to go several stages of upgrading.

Thanks

Linux
Apache
PHP 5.2.17
Mysql 5.0.67

Re: Large upgrade completed then doesn't load

Posted: Thu Feb 24, 2011 3:22 am
by replytomk3
Almost a year ago I was posting about upgrading a 5k pages website. The Search indexer indexes all pages and this may take a very long time. You are better off disabling it by modifying the installation code.

Re: Large upgrade completed then doesn't load

Posted: Thu Feb 24, 2011 4:21 am
by baresi
Thanks, yes.
Went through the function, classes and XX to XX.php files. Guess I don't know enough to know where that could be disabled.