There are no modules present in ERPNext

Hi there,

I installed a fresh ERPNext instance on a new installed Debian wheezy box.

After finishing the installation I get to a three pages wizard (locale, timezone and new user). After that ERPNext starts and I have only the modules “Tools, File Manager, Website, Developer”.

I can’t figure out how to activate other modules (like sales, company settings, taxes etc.).

Can you give me a hint what I’m doing wrong?

Here are the steps I did to install my ERPNext instance:

# Add user
adduser erpnext

# Install packages
apt-get update
apt-get upgrade -y

# set mysql root password
debconf-set-selections <<< 'mysql-server mysql-server/root_password password >my-secret-password<'
debconf-set-selections <<< 'mysql-server mysql-server/root_password_again password >my-secret-password<'

#Install packages
apt-get install wget sudo vim python-minimal python-pip mariadb-server nginx nodejs redis-server xfonts-base xfonts-75dpi xfonts-utils git python-dev libmysqlclient-dev libffi-dev libssl-dev curl npm supervisor fontconfig libxrender1 cron net-tools libxext6 -y

# add erpnext to sudoers
adduser erpnext sudo

# configure mariadb-server
cat > /etc/mysql/conf.d/erpnext.cnf << EOF
character-set-client-handshake = FALSE
character-set-server = utf8mb4
collation-server = utf8mb4_unicode_ci


default-character-set = utf8mb4

# restart mariadb server
service mysql restart

# install patched wkhtmltopdf
dpkg -i wkhtmltox-0.12.2_linux-jessie-amd64.deb

# install MarkupSafe
pip install MarkupSafe

# change to erpnext user
su erpnext
git clone bench-repo
sudo pip install -e bench-repo

bench init frappe-bench && cd frappe-bench
bench get-app erpnext

bench new-site
bench new-site

bench setup supervisor
sudo ln -spwd/config/supervisor.conf /etc/supervisor/conf.d/frappe-bench.conf
sudo service supervisor restart

bench setup nginx
sudo ln -spwd/config/nginx.conf /etc/nginx/conf.d/frappe-bench.conf
sudo service nginx restart

# set up dns multi tendancy
bench config dns_multitenant on
sudo service nginx reload

# set up ssl certificate
sudo -H bench setup lets-encrypt
sudo -H bench setup lets-encrypt

try this
bench --site install-app erpnext
bench --site install-app erpnext



I did this and get the following message

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

When I reinstall the site I have the same effect.

you may need to remove the sites first since you already finished the setup wizard
bench drop-site
bench drop-site
then create new site and install-app erpnext


Ahh, thank you. This did the trick :smile:

I had the same problem case - only Frappe modules present, no ERPNext modules - and can confirm the fix to install.

Here is my session

frappe@ubuntu1804lts:~/frappe-bench$ bench drop-site site1.local
Backed up files /home/frappe/frappe-bench/sites/site1.local/private/backups/20190318_164045-site1_local-files.tar
Backed up files /home/frappe/frappe-bench/sites/site1.local/private/backups/20190318_164045-site1_local-private-files.tar
MySQL root password: 
frappe@ubuntu1804lts:~/frappe-bench$ bench new-site site1.local
MySQL root password: 

Installing frappe...
Updating DocTypes for frappe        : [========================================]
Updating country info               : [========================================]
Set Administrator password: 
Re-enter Administrator password: 
*** Scheduler is disabled ***
frappe@ubuntu1804lts:~/frappe-bench$ bench --site site1.local install-app erpnext

Installing erpnext...
Updating DocTypes for erpnext       : [========================================]
frappe@ubuntu1804lts:~/frappe-bench$ bench version
erpnext 11.1.14
frappe 11.1.14

Then from the web page, login as Administrator and the setup_wizard runs to prompt and setup the instance for one user.