Cannot install V7 in fresh CentOS 7

There is error:

Traceback (most recent call last):
  File "install.py", line 284, in <module>
    install_bench(args)
  File "install.py", line 102, in install_bench
    run_playbook('production/install.yml', sudo=True, extra_vars=extra_vars)
  File "install.py", line 234, in run_playbook
    success = subprocess.check_call(args, cwd=os.path.join(tmp_bench_repo, 'playbooks'))
  File "/usr/lib64/python2.7/subprocess.py", line 542, 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

Please share the full traceback.

TASK [Set root Password] *******************************************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["mysqladmin", "-u", "root", "password", "1qaz2wsx3edc4rfv"], "delta": "0:00:00.613456", "end": "2016-07-17 07:27:27.934443", "failed": true, "rc": 1, "start": "2016-07-17 07:27:27.320987", "stderr": "\u0007mysqladmin: connect to server at 'localhost' failed\nerror: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 \"No such file or directory\")'\nCheck that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists!", "stdout": "", "stdout_lines": [], "warnings": []}
	to retry, use: --limit @production/install.retry

PLAY RECAP *********************************************************************
localhost                  : ok=17   changed=8    unreachable=0    failed=1   

Traceback (most recent call last):
  File "install.py", line 319, in <module>
    install_bench(args)
  File "install.py", line 111, in install_bench
    run_playbook('production/install.yml', sudo=True, extra_vars=extra_vars)
  File "install.py", line 269, in run_playbook
    success = subprocess.check_call(args, cwd=os.path.join(cwd, 'playbooks'))
  File "/usr/lib64/python2.7/subprocess.py", line 542, 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

@adam hey sorry about that, we’re making some rapid changes and it seems something went awry.

Could you run these commands on a fresh system? Only use the user option if you’re running as root.

https://raw.githubusercontent.com/vjFaLk/bench/debian-installer/playbooks/install.py
python install.py --production --user frappe --bench-branch debian-installer --repo-url https://github.com/vjFaLk/bench

Install success by the above step.

When can it be updated to the master repo?

Thanks!

It already has :slight_smile:

You can just use the normal instructions on the Bench Readme