bench icon indicating copy to clipboard operation
bench copied to clipboard

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

Open ipaqmaster opened this issue 1 year ago • 3 comments

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

ipaqmaster avatar Aug 30 '24 03:08 ipaqmaster

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

revant avatar Oct 28 '24 09:10 revant

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

ipaqmaster avatar Oct 28 '24 09:10 ipaqmaster

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")

revant avatar Oct 29 '24 08:10 revant