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) »
  • No upgrade script for step #7 when upgrading Drupal 3.0.2
Pages: [1]

Author Topic: No upgrade script for step #7 when upgrading Drupal 3.0.2  (Read 1160 times)

siffring

  • I’m new here
  • *
  • Posts: 8
  • Karma: 0
No upgrade script for step #7 when upgrading Drupal 3.0.2
December 09, 2009, 06:54:33 pm
Hi,

I am attempting to upgrade from Civi 2.2.7 to 3.0.2 on Drupal 6.1.4. I am following the instructions here: http://wiki.civicrm.org/confluence/display/CRMDOC/Upgrade+Drupal+Sites+to+3.0

When I get to step #7 I go to http://<your_drupal_home>/civicrm/upgrade?reset=1 and it just says "Upgrade CiviCRM to 3.0.2" but doesn't include the Upgrade Now button (or anything else). See the attached screenshot.

When I go to any Civi page I get this error:
Code: [Select]
Array
(
    [callback] => Array
        (
            [0] => CRM_Core_Error
            [1] => handle
        )

    [code] => -19
    [message] => DB Error: no such field
    [mode] => 16
    [debug_info] => SELECT *
 FROM civicrm_preferences
 
 WHERE (  civicrm_preferences.domain_id = 1 )  AND (  civicrm_preferences.is_domain = 1 )
 
 
 
 [nativecode=1054 ** Unknown column 'civicrm_preferences.domain_id' in 'where clause']
    [type] => DB_Error
    [user_info] => SELECT *
 FROM civicrm_preferences
 
 WHERE (  civicrm_preferences.domain_id = 1 )  AND (  civicrm_preferences.is_domain = 1 )
 
 
 
 [nativecode=1054 ** Unknown column 'civicrm_preferences.domain_id' in 'where clause']
    [to_string] => [db_error: message="DB Error: no such field" code=-19 mode=callback callback=CRM_Core_Error::handle prefix="" info="SELECT *
 FROM civicrm_preferences
 
 WHERE (  civicrm_preferences.domain_id = 1 )  AND (  civicrm_preferences.is_domain = 1 )
 
 
 
 [nativecode=1054 ** Unknown column 'civicrm_preferences.domain_id' in 'where clause']"]
)

I confirmed that the CiviCRM module is enabled, so this thread doesn't apply to me:
http://forum.civicrm.org/index.php/topic,9809.msg42370.html#msg42370

The funny thing is, I ran the exact same upgrade process on a test copy of the site without any trouble.

Any thoughts on what is going on here?

Thanks.[/code]

Deepak Srivastava

  • Moderator
  • Ask me questions
  • *****
  • Posts: 677
  • Karma: 65
Re: No upgrade script for step #7 when upgrading Drupal 3.0.2
December 10, 2009, 03:04:45 am
Not sure why this is happening (since this was fixed in 3.0.1). Any possibility that you moved your site ?

Try following the steps:
1. Get your old civicrm codebase back.
2. logout -> login and browse through few pages to make sure 2.2.7 is working fine.
3. Put new codebase again.
4. And fire upgrade url.

and check.
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

siffring

  • I’m new here
  • *
  • Posts: 8
  • Karma: 0
Re: No upgrade script for step #7 when upgrading Drupal 3.0.2
December 10, 2009, 06:08:31 pm
OK, I tried again and it worked. This time I copied the modules/civicrm directory from the test site I successfully upgraded before. I also had to clean out the templates_c directory and chmod 777 the files/upload directory.

Thanks for the quick reply.

sonicthoughts

  • Ask me questions
  • ****
  • Posts: 498
  • Karma: 10
Re: No upgrade script for step #7 when upgrading Drupal 3.0.2
January 26, 2010, 10:38:58 am
Tried this, but didn't work. upgrade from 2.2.7 to 3.04.  Could this be a memory issue?

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • No upgrade script for step #7 when upgrading Drupal 3.0.2

This forum was archived on 2017-11-26.