Closed (fixed)
Project:
Drupal Commons
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
25 Feb 2013 at 10:23 UTC
Updated:
19 Jun 2013 at 20:50 UTC
Hi,
I have a working version from the beginning of februari through a drush make file.
I noticed patches on other moduels than commons where done trough the proces.
Can I just update my non-commons modules to the latest versions or do I need to do again a drush make process?
I do not know if commons has some dependencies and patches which are not yet in those modules dev's?
Thanks a lot in advance for your reply!
Greetings, Martijn
Comments
Comment #1
blacklabel_tom commentedHi Martijn,
I would go through the Drush make process as some of the modules need to be at a particular stage or with a specific patch to work with commons.
Cheers
Tom
Comment #2
Gerben Zaagsma commentedI do it as follows (bearing in mind that updating through drush does not work as per http://drupal.org/node/1911552):
1) drush up to see what updates are available
2) go to the notes of the dev version of DC and click the version number of the module to be updated
3) download it from relevant page and upload to commons modules contrib folder with FTP
4) run necessary db updates
Not sure if this is more cumbersome than running a drush make process but so far this has worked perfectly for me.
Comment #3
summit commentedHi, @blacklabel_tom and Gerben Zaagsma isn't it as easy as:
Greetings, Martijn
Comment #4
blacklabel_tom commentedWinning!
Comment #5
summit commentedHi,
Drush make seems to be broken. What now worked for me was based on: http://drupal.org/node/1911552#comment-7258186
greetings, Martijn
I do not now how to get the .dev with this dl though...
greetings, Martijn
Comment #6
summit commentedHi,
this worked perfectly:
Voila in the folder you are in commons dev is downloaded.
greetings,
Martijn
Comment #7
blacklabel_tom commentedRemember to run update.php or drush updb after to run any database changes!
Cheers
Tom
Comment #8
summit commentedHi @blacklabel_tom, does dl has drush make inside?
Because you earlier stated that drush make was needed, see: http://drupal.org/node/1926658#comment-7105884
greetings, Martijn
Comment #9
blacklabel_tom commentedHi Martijn,
When I drush dl commons I only get the make files, but I have only ever done it into a clean directory.
I don't know if drush dl commons into a directory where commons already exists will go ahead and download the whole codebase.
Either way a database update will be needed as there could be database updates that come with the updated files.
Cheers
Tom
Comment #10
geresy commentedUse drush, put commons in a new directory, exclude the folder: sites and the files: robots.txt, .htacces and whatever files you modified and overwrite the original folder. Do the the site.com/update.php part and cross your fingers :)
You should have a backup for both the database and files.
Comment #11
devin carlson commentedFrom the responses here, it sounds like this is fixed. If you're still unsure as to how to upgrade Commons to a new stable/dev release I'd suggest checking out the information in #1842842: Best way to get/update the lastet dev release?.