hello
i am trying to install in Ubuntu 16.04.3 LTS, which i was using already with MySQL server where i had my database.
Following the Easy Install Instruction
- #wget https://raw.githubusercontent.com/frappe/bench/master/playbooks/install.py
- sudo python install.py --production
during the step four it asked, my MySQL root password, it thought it will be for creating some tables.
i got below error
RUNNING HANDLER [mariadb : restart mysql] ****************************************************************************************************************
to retry, use: --limit @/tmp/.bench/playbooks/production/install.retry
PLAY RECAP ***********************************************************************************************************************************************
localhost : ok=46 changed=32 unreachable=0 failed=1
Traceback (most recent call last):
File âinstall.pyâ, line 386, in
install_bench(args)
File âinstall.pyâ, line 112, in install_bench
run_playbook(âproduction/install.ymlâ, sudo=True, extra_vars=extra_vars)
File âinstall.pyâ, line 324, in run_playbook
success = subprocess.check_call(args, cwd=os.path.join(cwd, âplaybooksâ))
File â/usr/lib/python2.7/subprocess.pyâ, line 541, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command â[âansible-playbookâ, â-câ, âlocalâ, âproduction/install.ymlâ, â-eâ, â@/tmp/extra_vars.jsonâ, ââbecomeâ, ââbecome-user=frappeâ]â returned non-zero exit status 2
Also after this when i checked my MySQL database all are gone. thankfully my data was in different partition was able to recover it.
My Query to ERP Next Team
- When installing why MariaDB was not installed as parallel
- Why there was no message/ warning that existing MySQL will be changed to MariaDB
- What is the above error
- Do you have any instruction with which i can install it in my server where already MySQL is running and i do not want to disturb it. Or can we use MySQL as the database for ERPNext ?