Skip to content

champion-sys/erpnext_quick_install

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Unattended Install Script for ERPNext

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.

How To:

To use this script, follow these steps:

Before Installation

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

Important!

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:

  1. Create a new user (you can change frappe to your preferred user name):
$ sudo adduser frappe
Full Name []: frappe
Room Number []:
Work Phone []:
Home Phone []:
Other []:
Is the information correct? [Y]
  1. Add the user to sudoers:
$ usermod -aG sudo frappe
  1. Switch to created user:
$ su frappe
  1. Ensure you're on created user's home directory:
$ cd /home/frappe
  1. Continue with the next steps below.

Installation:

  1. Clone the Repo:
$ git clone https://github.com/champion-sys/erpnext_quick_install.git
  1. navigate to the folder:
$ cd erpnext_quick_install
  1. Make the script executable
$ chmod +x erpnext_install.sh
  1. Run the script:
$ source erpnext_install.sh

Compatibility

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)

NOTE:

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.

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.

About

Script for ERPNext Quick install

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages