Can any body give step by step installation of ERPNext on ubuntu 16.04 server

I am newbie to ERPNext. I have installed ERPNext freppe on in root and when i try to access it i am getting an error. where to access the site btw. thanks & regrads

You can go through this link and follow each step carefully.

Thanks,
Mohini
New Indictranstech pvt.ltd

1 Like

@VASUDHA_BADDELI,

Please go through, https://github.com/frappe/bench for installation steps.

can you share the error ?

Thanks, Makarand

i have installed the ERP fine. But i am not able to access it…

@VASUDHA_BADDELI,

Go to frappe-bench directory and use bench start command then you can access the site on http://localhost:8000

Thanks, Makarand

vassu@localhost:~/frappe-bench$ bench start
09:28:10 system | redis_socketio.1 started (pid=48757)
09:28:10 redis_socketio.1 | 48759:M 07 Dec 09:28:10.033 * Increased maximum numb er of open files to 10032 (it was originally set to 1024).
09:28:10 redis_socketio.1 | 48759:M 07 Dec 09:28:10.033 # Creating Server TCP li stening socket 127.0.0.1:12000: bind: Address already in use
09:28:10 system | redis_socketio.1 stopped (rc=1)
09:28:10 system | worker_long.1 started (pid=48755)
09:28:10 system | watch.1 started (pid=48764)
09:28:10 system | schedule.1 started (pid=48763)
09:28:10 system | redis_queue.1 started (pid=48762)
09:28:10 redis_queue.1 | 48772:M 07 Dec 09:28:10.069 * Increased maximum numb er of open files to 10032 (it was originally set to 1024).
09:28:10 redis_queue.1 | 48772:M 07 Dec 09:28:10.069 # Creating Server TCP li stening socket 127.0.0.1:11000: bind: Address already in use
09:28:10 system | redis_queue.1 stopped (rc=1)
09:28:10 system | worker_default.1 started (pid=48767)
09:28:10 system | socketio.1 started (pid=48771)
09:28:10 system | web.1 started (pid=48765)
09:28:10 system | worker_short.1 started (pid=48768)
09:28:10 system | redis_cache.1 started (pid=48766)
09:28:10 system | sending SIGTERM to worker_long.1 (pid 48755)
09:28:10 system | sending SIGTERM to watch.1 (pid 48764)
09:28:10 system | sending SIGTERM to web.1 (pid 48765)
09:28:10 system | sending SIGTERM to schedule.1 (pid 48763)
09:28:10 system | sending SIGTERM to worker_default.1 (pid 48767)
09:28:10 system | sending SIGTERM to socketio.1 (pid 48771)
09:28:10 system | sending SIGTERM to redis_cache.1 (pid 48766)
09:28:10 system | sending SIGTERM to worker_short.1 (pid 48768)
09:28:10 redis_cache.1 | 48787:M 07 Dec 09:28:10.100 * Increased maximum numb er of open files to 10032 (it was originally set to 1024).
09:28:10 redis_cache.1 | 48787:M 07 Dec 09:28:10.100 # Creating Server TCP li stening socket 127.0.0.1:13000: bind: Address already in use
09:28:10 system | worker_long.1 stopped (rc=-15)
09:28:10 system | watch.1 stopped (rc=-15)
09:28:10 system | worker_default.1 stopped (rc=-15)
09:28:10 system | schedule.1 stopped (rc=-15)
09:28:10 system | web.1 stopped (rc=-15)
09:28:10 system | worker_short.1 stopped (rc=-15)
09:28:10 system | redis_cache.1 stopped (rc=1)
09:28:10 system | socketio.1 stopped (rc=-15)

this is the error i am getting. i installed erpnext on remote server. which ip i have to go for accessing site?
are there any prerequisites? i have not installed nginx.

