Page 1 of 1

[solved] upgrade to v1.6 not completing

Posted: Sun Jul 19, 2009 10:18 am
by rickb
Hi,

I am trying to upgrade from v1.5.4 to v1.6 but without success so far.

I followed the instructions and reached step 5 of the install/upgrade.php process (upgrade schema).  When I click 'continue', the browser hangs, never reaching the next step.

I tried $config['debug'] = true; in config.php but I can't find any log output in the Apache logs etc.

A the end of step4 it says

Code: Select all

Adding new permission...[done]
Removing stale permission...[done]
Updating schema version... [done]

CMS is in need of an upgrade.
You are now running schema version 31 and you need to be upgraded to version 32
The CMS database is up to date. Using schema version 32
So I click 'continue' but the process gets stuck at this point, never reaching the next page.

Can anyone suggest what I should try next?

Rick

--PS
if I do a clean install, everything works fine, except that I don't have any content.  I suppose I could copy the content across by hand.  Is there a good tool (export pages & import pages) to speed this up?

Re: upgrade to v1.6 not completing

Posted: Sun Jul 19, 2009 7:18 pm
by Dr.CSS
If this is happening there is a good chance you have missing files or there were some Yellow ! or Red X you needed to fix before proceeding and some how got passed them...

Of course if you gave more info we could maybe give more help, like all your server configurations etc...

Re: upgrade to v1.6 not completing

Posted: Mon Jul 20, 2009 10:07 pm
by rickb
Thanks.  This is the info from the (working) 154 installation on my development server.

CMS Version 1.5.4

Installed Modules
CMSMailer 1.73.14
FileManager 0.4.3
MenuManager 1.5.3
ModuleManager 1.2.1
News 2.9.3
nuSOAP 1.0.1
Printing 0.2.6
Search 1.5.3
ThemeManager 1.1.0
FileBackup 0.2
TruetypeText 2.0.2
Statistics 0.9.1
FCKeditorX 1.1.0
TinyMCE 2.4.13

Config Information
php_memory_limit:
process_whole_template: true
max_upload_size: 10000000
default_upload_permission: 664
assume_mod_rewrite: true
page_extension: .xhtml
internal_pretty_urls: false
use_hierarchy: true
debug: false
output_compression: false
root_url: http://whrdev11
root_path: /home/rick/websites/WHR-cmsms/htdocs (0775) Success
previews_path: /home/rick/websites/WHR-cmsms/htdocs/tmp/cache (0775) Success
uploads_path: /home/rick/websites/WHR-cmsms/htdocs/uploads (0777) Success
uploads_url: http://whrdev11/uploads
image_uploads_path: /home/rick/websites/WHR-cmsms/htdocs/uploads/images (0777) Success
image_uploads_url: http://whrdev11/uploads/images
use_smarty_php_tags: false
locale:
default_encoding: utf-8
admin_encoding: utf-8

PHP Information:
Current PHP Version (phpversion):  5.2.6-3ubuntu4.1 Success
md5 function (md5_function):  On (True) Success
GD version (gd_version):  2 Success
tempnam function (tempnam_function):  On (True) Success
Magic quotes in runtime (magic_quotes_runtime):  Off (False) Success
PHP Effective Memory Limit (memory_limit):  24M Success
Maximum Execution Time (max_execution_time):  60 Success
PHP Safe Mode (safe_mode):  Off (False) Success
Session Save Path (session_save_path):  /var/lib/php5 (1733) Success
Checking if the httpd process can create a file inside of a directory it created (create_dir_and_file): Success
PHP register_globals (register_globals):  Off (False) Success
PHP output_buffering (output_buffering):  On Success
disable_functions in PHP (disable_functions):   Success
PHP Open Basedir (open_basedir):   Success
Test for remote URL (test_remote_url):  Success
fsockopen: Connection ok! Success
fopen: Connection ok! Success
File uploads (file_uploads):  On (True) Success
Maximum Post Size (post_max_size):  10M Success
Maximum Upload Size (upload_max_filesize):  10M Success
Basic XML (expat) support (xml_function):  On (True) Success
Test file_get_contents (file_get_contents):  On (True) Success
Test ini_set (check_ini_set):  On (True) Success

Server Information:
Server API (server_api): apache2handler
Server Database (server_db_type): MySQL (mysqli)
Server Database Version (server_db_version): 5.0.75 Success
Server Software (server_software): Apache/2.2.11 (Ubuntu) PHP/5.2.6-3ubuntu4.1 with Suhosin-Patch
Server Operating System (server_os): Linux 2.6.28-14-generic On i686

Permission Information
tmp: /home/rick/websites/WHR-cmsms/htdocs/tmp (0775) Success
templates_c: /home/rick/websites/WHR-cmsms/htdocs/tmp/templates_c (0775) Success
modules: /home/rick/websites/WHR-cmsms/htdocs/modules (0775) Success
File Creation Mask (umask): /home/rick/websites/WHR-cmsms/htdocs/tmp/cache (0775) Success
config_file: 0644 Success

Re: upgrade to v1.6 not completing

Posted: Mon Jul 20, 2009 10:37 pm
by Dr.CSS
This is from the site you are trying to upgrade?...

Re: upgrade to v1.6 not completing

Posted: Tue Jul 21, 2009 11:01 am
by rickb
Yes, it's my development server.

When I can upgrade that successfully, I'll attempt the production server.

Rick

Re: upgrade to v1.6 not completing

Posted: Tue Jul 21, 2009 6:27 pm
by Pierre M.
Hello,
rickb wrote: Yes, it's my development server.
can you raise all log levels (webserver, database...) to max on this dev computer ?
Is it reproducible with several supported admin browsers ?
Could you uninstall unused nonCore modules ?
Do you have some mod_security or any proxying facility installed ?

Pierre M.

[SOLVED] Re: upgrade to v1.6 not completing

Posted: Tue Oct 06, 2009 7:48 pm
by rickb
I have a large number of pages.  I discovered that, when I left the v1.5 -> v1.6 upgrade long enough, it eventually completed.  The upgrade was particularly time-consuming in needing to re-index all of the pages.  Perhaps this is why not many other people seem to have had trouble with the upgrade.

I discovered this by using phpmyadmin to list the MySQL processes.

Rick