New site in same bench

bench new-site vmail.fastgrp.net
MySQL root password:
Installing frappe…
Updating frappe : [========================================]
Updating country info : [========================================]
Set Administrator password:

Actually the new site is working
But it didnt give me the all modules

you haven’t install ERPNEXT

1 Like

i have already an old site which is working well with all the module
so i am trying to create a nother new site in the same bench
am i right ?

yes right,
let me ask first, are you talking about erpnext module. if yes,
you need to install erpnext
bench use vmail.fastgrp.net
bench install-app erpnext
by the way you need fresh site to install erpnext.

1 Like

frappe@erpnext:~/frappe-bench$ bench install-app erpnext
Installing erpnext…

ERPNext can only be installed on a fresh site where the setup wizard is not completed
You can reinstall this site (after saving your data) using: bench --site [sitename] reinstall

frappe@erpnext:~/frappe-bench$

so i will drop it first

bench drop-site vmail.fastgrp.net
and now i need to creat that site agian what is the suitable steps to do that

if made
bench new-site vmail.fastgrp.net
MySQL root password:
Installing frappe…
Updating frappe : [========================================]
Updating country info : [========================================]
Set Administrator password:

i got a site but without the modules
so how can we fix it ?

thanks dear

this is the sites which i have now

erp.fastgrp.net is working with all modules
while
vmail.fastgrp.net is not

frappe@erpnext:~/frappe-bench$ ls
apps archived_sites config env logs node_modules patches.txt Procfile sites
frappe@erpnext:~/frappe-bench$ cd sites
frappe@erpnext:~/frappe-bench/sites$ ls
apps.txt assets common_site_config.json currentsite.txt currentsite.txt.old erp.fastgrp.net languages.txt vmail.fastgrp.net
frappe@erpnext:~/frappe-bench/sites$

Run these commands before running the setup wizard:

bench new-site sitename
bench --site sitename install-app erpnext

If you have already installed the site and run the setup wizard:

bench --site sitename --force reinstall
bench --site sitename install-app erpnext
3 Likes

Thx dear it works