I installed Commerce Kickstart 7.x-1.7 and was just notified that there is an update available: Recommended version: 7.x-1.8 (2012-May-20).

Other sites I maintain do not use Profiles and I usually update individual modules or Core using Drush.
In this case, the modules are within /mysite/profiles/commerce_kickstart/modules.
What is the appropriate way to apply an update to Kickstart?

Proposed Resolution

Upgrade instructions are at: http://www.drupalcommerce.org/commerce-kickstart-2/install

Comments

damien tournoud’s picture

If you are using Drush, this should just work (TM):

$ drush dl commerce_kickstart
$ drush updatedb -y
mrpauldriver’s picture

Non-drush user asks if it okay to upgrade to Drupal core 7.14 or whether it is necessary to use latest Commerce Kickstarter profile.

I've had problems before with distribution profile upgrades and would prefer not to have the same headaches this time.

josephsergio’s picture

Is there any update on this? I have been trying to upgrade my site with the latest Drupal Core 7.14 and both tries failed - Now I just got this fatal error:

Fatal error: Call to undefined function views_ui_cache_load() in /home/josephsergio/mjmroyalties.com/includes/menu.inc on line 592

Just realized that there is no longer a Commerce Kickstart profile within the profiles folder - Would that fix this issue if I simply copy it back in?

mrpauldriver’s picture

Given your difficulties Jospeh, I'm glad I asked first. It would be good to get some advice from someone who knows better.

josephsergio’s picture

Solved my issue - needed to copy over the commerce kickstart profile, now it works great

GeertWil’s picture

Version: 7.x-1.8 » 7.x-2.0-beta2

drush dl commerce_kickstart
and
drush updatedb -y

results in:
Fatal error: Call to undefined function entityreference_field_property_callback() in C:\xampp\htdocs\shop\profiles\commerce_kickstart\modules\entity\modules\field.info.inc on line 30

when trying to update beta1 tot beta2.

bojanz’s picture

There is no updating supported between Kickstart pre-releases. Updating will be supported from Release Candidate and moving forward.

Disregarding that, drush updatedb can't work because we use patched modules. You need to download beta2 yourself, put new files in place of old files, and then try again.

GeertWil’s picture

And drush dl commerce_kickstart doesn't work either, because it doesn't download the beta version.
I hope Release Candidate will come soon. I love Kickstart v2 too much to return to previous versions.

mlecha’s picture

Some end user feedback; It's not clear how to maintain a "Commerce Kickstart" install.

I installed Commerce Kickstart 7.x-1.9, moving modules from profile to sites/all, expecting that after being "kickstarted" into Drupal Commerce that I would maintain the site on my own.

Since then standard drupal security notices appear suggesting to upgrade modules/core as required, but apparently I should ignore those and waiting for a Drupal Commerce release? (Which arrived as Commerce Kickstart 7.x-1.10, after I had upgraded affected core and modules.)

Tried uninstalling "Drupal Commerce" from the "uninstall page", since it's installed and I'm happy to manage my own site now, but have errors such as:

Notice: Undefined index: distribution_name in drupal_install_profile_distribution_name() (line 202 of C:\[..]\drupal\includes\install.inc).

Status Report page:

Notice: Undefined index: name in system_requirements() (line 39 of C:\[..]\drupal\modules\system\system.install).
Notice: Undefined index: version in system_requirements() (line 41 of C:\[..]\drupal\modules\system\system.install).

I'm not looking for "support", but only to help improve the experience of those taking up Commerce Kickstart...

How does one take over maintenance of a "kickstart" site once it has been kick started?

marktheshark’s picture

Same here.

I'm considering using kickstart 2.x-dev, but there is no clear upgrade strategy (that I am aware of).

mrpauldriver’s picture

Mark, it seems that latest release candidate offers an upgrade path.

See http://www.drupalcommerce.org/blog/4191/commerce-kickstart-20-release-ca...

I'm a learner myself, so perhaps expert could clarify the situation for us.

theo_’s picture

Status: Active » Fixed

We support upgrade path only from rc1 version, so I strongly advise you to use commerce_kickstart 7.x-2.0-rc1

