Project

General

Profile

Attchments can't be found after restoring a backup

Added by Joe Kandaba about 12 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 (2)

RE: Attchments can't be found after restoring a backup - Added by Mario Luzeiro about 12 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?

    (1-2/2)