OpenMetadata icon indicating copy to clipboard operation
OpenMetadata copied to clipboard

Unclear instructions on running dev container for Full Stack mode

Open millouu opened this issue 7 months ago • 6 comments

Is some content missing, wrong or not clear?

The documentation for full stack setup mentions "For the Full Stack configuration, the post-start script will additionally build the server .........". But, the repo does not contain anything such as a "post-start" script, the dev mode contains a post-create.sh

Describe the solution you'd like Clearer instructions should be provided for both these setups

millouu avatar Apr 19 '26 04:04 millouu

Can I start working on this issue @millouu

alivinshiva avatar Apr 19 '26 05:04 alivinshiva

Hi, I’d like to work on this documentation issue. Can I take this up?

shrutisharma-sh avatar Apr 19 '26 16:04 shrutisharma-sh

I tried setting up the project locally following the full stack / dev container instructions and noticed the same confusion.

šŸ” Observations

  • The documentation mentions a "post-start script"
  • However, in the repository I could only find post-create.sh
  • There is no clearly named "post-start" script in the dev container setup

āš ļø Impact

While setting up locally, this makes it unclear:

  • Whether additional steps are required after container startup
  • Or if post-create.sh is intended to handle both setup phases

šŸ’” Suggestion

It would help to:

  • Either update the documentation to reference the correct script (post-create.sh)
  • Or clarify what "post-start" refers to in the current setup (if it maps to another process or lifecycle hook)

Happy to help improve the documentation once the expected behavior is clarified.

amruta7974 avatar Apr 20 '26 03:04 amruta7974

I verified the full-stack dev container configuration in the repository.

In .devcontainer/full-stack/devcontainer.json, the setup uses:

  • postCreateCommand, which runs bash .devcontainer/dev/post-create.sh

There is no postStartCommand defined, and I could not find any "post-start" script in the repository.

This confirms that the documentation is referring to a non-existent script and should be updated to reflect the current implementation using postCreateCommand.

I can help update the documentation to clarify this if needed.

amruta7974 avatar Apr 20 '26 03:04 amruta7974

Hi @millouu and @harshach , I'd like to fix this. The docs reference a 'post-start' script but the repo only has post-create.sh in .devcontainer/dev/. I'll update the documentation to match the actual codebase. Can you assign this to me?

Akshitpatel25 avatar Apr 23 '26 17:04 Akshitpatel25

I verified this: the Full Stack devcontainer.json has no postStartCommand — only postCreateCommand running .devcontainer/dev/post-create.sh. The server, migrations, and services actually start via docker compose (openmetadata-server, execute-migrate-all, mysql, elasticsearch services in docker/development/docker-compose.yml). I am opening a docs fix in docs-om to correct the wording.

Shahzeb-DataEngineer avatar Oct 18 '26 16:10 Shahzeb-DataEngineer