TASK [bench : Create a new site] ***************************************************************************************************************************************
fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: [“bench”, “new-site”, “site1.local”, “–admin-password”, “admin”, “–mariadb-root-password”, “root”], “delta”: “0:00:05.601164”, “end”: “2018-03-15 07:07:59.793380”, “failed”: true, “msg”: “non-zero return code”, “rc”: 1, “start”: “2018-03-15 07:07:54.192216”, “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 root --admin_password admin\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 64, 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 195, in new_site\n ), cwd=os.path.join(bench_path, ‘sites’))\n File "/home/frappe/.bench/bench/utils.py", line 145, in exec_cmd\n raise CommandFailedError(cmd)\nbench.utils.CommandFailedError: /home/frappe/frappe-bench/env/bin/frappe site1.local --install 1bd3e0294d --root_password root --admin_password admin”, “stderr_lines”: [“INFO:bench.utils:creating new site site1.local”, “INFO:bench.utils:/home/frappe/frappe-bench/env/bin/frappe site1.local --install 1bd3e0294d --root_password root --admin_password admin”, “/bin/sh: 1: /home/frappe/frappe-bench/env/bin/frappe: not found”, “Traceback (most recent call last):”, " File "/usr/local/bin/bench", line 11, in “, " load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()”, " File "/home/frappe/.bench/bench/cli.py", line 40, in cli", " bench_command()“, " File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 722, in call”, " return self.main(*args, **kwargs)“, " File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 697, in main”, " rv = self.invoke(ctx)“, " File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 1066, in invoke”, " return _process_result(sub_ctx.command.invoke(sub_ctx))“, " File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 895, in invoke”, " return ctx.invoke(self.callback, **ctx.params)“, " File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 535, in invoke”, " return callback(*args, **kwargs)“, " File "/home/frappe/.bench/bench/commands/make.py", line 64, in new_site”, " new_site(site, mariadb_root_password=mariadb_root_password, admin_password=admin_password)“, " File "/home/frappe/.bench/bench/utils.py", line 195, in new_site”, " ), cwd=os.path.join(bench_path, ‘sites’))“, " File "/home/frappe/.bench/bench/utils.py", line 145, in exec_cmd”, " raise CommandFailedError(cmd)", “bench.utils.CommandFailedError: /home/frappe/frappe-bench/env/bin/frappe site1.local --install 1bd3e0294d --root_password root --admin_password admin”], “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”]}
to retry, use: --limit @/tmp/.bench/playbooks/site.retry
PLAY RECAP *************************************************************************************************************************************************************
localhost : ok=76 changed=21 unreachable=0 failed=1
mysql password is correct already check