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 updated and am getting a pretty ugly message, any ideas?
# # #
commerce_kickstart-7.x-2.47 does not always update to Drupal core 7.55 using drush.
Summary:
Starting from commerce_kickstart-7.x-2.45, neither of these routes results in core being updated.
drush dl commerce_kickstart
drush updatedb -y
drush cc all && drush cc all
or
drush dl commerce_kickstart-7.x-2.46
drush updatedb -y
drush cc all && drush cc all
drush dl commerce_kickstart-7.x-2.47
drush updatedb -y
This is purely a drush issue. The tarball does include the proper core files, they just aren't making it to the proper folders. (See comment #14)
In any event:
Please provide manual unpacking and copying instructions to accomplish an update without using drush.
Comment | File | Size | Author |
---|---|---|---|
Screen Shot 2017-06-12 at 11.15.48.jpg | 49.85 KB | Jack Clark |
Comments
Comment #2
Jack Clark CreditAttribution: Jack Clark commentedComment #3
mglamanYes, I'm fixing this now. The last version had old core, and Pantheon controls core
Comment #4
mglamanComment #5
Jack Clark CreditAttribution: Jack Clark commentedThank you for this and all your work.
Comment #6
mglamanWaiting on tests from https://github.com/commerceguys/commerce_kickstart/pull/233
Comment #8
mglamanWaiting for final tests to finish, then tagging release.
Comment #9
mglamanhttps://github.com/commerceguys/kickstart-drops-7/commit/65c046b85fa00f0...
Should see release in your dashboard shortly.
Comment #10
Jack Clark CreditAttribution: Jack Clark commentedAll looks great, thanks.
Comment #11
Michael-IDA CreditAttribution: Michael-IDA at Internet Design Alliance commentedOdd, mine doesn’t update to 7.55 ????
Did the drush commands get changed?
I did the drush commands a second time for grins, no change. This is the output of the first attempt.
Edit: Reloaded site from backups, re-applied upgrade steps, no change. Added 'drush up' output for module list.
Comment #12
Michael-IDA CreditAttribution: Michael-IDA at Internet Design Alliance commentedUpdated Issue summary.
This same issue happened approx 18 months ago (can't find the issue ticket). It was a test site, and has long since been deleted, but this doesn't seem to be anything new to CK.
The question I have is, given:
How does 'drush dl' actually update the core files in?:
# # #
In any event:
Comment #13
Michael-IDA CreditAttribution: Michael-IDA at Internet Design Alliance commenteduhg, fixing Title.
Comment #14
Michael-IDA CreditAttribution: Michael-IDA at Internet Design Alliance commentedFurther research show this is a pure drush issue. From working on this issue, #2886085: tar: Unexpected EOF in archive, it’s identified that the updated core files are in the tar ball. Directory listings show they aren’t being propagated by drush.
So, all that’s really needed is a manual way to update the site from the tar ball.
Comment #15
shootersolutions CreditAttribution: shootersolutions as a volunteer and commentedAh! Michael-IDA, you say like Maxwell in the old 'Get Smart' might say:
The old, cut 'n paste from an exploded tar ball method!!
I say that laughing also, because I used the tar ball method after failing too, with the faster way.
Thanks Michael for being so active. I thought I would inject some "dry" humor :)
Comment #16
Michael-IDA CreditAttribution: Michael-IDA at Internet Design Alliance commentedEdit 2017-12-01: Added version checks.
Hi shootersolutions,
> Maxwell in the old 'Get Smart'
Always did like that show :)
Yeah, commerce_kickstart-7.x-2.48 still won’t update core through drush :( My guess is once it breaks, it’ll never automagically fix itself, so there’s a good possibility you’re now stuck with this manual method for life???
Anyway, here’s what I did (change paths for current version):
I’m usually a bit wordy, so re-write as much as you want. Someone also check the unzip command, as I don’t know if it needs arguments or not.
Once someone from Commerce is happy with the instruction text, someone please review and then have it copied to the CK install/update page.
The whole kit and caboodle could probably be made into a single bash or drush script. If someone feels froggy and is going to do a drush script, please make it back compatible to at least drush 5.x ;)
Best,
Michael
Comment #17
Michael-IDA CreditAttribution: Michael-IDA at Internet Design Alliance commentedScrewiest bug ever!
Same site, sometimes drush works, sometimes it doesn’t and you have to go all Maxwell on it. It almost has the pattern of works, doesn’t work, works, doesn’t work, but not quite. Bizarre.
Anyone from Drupal Commerce willing to make a Drupal Commerce specific method that always ‘Just Works?’
Edit: 2017-12-01
Yeah, okay, part of the issue is you never really know what versions Kickstart has in it. After updating 3 times, lo and behold, it’s still last rev for key modules, so duh, of course it’s not going to update to current rev… I added "::Check Kickstart versions" to #16.
Comment #18
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.