3. modify superviosur config to run both instances
4. modify nginx config to cater both virtual host
after the above mentioned steps i am able to run both instances but the problem is if go to first instance desk then second instance desk not load i have to refresh my browser many times to second instance load and first instance is doing the same problem then i have to refresh browser man times to load first instance. may be memchaced or supervisour problem.
i used the second way to encounter the problem but not succeed:
1. install bench
2. install erpnext
3. clone erpnext as erpnext2 (at his point i have to apps erpnext and erpnext2)
4. modify apps.txt to add erpnext2 on this
5. create new site
6. try to install erpnext2 but i got the error (import error no module named erpnext2)
can you suggest me the better solution.
On Tuesday, 23 September 2014 13:28:15 UTC+5, rushabh wrote:
I managed to configure this by changing not just the port name but also all the program names in supervisor.conf for the second bench. Then I also changed redis conf files for the second bench (port, pid, database) and socketio.js to reflect what was changed in redis files.
I have two benches (one running two sites, the other one running one site) working and I see no problems when working in ERPNext in any of them.
However, when I run supervisorctl status, I see that “node-socketio” and what I call “second-node-socketio” keep restarting every time somone uses any site on these benches. All the other processes (e.g. frappe-web, second-frappe-web…) keep running for days, but node-socketio restarts as soon as you log in to a site.
How can I fix this?
I don’t really understand what these processes are used for… just managed to guess how to change the config files … do I even need “second-node-socketio”, “second-redis-cache” , etc.?