When i try to reinstall erp from easy install i am getting this error:-
fatal: [localhost]: FAILED! => {“changed”: false, “check_results”: {“cmd”: “/bin /tar -C “/tmp” --diff -f “/tmp/ansible-tmp-1481106302.45-218690192075705/sour ce””, “err”: “”, “out”: “wkhtmltox/lib/libwkhtmltox.so.0.12.3: Uid differs\nwkh tmltox/lib/libwkhtmltox.so.0.12.3: Gid differs\nwkhtmltox/share/man/man1/wkhtmlt oimage.1.gz: Uid differs\nwkhtmltox/share/man/man1/wkhtmltoimage.1.gz: Gid diffe rs\nwkhtmltox/share/man/man1/wkhtmltopdf.1.gz: Uid differs\nwkhtmltox/share/man/ man1/wkhtmltopdf.1.gz: Gid differs\nwkhtmltox/include/wkhtmltox/pdf.h: Uid diffe rs\nwkhtmltox/include/wkhtmltox/pdf.h: Gid differs\nwkhtmltox/include/wkhtmltox/ dllend.inc: Uid differs\nwkhtmltox/include/wkhtmltox/dllend.inc: Gid differs\nwk htmltox/include/wkhtmltox/dllbegin.inc: Uid differs\nwkhtmltox/include/wkhtmltox /dllbegin.inc: Gid differs\nwkhtmltox/include/wkhtmltox/image.h: Uid differs\nwk htmltox/include/wkhtmltox/image.h: Gid differs\nwkhtmltox/bin/wkhtmltoimage: Uid differs\nwkhtmltox/bin/wkhtmltoimage: Gid differs\nwkhtmltox/bin/wkhtmltopdf: U id differs\nwkhtmltox/bin/wkhtmltopdf: Gid differs\n”, “rc”: 1, “unarchived”: fa lse}, “dest”: “/tmp”, “extract_results”: {“cmd”: “/bin/tar -xf “/tmp/ansible-tm p-1481106302.45-218690192075705/source””, “err”: “/bin/tar: wkhtmltox/lib/libwk htmltox.so.0.12.3: Cannot open: File exists\n/bin/tar: wkhtmltox/lib/libwkhtmlto x.so.0: Cannot create symlink to ‘libwkhtmltox.so.0.12.3’: File exists\n/bin/tar : wkhtmltox/lib/libwkhtmltox.so.0.12: Cannot create symlink to ‘libwkhtmltox.so. 0.12.3’: File exists\n/bin/tar: wkhtmltox/lib/libwkhtmltox.so: Cannot create sym link to ‘libwkhtmltox.so.0.12.3’: File exists\n/bin/tar: wkhtmltox/lib: Cannot u time: Operation not permitted\n/bin/tar: wkhtmltox/share/man/man1/wkhtmltoimage. 1.gz: Cannot open: File exists\n/bin/tar: wkhtmltox/share/man/man1/wkhtmltopdf.1 .gz: Cannot open: File exists\n/bin/tar: wkhtmltox/share/man/man1: Cannot utime: Operation not permitted\n/bin/tar: wkhtmltox/share/man: Cannot utime: Operation not permitted\n/bin/tar: wkhtmltox/share: Cannot utime: Operation not permitted \n/bin/tar: wkhtmltox/include/wkhtmltox/pdf.h: Cannot open: File exists\n/bin/ta r: wkhtmltox/include/wkhtmltox/dllend.inc: Cannot open: File exists\n/bin/tar: w khtmltox/include/wkhtmltox/dllbegin.inc: Cannot open: File exists\n/bin/tar: wkh tmltox/include/wkhtmltox/image.h: Cannot open: File exists\n/bin/tar: wkhtmltox/ include/wkhtmltox: Cannot utime: Operation not permitted\n/bin/tar: wkhtmltox/in clude: Cannot utime: Operation not permitted\n/bin/tar: wkhtmltox/bin/wkhtmltoim age: Cannot open: File exists\n/bin/tar: wkhtmltox/bin/wkhtmltopdf: Cannot open: File exists\n/bin/tar: wkhtmltox/bin: Cannot utime: Operation not permitted\n/b in/tar: wkhtmltox: Cannot utime: Operation not permitted\n/bin/tar: Exiting with failure status due to previous errors\n”, “out”: “”, “rc”: 2}, “failed”: true, “gid”: 0, “group”: “root”, “handler”: “TarArchive”, “mode”: “01777”, “msg”: “fai led to unpack /tmp/ansible-tmp-1481106302.45-218690192075705/source to /tmp”, “o wner”: “root”, “size”: 4096, “src”: “/tmp/ansible-tmp-1481106302.45-218690192075 705/source”, “state”: “directory”, “uid”: 0}
to retry, use: --limit @production/install.retry

Could you please tell me whether you are using Erpnext for development or for production ?
These are prerequisite for production and development (must):

  • Python 2.7
  • MariaDB 10+
  • Nodejs
  • Redis

While these are optional one:

  • Nginx (for production)
  • wkhtmltopdf with patched Qt (for pdf generation)

For production. I have installed all the dependencies as above. i m about to install freppe/erpnext on server. I have few questions. can you please add me to skype (vassu008) to discuss on this in real time

And your first error is because there are already processes bind with ports. This generally happens because of stopping the bench improperly. To resolve this issue you can use the following commands:
To kill a process on specific port (8000):
sudo lsof -t -i tcp:8000 -s tcp:listen | sudo xargs kill

@VASUDHA_BADDELI I don’t have much experience in production till now. I think one of my colleague @saurabh6790 will be happy to help you :slight_smile: .

i have stopped my remote server by using sudo reboot. Now i can not access it. :confused:
can any body help me please.