Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Easy Install #26

Open
tjomtek opened this issue May 4, 2021 · 1 comment
Open

Easy Install #26

tjomtek opened this issue May 4, 2021 · 1 comment

Comments

@tjomtek
Copy link

tjomtek commented May 4, 2021

Description of the issue

Error when using the easy install on a Clean VPS 18.04 ubuntu

Context information (for bug reports)

Initializing bench frappe-bench:
Frappe Branch: version-12
ERPNext Branch: version-12
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that
the implicit localhost does not match 'all'
[WARNING]: Updating cache and auto-installing missing dependency: python3-apt
[WARNING]: Consider using the get_url or uri module rather than running 'curl'.
If you need to use command because get_url or uri is insufficient you can add
'warn: false' to this command task or set 'command_warnings=False' in
ansible.cfg to get rid of this message.
Traceback (most recent call last):
File "install.py", line 498, in
install_bench(args)
File "install.py", line 279, in install_bench
run_playbook('site.yml', sudo=True, extra_vars=extra_vars)
File "install.py", line 414, in run_playbook
success = subprocess.check_call(args, cwd=playbooks_folder, stdout=log_stream, stderr=sys.stderr)
File "/usr/lib/python3.8/subprocess.py", line 364, 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=erpnxtadmin']' returned non-zero exit status 2.

Output of bench version
Unknown Install Crashed
(paste here)


## Steps to reproduce the issue

1.Spin a VPS with 18.04 Ubuntu
2.update and upgrade ubuntu
3.then - apt install python3-minimal build-essential python3-setuptools
4.adduser [frappe-user]
 5.usermod -aG sudo [frappe-user]
6.Switch to [frappe-user] (using su [frappe-user]) and start the setup
7.wget https://raw.githubusercontent.com/frappe/bench/develop/install.py
8.sudo python3 install.py --production --user [frappe-user] ... where frappe-user is the user i created in (4)

### Observed result
Install crashed
### Expected result
Successful Install v12
### Stacktrace / full error message

(paste here)


## Additional information

OS version / distribution, `Frappe` install method, etc.
ubuntu 18.04 TTY
@rtdany10
Copy link
Contributor

rtdany10 commented May 7, 2021

Check you log file and it will give the exact error. This is not a bug.

Or add --verbose parameter to step 8 and it will show the exact error. Fix that error and you'll be good to go.

@abhishekbalam abhishekbalam transferred this issue from frappe/frappe May 12, 2021
@ankush ankush transferred this issue from frappe/bench Nov 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants