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.
Just trying to get some clear answers, to tie up the loose threads.
According to the commerce blog:
$ drush dl commerce_kickstart
$ drush updatedb
should suffice to update the distro.
In fact it updates the distro profile, but not the core.
In my case db updates are stuck because of core dependency:
[warning] Mime Mail requires this module and version. Currently using System
version 7.22 (Currently using Unresolved dependency System (Version
>=7.24 required))
Comments
Comment #1
MediaFormat CreditAttribution: MediaFormat commentedugh drush is not updating core yet. do it manually.
Comment #2
lsolesen CreditAttribution: lsolesen commentedDo not update core without updating the entire distribution. That can have strange effects and is not tested. So basically update everything when updating to a new kickstart distro.
Comment #4
awasson CreditAttribution: awasson commentedOpening this issue again in light of the urgency of security updates.
How quickly do Commerce Guys update the distribution of Commerce Kickstart. Last month I had a heck of a time delousing a Kickstart site that was hacked before I could get the update in and I'm worries I'll have a repeat performance since the distro hasn't been updated yet.
Thanks,
Andrew
Comment #5
awasson CreditAttribution: awasson commentedComment #6
howdytom CreditAttribution: howdytom commentedAlso interested in this.
Comment #7
bojanz CreditAttribution: bojanz commentedYou don't update core, you update Kickstart itself as a whole.
Comment #8
awasson CreditAttribution: awasson commentedThe first post says it all...
Running drush dl commerce_kickstart only updates the profile. Core is still 7.32 not 7.34.
I just ran this 10 minutes ago and sure enough the porfile is new but Core isn't.
I don't particularly care how I go about it but I need to have a process that works.
Thanks,
Andrew
Comment #9
bojanz CreditAttribution: bojanz commentedPlease consult https://drupalcommerce.org/commerce-kickstart-2/install
Comment #10
awasson CreditAttribution: awasson commentedI'm sorry for re-opening this issue but it seems that this it has not been resolved.
The point is that following the directions from the page that you have directed me to only updates the install profile (https://drupalcommerce.org/commerce-kickstart-2/install), it does not update Drupal Core.
If it is supposed to update Core and it is not, there is a problem. If it is only supposed to update the installation profile, then we need to have some additional updating information in the documentation to make that update.
I will repeat, running: drush dl commerce_kickstart is only updating the installation profile, not Drupal core.
This is a screen scrape from my terminal window:
There is no mention of Drupal core in that listing. As I mentioned, I don't really care how I get Drupal core updated as long as there is a Commerce Guys "best practice" I can follow that does the job.
Thanks,
Andrew
Comment #11
bojanz CreditAttribution: bojanz commentedThe Commerce Guys best practise is documented in the link I gave to you. In general I recommend doing the update manually because the drush steps only work with latest Drush versions. Run "drush --version" to see which version you have.
Comment #12
awasson CreditAttribution: awasson commentedThanks bojanz,
I've closed it (works as designed). I'm running Drush 6.x so I did the manual update.
Thanks for clarifying. I wonder if there is somewhere in the documentation we can put some info pointing out that versions of Drush less than 8 will still update the installation profile but won't actually update the site correctly and that a manual update is necessary.
Andrew
Comment #13
rootworkOpening this again because I ran into this.
I don't think the documentation is specifically clear that you NEED a specific version of Drush, or that older versions of Drush fail in this specific way -- i.e. I had thought if the Drush update didn't work it would just fail, not look like it was updating things but not do all of them. I've upgraded CK2 probably a dozen times using Drush and had never had any issues. Now, after digging, I discovered that this particular host I just tried it on has an older version of Drush, and that's why the core updating failed.
Since multiple people have run into this, it seems like a relatively uncontroversial request to update the documentation at https://drupalcommerce.org/commerce-kickstart-2/install to clarify the version needed, and/or add something to the troubleshooting page (which currently only talks about installation) explaining that if your core hasn't been updated, this might be why.
The current documentation says:
What if it were updated to something like:
(Since moving to Github, Drush has stopped using the "8.x-6.x" versioning, so that might also confuse people the way it is now.)
Comment #14
rootworkActually just tried this with Drush 7.0 (beta) and it didn't work. So here's my updated suggested change for that line in the documentation:
Comment #15
rszrama CreditAttribution: rszrama at Centarro commentedCommerce Kickstart 2.x is in minimal maintenance mode. Closing out all outdated tickets now to maintain focus on Commerce Kickstart 3.x.