Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#8 | update-version-status-error.jpg | 86.13 KB | onejam |
Comments
Comment #2
scott.whittaker CreditAttribution: scott.whittaker commentedStill an issue with 7.x-2.29
Comment #3
Andrea Gobetti CreditAttribution: Andrea Gobetti as a volunteer commentedStill an issue with 7.x-2.30
Comment #4
caco13 CreditAttribution: caco13 commentedAfter 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
Comment #5
mglamanPlease 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.
Comment #6
iprosp CreditAttribution: iprosp commentedI am having the same issue while updating from 2.32 to 2.33 using drush up.
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.
Comment #7
iprosp CreditAttribution: iprosp commentedI 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.
Comment #8
onejam CreditAttribution: onejam commentedI 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.
Comment #9
mglamanCan someone here document your upgrade process with drush? Our tests are testing upgrades.
Comment #10
onejam CreditAttribution: onejam commentedHere's how we upgrade Commerce Kickstart 2.x with drush 8.0.3:
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.
Comment #11
iprosp CreditAttribution: iprosp commentedjust going to the install directory and using the command
drush up
using drush 8.0.2 and php 5.6When using this methodoly, we get some warnings
and then it seams to continue ok (but the problem with drush up remains)
Comment #12
mglamanThis is a Drush bug with non D8 sites it seems.
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.
Comment #13
mglamanI forgot we have this documented. Please refer to https://drupalcommerce.org/commerce-kickstart-2/install for proper way to upgrade using drush.
Comment #14
ariban99 CreditAttribution: ariban99 commentedwhy 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?
Comment #15
ariban99 CreditAttribution: ariban99 commentedComment #16
mglamanariban99, 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.
Comment #17
ariban99 CreditAttribution: ariban99 commentedthat 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!