Attchments can't be found after restoring a backup

Added by Joe Kandaba almost 10 years ago

Hi !

I have set up a new redmine server, imported the old database and copied the files folder. Everything works as expected except for image files attached to wiki pages. They can not be found in the new installation. In the log i get errors like this:

Processing AttachmentsController#show (for 78.x.x.x at 2011-12-29 16:09:33) [GET]
  Parameters: {"action"=>"show", "id"=>"26", "filename"=>"flow.png", "controller"=>"attachments"}
Rendering template within layouts/base
Rendering common/error (404)
Filter chain halted as [:file_readable] rendered_or_redirected.
Completed in 36ms (View: 31, DB: 1) | 404 Not Found [http://78.x.x.x/attachments/26/flow.png]

It does work however for files that i added to the wiki after switching servers. So basically it seems that the old links aren't resolved correctly. What can i do about that ?

Thank you !

Replies (3)

RE: Attchments can't be found after restoring a backup - Added by Mario Luzeiro almost 10 years ago

Same problem here,
but it works fine for other files, pdf files open correctly, image files no :\

Did you get any advances with that?

RE: Attchments can't be found after restoring a backup - Added by Susiety Parers 1 day ago

In a world of digital everything, it's easy to forget about the physical aspect of our lives. But when you have a major data disaster and you lose your files or have to restore from a help to write your research paper backup, what do you do? Many people don't know that they can recover their attachments without having to search for them by going through each email manually.

(1-3/3)