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

env: bash: Argument list too long #1170

Open
DBelka opened this issue Jun 5, 2024 · 4 comments
Open

env: bash: Argument list too long #1170

DBelka opened this issue Jun 5, 2024 · 4 comments
Labels
stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed

Comments

@DBelka
Copy link

DBelka commented Jun 5, 2024

Description
After running the onelinesetup from my terminal it seems to download all the files, but during the execution it exits after a while saying "env: bash: Argument list too long". Upon an investigation, I've noticed the path seems a bit weird and unusually long.

Screenshot 2024-06-05 at 17 23 50

Steps To Reproduce

  1. Create folder
  2. run the onelinesetup

Expected Result
Start the installation process.

Actual Result
Errors out with a message: env: bash: Argument list too long

@YevhenZvieriev
Copy link
Contributor

Hi, @DBelka

Could you let me know if you're sure you use the correct oneliner?

Try this one to install Magento 2.4.7:

curl -s https://raw.githubusercontent.com/markshust/docker-magento/master/lib/onelinesetup | bash -s -- magento.test 2.4.7 community

@DBelka
Copy link
Author

DBelka commented Jun 24, 2024

Hi @YevhenZvieriev ,
I've figured out what the problem was. The root cause was my Ruby on Rails path in my ZSH terminal. Once I commented out the path, it worked like a charm. Not an ideal solution, but a solution nonetheless.

Thanks for trying to help!

@yunyit
Copy link

yunyit commented Sep 2, 2024

I have the same env: bash: Argument list too long issue ... still working on it :(

Copy link

dosubot bot commented Feb 7, 2025

Hi, @DBelka. I'm Dosu, and I'm helping the docker-magento team manage their backlog. I'm marking this issue as stale.

Issue Summary:

  • You encountered an "env: bash: Argument list too long" error during a setup script execution.
  • The error was linked to a long file path related to Ruby on Rails in the ZSH terminal.
  • You resolved the issue by commenting out the problematic path.
  • Another user, @yunyit, reported the same issue and is still seeking a solution.

Next Steps:

  • Could you confirm if this issue is still relevant to the latest version of the docker-magento repository? If so, please comment to keep the discussion open.
  • If no further updates are provided, the issue will be automatically closed in 30 days.

Thank you for your understanding and contribution!

@dosubot dosubot bot added the stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed label Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed
Projects
None yet
Development

No branches or pull requests

3 participants