After downloading 7.x-2.27 to update from 7.x-2.26, drush pm-update reports that Commerce Kickstart 7.x-2.27 is not supported:

    Name                                             Installed Version  Proposed version  Message                                             
    Commerce Kickstart (commerce_kickstart)          7.x-2.27           7.x-2.27          Installed version not supported                     

This breaks further updating of any other modules using drush:

The commerce_kickstart directory could not be found within the modules directory at /profiles/commerce_kickstart, perhaps the project is enabled but has been deleted from disk.

I'm not sure what to do from here. SVN shows that there are multiple updated files in the commerce_kickstart profile from 7.x-2.26, so it appears to be updated, and there seemed to be no database updates available after the update, but now no other modules can be updated (I can download them manually I suppose) and drush will continue to report that modules are not supported and not up to date.

CommentFileSizeAuthor
#8 update-version-status-error.jpg86.13 KBonejam
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

scott.whittaker created an issue. See original summary.

scott.whittaker’s picture

Still an issue with 7.x-2.29

Andrea Gobetti’s picture

Still an issue with 7.x-2.30

caco13’s picture

After trying to update to version 7.x-2.30, I get this error too. in

Administration > Site settings > Advanced settings > Site reports > Available updates

I get the message

Commerce Kickstart 7.x-2.30
Recommended version: 	7.x-2.30 (2015-Oct-22) 	


Distro Update Manager: physical version 7.x-1.x-dev does not match .make file version 7.x-1.x from commerce_kickstart.
Includes: Commerce Kickstart
mglaman’s picture

Status: Active » Postponed (maintainer needs more info)

Please see #4 and let me know if that is issue. It's slated to be disabled by #2548435: 7.x-2.27 not supported by drush update on next release.

iprosp’s picture

I am having the same issue while updating from 2.32 to 2.33 using drush up.

 Name                 Installed Version  Proposed version  Message
 Commerce Kickstart   7.x-2.32           7.x-2.33          Update  available (commerce_kickstart                                      
 )
Code updates will be made to the following projects: Commerce Kickstart [commerce_kickstart-7.x-2.33]
The commerce_kickstart directory could not be found within the       [error]
modules directory at
/home/user/webapps/site/profiles/commerce_kickstart

It is a vanila installation with very few extra modules enabled.
When i go to Administration > Site settings > Advanced settings > Site reports > Available updates i don't get any error messages, just the standard notification that there is a new version for Commerce Kickstart.

iprosp’s picture

Status: Postponed (maintainer needs more info) » Active

I did a new installation of commerce kickstart 2.32 and issued the drush up command(using drush 6.7) and got the same output as before.

onejam’s picture

I ran 'drush make' to update to latest version (Commerce Kickstart 7.x-2.33) and it still complains that it's not the latest version but shows up as the same version as 'not supported'. See attached image.

Edited:

Oops! sorry, i just remembered i have not updated Drupal to 7.42. Now it is okay.

mglaman’s picture

Can someone here document your upgrade process with drush? Our tests are testing upgrades.

onejam’s picture

Here's how we upgrade Commerce Kickstart 2.x with drush 8.0.3:

  • ssh to your site and navigate to your commerce installation directory
  • run this command to download and replace the older installed files, 'drush dl commerce_kickstart'.
  • Then run the command, 'drush updatedb' to update the DB

Note:

This only upgrades commerce kickstart packages and does not update Drupal core, which is done separately.

We also encountered an issue. It throws an error when we tried to update the DB (ie, drush updatedb) because of commerce_discount. This happened because commerce_discount module was disabled since we don't use this module. Enable this module fixes the issue. So we ran 'drush en commerce_discount' (to enable the module), then ran 'drush updatedb' again.

iprosp’s picture

Can someone here document your upgrade process with drush? Our tests are testing upgrades.

just going to the install directory and using the command drush up using drush 8.0.2 and php 5.6

Here's how we upgrade Commerce Kickstart 2.x with drush 8.0.3:

ssh to your site and navigate to your commerce installation directory
run this command to download and replace the older installed files, 'drush dl commerce_kickstart'.
Then run the command, 'drush updatedb' to update the DB

When using this methodoly, we get some warnings

Unknown path for commerce_kickstart_theme module.                    [warning]
Unknown path for commerce_kickstart_admin module.                    [warning]

and then it seams to continue ok (but the problem with drush up remains)

[myUser@server mySite]$ drush dl commerce_kickstart
Unknown path for commerce_kickstart_theme module.                    [warning]
Unknown path for commerce_kickstart_admin module.                    [warning]
Install location profiles/commerce_kickstart already exists. Do you want to overwrite it? (y/n): y
Project commerce_kickstart (7.x-2.33) downloaded to                  [success]
profiles/commerce_kickstart.
Project commerce_kickstart contains:                                 [success]
 - 1 profile: commerce_kickstart
 - 9 themes: commerce_kickstart_admin, omega_kickstart,
starterkit_omega_xhtml, starterkit_omega_html5,
starterkit_alpha_xhtml, alpha, omega, shiny, commerce_kickstart_theme
 - 245 modules: commerce_kickstart_migrate,
commerce_kickstart_social, commerce_kickstart_user,
commerce_kickstart_reset, commerce_kickstart_menus,
commerce_kickstart_comment, commerce_kickstart_inline_help,
commerce_kickstart_help, commerce_kickstart_merchandising,
commerce_kickstart_product, commerce_kickstart_block,
commerce_kickstart_slideshow, commerce_kickstart_lite_product,
commerce_kickstart_blog, commerce_kickstart_product_ui,
toolbar_megamenu, commerce_kickstart_dfp, commerce_kickstart_order,
commerce_kickstart_search, commerce_kickstart_taxonomy, token,
fences, migrate_ui, migrate_example_baseball, migrate_example_oracle,
migrate_example, migrate, mailsystem, physical,
commerce_checkout_progress, countries_configuration, countries_i18n,
countries_example, countries, commerce_search_api,
search_api_facetapi, search_api_views, search_api, field_extractor,
commerce_features, eva, commerce_cba, commerce_moneybookers,
commerce_moneybookers_quickcheckout, taxonomy_menu, http_client,
http_client_oauth, commerce_addressbook,
commerce_extra_price_formatters, lingotek,
commerce_add_to_cart_confirmation, remote_stream_wrapper,
rules_scheduler, rules_i18n, rules_admin, rules, features,
crumbs_example, crumbs, menu_attributes, message_og_example,
message_example, message, search_api_sorts, cloud_zoom,
commerce_message, commerce_hosted_pci, commerce_migrate_example,
commerce_migrate, commerce_autosku, title, date_repeat_field,
date_repeat, date_migrate_example, date_migrate, date_popup,
date_views, date_context, date_api, date_tools, date_all_day, date,
kameleoon, mimemail_example, mimemail_compress, mimemail_action,
mimemail, ctools_plugin_example, bulk_export, page_manager, stylizer,
views_content, ctools_ajax_sample, ctools_custom_content, term_depth,
ctools_access_ruleset, ctools, views_ui, views, help_example,
advanced_help, connector_action_default_register_form, connector,
variable_store, variable_example, variable_views, variable_admin,
variable_realm, variable, commerce_shipping_example,
commerce_shipping, commerce_shipping_ui, commerce_paymill,
mailup_subscribe, mailup, commerce_firstdata_gge4_hpp,
commerce_firstdata_gge4_ws, commerce_firstdata_gge4, strongarm,
entityreference_behavior_example, entityreference, colorbox,
special_menu_items, commerce_exactor_calc, commerce_exactor_avs,
commerce_exactor_euc, commerce_exactor, image_delta_formatter,
commerce_physical, commerce_cart, commerce_price, commerce_order_ui,
commerce_order, commerce_customer, commerce_customer_ui,
commerce_product_reference, commerce_product_ui, commerce_product,
commerce_line_item, commerce_line_item_ui, commerce_payment_example,
commerce_payment_ui, commerce_payment, commerce_product_pricing,
commerce_product_pricing_ui, commerce_checkout, commerce_tax_ui,
commerce_tax, commerce, commerce_ui, module_filter,
commerce_checkout_redirect, search_api_db, oauth_common,
oauth_common_providerui, mailjet_event, mailjet_campaign,
mailjet_trigger_examples, mailjet_stats, mailjet_list, mailjet,
message_notify_example, message_notify, commerce_payleap,
addressfield_example, addressfield, commerce_flat_rate, yottaa,
pathauto, chosen, commerce_discount_date, commerce_discount_usage,
commerce_discount, inline_conditions, commerce_kiala_track,
commerce_kiala_ps, commerce_kiala, commerce_paypal_wps,
commerce_paypal_wpp, commerce_paypal_ec, commerce_payflow,
commerce_paypal, features_override, inline_entity_form, link,
migrate_extras_media, migrate_extras_profile2,
migrate_extras_pathauto, migrate_extras, i18n_sync, i18n_taxonomy,
i18n_block, i18n_node, i18n_select, i18n_contact, i18n_redirect,
i18n_user, i18n_path, i18n_menu, i18n_forum, i18n_string,
i18n_translation, i18n_field, i18n_variable, i18n, views_megarow,
oauth2_common, oauthconnector, commerce_amex, current_search,
facetapi, libraries, commerce_backoffice_product,
commerce_backoffice, commerce_backoffice_content,
commerce_backoffice_order, service_links_displays,
service_links_sprites, spanish_services, general_services,
polish_services, russian_services, favorite_services,
basque_services, italian_services, widget_services, forward_services,
german_services, print_services, dutch_services, swedish_services,
farsi_services, hungarian_services, service_links, admin_views,
commerce_authnet, search_api_ranges, distro_update,
commerce_nosto_tagging, entity, entity_token,
commerce_fancy_attributes, commerce_yotpo, views_bulk_operations,
actions_permissions

[myUser@server mySite]$ drush updatedb
No database updates required                                         [success]

mglaman’s picture

Unknown path for commerce_kickstart_theme module.                    [warning]
Unknown path for commerce_kickstart_admin module.                    [warning]

This is a Drush bug with non D8 sites it seems.

Install location profiles/commerce_kickstart already exists. Do you want to overwrite it? (y/n): y

It's not updating Drupal core. In my opinion, if this is the case, you should not use Drush to upgrade. Unless you are using a makefile. Drupal core is stale. I guess this issue is helping identify no one has had updated Drupal core when using Drush.

mglaman’s picture

Status: Active » Fixed

I forgot we have this documented. Please refer to https://drupalcommerce.org/commerce-kickstart-2/install for proper way to upgrade using drush.

ariban99’s picture

why is this as fixed. i am getting this error on latest 7.33 and it started on 7.32, can someone post a fix for this please?

ariban99’s picture

Version: 7.x-2.27 » 7.x-2.33
Priority: Normal » Critical
Status: Fixed » Needs work
mglaman’s picture

Category: Bug report » Support request
Priority: Critical » Normal
Status: Needs work » Fixed

ariban99, this is a support request. For proper upgrade please read https://drupalcommerce.org/commerce-kickstart-2/install.

You can't just run "drush up" as it only downloads the profile AND NOT Drupal core.

ariban99’s picture

that was not it at all in my case.
the problem i found was colorbox was causing this error. i disabled colorbox and now all works just fine!

Status: Fixed » Closed (fixed)

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