Hi @pra3,
Did you move the existing attachments into new location?
You need to alter the file path in attachment table for all the existing records, because those were pointed to the older location.
New attachment records will be created with new path and saved in new location.
Hi @pra3 ,
As @Anjula Priyanath mentioned, the old attachments are pointed towards the previous directory path. You may see this information if you query one of the old attachment ids in the sql query tool. The field attachment_path is not obviously updated. Based on this value, the server will look into the previous path for old attachments even though you have changed the directory path. Hence, you may need to update the paths for old attachments with new directory path.
Hi @pra3,
Did you move the existing attachments into new location?
You need to alter the file path in attachment table for all the existing records, because those were pointed to the older location.
New attachment records will be created with new path and saved in new location.
Yes the attachments themselves were copied into the new directory, in fact if we point DNS to divert the traffic from the old file path to the new file path then the attachments open.
New attachments are indeed created in the new attachments directory. They also open from the new directory.
As suggested we might have to update the file path for all the attachments in the database.
Thank you both for your swift response.