Page 1 of 6 12345 ... LastLast
Results 1 to 10 of 57
Like Tree1Likes

Thread: Can't upload upgrade file to Upgrade Wizard

  1. #1
    clint's Avatar
    clint is offline Sugar Team Member | Forums Lead Moderator
    Join Date
    Aug 2004
    Location
    Silicon Valley
    Posts
    2,120

    Default Can't upload upgrade file to Upgrade Wizard

    When upgrading to the next Sugar release, you may find that your default PHP and Apache settings don't allow you to upload large files. The Sugar upgrade files may be too large for the default settings. As of Sugar 6.2, you should configure your system to accept files up to 30MB in size.

    You will see this problem manifest itself when uploading the upgrade file into the Sugar Upgrade Wizard. The upgrade utility will return to the Sugar home screen without moving forward in the upgrade process.

    To increase the file upload size, you will need to update the following configurations below before you begin the upgrade process:
    • In your SugarCRM config.php file:
      • Ensure the upload_maxsize is set to more than 31500000.

    • In your PHP php.ini file:


    • Ensure upload_max_filesize is set to more than 30MB.
    • Ensure post_max_size is set to more than 30MB.
    • If you have set max_input_time in the php.ini file, then ensure that is set to a value greater than 600 or use the default value of -1.
    • Restart your Web server and then begin the upgrade process.
    • If you are using an Apache Web Server and if you have set LimitRequestBody in the httpd.conf file (note these settings are not required and may not be present), then ensure that you set it to a large number or use the default value of 2GB. Restart Apache and then begin the upgrade process.
    Last edited by clint; 2011-09-12 at 04:02 AM. Reason: Updating for Sugar 6.2
    Lvis Enrique likes this.
    Sugar Developer Zone - developer resources | Sugar University - user and admin training
    Sugar Docs - user and admin documentation |
    Sugar Bug Tracker - Enter or view bugs
    SugarForge- open source modules, themes, lang packs | SugarExchange - commercial extensions

    Clint Oram
    Chief Technology Officer and Co-founder
    SugarCRM

  2. #2
    tbivans's Avatar
    tbivans is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Ayden, NC
    Posts
    224

    Default Re: Sugar 5.0 - Important Upgrade Guidelines

    LimitRequestBody in the httpd.conf

    Thanks for the tips Clint, but I've done all of this except for the "LimitRequestBody in the httpd.conf " part. Where is this file located? In the original Upgrading Sugar file it stated that the LimitRequestBody variable was in php.ini. I take it that that is not the case?

    Thanks in advance for you help.

    ------ EDIT ------------
    Ok, I've found the file, but LimitRequestBody was not set in it. So what next?

    Thanks,

    Tim
    Last edited by tbivans; 2008-03-07 at 06:22 PM.

  3. #3
    rmapply is offline Sugar Community Member
    Join Date
    Mar 2008
    Posts
    11

    Default Re: Sugar 5.0 - Important Upgrade Guidelines

    would that php.ini folder be in the server somewhere or the same folder as suger?

  4. #4
    tbivans's Avatar
    tbivans is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Ayden, NC
    Posts
    224

    Default Re: Sugar 5.0 - Important Upgrade Guidelines

    rmapply,

    The php.ini file is in the /php folder, which is located at the same leve as /htdocs on my Windwos XP system. Can't speak for other configs though. Hope that helps.

    This is a level above the /sugarcrm folder

  5. #5
    tlck9 is offline Sugar Community Member
    Join Date
    Aug 2006
    Posts
    71

    Question Re: Sugar 5.0 - Important Upgrade Guidelines

    I am completely new to this and would appreciate some simple help. I say simple becuase I'm sure it is!

    Looking in:
    C:\Program Files\sugarcrm-4.5.1g\php (although I'm using 4.5.1h)

    Firstly I'm assuming the above folder is the correct one

    I have php 47kb INI-DEFAULT File
    php.ini-dist
    and php.ini-recommended
    php configuration settings

    Am I looking for the txt file configuration settings?

    I have currently

    Maximum size of POST data that PHP will accept.
    post_max_size = 8M





    OKay if this is the correct file, I open this as a text file and find these values and change them...is it that simple?

    and finally.

    I have backed up using the backup procdedure within sugar, where else shoudl I take a copy? should I copy the sugar directory in the program folder? and if it fails how easy is it to put this right? eg reinstalll from backup?

    Thanks in advance for any help, it is much appreciated - I dont have an IT person so I rely on your help here.
    Last edited by tlck9; 2008-03-14 at 09:07 AM.

  6. #6
    cbendfeldt is offline Junior Member
    Join Date
    Mar 2008
    Posts
    3

    Default Re: Sugar 5.0 - Important Upgrade Guidelines

    I've upgraded from Sugar CRM 4.5.1 to 5.0b and I am getting this error message

    Fatal error: Call to undefined function get_validate_record_js() in /var/www/crm3/modules/Accounts/EditView.php on line 144

    it's when the systems invokes

    get_set_focus_js().get_validate_record_js()

    in utils.php

    Any ideas?

  7. #7
    wjohnson is offline Sugar Community Member
    Join Date
    Dec 2005
    Posts
    242

    Default Re: Sugar 5.0 - Important Upgrade Guidelines

    I had the same problem. We had to open a support case with Sugar to get it solved.

  8. #8
    rmapply is offline Sugar Community Member
    Join Date
    Mar 2008
    Posts
    11

    Default Re: Sugar 5.0 - Important Upgrade Guidelines

    say what is the folder path ont he linux server install?

  9. #9
    rmapply is offline Sugar Community Member
    Join Date
    Mar 2008
    Posts
    11

    Default Re: Sugar 5.0 - Important Upgrade Guidelines


    * Because the Sugar Upgrade file is large, you will need to increase values for the following parameters in the php.ini file before you begin the upgrade process:

    what is the folder path on the rpath install to these files I am logged in as secrutecrt but cant find the sugar files?

    are these all in the webfolder of sugar?

    as I did nto upload these to an ftp rather I installed using rpath I dont know where they would be
    10

  10. #10
    rmapply is offline Sugar Community Member
    Join Date
    Mar 2008
    Posts
    11

    Default Re: Sugar 5.0 - Important Upgrade Guidelines

    [root@localhost sugarcrm]# find / -name php.ini
    /etc/php.ini

    I found the php.ini file but there none of the commands listed above in this file for me to modify

    I did an rpath install on this server

Page 1 of 6 12345 ... LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. "Upload Upgrade" button disabled in upgrade wizard
    By StewRat in forum Installation and Upgrade Help
    Replies: 3
    Last Post: 2011-01-21, 07:27 PM
  2. upgrade wizard has no way to upload
    By allyforce in forum Installation and Upgrade Help
    Replies: 1
    Last Post: 2008-08-08, 07:23 AM
  3. 4.5.1.e Upgrade Wizard hangs at step Upload Upgrade
    By gero in forum Installation and Upgrade Help
    Replies: 15
    Last Post: 2008-06-19, 02:14 PM
  4. [4.2.0 to 4.2.1] upgrade wizard upload
    By groupeHEC in forum Installation and Upgrade Help
    Replies: 1
    Last Post: 2007-01-16, 11:29 AM
  5. Replies: 9
    Last Post: 2005-10-19, 03:01 AM

Tags for this Thread

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
  •