Upgrade 4.1.4 To 4.1.5 Just Times Out With Blank Page (Http 500)

Hi,



Today I started the upgrade from 4.0.3 to the latest version.



4.0.3 to 4.1.1

Had issues, timed out with a blank page and then after refersh started again and completed with a blank page.

When i logged back into admin (after 10 min waiting) it seemsed to have gone through ok, all worked.

It gave me 4.1.2 upgrade as available and I proceeded with that.



4.1.1 to 4.1.2

Had an issue where the upgrade_lock file was still there, even though no upgrade was going on…

I guess it was due to the not 100% 4.0.3 upgrade to 4.1.1…

I clicked ok to delete the lock file and it went ahead without issues.



4.1.2 to 4.1.3

4.1.3 to 4.1.4

these had no issues and went ahead fine.



4.1.4 to 4.1.5

I'm having major problems with this update… it simply times out… no way to get it going.

I can log back into admin and it offers 4.1.5 again… however clicking install simply times out after 2 or 3 minutes.

Update log finishes on:

1414378380 - Processing theme: basic in /home/carshine/public_html/shop/var/upgrade/upgrade_4.1.4_ultimate-4.1.5_ultimate.tgz/uc_override.php on line 1434

1414378380 - Processing theme: basic in /home/carshine/public_html/shop/var/upgrade/upgrade_4.1.4_ultimate-4.1.5_ultimate.tgz/uc_override.php on line 1434

1414378380 - Processing theme: basic in /home/carshine/public_html/shop/var/upgrade/upgrade_4.1.4_ultimate-4.1.5_ultimate.tgz/uc_override.php on line 1434

1414378380 - Processing theme: basic in /home/carshine/public_html/shop/var/upgrade/upgrade_4.1.4_ultimate-4.1.5_ultimate.tgz/uc_override.php on line 1434

1414378380 - Processing theme: basic in /home/carshine/public_html/shop/var/upgrade/upgrade_4.1.4_ultimate-4.1.5_ultimate.tgz/uc_override.php on line 1434

1414378380 - Processing theme: basic in /home/carshine/public_html/shop/var/upgrade/upgrade_4.1.4_ultimate-4.1.5_ultimate.tgz/uc_override.php on line 1434

1414378380 - Processing theme: basic in /home/carshine/public_html/shop/var/upgrade/upgrade_4.1.4_ultimate-4.1.5_ultimate.tgz/uc_override.php on line 1434

1414378380 - Processing theme: basic in /home/carshine/public_html/shop/var/upgrade/upgrade_4.1.4_ultimate-4.1.5_ultimate.tgz/uc_override.php on line 1434

1414378380 - Processing theme: basic in /home/carshine/public_html/shop/var/upgrade/upgrade_4.1.4_ultimate-4.1.5_ultimate.tgz/uc_override.php on line 1434

1414378380 - Processing theme: basic in /home/carshine/public_html/shop/var/upgrade/upgrade_4.1.4_ultimate-4.1.5_ultimate.tgz/uc_override.php on line 1434

1414378380 - Processing theme: basic in /home/carshine/public_html/shop/var/upgrade/upgrade_4.1.4_ultimate-4.1.5_ultimate.tgz/uc_override.php on line 1434

1414378380 - Processing theme: basic in /home/carshine/public_html/shop/var/upgrade/upgrade_4.1.4_ultimate-4.1.5_ultimate.tgz/uc_override.php on line 1434

1414378380 - Processing theme: basic in /home/carshine/public_html/shop/var/upgrade/upgrade_4.1.4_ultimate-4.1.5_ultimate.tgz/uc_override.php on line 1434

1414378380 - Processing theme: basic in /home/carshine/public_html/shop/var/upgrade/upgrade_4.1.4_ultimate-4.1.5_ultimate.tgz/uc_override.php on line 1434

1414378380 - Processing theme: basic in /home/carshine/public_html/shop/var/upgrade/upgrade_4.1.4_ultimate-4.1.5_ultimate.tgz/uc_override.php on line 1434

1414378380 - Processing theme: basic in /home/carshine/public_html/shop/var/upgrade/upgrade_4.1.4_ultimate-4.1.5_ultimate.tgz/uc_override.php on line 1434



Any suggestions?

Contact the helpdesk

I have tried a number of things and nothing will get it going… I have contacted help desk but reply is 2 days away they said.



Luckily the store works fine with 4.1.4 at the moment.

Then apparently there are a lot more sites down ahead of you in the support queue. Doesnt say a lot about quality.

In the Russian forum one CS-Cart customer faced the same problem. The issue was caused by the 3rd party module created by 1Clue company. Do you have any modules from them?

No the store is completely vanilla, no addons or modules from anyone.



They responded saying its the php max_execution_time and mysql.connect_timeout values being too low.



Attempting to adjust those now.

The variables have been adjusted but the same exact thing happens… I don't think its to do with connection timeouts as they timeout now at exactly the same point and the log is the same.



Is there a manual way to upgrade?

Well its now been over a week and we are still waiting on a solution from CS Cart support to this issue…

Did you try to switch to another theme and perform the upgrade ?

Finally got the upgrade going… hopefully this helps others in the same situation.



The upgrade was timing out on 4.1.5 to 4.1.6 due to the size of the upgrade I guess as the other previous upgrades had no issues.



CS Cart support requested the PHP server timeout settings be changed and adjusted, however this did not help.



I was also having problems adjusting some of the PHP timer settings for the subfolder where CS Cart is installed.



Finally my hosting company suggested putting the following settings into .htaccess

RewriteRule .* - [E=noabort:1]

RewriteRule .* - [E=noconntimeout:1]



This fixed the timeout issues and all upgrades.



So it appears that LiteSpeed was the issue and was timing out the upgrade, not PHP and its specific timers such as default_socket_timeout and max_execution_time.



If your having timeout issues during upgrade try adding those flags to your CS Cart root folders .htaccess file.

Thanks,

This applies to the latest versions also.

To avoid "Connection Timeout" error 500 while downloading and installing updates

Add this to the top of the .htaccess file, just under "DirectoryIndex index.html index.php"

RewriteRule .* - [E=noabort:1]
RewriteRule .* - [E=noconntimeout:1]