Site_config.json issue

just installed erpnext on a new VPS - ubuntu 16 and it shows error

Not Found
./someserver/site_config.json does not exist

What could be the reason. Please guide

Tried again with another installation. Same error

Which installation instructions are you following. Could you please share the link?

Same issue here. The installation instructions are those of the official website:
The image used is ERPNext-Production.ova

The below one. I did it as root

Open your Terminal and enter:

  1. Download the install script



Mac OSX:

install X Code (from App store)

install HomeBrew (

brew install python
brew install git
curl “” -o

  1. Run the install script

For production:

sudo python --production

If any one has a correct set of steps to install in ubuntu 16 LTS please share. Exact steps . Not any external link with instructions.

  1. Install your language
    sudo apt install language-pack-xx-base
  2. Update locale (sample)
    sudo update-locale LC_CTYPE=tr_TR.UTF-8
    sudo update-locale LC_NUMERIC=tr_TR.UTF-8
    sudo update-locale LC_TIME=tr_TR.UTF-8
    sudo update-locale LC_COLLATE=tr_TR.UTF-8
    sudo update-locale LC_MONETARY=tr_TR.UTF-8
    sudo update-locale LC_PAPER=tr_TR.UTF-8
    sudo update-locale LC_NAME=tr_TR.UTF-8
    sudo update-locale LC_ADDRESS=tr_TR.UTF-8
    sudo update-locale LC_TELEPHONE=tr_TR.UTF-8
    sudo update-locale LC_MEASUREMENT=tr_TR.UTF-8
    sudo update-locale LC_IDENTIFICATION=tr_TR.UTF-8
  3. Change timezone
    sudo dpkg-reconfigure tzdata
  4. Disable IPv6
    sudo nano /etc/sysctl.d/99-sysctl.conf
    add the following lines to the file
    net.ipv6.conf.all.disable_ipv6 = 1
    net.ipv6.conf.default.disable_ipv6 = 1
    net.ipv6.conf.lo.disable_ipv6 = 1
  5. Edit /etc/hosts file disable IPv6 entries
  6. Change keyboard
    sudo dpkg-reconfigure keyboard-configuration
  7. Configure ssh daemon not to accept locale settings from client
    sudo nano /etc/ssh/sshd_config
    Comment out the line
    AcceptEnv LANG LC_*
  8. Configure wget parameter by editing /etc/wgetrc adding the following (recommended to reboot here)
    check_certificate = off
  9. Update the package database
    sudo apt update
  10. Upgrade the packages
    sudo apt upgrade
  11. Remove unnecessary package data
    sudo apt autoremove
  12. Manually install prerequisites
    apt-get install python-minimal
    apt-get install build-essential python-setuptools
  13. Download install script
  14. Execute install script
    python --production --user frappe
  15. Assign a password to frappe user
  16. Change user mode
    usermod -aG sudo frappe
  17. Enable dns multitenance (switch to frappe-bench folder while logged in as frappe user)
    bench config dns_multitenant on
  18. configure site
    cd frappe-bench/
    sudo supervisorctl stop all
    bench set-url-root site1.local http://your_site-url
    mv sites/site1.local sites/your_site-url
    bench setup nginx
    sudo supervisorctl start all
  19. configure ssl
    bench setup lets-encrypt your_site-url
1 Like