Unattended script for ERPNext installation (Supports Versions 13, 14 and 15).
This is a no-interactive script for installing ERPNext Versions 13, 14 and 15. You can set up either development or production with very minimal interaction.
To use this script, follow these steps:
Make sure you install the latest package versions by updating system packages if you are running this script on a fresh Ubuntu machine.
sudo apt update && sudo apt -y upgrade
and then reboot your machine
Do not run this script as root as it will fail when setting up the site. If your VPS default user is root, create a non-root user by following these steps:
- Create a new user (you can change frappeuser to your preferred user name):
sudo adduser frappeuser
Full Name []: frappeuser
Room Number []:
Work Phone []:
Home Phone []:
Other []:
Is the information correct? [Y]
- Add the user to sudoers:
usermod -aG sudo frappeuser
- Switch to created user:
su frappeuser
- Ensure you're on created user's home directory:
cd /home/frappeuser
- Continue with the next steps below.
- Clone the Repo:
git clone https://github.com/flexcomng/erpnext_quick_install.git
- navigate to the folder:
cd erpnext_quick_install
- Make the script executable
chmod +x erpnext_install.sh
- Run the script:
source erpnext_install.sh
Ubuntu 24.04 LTS, Ubuntu 23.04 LTS, Ubuntu 22.04 LTS, Ubuntu 20.04 LTS
Debian 10 (Buster), Debian 11 (Bulls Eye) Debian 12 (Bookworm)
Version 15 Compatibility is set to Ubuntu 22.04 LTS and above and Debian 12 only. Lower versions are not supported for version 15 installation due to dependency issues. Visit https://github.com/gavindsouza/awesome-frappe to learn about other apps you can install.
If you encounter spawn error on socketio when running bench restart, run the following commands:
bench setup socketio
bench setup supervisor
bench setup redis
sudo supervisorctl reload
This will fix the spawn error and all services will restart successfully.