New problem:
[def_user@osboxes ~]$ sudo python3 install.py --production --user def_user
Logs are saved under /tmp/logs/easy-install__2020-01-13__11-57.log
Checking System Compatibility...
centos 7 is compatible!
Maybe run: yum groups mark install (see man yum)
curl already installed!
wget already installed!
git already installed!
pip3 already installed!
Traceback (most recent call last):
File "install.py", line 414, in <module>
install_bench(args)
File "install.py", line 200, in install_bench
run_playbook('create_user.yml', extra_vars=extra_vars)
File "install.py", line 351, in run_playbook
success = subprocess.check_call(args, cwd=os.path.join(cwd, 'playbooks'), stdout=log_stream, stderr=sys.stderr)
File "/usr/lib64/python3.6/subprocess.py", line 306, in check_call
retcode = call(*popenargs, **kwargs)
File "/usr/lib64/python3.6/subprocess.py", line 287, in call
with Popen(*popenargs, **kwargs) as p:
File "/usr/lib64/python3.6/subprocess.py", line 729, in __init__
restore_signals, start_new_session)
File "/usr/lib64/python3.6/subprocess.py", line 1364, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'ansible-playbook': 'ansible-playbook'
[def_user@osboxes ~]$
htxtps://discuss.frappe.io/t/installation-error-oserror-errno-2-no-such-file-or-directory-root-bench-playbooks/34478/9
git clone https://github.com/frappe/bench bench-repo
No solution. ![]()
sudo yum install -y ansible
New try:
[def_user@osboxes ~]$ sudo -H python3 install.py --production --user def_user
[sudo] password for def_user:
Logs are saved under /tmp/logs/easy-install__2020-01-13__12-43.log
Checking System Compatibility...
centos 7 is compatible!
Maybe run: yum groups mark install (see man yum)
curl already installed!
wget already installed!
git already installed!
pip3 already installed!
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'
Input MySQL and Frappe Administrator passwords:
Passwords saved at ~/passwords.txt
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'
Traceback (most recent call last):
File "install.py", line 414, in <module>
install_bench(args)
File "install.py", line 230, in install_bench
run_playbook('site.yml', sudo=True, extra_vars=extra_vars)
File "install.py", line 351, in run_playbook
success = subprocess.check_call(args, cwd=os.path.join(cwd, 'playbooks'), stdout=log_stream, stderr=sys.stderr)
File "/usr/lib64/python3.6/subprocess.py", line 311, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ansible-playbook', '-c', 'local', 'site.yml', '-vvvv', '-e', '@/tmp/extra_vars.json', '--become', '--become-user=def_user']' returned non-zero exit status 2.
[def_user@osboxes ~]$
No Solution.