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) »
  • Upgrading 3.4.8 -> 4.5.5
Pages: [1]

Author Topic: Upgrading 3.4.8 -> 4.5.5  (Read 647 times)

SIUAviation

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • CiviCRM version: 3.4.8
  • CMS version: Drupal 7
  • MySQL version: 5.5.41
  • PHP version: 5.5.9
Upgrading 3.4.8 -> 4.5.5
February 13, 2015, 08:58:41 am
Hello everyone!

In the process of upgrading from a currently heavily used 3.4.8 on Drupal 6 to Drupal 7 (succeeded no problems). Now I'm in the process of upgrading from CiviCRM 3.4.8 to 4.5.5, using the steps outlined here: http://wiki.civicrm.org/confluence/display/CRMDOC/Upgrade+Drupal+Sites+to+4.5+-+Drupal+7#UpgradeDrupalSitesto4.5-Drupal7-11.RuntheUpgradescript

I've recreated the civicrm.settings.php file using the install method, then changed the DB settings to the right database. When I go to /civicrm/upgrade?reset=1, the page loads just fine. Gives the right message, "Use this utility to upgrade your CiviCRM database from 3.4.8 to 4.5.5. "

When I click upgrade now, the page loads saying CiviCRM upgrade tasks, but the first line listed shows "[]" with the retry and skip buttons on the side.

Any thoughts or ideas?

Edit:
Supplemental, but I'm sure it's due to the need for an upgrade...
Quote
Fatal DB error, exiting, seems like your schema does not have civicrm_setting table
« Last Edit: February 13, 2015, 09:27:21 am by SIUAviation »

JohnFF

  • I post frequently
  • ***
  • Posts: 235
  • Karma: 6
  • CiviCRM version: 4.4.13
  • CMS version: Drupal 7.28
  • MySQL version: 5.5.31-1
  • PHP version: 5.3.27
Re: Upgrading 3.4.8 -> 4.5.5
February 14, 2015, 07:54:23 am
Speaking as the proud owner of a 4.4.11 install that when I first inherited it was a 4.2.6 install, I feel like I'm qualified to give advice on upgrades:

1) Don't do so many major releases at once. Go from 3.4 to 4.1.*, then 4.2.*, then 4.3.*, then 4.4.*, then 4.5.* (where * is the highest number for that release). This way your database schema will always be up to date.

2) It sounds to me like this is a configuration issue with how your civicrm.settings.php file is set up. Does it match your Drupal settings.php file. If you get really stuck with this it may be worth asking a consultant to do it.
If you like empowering charities in a free and open way, then you're going to love Civi.

Email Amender: https://civicrm.org/extensions/email-amender
UK Phone Validator: https://civicrm.org/extensions/uk-phone-number-validator
http://civifirst.com
https://twitter.com/civifirst

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Upgrading 3.4.8 -> 4.5.5
February 15, 2015, 04:24:56 am
Yes, that error is due to the not-yet-upgraded database not matching the codebase.

Quote from: SIUAviation on February 13, 2015, 08:58:41 am
When I click upgrade now, the page loads saying CiviCRM upgrade tasks, but the first line listed shows "[]" with the retry and skip buttons on the side.

This means your JavaScript files are not loading. You can try deleting your templates_c cache and NULLing your domain settings with this:

Code: [Select]
UPDATE `civicrm_domain` SET `config_backend`=NULL ;
and try again.

If it still fails, then using a smaller jump as JohnFF suggested, is also a very good idea.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

SIUAviation

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • CiviCRM version: 3.4.8
  • CMS version: Drupal 7
  • MySQL version: 5.5.41
  • PHP version: 5.5.9
Re: Upgrading 3.4.8 -> 4.5.5
February 20, 2015, 07:14:14 am
Will try these suggestions! Thanks!

SIUAviation

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • CiviCRM version: 3.4.8
  • CMS version: Drupal 7
  • MySQL version: 5.5.41
  • PHP version: 5.5.9
Re: Upgrading 3.4.8 -> 4.5.5
February 20, 2015, 07:41:45 am
I also get the error now when just trying to enable or disable the CiviCRM module...

This is getting frustratingly bizarre.

I think that the CiviCRM module is somehow disabled, but shows as enabled in the system. I cannot get to the upgrade page anymore, says page not found. Now getting this error when going to change the module settings of CiviCRM.

Code: [Select]
Fatal DB error, exiting, seems like your schema does not have civicrm_setting table
« Last Edit: February 20, 2015, 07:54:08 am by SIUAviation »

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Upgrading 3.4.8 -> 4.5.5
February 21, 2015, 10:10:15 am
If you have not upgraded your database, then you need to use the OLD version of the CiviCRM code because that's what matches your database. Switch your code and it should work.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Upgrading 3.4.8 -> 4.5.5

This forum was archived on 2017-11-26.