Results 1 to 4 of 4

Thread: Upgrade Wizard cannot create/write to Temp Directory

  1. #1
    agerlach is offline Junior Member
    Join Date
    Oct 2011
    Posts
    5

    Default Upgrade Wizard cannot create/write to Temp Directory

    I am trying to set up SugarCRM for a client and need some advice. Their hosting service uses cPanel so I have limited control over what sort of changes I can make. My goal is to have a clear model on how to upgrade with the limitations I face. Any advice would be helpul. Here is what I know so far:

    1. The hosting site limits the max upload size to 2M. Here is the solution I use (thank you Angel)
      • Extract the file "manifest.php" from the zip containing the upgrade files and then rename it using the following convention: <name_of_zip>-manifest.php
      • Upload the renamed manifest and the original zip from where you extracted it to cache/upload/upgrades/patch
      • Run the Upgrade Wizard
    2. The Upgrade Wizard can create but not write to the Temp Directory. The exact message is "Could not create the temp directory. Check file permissions." Further the UpgradeWizard.log states "Could not create a temporary directory using mk_temp_dir( $base_tmp_upgrade_dir )"


    Anyone have suggestions on who the fix the second limitation? Should I be approaching this in a different way?

  2. #2
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,811

    Default Re: Upgrade Wizard cannot create/write to Temp Directory

    Are you able to create folders under <sugar>/cache/upload/upgrades/temp via cPanel? That's the folder it is attempting to write to.
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  3. #3
    agerlach is offline Junior Member
    Join Date
    Oct 2011
    Posts
    5

    Default Re: Upgrade Wizard cannot create/write to Temp Directory

    I can create files with cPanel

  4. #4
    agerlach is offline Junior Member
    Join Date
    Oct 2011
    Posts
    5

    Default Re: Upgrade Wizard cannot create/write to Temp Directory

    Yes I can make folders with cPanel. In fact, SugasrCRM seems to be making one also.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Could not create the temp directory. Check file permissions.
    By Pgr in forum Installation and Upgrade Help
    Replies: 6
    Last Post: 2011-12-20, 10:24 PM
  2. Replies: 9
    Last Post: 2009-06-01, 03:43 AM
  3. Replies: 5
    Last Post: 2009-06-01, 03:41 AM
  4. Replies: 22
    Last Post: 2006-05-22, 12:54 AM
  5. Replies: 2
    Last Post: 2005-09-29, 10:45 AM

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
  •