Results 1 to 7 of 7

Thread: Import Failure

  1. #1
    ianobetz is offline Senior Member
    Join Date
    Jun 2010
    Posts
    26

    Default Import Failure

    I'm attempting to import a comma delimited list of leads from one sugar database into another. Their versions vary slightly, but not much.

    When I attempted to import the lead list, I receive an error message:
    File was not uploaded successfully. It may be that the 'upload_max_filesize' setting in your php.ini file is set to a small number

    My upload_max_filesize is set to 60M and the file is 11.9K. I believe the problem is a permission issue.

    Does anyone know which file needs to have open permissions to get the import to work?

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Import Failure

    Make sure session.save_path is a valid folder in php.ini
    Make sure cache folder is writable.

    Regards
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  3. #3
    ianobetz is offline Senior Member
    Join Date
    Jun 2010
    Posts
    26

    Default Re: Import Failure

    session.save_path is a valid path: /var/lib/php5
    chmod 777 -R cache directory

    Still the same error. There are probably 20 leads exported from database 6.1RC to go into 6.2.

  4. #4
    ianobetz is offline Senior Member
    Join Date
    Jun 2010
    Posts
    26

    Default Re: Import Failure

    I'm also having issues with logging into phpmyadmin. The error is:
    #1 - Can't create/write to file '/tmp/#sql_30f_0.MYI' (Errcode: 13)

    I'm fairly certain I have a permission problem. Unfortunately, I don't know enough about Ubuntu to add the services to the correct user/permissions. PHP runs under the www-data owner/group, most of the files (sugar and phpmyadmin) are also under the www-data owner/group, but I am unable to upload new files without changing the owner/group to a super user.

    Can anyone give me a decent article about how to structure the owner/group, etc?

  5. #5
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Import Failure

    Quote Originally Posted by ianobetz View Post
    session.save_path is a valid path: /var/lib/php5
    chmod 777 -R cache directory

    Still the same error. There are probably 20 leads exported from database 6.1RC to go into 6.2.
    You shoudn't be able to write on /var/lib/php5, neither apache user.
    Update it to /tmp instead.

    Regards
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  6. #6
    ianobetz is offline Senior Member
    Join Date
    Jun 2010
    Posts
    26

    Default Re: Import Failure

    I updated it to /tmp, but now I can't login. It was actually commented out before I changed it to tmp.

  7. #7
    ianobetz is offline Senior Member
    Join Date
    Jun 2010
    Posts
    26

    Default Re: Import Failure

    Fixed it by changing the permissions of /var/lib/php5 to 777 recursively. I'd sure like to know why I have to mess with all of these permissions. I'm pretty sure I have them setup incorrectly.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Import Failure in Accounts Module
    By sathiya in forum Help
    Replies: 0
    Last Post: 2009-02-18, 05:44 AM
  2. Import Failure in Accounts Module
    By sathiya in forum Introduction and general discussion
    Replies: 0
    Last Post: 2009-02-18, 05:34 AM
  3. Sugar 5.2 Import Failure
    By jerryhelms in forum General Discussion
    Replies: 7
    Last Post: 2009-02-17, 08:13 PM
  4. Accounts Import Failure
    By howardjacobson in forum General Discussion
    Replies: 3
    Last Post: 2006-11-22, 11: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
  •