Open link in a new tab

Content

Expand project menu

Wiki attachments missing after migration to another server

Hi community,

I have an issue, can not find the attachments on the wiki page in OpenProject after migration from one server to another, running with Yunohost 12.

I tried with sudo openproject configure nothing and also tried with yunohost app upgrade --force openproject still nothing.

Information:

OpenProject 15.2.0

when I try to open the url  https://domain.ltd/api/v3/attachments/2560/content I get the following error:

{"_type":"Error","errorIdentifier":"urn:openproject-org:api:v3:errors:NotFound","message":"The requested resource could not be found."}

Is there a possibility to retrieve the files from the backup and where?


Thanks in advance.


Message actions

Hello,

I use the community version of OpenProject installed on my own server (On Premise). 

Attachments are stored by default in /var/db/openproject/files/attachment/file. This can be changed in the .env configuration file.

From a backup, you can put back files in that directory (/var/db/openproject/files/attachment/file) or the one configured in your .env > OPENPROJECT_ATTACHMENTS__STORAGE__PATH

Wikis and Workpackages attachments should then be accessed without error.

Message actions

I can confirm that this is true. During the migration my open project has been updated and I was only able to see delete.me file and nothing else. Good thing I had the images on the local machine.

I guess the team will take this as an bug?

Message actions

I'm still wondering about the cause of this issue. After realizing that my attachments had been deleted around the time I upgraded to version 15.2.0, I came across your message. At first I thought it was a consequence of the update, but then I doubted my own mistake. So I changed my first reply to a more general message to help you, removing the possible link to the update. Your reply still leaves me some doubts. Am I responsible for the loss of my data or is it possible that this is the result of the OpenProject update? If anyone else has experienced a similar situation, please let us know here. I can open a bug ticket if necessary.

Message actions

Frankly speaking it’s super strange. On the sever I had the previous version of OpenProject 15.1.1 for sure, as I was explaining to my team let’s migrate and start use the new time sheet future after we migrate to new server. However, yesterday I checked and realized we have the latest release. It will be great if someone can reproduce the and confirm if it’s a bug, so no one will experience such issue with new releases. Let me know how I can help.