Update Error

Jamie Whittingham

Active Member
srdash@web01:~$ /usr/bin/php /home/srdash/public_html/apps/console/console.php update
Status: 500 Internal Server Error
Content-type: text/html; charset=UTF-8


Any ideas?

Trying to upgrade from 1.3.5.6 to 1.3.7.8

Cannot run from WWW as DB is in the million of records.
 
Hello Jamie,

1.3.5.6 is very old version and also you have millions of records.

So I suggest to update version one by one. Because there are so many database updates come in update and for millions records it takes time.
 
I was able to run the WWW update instead of the command line which worked after about an hour.

thanks
...impressive how robust even the www update process is, and that you did not get a timeout
...do u have any special settings to make sure you don't get a timeout?
 
srdash@web01:~$ /usr/bin/php /home/srdash/public_html/apps/console/console.php update
Status: 500 Internal Server Error
Content-type: text/html; charset=UTF-8


Any ideas?

Trying to upgrade from 1.3.5.6 to 1.3.7.8

Cannot run from WWW as DB is in the million of records.
Just a FYI, if you got the above error it means /usr/bin/php is not the CLI php, so you need to try /usr/bin/php-cli instead most likely.
If you run /usr/bin/php -v and/or /usr/bin/php-cli -v you should see (cli) in the output in order to be the right binary.
 
both
/usr/bin/php -v
and
/usr/bin/php-cli -v
will give you version info, but not necessarily the path to 'php-cli'
(in my case under cpanel, they give only version info, and no path info at all)

while this
which php-cli
usually gives only one, the correct, answer
for most cpanel users
/usr/bin/php-cli
 
Back
Top