CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • 19 Steps to Upgrade CiviCRM in Drupal 7
Pages: [1]

Author Topic: 19 Steps to Upgrade CiviCRM in Drupal 7  (Read 990 times)

The Doctor

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 1
  • CiviCRM version: 4.7.x
  • CMS version: Drupal 7.x
19 Steps to Upgrade CiviCRM in Drupal 7
October 10, 2013, 06:32:00 am
I know CiviCRM is a complex module. And I really appreciate the work everyone puts into it. Thank you all.

But why does it have to take 19 Steps to Upgrade CiviCRM in Drupal 7?
http://wiki.civicrm.org/confluence/display/CRMDOC/Upgrade+Drupal+Sites+to+4.3+-+Drupal+7

There has to be a way to simplify this process. Can't some of these steps be automated or scripted or something so that non-technical users like myself can keep our sites up to date without such an intimidating process?

Just wondering :-)

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: 19 Steps to Upgrade CiviCRM in Drupal 7
October 10, 2013, 07:52:28 am
Hey,

I know it sounds scary, but in my experience it isn't that time consuming doing minor upgrades when you don't have custom code/template.

Some/Most of these steps are nor mandatory per se. eg. disable logging probably doesn't apply to you. Some are best practices that you don't *have to* follow (eg. backup).

Check out the drush commands, they are saving a quite aew of these steps, if you are ok doing shell on the command line. So far, that's where the automation investment has been more funded, but you could change that ;)

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

The Doctor

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 1
  • CiviCRM version: 4.7.x
  • CMS version: Drupal 7.x
Re: 19 Steps to Upgrade CiviCRM in Drupal 7
October 10, 2013, 08:06:39 am
Thanks for the reply @xavier.

I don't know how to do command line stuff or where I would do that. For example, step 9 asks for command line entries and I don't know where or how to do those. I use FTP to upload the CiviCRM module.

I haven't the faintest idea of what drush is, though I have seen that word used in various places.

I really am not a programmer or a technical expert. I muddle through as part of a one-person operation at our non-profit. And I know I have to own that.

But even upgrading the Drupal core is simpler than this, and of course other Drupal modules require only a few clicks to upgrade.

clarkac

  • Administrator
  • Ask me questions
  • *****
  • Posts: 399
  • Karma: 11
  • CiviCRM version: 4.4.11 & 4.5.5
  • CMS version: Drupal 7
  • MySQL version: 5.1.61-cll
  • PHP version: 5.3.27
Re: 19 Steps to Upgrade CiviCRM in Drupal 7
October 10, 2013, 12:00:38 pm
I timed myself the other day doing upgrades from 4.3.6 to 4.3.7 - I could do an upgrade in 5 to 6 minutes - no kidding.  Here's the steps:

1. Download the code from SourceForge
2. Use phpmyadmin to backup the database
3. Logon to the site as Admin
4. Go into cPanel, to File Manager, go to the site modules folder and upload the two files downloaded in step 1
5. Erase the civicrm folder, then unpack the aforementioned 2 files which will create the new civicrm folder
6. Run the upgrade script which is /civicrm/upgrade?reset=1

I did about 4 of these in quick succession as 4.3.7 was a security fix, and after the first one I didn't need to download the code.  Quod erat demonstrandum!
Andy Clark

The Doctor

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 1
  • CiviCRM version: 4.7.x
  • CMS version: Drupal 7.x
Re: 19 Steps to Upgrade CiviCRM in Drupal 7
October 10, 2013, 12:21:46 pm
You make it sound easy @clarkac. But does that mean all those other steps are unnecessary? Do I not have to worry about permissions or whether certain text is in the setting file, etc.?

And if it can be done that easilly, it iseems to me that a simple "upgrade" link within CiviCRM could run a script or something to make this happen in the same way that extensions are automatically downloaded and upgraded.

Aside from backing up, the heart of it is replacing the civicrm folder and running the upgrade script. I just don't understand why there can't be a script that offers to back things up, replaces the civicrm folder, checks for the settings and permissions, and runs the upggrade script.

Not possible?

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: 19 Steps to Upgrade CiviCRM in Drupal 7
October 10, 2013, 12:36:28 pm
Everything is possible. But everything needs someone to make it happen ;)

Would you have the resources or competencies to push that project?

-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: 19 Steps to Upgrade CiviCRM in Drupal 7
October 12, 2013, 01:52:14 pm
Quote
Aside from backing up, the heart of it is replacing the civicrm folder and running the upgrade script. I just don't understand why there can't be a script that offers to back things up, replaces the civicrm folder, checks for the settings and permissions, and runs the upggrade script.
There is a drush command that basically does that. Drush is not at all scary, I recommend you get familiar with it.
Try asking your question on the new CiviCRM help site.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • 19 Steps to Upgrade CiviCRM in Drupal 7

This forum was archived on 2017-11-26.