I see that RC2 is now out. I am currently running rc1. What is the procedure to update to the newest version?

Comments

nsummy’s picture

To add to this, when trying to utilize the built-in update system I get this error: commerce_kickstart-7.x-2.0-rc2-core.tar.gz does not contain any .info files.

I see there are some issues open about older versions but has this not been fixed?

bbdata’s picture

I'm still in the early stages of my development, but I simply deleted and replaced profiles/commerce_kickstart and ran update.php

bojanz’s picture

Status: Active » Fixed

#2 is pretty close, but then you don't get the Drupal core update (since that's in all other folders).
Delete all folders except sites/, upload new ones, run update.php

I don't think you'll ever be able to use the Drupal updater because it is not smart enough to handle that, I'll look into disabling that option if it can't be fixed.

bbdata’s picture

Right. Sorry for missing that step. I had forgotten I updated Drupal core when working with rc1.

silkogelman’s picture

@bbdata Commerce Kickstart also applies Drupal core patches, make sure to include those as well.

the list of patches can be found at the bottom of this page:
http://drupal.org/node/1821260

bojanz’s picture

No need to apply anything, those patches are already included in the kickstart download.

silkogelman’s picture

Somehow I was reading this like he was updating core with a 'clean' Drupal core (not the Kickstart version with the patches already applied).
By bad, sorry if this caused any confusion.
There's no need to apply patches to the patched core that is included in Kickstart.

rfamans’s picture

I have upgraded exactly as Bojanz did describe in #3. Sofar I found just one annoying issue related to search-facet-api. The All products page does not show any products (from the sample store). In watchdog, I found an errormessage that may be the cause of this issue:

SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE (item_id = '39')' at line 1

Any suggestions how to fix this?

bojanz’s picture

See #1819842: How to manually update search index between Kickstart RCs.
You probably need to revert your index (or at least, trigger a reindex).

rfamans’s picture

Thanks Bojanz, this had indeed to do with rebuilding the index. But not exactly as stated in the related topic as you refer to. I first had to remove all price fields from the index followed by a rebuild and after that again add the price fields (normal, min, max price) to the index followed again by an index rebuild. After that, all products show up again on the search all products page.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.