-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
bug: reNgine Installation failed: "sudo ./install.sh -n" | "unknown shorthand flag: 'f' in -f" | make: *** [Makefile:17: certs] Error 125 #1291
Comments
👋 Hi @0xKayala, |
Had this issue myself, it appeared to be caused by the "docker compose" command in make.bat and Makefile. I changed it to docker-compose and it worked for me. Think it has to do with the docker compose versions. |
Hi @0xKayala @purpleracc00n which version of docker compose you have? |
─$ docker version Server: Docker Compose version v2.5.0 |
My solution is to modify the -f configurations in the Makefile and replace them with docker-compose. Because the new version is no longer needed, but the earlier version is still needed. |
Had this issue too, just replace all "docker compose" in make.bat and Makefile with docker-compose |
just tried that, looks like it's working. |
Thank you @0xKayala for reporting this. Yes we should make this available for both v1 and v2 versions of docker compose. While it is recommended to update to v2 of docker compose but supporting both versions makes sense. As suggested by @calincoj and @Rho-9-Official I have made changes to makefile, to check for version and use apt command. I would appreciate if someone of you could test this #1302 |
…n-failed-sudo-installsh-n-|-unknown-shorthand-flag-f-in-f-|-make-makefile17-certs-error-125 Fix #1291 Refactor Makefiles for windows/linux to accomodate both v1 and v2 of docker compose
Checking Docker status ######################################################################### reNgine installation failed!! i am getting this error during installation . what should i do? |
Is there an existing issue for this?
Current Behavior
After cloning the rengine repo and changing the "POSTGRES_PASSWORD" password and giving the execution permissions with the command: "chmod +x install.sh". I have executed the following command: sudo ./install.sh -n, but I got an error at "unknown shorthand flag: 'f' in -f" and "make: *** [Makefile:17: certs] Error 125".
I have attached the screenshots for reference, please kindly look into it and let me know the possible resolution so that I can work on it to fix the issue from my end.
Reference Screenshots:
Expected Behavior
It needs to be executed without any issues.
Steps To Reproduce
Followed the required steps:
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: