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

python3 easy-install.py --prod --email [email protected] instantly results in: unknown flag: --project-name See 'docker --help'. #1578

Open
2 tasks
ipaqmaster opened this issue Aug 30, 2024 · 3 comments

Comments

@ipaqmaster
Copy link

Issue: Easy Install

Do the checklist before filing an issue:

  • Did you retain the logfile (path of logfile is shared while the script is run)? We definitely need the logfile to debug any easy install related issues.
  • Is this something you can debug and fix? Send a pull request! Bug fixes and documentation fixes are welcome

Distro Information (Required)

Command Run (Required)

Log File (Required)

Screenshots

Additional context

Possible Solution

@revant
Copy link
Collaborator

revant commented Oct 28, 2024

Try updating docker and compose.

It is working with latest docker that's installed on GitHub actions Ubuntu runners.

https://github.com/frappe/bench/blob/develop/.github/workflows/easy-install.yml

@ipaqmaster
Copy link
Author

This was on Archlinux at the time which seems to package the latest versions of things wherever possible.

@revant
Copy link
Collaborator

revant commented Oct 29, 2024

Then I've no clue.

My current setup. It doesn't fail as metioned in issue.

❯ uname -a
Linux revant-laptop 6.11.5-arch1-1 #1 SMP PREEMPT_DYNAMIC Tue, 22 Oct 2024 18:31:38 +0000 x86_64 GNU/Linux
❯ docker compose version
Docker Compose version 2.29.7
❯ docker compose --help | grep project
      --project-directory string   Specify an alternate working directory
  -p, --project-name string        Project name

It should default to frappe for --project-name if nothing is passed.

parser.add_argument("-n", "--project", help="Project Name", default="frappe")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants