Thank you very much. It seems finally I could able to run ERPNext with the help of ERPNext team.
But I am not able to finish the final set up for Supervisors.
Here is your steps
bench setup supervisor
After executing the above line, nothing happend. Just returned to prompt.
sudo ln -s pwd/config/supervisor.conf /etc/supervisor/conf.d/frappe.conf
But the above line triggered the error
ln: creating hard link /etc/supervisor/conf.d/frappe.conf' => config/supervisor.conf’: No such file or directory
When I cross checked, /etc/supervisor/ directory did not exist.
Installing collected packages: supervisor, meld3
Running setup.py install for supervisor
warning: no previously-included files matching '*' found under directory 'docs/.build'
Skipping installation of /usr/local/lib/python2.7/site-packages/supervisor/__init__.py (namespace package)
Installing /usr/local/lib/python2.7/site-packages/supervisor-3.1.2-py2.7-nspkg.pth
Installing echo_supervisord_conf script to /usr/local/bin
Installing pidproxy script to /usr/local/bin
Installing supervisorctl script to /usr/local/bin
Installing supervisord script to /usr/local/bin
I did the above steps. But the link is not opening.
When I checked the process, it shows the running state. But in Browser it Web page not available.
service supervisord restart
Stopping supervisord: Shut down
Waiting roughly 60 seconds for /var/run/supervisord.pid to be removed after child processes exit
Supervisord exited as expected in under seconds
Starting supervisord:
frappe:frappe-web STARTING
frappe:frappe-worker STARTING
frappe:frappe-workerbeat STARTING
ps ax | grep super
21040 ? Ss 0:00 /usr/bin/python /usr/bin/supervisord -c /etc/supervisord.conf
ps ax | grep bench
21042 ? S 0:00 /var/www/html/erpnext.ideaflask.com/public_html/frappe-bench/env/bin/python -m frappe.celery_app worker
21043 ? S 0:00 /var/www/html/erpnext.ideaflask.com/public_html/frappe-bench/env/bin/python2.7 /var/www/html/erpnext.ideaflask.com/public_html/frappe-bench/env/bin/gunicorn -b 127.0.0.1:8000 -w 2 -t 120 frappe.app:application
21044 ? S 0:00 /var/www/html/erpnext.ideaflask.com/public_html/frappe-bench/env/bin/python -m frappe.celery_app beat -s test.schedule
21050 ? S 0:00 /var/www/html/erpnext.ideaflask.com/public_html/frappe-bench/env/bin/python2.7 /var/www/html/erpnext.ideaflask.com/public_html/frappe-bench/env/bin/gunicorn -b 127.0.0.1:8000 -w 2 -t 120 frappe.app:application
21051 ? S 0:00 /var/www/html/erpnext.ideaflask.com/public_html/frappe-bench/env/bin/python2.7 /var/www/html/erpnext.ideaflask.com/public_html/frappe-bench/env/bin/gunicorn -b 127.0.0.1:8000 -w 2 -t 120 frappe.app:application
21060 ? S 0:00 /var/www/html/erpnext.ideaflask.com/public_html/frappe-bench/env/bin/python -m frappe.celery_app worker
21061 ? S 0:00 /var/www/html/erpnext.ideaflask.com/public_html/frappe-bench/env/bin/python -m frappe.celery_app worker
21062 ? S 0:00 /var/www/html/erpnext.ideaflask.com/public_html/frappe-bench/env/bin/python -m frappe.celery_app worker
21063 ? S 0:00 /var/www/html/erpnext.ideaflask.com/public_html/frappe-bench/env/bin/python -m frappe.celery_app worker
21064 ? S 0:00 /var/www/html/erpnext.ideaflask.com/public_html/frappe-bench/env/bin/python -m frappe.celery_app worker
21065 ? S 0:00 /var/www/html/erpnext.ideaflask.com/public_html/frappe-bench/env/bin/python -m frappe.celery_app worker
21066 ? S 0:00 /var/www/html/erpnext.ideaflask.com/public_html/frappe-bench/env/bin/python -m frappe.celery_app worker
21067 ? S 0:00 /var/www/html/erpnext.ideaflask.com/public_html/frappe-bench/env/bin/python -m frappe.celery_app worker
As you can see above the process are running but the link is not opening.
Most welcome
Just a quick question, why did you not use the easy install script? (It would have got your covered for all the issues you faced in this thread).
I am working on a new script, so feedback is welcome…
First of all tons of thanks to you and your team for prompt and quick support.
I am on Cent OS 6. Initially tried the shell script only. But failed whenever it encountered any issues like the library or dependency is not installed or already installed. So I hardly proceeded with the script.
I am a developer and new on server side. I had to struggle a lot using the manual process. But with your help executed this process.
In My opinion:
In the below mentioned code of your script ( bolded one)
The script used to get exited at these lines saying the library is already installed or no package is marked for update. After frequent attempt I had to choose the manual process.
I shall be happy to assist you people to the best of my level.
You are right. May be I did some mistake. But since the default Python 2.6 was needed to system, I installed the latest separately. But even then it failed. May be it didn’t get the path or dont know.
I tihnk as the package was installed the rpm command exited with a non zero return code and thus stopped the execution of rest of the script. Will take care of this in the new script.