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

Running management commands in dockerized dev environment fail due to missing ENV variables #4411

Closed
vladox opened this issue Aug 31, 2020 · 1 comment · Fixed by #4412
Closed
Assignees
Labels
bug Something is broken.
Milestone

Comments

@vladox
Copy link
Contributor

vladox commented Aug 31, 2020

Describe the bug

When trying to run a management command in the dockerized version of the dev environment as described here
e.g. docker-compose exec --user weblate weblate weblate list_versions

Following error is produced:

ERROR: The Compose file './docker-compose.yml' is invalid because:
services.weblate.ports is invalid: Port ranges don't match in length

To Reproduce

Steps to reproduce the behavior:

  1. run ./rundev.sh
  2. run cd dev-docker/
  3. run docker-compose exec --user weblate weblate weblate list_versions

Expected behavior

The command will be executed without errors

vladox added a commit to elpatiostudio/weblate that referenced this issue Aug 31, 2020
… environment fail due to missing ENV variables

(cherry picked from commit 6827dd371c558fde9df06b2884102ea452312ea3)
@nijel nijel added this to the 4.3 milestone Aug 31, 2020
@nijel nijel added the bug Something is broken. label Aug 31, 2020
vladox added a commit to elpatiostudio/weblate that referenced this issue Aug 31, 2020
nijel pushed a commit that referenced this issue Aug 31, 2020
… missing ENV variables (#4412)

* Fixes #4411 - Running management commands in dockerized dev environment fail due to missing ENV variables
@github-actions
Copy link

Thank you for your report, the issue you have reported has just been fixed.

  • In case you see a problem with the fix, please comment on this issue.
  • In case you see a similar problem, please open a separate issue.
  • If you are happy with the outcome, consider supporting Weblate by donating.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is broken.
Projects
None yet
2 participants