Easy install error with ubuntu16

Hi all,
I tried a production installation on my server but I have the following problem!

TASK [Create new site] *********************************************************
fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: [“bench”, “new-site”, “site1.local”, “–admin-password”, “erp”, “–mariadb-root-password”, “erp”], “delta”: “0:00:00.724716”, “end”: “2017-06-09 20:40:56.455446”, “failed”: true, “rc”: 1, “start”: “2017-06-09 20:40:55.730730”, “stderr”: “INFO:bench.utils:creating new site site1.local\nINFO:bench.utils:/home/frappe/frappe-bench/env/bin/frappe site1.local --install 1bd3e0294d --root_password erp --admin_password erp\n/bin/sh: 1: /home/frappe/frappe-bench/env/bin/frappe: not found\nTraceback (most recent call last):\n File "/usr/local/bin/bench", line 11, in \n load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()\n File "/home/frappe/.bench/bench/cli.py", line 40, in cli\n bench_command()\n File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 722, in call\n return self.main(*args, **kwargs)\n File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 697, in main\n rv = self.invoke(ctx)\n File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 1066, in invoke\n return _process_result(sub_ctx.command.invoke(sub_ctx))\n File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 895, in invoke\n return ctx.invoke(self.callback, **ctx.params)\n File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 535, in invoke\n return callback(*args, **kwargs)\n File "/home/frappe/.bench/bench/commands/make.py", line 56, in new_site\n new_site(site, mariadb_root_password=mariadb_root_password, admin_password=admin_password)\n File "/home/frappe/.bench/bench/utils.py", line 166, in new_site\n ), cwd=os.path.join(bench_path, ‘sites’))\n File "/home/frappe/.bench/bench/utils.py", line 130, in exec_cmd\n raise CommandFailedError(cmd)\nbench.utils.CommandFailedError: /home/frappe/frappe-bench/env/bin/frappe site1.local --install 1bd3e0294d --root_password erp --admin_password erp”, “stdout”: “frappe app is not installed. Run the following command to install frappe\nbench get-app GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript”, “stdout_lines”: [“frappe app is not installed. Run the following command to install frappe”, “bench get-app GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript”], “warnings”: []}

NO MORE HOSTS LEFT *************************************************************
to retry, use: --limit @production/install.retry

PLAY RECAP *********************************************************************
localhost : ok=47 changed=9 unreachable=0 failed=1

Traceback (most recent call last):
File “install.py”, line 355, in
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 301, 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

any suggestion?

any solution plz?

I still have a problem in TASK [init bench]

are you installing on a clean OS?

@johnskywalker Yes, I tried installation on two fresh servers

What steps did you take?

I typed this command :
sudo python install.py --production --user frappe

that’s strange… We just did installations few days ago, and it was fine. Is this a local server? If so, make sure it has proper internet connection.

Also, try it with this only sudo python install.py --production

I also do that in about a week, but from Thursday I face that problem :frowning:
It is a remote server and the internet connection is very fine

You sure that you haven’t configured anything else before you started installing frappe/erpnext?

Yes i sure