Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

General discussion
  1. OpenProject
  2. Forums
  3. General discussion
  4. Wiki attachments missing after migration to another server

Wiki attachments missing after migration to another server

Added by Predrag Tasevski 3 months ago

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.



Replies (4)

RE: Wiki attachments missing after migration to another server - Added by Maxime Perron 3 months ago

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.

RE: Wiki attachments missing after migration to another server - Added by Predrag Tasevski 3 months ago

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?

RE: Wiki attachments missing after migration to another server - Added by Maxime Perron 3 months ago

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.

RE: Wiki attachments missing after migration to another server - Added by Predrag Tasevski 3 months ago

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.

  • (1 - 4/4)
Loading...