`python3 easy-install.py --prod --email [email protected]` instantly results in: `unknown flag: --project-name` `See 'docker --help'.`
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
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
This was on Archlinux at the time which seems to package the latest versions of things wherever possible.
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")