Results 1 to 3 of 3

Thread: Documents corrupted after moving sugar to a new server

  1. #1
    acoronasz72 is offline Junior Member
    Join Date
    Feb 2007
    Posts
    4

    Default Documents corrupted after moving sugar to a new server

    I had SugarCRM installed on a Linux Server at our ISP provider but network access was to slow so we decided to move it inhouse. We installed SugarCRM into a Windows 2000 Server. MySQL DB was also moved over to Windows Server and we copied the cache/upload folder from Linux serer to my new windows server. The problem is that now when trying to download an attachement or a document from sugarcrm i.e. a pdf file it downloads but can not open it. Always get error message saying file may be broken or corrupted. Any ideas?

    Thanks

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

    Default Re: Documents corrupted after moving sugar to a new server

    Take a look at your Notes table via a MySQL admin utility. Find an entry that corresponds with one of the PDF files in question.

    You should be able to find an entry by querying the filename column.

    Once you've identified the record, note the ID column's value. Use windows explorer to navigate to \cache\upload and find the file with the matching value.

    Make a copy of it and rename the copy to match the actual file name with the PDF extension and such. Try to open it.

    If it doesn't work, it is possible that the copy of the \cache\upload folder from the Linux box experienced problems or it could also be a simple matter of a problem on the Windows filesystem.

    Either case, this approach will allow you to determine if the problem is with Sugar or elsewhere.
    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
    acoronasz72 is offline Junior Member
    Join Date
    Feb 2007
    Posts
    4

    Default Re: Documents corrupted after moving sugar to a new server

    Gracias, Angel. I will try your suggestion and will post my findings

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. HELP - Act import (field mapping)
    By smelamed in forum Help
    Replies: 32
    Last Post: 2010-12-15, 05:39 PM
  2. Replies: 8
    Last Post: 2009-12-02, 04:04 PM
  3. Replies: 4
    Last Post: 2008-03-19, 06:22 PM
  4. Cloning Sugar - to run from same server
    By Deland02 in forum Help
    Replies: 5
    Last Post: 2007-03-16, 09:35 AM
  5. Error: Could not connect to the Sugar Server
    By jcrainshaw in forum Help
    Replies: 0
    Last Post: 2006-06-23, 03:18 PM

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
  •