How to install ERPNext and Webmin/Virtualmin in a same VPS Server

Hi, Thank you for sharing!!!

I have tried on that but facing some issue on that.

I am reinstall now. If I have any question will update on here.

For a week i have using this tutorial, i have not got any success. Can you help me sir
Which os to install, i wan to do it from very beginning
I am using hostinger Vps server, ubuntu 18 with webmin/virtualmin/LAMP

After i add the user name i stick in this error

Install webmin with nginx, webmin by default install with Apache. Chech webmin installation instructions on how to use nginx

Can you send me the tutorial sir

Visit webmin installation instructions

I have already installed webmin with default os sir.
Ubuntu with webmin/virtualmin/LAMP

You can clearly see LAMP, A stands for Apache, Frappe runs on nginx, both can’t run together. Check webmin website installion guide on using Nginx

Ok sir, i have install os ubuntu with webmin only

I have been up to the erpnext installation process, i got this error again

Give frappe user sudo permission from root account.

sudo su -a -G sudo frappe

This will give sudo access to frappe user

sudo su -a -G sudo frappe Doesnt work
Instead i tried Tried sudo usermod -aG sudo frappe
It worked

Again i got this error

[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]: Could not find aptitude. Using apt-get instead
Traceback (most recent call last):
File “install.py”, line 437, in
install_bench(args)
File “install.py”, line 241, in install_bench
run_playbook(‘site.yml’, sudo=True, extra_vars=extra_vars)
File “install.py”, line 362, in run_playbook
success = subprocess.check_call(args, cwd=os.path.join(cwd, ‘playbooks’), stdout=log_stream, stderr=sys.stderr)
File “/usr/lib/python2.7/subprocess.py”, line 190, 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=frappe’]’ returned non-zero exit status 2

My bad, meant usermod

After i enter this code

sudo python install.py -–production —user Frappe
I got this error again

[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]: Could not find aptitude. Using apt-get instead
Traceback (most recent call last):
File “install.py”, line 437, in
install_bench(args)
File “install.py”, line 241, in install_bench
run_playbook(‘site.yml’, sudo=True, extra_vars=extra_vars)
File “install.py”, line 362, in run_playbook
success = subprocess.check_call(args, cwd=os.path.join(cwd, ‘playbooks’), stdout=log_stream, stderr=sys.stderr)
File “/usr/lib/python2.7/subprocess.py”, line 190, 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=frappe’]’ returned non-zero exit status 2

image

try with sudo su or Su root

Which code to enter with sudo su sir.
Can you send me the code

this will help

Ok sir,i will follow these step in clean ubuntu with webmin

this is just resolution of install.py.
i am also suffering from ERPNext with Webmin.
I am struggling since long.

Again i got this status 2 error sir

image

Recently i have tried below and achieve over my new VPS.

sudo python3 install.py --production