bench
bench copied to clipboard
Easy Install
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
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
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.