can anybody help me how to install erpnext in amazon(aws)…
Dear, a quick search can find the solution here in our forum itself. check this out…
and then an official video is also available…
the link is outdated. please use the below install script
Whats your OS in AWS? Debian based or Centos? in centos there was some issues when selinux turned on when installing pip… and please give a little more details of your error to understand the issues a bit more clear. thanks
Installing in ubuntu 18, EC2 t2.small, 12GB volume:
sudo apt-get install python-minimal -y
sudo apt-get install build-essential python-setuptools -y
sudo wget https://raw.githubusercontent.com/frappe/bench/master/playbooks/install.py
sudo python install.py --production --user frappe --admin-password abc123 --mysql-root-password abc123
This script never failed me. I got it from https://github.com/frappe/bench
i use ubuntu 16.04
Within the last 2 weeks, I had used the below link, and was able to successfully install ERPNEXT from master branch. In Ubuntu 16.04 in my local destop system, hope this will work for AWS , ubuntu instance too.
Most of the JS and other resources issue were resolved by using this:
Finally issue was resolved for me by referring this thread:
Solution suggested by @sagar worked for me:
Try the following command:
bench build ,
bench migrate & bench clear-cache
root@ip-172-31-39-247:~# sudo python3 install.py --production --user tec Logs are saved under /tmp/logs/easy-install__2020-08-11__07-03.log Checking System Compatibility... ubuntu 18 is compatible! curl already installed! wget already installed! git already installed! pip3 already installed! ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts. We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default. bench 5.0.0 requires setuptools==40.8.0, but you'll have setuptools 49.3.1 which is incompatible. [WARNING]: No inventory was parsed, only implicit localhost is available [WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all' Input MySQL and Frappe Administrator passwords: Passwords saved at ~/passwords.txt [WARNING]: No inventory was parsed, only implicit localhost is available [WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all' [WARNING]: Could not find aptitude. Using apt-get instead [WARNING]: Consider using the get_url or uri module rather than running 'curl'. If you need to use command because get_url or uri is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. [DEPRECATION WARNING]: evaluating  as a bare variable, this behaviour will go away and you might need to add |bool to the expression in the future. Also see CONDITIONAL_BARE_VARS configuration toggle.. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [WARNING]: Consider using the file module with owner rather than running 'chown'. If you need to use command because file is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. Traceback (most recent call last): File "install.py", line 440, in <module> install_bench(args) File "install.py", line 241, in install_bench run_playbook('site.yml', sudo=True, extra_vars=extra_vars) File "install.py", line 365, in run_playbook success = subprocess.check_call(args, cwd=playbooks_folder, stdout=log_stream, stderr=sys.stderr) File "/usr/lib/python3.6/subprocess.py", line 311, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['ansible-playbook', '-c', 'local', 'site.yml', '-vvvv', '-e', '@/tmp/extra_vars.json', '--become', '--become-user=tec']' returned non-zero exit status 2. root@ip-172-31-39-247:~#
what is next step?
Its to old Please make new latest version video.if possibal.
hey did you find a solution for this?
Yaa…what way you tried for installation?
i used the easy install script on a ec2 with ubuntu 20.04 it gives the same errors u posted, how did u resolve it?
Try Ubuntu 18.04.
cool will try it out