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

blacklabel_tom’s picture

Hi 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

Gerben Zaagsma’s picture

I 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.

summit’s picture

Hi, @blacklabel_tom and Gerben Zaagsma isn't it as easy as:

#Remove old commons-7.x-3.x folder
#Download 
git clone --recursive --branch 7.x-3.x http://git.drupal.org/project/commons.git
cd commons
# Using drush make for generate the profile and download it into  ../commons-7.x-3.x
drush make --working-copy build-commons.make ../commons-7.x-3.x
#profit!  now in the commons-7.x-3.x folder do you have a complete version of Drupal Commons ready for be installed
#Install commons-7.x-3.x by copy it through ftp to the right location.

Greetings, Martijn

blacklabel_tom’s picture

Winning!

summit’s picture

Hi,
Drush make seems to be broken. What now worked for me was based on: http://drupal.org/node/1911552#comment-7258186

#Remove old commons-7.x-3.x folder
#Download 
git clone --recursive --branch 7.x-3.x http://git.drupal.org/project/commons.git
cd commons
# Using drush dl for generate the profile and download it into commons stable version
drush dl commons

greetings, Martijn

I do not now how to get the .dev with this dl though...

greetings, Martijn

summit’s picture

Hi,
this worked perfectly:

#Remove old commons-7.x-3.x folder
#Download 
drush dl commons-7.x-3.x-dev

Voila in the folder you are in commons dev is downloaded.
greetings,
Martijn

blacklabel_tom’s picture

Remember to run update.php or drush updb after to run any database changes!

Cheers

Tom

summit’s picture

Hi @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

blacklabel_tom’s picture

Hi 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

geresy’s picture

Use 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.

devin carlson’s picture

Status: Active » Fixed

From 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?.

Status: Fixed » Closed (fixed)

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