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 ?