Results 1 to 8 of 8

Thread: 4.2.1b upgrade - "Files May Only Be Used With A Sugar CRM 4.2.1 Database"

  1. #1
    iamluke is offline Member
    Join Date
    Nov 2005
    Posts
    6

    Exclamation 4.2.1b upgrade - "Files May Only Be Used With A Sugar CRM 4.2.1 Database"

    Hi

    I'm experiencing catastrophic problems upgrading from 4.2.0d to 4.2.1a/4.2.1b. When I run the Upgrade wizard with either installation file (SugarSuite-Upgrade-4[1].2.0-to-4.2.1a.zip or SugarSuite-Upgrade-4[1].2.0-to-4.2.1b.zip) it gives me the following output:

    -----------
    Including: C:\Program Files\SugarCRM\oss\httpd\htdocs\SugarCRM/cache/upload//upgrades/temp\23.tmp/scripts/pre_install.php
    Scanning Files...Including: C:\Program Files\SugarCRM\oss\httpd\htdocs\SugarCRM/cache/upload//upgrades/temp\23.tmp/scripts/post_install.php
    Upgrading the database to version 4.2.1...
    Running SQL file 420_to_421_mysql.sql...
    Finished.
    Sugar CRM 4.2.1b Files May Only Be Used With A Sugar CRM 4.2.1 Database.
    -----------

    then when I attempt to navigate to any of the other modules I get a blank screen with the following message:

    "Sugar CRM 4.2.1b Files May Only Be Used With A Sugar CRM 4.2.1 Database."


    any suggestions much appreciated.

    thanks!
    Luke


    PHP 5.0.4
    Apache 2.0.54
    MySQL 4.1.13
    Windows XP professional 5.1.2600 SP2

  2. #2
    sacramentojoe is offline Sugar Community Member
    Join Date
    Nov 2005
    Posts
    447

    Default Re: 4.2.1b upgrade - "Files May Only Be Used With A Sugar CRM 4.2.1 Database"

    I had this problem before. The last step of the upgrade is to modify the sugar version. 99% of the time I get an error at the bottom stating that it can't update the sugar version.
    There is a check within the code that makes sure your database version is the same as the file versions.

    I would check,
    1. config.php and look at the sugar_version variable.
    2. look at sugar_version.php in the docroot as well.
    3. look at your config table for your crm database. There is a field called sugar_version.


    Let me know if this works or if you have any other questions.

    Joe

  3. #3
    iamluke is offline Member
    Join Date
    Nov 2005
    Posts
    6

    Default Re: 4.2.1b upgrade - "Files May Only Be Used With A Sugar CRM 4.2.1 Database"

    Thanks for the pointers Joe

    1. after the 4.2.1a upgrade, config.php seems to be ok:
    PHP Code:
     'sugar_version' => '4.2.1a' 
    2.Sugar_version.php seems to be ok:
    PHP Code:
    // $Id: sugar_version.php,v 1.60.2.4.2.6 2006/07/10 21:53:36 awu Exp $

    $sugar_version      '4.2.1a';
    $sugar_db_version   '4.2.1';
    $sugar_flavor       'OS'
    3. sugar_version in the config table is 'null' which must be causing the problems, but I'm having trouble changing it... could you help with the syntax for the query to update it?

    thanks again

    Luke

  4. #4
    iamluke is offline Member
    Join Date
    Nov 2005
    Posts
    6

    Default Re: 4.2.1b upgrade - "Files May Only Be Used With A Sugar CRM 4.2.1 Database"

    I've tried running this with no success (sugar_version remains stuck as 'Null'):

    Code:
    INSERT INTO config (category, name, value) VALUES ('info', 'sugar_version', '4.2.1');
    any suggestions much appreciated.

    thanks
    Luke

  5. #5
    Proware's Avatar
    Proware is offline A Prolific Poster
    Join Date
    Mar 2006
    Location
    Sydney Australia
    Posts
    310

    Default Re: 4.2.1b upgrade - "Files May Only Be Used With A Sugar CRM 4.2.1 Database"

    Change the data type of the version field to Mediumtext.
    Cheers

    David Younger
    TSM - The Service Manager
    http://www.theservicemanager.com


    Operating system type and version: Windows 2003 Server
    » Sugar Suite version 4.5.1e Professional
    » Webserver type and version Microsoft-IIS/6.0
    » PHP version 5.2.6
    » MySQL server version 5.0.51a

  6. #6
    iamluke is offline Member
    Join Date
    Nov 2005
    Posts
    6

    Default Re: 4.2.1b upgrade - "Files May Only Be Used With A Sugar CRM 4.2.1 Database"

    It worked!!

    and I have absolutely no idea why...

    thanks!

    Luke

  7. #7
    seek is offline Member
    Join Date
    Aug 2006
    Posts
    5

    Default Re: 4.2.1b upgrade - "Files May Only Be Used With A Sugar CRM 4.2.1 Database"

    what do you mean with "mediumext" ?

  8. #8
    translux is offline Sugar Community Member
    Join Date
    Aug 2006
    Posts
    20

    Default Re: 4.2.1b upgrade - "Files May Only Be Used With A Sugar CRM 4.2.1 Database"

    I believe this is in reference to a sql statement.
    Luke can you post what the syntax is that solved you problem?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •