Documents and Attachments After Migration

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Pablo
    Senior Member
    • Aug 2015
    • 177

    Documents and Attachments After Migration

    Hi!

    We migrated EspoCRM (version 4.4.1) from one server to another. Our process was:

    1. Copy all files and database.
    2. Checked database name, username and password at file data/config.php
    3. Checked siteURL at data/config.php

    Everything works perfect except for uploaded documents and attachments. When we open a file, all the pages appear blank or incomplete content.

    We rebuild and cleaned cache but no results.

    Is there any other configuration or "reconstruction" we are missing?

    Thanks a lot.
    Last edited by Pablo; 01-20-2018, 10:47 PM.
  • murugappan
    Active Community Member
    • Aug 2017
    • 467

    #2
    Dear Pablo,

    I am not sure what you meant in step 1 - copy all files and database, need to explain. From my experience with this wonderful software (which is badly supported), copy the database may not work. You need to export the database and import to the new database.

    Comment

    • yuri
      Member
      • Mar 2014
      • 8438

      #3
      Hi Pablo,

      Check whether data/upload is copied. Maybe an issue with file permissions.
      If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

      Comment

      • Pablo
        Senior Member
        • Aug 2015
        • 177

        #4
        Hi yuri ,

        Thanks for the response. I see data/upload files. Some are with permission 0644 and other with 0664. Which is correct setting?

        Thanks again.

        Comment

        • yuri
          Member
          • Mar 2014
          • 8438

          #5
          Should be 0664

          Also check permissions of data/upload folder:
          https://github.com/espocrm/documenta...-based-systems

          Make sure that an owner is proper as well.
          If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

          Comment

          • Pablo
            Senior Member
            • Aug 2015
            • 177

            #6
            Hi yuri ,

            Thanks a lot. We will test the permissions and owner.

            Best regards.

            Comment

            Working...