-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Can't execute set-mariadb-host mariadb
correctly
#1254
Comments
set-mariadb-host mariadb
set-mariadb-host mariadb
correctly
I had this problem today; it's worked fine for months . |
I have same issue and adding the |
I tried all above solutions still it is not working , giving this error:
i also can't find /bench/cli.py file on my workspace , actually i am trying to install erpnext and frappe using frappe_docker |
@Shubham-frappe you can also add this setting manually directly in your Find it and add: "db_host": "mariadb"`, |
met the same problem today, and the following method works for me~
|
There were long-standing issues in the CLI resolution, which has gotten some attention in the past two quarters. However, these should be fixed via #1334 PS: Tried |
Issue: Bug report
Describe the bug 📉
In the develop branch, when I try to execute
bench set-mariadb-host mariadb
the return that I get is:I think the CLI is looking for the
mariadb
frappe command instead of theset-mariadb-host
bench command. If I runbench set-mariadb-host
I get:Expected behavior 📈
Bench command is expected to be executed instead of the Frappe one.
OS (please complete the following information): 🌀
Zorin:15.3
Version Information
Can be found out by running
bench version
in your respective bench folder.Possible Solution 📑
1)
Use
bench set-config -g db_host mariadb
2)
Manually add
"db_host": "mariadb"
tosites/common_site_config.json
3)
Replace the lines 98 to 102 of the file bench/cli.py with:
The text was updated successfully, but these errors were encountered: