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

Docker installation failed #2150

Open
PIXPOINT opened this issue Apr 29, 2024 · 3 comments
Open

Docker installation failed #2150

PIXPOINT opened this issue Apr 29, 2024 · 3 comments
Assignees
Labels
bug Something isn't working deployment

Comments

@PIXPOINT
Copy link

PIXPOINT commented Apr 29, 2024

The installation with docker breaks on with the following output:

[INFO] Starting the application with Docker... 🐳  👍
my-domain.com is on a public DNS
unknown flag: --parallel
See 'docker --help'.

Usage:  docker [OPTIONS] COMMAND
...

Steps to reproduce the issue

  1. Follow the guide on a new installed system: https://docs.openreplay.com/en/deployment/deploy-docker/

OpenReplay Environment

  • System specs: arm, Ubuntu 22.04.4 LTS, 16GB, 256 GB SSD
@PIXPOINT PIXPOINT added the bug Something isn't working label Apr 29, 2024
@estradino estradino assigned rjshrjndrn and unassigned estradino Apr 29, 2024
@estradino
Copy link
Contributor

It doesn't work on ARM. Please try on an x64 machine.

@PIXPOINT
Copy link
Author

And does the instructions work with “Deploy to Ubuntu” on arm or not?

https://docs.openreplay.com/en/deployment/deploy-ubuntu/

@KxStefan
Copy link

KxStefan commented May 10, 2024

@estradino Had the same error on x64. Found out that apparently the command "--parallel" in docker-compose V1 is causing problems.

Fix was to adjust the openreplay/scripts/docker-compose/install.sh from:

if command -v docker-compose >/dev/null 2>&1; then
	# Docker Compose V1 is installed.
	sudo -E docker-compose --parallel 1 pull
	sudo -E docker-compose --profile migration up --force-recreate --build -d
else
	# Docker Compose V2 or higher is installed.
	sudo -E docker compose --parallel 1 pull
	sudo -E docker compose --profile migration up --force-recreate --build -d
fi

to only V2:

sudo -E docker compose --parallel 1 pull
sudo -E docker compose --profile migration up --force-recreate --build -d

Already had V2 running, but the check doesn't seem to work properly and command is not working on V1.

# docker-compose --parallel 1 pull
unknown flag: --parallel
# docker compose --parallel 1 pull
[+] Pulling 21/1
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working deployment
Projects
None yet
Development

No branches or pull requests

4 participants