Open link in a new tab

Content

Expand project menu

Migrate OpenProject 7.2.3 to Docker 10.5.1

Hello colleagues. I have available in our environment (installable from repository) version 7.2.3 of OpenProject. There is a demand to upgrade this environment to the container version, yes, the most up-to-date version.

I'm encountering some difficulties, especially in relation to the update between version 7 and 8, where there was a migration from textile to markdown, so I try to climb the service it returns to me (even running docker as root):

You have no compatible (>= 2.0) of pandoc in path

seeder_1  | Permission denied @ dir_s_mkdir - /app/vendor/pandoc

seeder_1  |  (StructuredWarnings::StandardWarning)

seeder_1  | rake aborted!

seeder_1  | StandardError: An error has occurred, this and all later migrations canceled:

In PATH I already have the current version of the component, but for some reason it does not recognize it (I have already tried to force the check via environment variable, but I get the same error).

I raise a few questions:

  1. Where should I start? I first upgrade the environment in version 7 to version 8, then I migrate to container?

  2. How do I correct the pandoc check? Can I do this directly in the database?

  3. Is there a possibility to bypass this check?

I ran through the documentation and didn't find much to help me understand how and what I should do.

Thanks for the clarifications.

I cherish them all.

Waldir