Zen Cart Logo
Forums / General Questions / How do I patch database from 1.5.1 to 1.5.4?

How do I patch database from 1.5.1 to 1.5.4?

Views: 1,361

Results 1 to 8 of 8
29 Aug 2015, 3:10 PM
#1
kyle_rogers avatar

kyle_rogers

New Zenner

Join Date:
Nov 2013
Posts:
26
Plugin Contributions:
0

How do I patch database from 1.5.1 to 1.5.4?

Trying to get a 1.5.4 install running with my old database.

I get this at the top of the admin panel: Your database appears to need patching to a higher level. See Tools->Server Information to review patch levels.

In server information it says:

Zen Cart 1.5.4

Database Patch Level: 1.5.1

v1.5.1 [2013-07-24 15:12:45] (New Installation)
v1.5.1 [2013-07-24 15:12:45] (New Installation)

How to I patch the database?

Thanks.

29 Aug 2015, 8:13 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How do I patch database from 1.5.1 to 1.5.4?

How to I patch the database?
re-run zc_install and select upgrade database only

31 Aug 2015, 12:23 AM
#3
kyle_rogers avatar

kyle_rogers

New Zenner

Join Date:
Nov 2013
Posts:
26
Plugin Contributions:
0

Re: How do I patch database from 1.5.1 to 1.5.4?

kobra:

re-run zc_install and select upgrade database only

Thanks,

31 Aug 2015, 2:33 AM
#4
kyle_rogers avatar

kyle_rogers

New Zenner

Join Date:
Nov 2013
Posts:
26
Plugin Contributions:
0

Re: How do I patch database from 1.5.1 to 1.5.4?

kobra:

re-run zc_install and select upgrade database only

How do I select upgrade database only?

31 Aug 2015, 2:38 AM
#5
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: How do I patch database from 1.5.1 to 1.5.4?

Kyle Rogers:

How do I select upgrade database only?

There should be a big button that reads 'Update Database Only'.

I'm not entirely sure which step of the zc_install script this is shown on though. You'll almost certainly need to go past the screen asking for the database login details first though. Just step through the screens until you see it. Take note of any warnings such as 'Pressing this will wipe out your database' ;-)

Cheers
RodG

31 Aug 2015, 2:53 PM
#6
kyle_rogers avatar

kyle_rogers

New Zenner

Join Date:
Nov 2013
Posts:
26
Plugin Contributions:
0

Re: How do I patch database from 1.5.1 to 1.5.4?

RodG:

There should be a big button that reads 'Update Database Only'.

I'm not entirely sure which step of the zc_install script this is shown on though. You'll almost certainly need to go past the screen asking for the database login details first though. Just step through the screens until you see it. Take note of any warnings such as 'Pressing this will wipe out your database' ;-)

Cheers
RodG

I never see any button during the install. Once installed, if I run the zc_install again, I get the option to upgrade database or run install on the page that has the checklist.

When I upgrade the database, it ends up not working. I get back to the admin screen and I have no customers and no items.

31 Aug 2015, 3:00 PM
#7
kyle_rogers avatar

kyle_rogers

New Zenner

Join Date:
Nov 2013
Posts:
26
Plugin Contributions:
0

Re: How do I patch database from 1.5.1 to 1.5.4?

Ok, for the fresh install the bottom of the checklist page says:

Ready to Install? (This will wipe any existing data. You are NOT in Upgrade mode!!!)

It only gives me the option to re-check or install. The other two options only show up after it is installed.

31 Aug 2015, 5:49 PM
#8
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: How do I patch database from 1.5.1 to 1.5.4?

Kyle Rogers:

I never see any button during the install. Once installed,** if I run the zc_install again**, I get the option to upgrade database or run install on the page that has the checklist.

When I upgrade the database, it ends up not working. I get back to the admin screen and I have no customers and no items.

Prior to running zc_install again, did you reupload the zc_install directory? If I remember correctly there is a file or two that get removed/modified after it has been run once...