Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instructions on the openproject site are apparently (badly) out of date #87

Open
MonsieurCellophane opened this issue Aug 29, 2024 · 2 comments
Labels
needs more info Information from reporter is missing

Comments

@MonsieurCellophane
Copy link

I followed the instructions in the section "All in one container", which appear to be the same as the ones found at https://github.com/opf/openproject/tree/dev/docs/installation-and-operations/installation/docker.

Either the deploy process, as described, is broken, or I totally misunderstood the instructions. Among the problems I found:

  • the container has no postgres DBMS installed (I supplied one form the outside, creating role and database)
  • an additional migration step was required (prbly because the external DBMS I supplied is postgres16)
  • the container listens on port 8080 (the docs say 80)
  • there is no user admin (or otherwise), all records in the users tables have no login field. I added a user through psql AND the ruby console (in the container)
  • After the instance is up and running a number of functions (notably create prj from template/copy porject) appear not to be working (they post a spinner that never terminates, project is not copied/created).
@oliverguenther
Copy link
Member

Hi @MonsieurCellophane , thanks for your report.

the container has no postgres DBMS installed (I supplied one form the outside, creating role and database)

The compose setup has a separate postgresql service that is created by default (https://github.com/opf/openproject-deploy/blob/stable/14/compose/docker-compose.yml#L30-L41). If you provide an external DB, you can disable this service: https://www.openproject.org/docs/installation-and-operations/configuration/#disabling-services-in-the-docker-compose-file

an additional migration step was required (prbly because the external DBMS I supplied is postgres16)

Could you elaborate on what you mean by that? We also support PostgreSQL 16, so there should not be additional work required to make it run.

the container listens on port 8080 (the docs say 80)

You might have mistaken the all-in-one docker container with the docker-compose setup (this repository). The documentation clearly states it is running on port 8080: https://www.openproject.org/docs/installation-and-operations/installation/docker/#quick-start

there is no user admin (or otherwise), all records in the users tables have no login field. I added a user through psql AND the ruby console (in the container)

The seeder services will migrate and seed a new installation if it can access it. I assume there has been an issue with your external database preventing that. It would be helpful to see the logs of the seeder service for this (https://github.com/opf/openproject-deploy/blob/stable/14/compose/docker-compose.yml#L111-L116)

After the instance is up and running a number of functions (notably create prj from template/copy porject) appear not to be working (they post a spinner that never terminates, project is not copied/created).

This would hint at the worker service not running correctly (performing jobs in the background). I believe this is all connected to your external database. Without further logs, there will not be a lot we can help you with.
https://github.com/opf/openproject-deploy/blob/stable/14/compose/docker-compose.yml#L91-L99

@oliverguenther oliverguenther added the needs more info Information from reporter is missing label Sep 2, 2024
@sseide
Copy link

sseide commented Oct 31, 2024

@MonsieurCellophane documentation seems to be updated now on various ways. maybe its clear now...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs more info Information from reporter is missing
Development

No branches or pull requests

3 participants