marktheshark’s picture

Thanks for the clarification.

Does rc1 also support translating Products by installing Entity Translation?

GeertWil’s picture

I installed Commerce Kickstart without demo content and without the backed in ability to translate the store.
I then installed Entity Translation manually and could translate all products without any problem.

For the translation of the menus and taxonomy terms I had to activate the modules menu translation, blocks translation and taxonomy translation too.

marktheshark’s picture

From this thread the "ability to translate the store" checkbox affects the installation of: locale, variable, i18n and i18n_fields?

Did you install any of these yourself?

Status: Fixed » Closed (fixed)

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

sinagod2’s picture

I installed Drupal Commerce Kickstart 2 and a few weeks later I get a Drupal security warning encouraging me to update my Drupal Core from 7.19 to 2.1. This is how I did it with no issues. Note that I'm working on a local production windows 7 machine using UniServer for my amp stack.
1) login to your site as admin
2) back up your database (use the backup and migrate module or use the phpAdmin export feature)
3) download the latest release of Drupal Core
4) uncompress it
5) move it to the www folder (or wherever your Drupal resides)
6) copy the yoursite/profiles/commerce_kickstart directory to the drupal-7.21/profiles directory
7) delete the drupal-7.21/sites directory
8) copy the yoursite/sites directory to drupal-7.2
9) rename yoursite to yoursite_old
10) rename drupal-7.21 to yoursite
11) run yoursite/update.php
12) update your database as usual ( I didn't do this step because I'm just learning commerce kickstart and didn't really add any items or made any major changes to the default setup)

It worked like a charm with no issues and now the site report states that everything is up to date.
Yeah!

bojanz’s picture

You are not allowed to do that, and that can seriously break your installation. Kickstart ships with patched Drupal installations, by removing patches you are destabilizing your install.

Whenever a Drupal core security release happens, a parallel Kickstart release is made. You always update Kickstart as a whole.

apratt’s picture

Nice. Lesson learned.

So when I upgraded my Drupal core installation with drush last night and the "parallel Kickstart" installation wasn't available - drush updated my core installation.

And now when I try to update kickstart I get an error saying "can't find the kickstart module" Any suggestions on how to get the installations back into sync?

jajouka’s picture

does anyone know if its possible to upgradde from commerce kickstart 7.x-1 to 7.x-2? I tried it following the upgrade insstructions and I'm not having any joy. There are a lot of changes in 7.x-2, the folder structure and the new contrib modules folder is creating dupes of modules, resulting in fatal error.

yesct’s picture

in #18 @bojanz

Whenever a Drupal core security release happens, a parallel Kickstart release is made. You always update Kickstart as a whole.

That makes sense. But where are the upgrade instructions?

profiles/commerce_kickstart/README does not have instructions, and core's UPGRADE.txt is wrong as #18 pointed out.

yesct’s picture

answering my own question.
http://www.drupalcommerce.org/commerce-kickstart-2/install

I'll update the issue summary.

bojanz’s picture

We should link to that page from the distro README. Can you please open a new issue to remind me?

bojanz’s picture

Issue summary: View changes

added link to instructions.

cvharris’s picture

@#20, did you ever find a resolution to this? I need to upgrade my instance and would rather not have to do a Features import of all my data.

glass.dimly’s picture

Issue summary: View changes

Here's Drupal Commerce's online documentation for upgrading: http://www.drupalcommerce.org/blog/9072/updating-commerce-kickstart-2

Rafael Cansinos’s picture

heikofischer’s picture

Still a question regarding https://drupalcommerce.org/commerce-kickstart-2/install

$ drush dl commerce_kickstart

should also update the Drupal core (if a new version is available) and apply the patches, that ships with the commerce kickstart profile.

In our case, we have to manually call (from the root directory of the drupal installation):

$ drush make profiles/commerce_kickstart/drupal-org-core.make

to download Drupal core and apply patches. The question is: if this is the correct workflow to update commerce kockstart AND Drupal core, shouldn`t it be mentioned in the documentation, that drush dl commerce_kickstart ist NOT enough, if a core update should be done?