Tried ERPNext Easy install on many platforms such as Google Cloud Platform (GCP), Vultr etc. and came up with either Mariadb dependency errors or localhost unable to connect and consequently unable to start Mariadb. Digital Ocean (DO) seems to be the most beginner friendly to run the easy install script.
Create a DO account.
Create a Droplet of your choosing. For this instance I chose, Ubuntu 20.04 (LTS) x64 (2 vCPUs | 4GB RAM | 80GB Disk).
Login to Console or use Putty or any SSH console.
You will be logged in initially as root user, this is the assumption.
Add New User sudo adduser your-username, and complete the instructions to add user.
Add the newly created user to the sudoers list sudo usermod -aG sudo your-username.
Run the Install file python3 install.py --verbose --production --user your-username --frappe-branch version-13 --erpnext-branch version-13 (Note: You can change the version you would like to install).
Wait for the Install to complete. Estimated about 10-15 mins with 0 errors.
During the Install process it will ask you to enter mysql & Administrator password.
Once completed, go to your DO assigned IP Address and you will see a login screen.
Enter the Username as âAdministratorâ & Password that was entered during the install process for the Administrator user.
Common Issues Resolution:
Issue 1
launchpadlib 1.10.6 requires testresources, which is not installed.
this worked well, however, I got an âERROR: launchpadlib 1.10.13 requires testresources, which is not installedâ (this didnât stop the installation though) on Ubuntu 20.04 minimal (1 vCPUs| 1 GB RAM 2GB swap| 50 GB disk). And the installation aborted at later stages (not sure if it was because of the RAM but was not able to capture the error). I re entered the installation command after installing testresources (here). And manage to complete the setup without error and managed to get ERPNext 13 running.
Suggestion: Please also add that the ports have to be opened in ubuntu firewall. It took me sometime to figure out why my installation is not working.
I tried it on Oracle Cloud for hobby purposes. Oracle is currently giving 2 Always free VMs (1vCPU | 1 GB each and total 200 GB storage). I opened port 80 and made it persistent using (also have to open it in the firewall based on the installation):
sudo iptables -I INPUT 6 -m state --state NEW -p tcp --dport 80 -j ACCEPT sudo netfilter-persistent save
In case someone is interested in Oracle cloud, have a look at this article on launching a Wordpress instance on free tier link. I can confirm that I was able to install ERPNext v13 on it. The performance was good as well and way better that GCP.
I was able to install on 1vCPU and 1GB Ram, (added 1GB swap) using docker.
It is the capacity of free tier given by most cloud providers. It works good enough for 1-2 user system to begin using ERPNext.
Iâve installed it for more than 35 sites for others.
Vm with 1vcpu and 1+1 gb ram+swap can run docker based ERPNext setup.
The only drawback is, if you ask question on forum it is assumed youâre not using docker. Iâll be only one of the few to reply docker related questions.
I use OCI Always Free for non ERPNext purposes. I notice there are some SQL , and nosql database options, including Always Free Autonomous Transaction Processing databases. Has anyone attempted to use any of those with Frappe?
I was thinking the same but I am a Linux noob. If someone can try out the free SQL resources with ERPNext then OCI can be a frugal solution for hosting ERPNext
Oracle also gives 4 vCPU & 24 GB RAM arm64 instances under its Always free program. It can be useful if someone can try it out and post a tutorial here.
The site installed is site1.local. If I want another site name, would it be the best to change
it after the install ?I found a few posts about changing site-names . They were for rather
older versions of ERPNext, but should still work ??
Hello, I want install ERPNext to test School system with free tier OCI Ampere 4/24. I tried many times without success.
Do you give me the procedures o script install please.
Thanks
Rene Zamora
EDIT: Works fine with script in first post + testresources + opened port 80, but this is my view
With respect ot OCI, I was wondering if anyone had tried the Kubernetes cluster in Developer Services with a VM.Standard.A1.Flex Shape? I hope @revant_one wonât mind a ping?