Hi, very happy to be able to start bench... from terminal...but supervisord config its been a nightmare.
Could you please assist me on this:
ro...@vps [~]# service supervisord start
Starting supervisord:
Error: Another program is already listening on a port that one of our HTTP servers is configured to use. Shut this program down first before starting supervisord.
ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
On Monday, September 15, 2014 2:22:24 AM UTC+5:30, Camilo wrote:
Hi, very happy to be able to start bench... from terminal...but supervisord config its been a nightmare.
Could you please assist me on this:
ro...@vps [~]# service supervisord start
Starting supervisord:
Error: Another program is already listening on a port that one of our HTTP servers is configured to use. Shut this program down first before starting supervisord.
ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
On Mon, Sep 15, 2014 at 2:22 AM, Camilo ca...@gmail.com wrote:
Hi, very happy to be able to start bench… from terminal…but supervisord
config its been a nightmare.
Could you please assist me on this:
ro…@vps [~]# service supervisord start
Starting supervisord:
Error: Another program is already listening on a port that one of our HTTP
servers is configured to use. Shut this program down first before starting
supervisord.
For help, use /usr/bin/supervisord -h
frappe:frappe-web RUNNING pid 3137, uptime 1:11:55
frappe:frappe-worker RUNNING pid 3136, uptime 1:11:55
frappe:frappe-workerbeat RUNNING pid 3138, uptime 1:11:55
I’m using port 8000.
I appreciate your help,
Camilo Correa
–
Note:
If you are posting an issue,
ERPNext is a free and open source software and support is given on this
forum by a team (https://frappe.io/webnotes). So please consider donating if
you find this forum useful (https://frappe.io/buy). Even a small amount
would be helpful.
We should be able to replicate it at our end. So please give us as much
information as you can. Please see it from the point of view of the person
receiving the communication.
For sending images, use http://imgur.com or other similar services. Do
not send images as attachments. Links are good. Same goes for any file you
are going to send.
I did a lot...I think I did this also in order to check if 'bench start' was still working after setting up supervisor ... something wrong with it?
Thank you!
On Monday, September 15, 2014 7:53:27 AM UTC+2, Pratik Vyas wrote:
On Mon, Sep 15, 2014 at 2:22 AM, Camilo <ca...@gmail.com> wrote:
> Hi, very happy to be able to start bench... from terminal...but supervisord
> config its been a nightmare.
> Could you please assist me on this:
> ro...@vps [~]# service supervisord start
> Starting supervisord:
> Error: Another program is already listening on a port that one of our HTTP
> servers is configured to use. Shut this program down first before starting
> supervisord.
> For help, use /usr/bin/supervisord -h
> frappe:frappe-web RUNNING pid 3137, uptime 1:11:55
> frappe:frappe-worker RUNNING pid 3136, uptime 1:11:55
> frappe:frappe-workerbeat RUNNING pid 3138, uptime 1:11:55
>
> I'm using port 8000.
>
> I appreciate your help,
> Camilo Correa
>
> --
> Note:
>
> If you are posting an issue,
>
> 1. ERPNext is a free and open source software and support is given on this
> forum by a team (https://frappe.io/webnotes). So please consider donating if
> you find this forum useful (https://frappe.io/buy). Even a small amount
> would be helpful.
> 2. We should be able to replicate it at our end. So please give us as much
> information as you can. Please see it from the point of view of the person
> receiving the communication.
> 3. Paste your code at http://pastebin.com or http://gist.github.com and send
> only the URL via email
> 4. For sending images, use http://imgur.com or other similar services. Do
> not send images as attachments. Links are good. Same goes for any file you
> are going to send.
>
> End of Note
> ---
> You received this message because you are subscribed to the Google Groups
> "ERPNext Developer Forum" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to erpnext-developer-forum+un...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/erpnext-developer-forum/ead70909-6dd6-4e9e-a238-44dc18e19155%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Hi Camilo,
By any chance, are you trying to run `bench start` after setting up supervisor?
Thanks,
--
Pratik
erpnext
–
Note:
If you are posting an issue,
ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
On Monday, September 15, 2014 2:22:24 AM UTC+5:30, Camilo wrote:
Hi, very happy to be able to start bench... from terminal...but supervisord config its been a nightmare.
Could you please assist me on this:
ro...@vps [~]# service supervisord start
Starting supervisord:
Error: Another program is already listening on a port that one of our HTTP servers is configured to use. Shut this program down first before starting supervisord.
ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
On Mon, Sep 15, 2014 at 12:40 PM, Camilo ca...@gmail.com wrote:
I did a lot…I think I did this also in order to check if ‘bench start’ was
still working after setting up supervisor … something wrong with it?
Thank you!
Alright, I think it’s not clear in the documentation. Supervisor is a
replacement for bench start. So, supervisor starts the bench
processes and so that you don’t have to run bench start to bring up
the service. Also, next step for you would be setting up nginx.
Pratik, since apache is running on my server I was trying to run ngnix on 8080 or 8000. May this be the problem? Should I try to setup nginx only? I was very proud as 'bench start' was doing the job. Then, I understand the funktion of supervisord and started to setup it, but no success. I'm really not an expert but like to look inside erpnext, implement it and offer it to others.
The supervisord.conf file bench is providing is just a part to be included in supervisord.conf. Am I right? Attached my config file, just in case...please take a look, since I'm realy not sure what I was doing...
Thank you Pratik,
I appreciate your support a lot!
Camilo
On Monday, September 15, 2014 9:44:03 AM UTC+2, Pratik Vyas wrote:
On Mon, Sep 15, 2014 at 12:40 PM, Camilo <ca...@gmail.com> wrote:
> I did a lot...I think I did this also in order to check if 'bench start' was
> still working after setting up supervisor ... something wrong with it?
> Thank you!
>
Alright, I think it's not clear in the documentation. Supervisor is a
replacement for `bench start`. So, supervisor starts the bench
processes and so that you don't have to run `bench start` to bring up
the service. Also, next step for you would be setting up nginx.
Thanks,
--
Pratik
erpnext
–
Note:
If you are posting an issue,
ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
On Mon, Sep 15, 2014 at 2:52 PM, Camilo ca...@gmail.com wrote:
Pratik, since apache is running on my server I was trying to run ngnix on
8080 or 8000. May this be the problem? Should I try to setup nginx only? I
was very proud as ‘bench start’ was doing the job. Then, I understand the
funktion of supervisord and started to setup it, but no success. I’m really
not an expert but like to look inside erpnext, implement it and offer it to
others.
The supervisord.conf file bench is providing is just a part to be included
in supervisord.conf. Am I right? Attached my config file, just in
case…please take a look, since I’m realy not sure what I was doing…
Thank you Pratik,
I appreciate your support a lot!
Camilo
Hi Camilo,
The bench can generate a config that you want.
bench config serve_default_site off
bench config dns_multitenant off
bench set-nginx-port {your-site} 8765
bench setup nginx
This should generate an nginx that doesn’t listen on port 80. You can
regenerate supervisor config by running bench setup supervisor
You have to link the config files in the correct config dirs of
nginx/supervisor for it to take effect.
I already setup Multitenant and created a second site...
Same procedure anyways?
I appreciate,
Camilo
On Monday, September 15, 2014 1:05:56 PM UTC+2, Pratik Vyas wrote:
On Mon, Sep 15, 2014 at 2:52 PM, Camilo <ca...@gmail.com> wrote:
> Pratik, since apache is running on my server I was trying to run ngnix on
> 8080 or 8000. May this be the problem? Should I try to setup nginx only? I
> was very proud as 'bench start' was doing the job. Then, I understand the
> funktion of supervisord and started to setup it, but no success. I'm really
> not an expert but like to look inside erpnext, implement it and offer it to
> others.
> The supervisord.conf file bench is providing is just a part to be included
> in supervisord.conf. Am I right? Attached my config file, just in
> case...please take a look, since I'm realy not sure what I was doing...
> Thank you Pratik,
> I appreciate your support a lot!
> Camilo
>
>
Hi Camilo,
The bench can generate a config that you want.
```
bench config serve_default_site off
bench config dns_multitenant off
bench set-nginx-port {your-site} 8765
bench setup nginx
```
This should generate an nginx that doesn't listen on port 80. You can
regenerate supervisor config by running `bench setup supervisor`
You have to link the config files in the correct config dirs of
nginx/supervisor for it to take effect.
ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
I appreciate a lot and would love to be able to take part on the conf there on Sept. 25. Not possible jet but nextERP.conf
Sincerely,
Camilo
On Monday, September 15, 2014 1:05:56 PM UTC+2, Pratik Vyas wrote:
On Mon, Sep 15, 2014 at 2:52 PM, Camilo <ca...@gmail.com> wrote:
> Pratik, since apache is running on my server I was trying to run ngnix on
> 8080 or 8000. May this be the problem? Should I try to setup nginx only? I
> was very proud as 'bench start' was doing the job. Then, I understand the
> funktion of supervisord and started to setup it, but no success. I'm really
> not an expert but like to look inside erpnext, implement it and offer it to
> others.
> The supervisord.conf file bench is providing is just a part to be included
> in supervisord.conf. Am I right? Attached my config file, just in
> case...please take a look, since I'm realy not sure what I was doing...
> Thank you Pratik,
> I appreciate your support a lot!
> Camilo
>
>
Hi Camilo,
The bench can generate a config that you want.
```
bench config serve_default_site off
bench config dns_multitenant off
bench set-nginx-port {your-site} 8765
bench setup nginx
```
This should generate an nginx that doesn't listen on port 80. You can
regenerate supervisor config by running `bench setup supervisor`
You have to link the config files in the correct config dirs of
nginx/supervisor for it to take effect.
ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
I appreciate a lot and would love to be able to take part on the conf there on Sept. 25. Not possible jet but nextERP.conf
Sincerely,
Camilo
On Monday, September 15, 2014 1:05:56 PM UTC+2, Pratik Vyas wrote:
On Mon, Sep 15, 2014 at 2:52 PM, Camilo <ca...@gmail.com> wrote:
> Pratik, since apache is running on my server I was trying to run ngnix on
> 8080 or 8000. May this be the problem? Should I try to setup nginx only? I
> was very proud as 'bench start' was doing the job. Then, I understand the
> funktion of supervisord and started to setup it, but no success. I'm really
> not an expert but like to look inside erpnext, implement it and offer it to
> others.
> The supervisord.conf file bench is providing is just a part to be included
> in supervisord.conf. Am I right? Attached my config file, just in
> case...please take a look, since I'm realy not sure what I was doing...
> Thank you Pratik,
> I appreciate your support a lot!
> Camilo
>
>
Hi Camilo,
The bench can generate a config that you want.
```
bench config serve_default_site off
bench config dns_multitenant off
bench set-nginx-port {your-site} 8765
bench setup nginx
```
This should generate an nginx that doesn't listen on port 80. You can
regenerate supervisor config by running `bench setup supervisor`
You have to link the config files in the correct config dirs of
nginx/supervisor for it to take effect.
ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
I appreciate a lot and would love to be able to take part on the conf there on Sept. 25. Not possible jet but nextERP.conf
Sincerely,
Camilo
On Monday, September 15, 2014 1:05:56 PM UTC+2, Pratik Vyas wrote:
On Mon, Sep 15, 2014 at 2:52 PM, Camilo <ca...@gmail.com> wrote:
> Pratik, since apache is running on my server I was trying to run ngnix on
> 8080 or 8000. May this be the problem? Should I try to setup nginx only? I
> was very proud as 'bench start' was doing the job. Then, I understand the
> funktion of supervisord and started to setup it, but no success. I'm really
> not an expert but like to look inside erpnext, implement it and offer it to
> others.
> The supervisord.conf file bench is providing is just a part to be included
> in supervisord.conf. Am I right? Attached my config file, just in
> case...please take a look, since I'm realy not sure what I was doing...
> Thank you Pratik,
> I appreciate your support a lot!
> Camilo
>
>
Hi Camilo,
The bench can generate a config that you want.
```
bench config serve_default_site off
bench config dns_multitenant off
bench set-nginx-port {your-site} 8765
bench setup nginx
```
This should generate an nginx that doesn't listen on port 80. You can
regenerate supervisor config by running `bench setup supervisor`
You have to link the config files in the correct config dirs of
nginx/supervisor for it to take effect.
ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
Are processes running? supervisorctl status
Log?
tail -n50 frappe-bench/logs/web.error.log
On Mon, Sep 15, 2014 at 11:14 PM, Camilo ca...@gmail.com wrote:
NGNIX TALKING TO ME!!!:
502 Bad Gateway
Allways near of supervisor to work. Thank you!
Camilo
On Monday, September 15, 2014 5:09:06 PM UTC+2, Camilo wrote:
Also a question about this command line:
sudo ln -s pwd/config/supervisor.conf
/etc/supervisor/conf.d/frappe.conf
Since the easy_install put supervisord.conf on /etc/supervisord.conf
So it would be:
sudo ln -s pwd/config/supervisor.conf /etc/frappe.conf (OK???)
And, may not be relevant, but your conf file name, supervisor.conf should
not be supervisord.conf ??
Sorry, I’m realy confused about this addresses…
Looking other instructions I have seen the dir: /etc/supervisord/conf.d/
I appreciate,
best,
Camilo
On Monday, September 15, 2014 4:02:49 PM UTC+2, Camilo wrote:
Pratik,
by {your-site} you mean the first site installed as {site1.local} or my
first domain?
I appreciate a lot and would love to be able to take part on the conf
there on Sept. 25. Not possible jet but nextERP.conf
Sincerely,
Camilo
On Monday, September 15, 2014 1:05:56 PM UTC+2, Pratik Vyas wrote:
On Mon, Sep 15, 2014 at 2:52 PM, Camilo ca...@gmail.com wrote:
Pratik, since apache is running on my server I was trying to run ngnix
on
8080 or 8000. May this be the problem? Should I try to setup nginx
only? I
was very proud as ‘bench start’ was doing the job. Then, I understand
the
funktion of supervisord and started to setup it, but no success. I’m
really
not an expert but like to look inside erpnext, implement it and offer
it to
others.
The supervisord.conf file bench is providing is just a part to be
included
in supervisord.conf. Am I right? Attached my config file, just in
case…please take a look, since I’m realy not sure what I was
doing…
Thank you Pratik,
I appreciate your support a lot!
Camilo
Hi Camilo,
The bench can generate a config that you want.
bench config serve_default_site off
bench config dns_multitenant off
bench set-nginx-port {your-site} 8765
bench setup nginx
This should generate an nginx that doesn’t listen on port 80. You can
regenerate supervisor config by running bench setup supervisor
You have to link the config files in the correct config dirs of
nginx/supervisor for it to take effect.
ERPNext is a free and open source software and support is given on this
forum by a team (https://frappe.io/webnotes). So please consider donating if
you find this forum useful (https://frappe.io/buy). Even a small amount
would be helpful.
We should be able to replicate it at our end. So please give us as much
information as you can. Please see it from the point of view of the person
receiving the communication.
For sending images, use http://imgur.com or other similar services. Do
not send images as attachments. Links are good. Same goes for any file you
are going to send.
On Monday, September 15, 2014 8:07:58 PM UTC+2, Pratik Vyas wrote:
Are processes running?
`supervisorctl status`
Log?
tail -n50 frappe-bench/logs/web.error.log
On Mon, Sep 15, 2014 at 11:14 PM, Camilo <ca...@gmail.com> wrote:
> NGNIX TALKING TO ME!!!!!:
>
> 502 Bad Gateway
>
>
> Allways near of supervisor to work. Thank you!
> Camilo
>
> On Monday, September 15, 2014 5:09:06 PM UTC+2, Camilo wrote:
>>
>> Also a question about this command line:
>> sudo ln -s `pwd`/config/supervisor.conf
>> /etc/supervisor/conf.d/frappe.conf
>>
>> Since the easy_install put supervisord.conf on /etc/supervisord.conf
>>
>> So it would be:
>> sudo ln -s `pwd`/config/supervisor.conf /etc/frappe.conf (OK???)
>>
>> And, may not be relevant, but your conf file name, supervisor.conf should
>> not be supervisord.conf ??
>> Sorry, I'm realy confused about this addresses...
>> Looking other instructions I have seen the dir: /etc/supervisord/conf.d/
>>
>> I appreciate,
>> best,
>> Camilo
>>
>>
>>
>> On Monday, September 15, 2014 4:02:49 PM UTC+2, Camilo wrote:
>>>
>>> Pratik,
>>> by {your-site} you mean the first site installed as {site1.local} or my
>>> first domain?
>>>
>>> bench set-nginx-port site1.local 8765
>>> bench set-nginx-port hydrocarbon-americas.com 8765
>>>
>>> I appreciate a lot and would love to be able to take part on the conf
>>> there on Sept. 25. Not possible jet but nextERP.conf
>>> Sincerely,
>>> Camilo
>>>
>>> On Monday, September 15, 2014 1:05:56 PM UTC+2, Pratik Vyas wrote:
>>>>
>>>> On Mon, Sep 15, 2014 at 2:52 PM, Camilo <ca...@gmail.com> wrote:
>>>> > Pratik, since apache is running on my server I was trying to run ngnix
>>>> > on
>>>> > 8080 or 8000. May this be the problem? Should I try to setup nginx
>>>> > only? I
>>>> > was very proud as 'bench start' was doing the job. Then, I understand
>>>> > the
>>>> > funktion of supervisord and started to setup it, but no success. I'm
>>>> > really
>>>> > not an expert but like to look inside erpnext, implement it and offer
>>>> > it to
>>>> > others.
>>>> > The supervisord.conf file bench is providing is just a part to be
>>>> > included
>>>> > in supervisord.conf. Am I right? Attached my config file, just in
>>>> > case...please take a look, since I'm realy not sure what I was
>>>> > doing...
>>>> > Thank you Pratik,
>>>> > I appreciate your support a lot!
>>>> > Camilo
>>>> >
>>>> >
>>>>
>>>> Hi Camilo,
>>>>
>>>> The bench can generate a config that you want.
>>>>
>>>> ```
>>>> bench config serve_default_site off
>>>> bench config dns_multitenant off
>>>> bench set-nginx-port {your-site} 8765
>>>> bench setup nginx
>>>> ```
>>>>
>>>> This should generate an nginx that doesn't listen on port 80. You can
>>>> regenerate supervisor config by running `bench setup supervisor`
>>>>
>>>> You have to link the config files in the correct config dirs of
>>>> nginx/supervisor for it to take effect.
>>>>
>>>> https://github.com/frappe/bench/#production-deployment >>>>
>>>> Thanks,
>>>> --
>>>> Pratik
>>>> ERPNext
>
> --
> Note:
>
> If you are posting an issue,
>
> 1. ERPNext is a free and open source software and support is given on this
> forum by a team (https://frappe.io/webnotes). So please consider donating if
> you find this forum useful (https://frappe.io/buy). Even a small amount
> would be helpful.
> 2. We should be able to replicate it at our end. So please give us as much
> information as you can. Please see it from the point of view of the person
> receiving the communication.
> 3. Paste your code at http://pastebin.com or http://gist.github.com and send
> only the URL via email
> 4. For sending images, use http://imgur.com or other similar services. Do
> not send images as attachments. Links are good. Same goes for any file you
> are going to send.
>
> End of Note
> ---
> You received this message because you are subscribed to the Google Groups
> "ERPNext Developer Forum" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to erpnext-developer-forum+un...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/erpnext-developer-forum/0f61a3fa-4fd0-4213-9dae-612e2c72b842%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.
--
Pratik
erpnext
–
Note:
If you are posting an issue,
ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
Exception KeyError: KeyError(47283097993728,) in <module 'threading' from '/usr/local/lib/python2.7/threading.pyc'> ignored
No idea...something I can do?
Appreciate,
Camilo
On Monday, September 15, 2014 8:07:58 PM UTC+2, Pratik Vyas wrote:
Are processes running?
`supervisorctl status`
Log?
tail -n50 frappe-bench/logs/web.error.log
On Mon, Sep 15, 2014 at 11:14 PM, Camilo <ca...@gmail.com> wrote:
> NGNIX TALKING TO ME!!!!!:
>
> 502 Bad Gateway
>
>
> Allways near of supervisor to work. Thank you!
> Camilo
>
> On Monday, September 15, 2014 5:09:06 PM UTC+2, Camilo wrote:
>>
>> Also a question about this command line:
>> sudo ln -s `pwd`/config/supervisor.conf
>> /etc/supervisor/conf.d/frappe.conf
>>
>> Since the easy_install put supervisord.conf on /etc/supervisord.conf
>>
>> So it would be:
>> sudo ln -s `pwd`/config/supervisor.conf /etc/frappe.conf (OK???)
>>
>> And, may not be relevant, but your conf file name, supervisor.conf should
>> not be supervisord.conf ??
>> Sorry, I'm realy confused about this addresses...
>> Looking other instructions I have seen the dir: /etc/supervisord/conf.d/
>>
>> I appreciate,
>> best,
>> Camilo
>>
>>
>>
>> On Monday, September 15, 2014 4:02:49 PM UTC+2, Camilo wrote:
>>>
>>> Pratik,
>>> by {your-site} you mean the first site installed as {site1.local} or my
>>> first domain?
>>>
>>> bench set-nginx-port site1.local 8765
>>> bench set-nginx-port hydrocarbon-americas.com 8765
>>>
>>> I appreciate a lot and would love to be able to take part on the conf
>>> there on Sept. 25. Not possible jet but nextERP.conf
>>> Sincerely,
>>> Camilo
>>>
>>> On Monday, September 15, 2014 1:05:56 PM UTC+2, Pratik Vyas wrote:
>>>>
>>>> On Mon, Sep 15, 2014 at 2:52 PM, Camilo <ca...@gmail.com> wrote:
>>>> > Pratik, since apache is running on my server I was trying to run ngnix
>>>> > on
>>>> > 8080 or 8000. May this be the problem? Should I try to setup nginx
>>>> > only? I
>>>> > was very proud as 'bench start' was doing the job. Then, I understand
>>>> > the
>>>> > funktion of supervisord and started to setup it, but no success. I'm
>>>> > really
>>>> > not an expert but like to look inside erpnext, implement it and offer
>>>> > it to
>>>> > others.
>>>> > The supervisord.conf file bench is providing is just a part to be
>>>> > included
>>>> > in supervisord.conf. Am I right? Attached my config file, just in
>>>> > case...please take a look, since I'm realy not sure what I was
>>>> > doing...
>>>> > Thank you Pratik,
>>>> > I appreciate your support a lot!
>>>> > Camilo
>>>> >
>>>> >
>>>>
>>>> Hi Camilo,
>>>>
>>>> The bench can generate a config that you want.
>>>>
>>>> ```
>>>> bench config serve_default_site off
>>>> bench config dns_multitenant off
>>>> bench set-nginx-port {your-site} 8765
>>>> bench setup nginx
>>>> ```
>>>>
>>>> This should generate an nginx that doesn't listen on port 80. You can
>>>> regenerate supervisor config by running `bench setup supervisor`
>>>>
>>>> You have to link the config files in the correct config dirs of
>>>> nginx/supervisor for it to take effect.
>>>>
>>>> https://github.com/frappe/bench/#production-deployment >>>>
>>>> Thanks,
>>>> --
>>>> Pratik
>>>> ERPNext
>
> --
> Note:
>
> If you are posting an issue,
>
> 1. ERPNext is a free and open source software and support is given on this
> forum by a team (https://frappe.io/webnotes). So please consider donating if
> you find this forum useful (https://frappe.io/buy). Even a small amount
> would be helpful.
> 2. We should be able to replicate it at our end. So please give us as much
> information as you can. Please see it from the point of view of the person
> receiving the communication.
> 3. Paste your code at http://pastebin.com or http://gist.github.com and send
> only the URL via email
> 4. For sending images, use http://imgur.com or other similar services. Do
> not send images as attachments. Links are good. Same goes for any file you
> are going to send.
>
> End of Note
> ---
> You received this message because you are subscribed to the Google Groups
> "ERPNext Developer Forum" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to erpnext-developer-forum+un...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/erpnext-developer-forum/0f61a3fa-4fd0-4213-9dae-612e2c72b842%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.
--
Pratik
erpnext
–
Note:
If you are posting an issue,
ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
Exception KeyError: KeyError(46928062566912,) in <module 'threading' from '/usr/local/lib/python2.7/threading.pyc'> ignored
Exception KeyError: KeyError(47283097993728,) in <module 'threading' from '/usr/local/lib/python2.7/threading.pyc'> ignored
On Monday, September 15, 2014 8:07:58 PM UTC+2, Pratik Vyas wrote:
Are processes running?
`supervisorctl status`
Log?
tail -n50 frappe-bench/logs/web.error.log
On Mon, Sep 15, 2014 at 11:14 PM, Camilo <ca...@gmail.com> wrote:
> NGNIX TALKING TO ME!!!!!:
>
> 502 Bad Gateway
>
>
> Allways near of supervisor to work. Thank you!
> Camilo
>
> On Monday, September 15, 2014 5:09:06 PM UTC+2, Camilo wrote:
>>
>> Also a question about this command line:
>> sudo ln -s `pwd`/config/supervisor.conf
>> /etc/supervisor/conf.d/frappe.conf
>>
>> Since the easy_install put supervisord.conf on /etc/supervisord.conf
>>
>> So it would be:
>> sudo ln -s `pwd`/config/supervisor.conf /etc/frappe.conf (OK???)
>>
>> And, may not be relevant, but your conf file name, supervisor.conf should
>> not be supervisord.conf ??
>> Sorry, I'm realy confused about this addresses...
>> Looking other instructions I have seen the dir: /etc/supervisord/conf.d/
>>
>> I appreciate,
>> best,
>> Camilo
>>
>>
>>
>> On Monday, September 15, 2014 4:02:49 PM UTC+2, Camilo wrote:
>>>
>>> Pratik,
>>> by {your-site} you mean the first site installed as {site1.local} or my
>>> first domain?
>>>
>>> bench set-nginx-port site1.local 8765
>>> bench set-nginx-port hydrocarbon-americas.com 8765
>>>
>>> I appreciate a lot and would love to be able to take part on the conf
>>> there on Sept. 25. Not possible jet but nextERP.conf
>>> Sincerely,
>>> Camilo
>>>
>>> On Monday, September 15, 2014 1:05:56 PM UTC+2, Pratik Vyas wrote:
>>>>
>>>> On Mon, Sep 15, 2014 at 2:52 PM, Camilo <ca...@gmail.com> wrote:
>>>> > Pratik, since apache is running on my server I was trying to run ngnix
>>>> > on
>>>> > 8080 or 8000. May this be the problem? Should I try to setup nginx
>>>> > only? I
>>>> > was very proud as 'bench start' was doing the job. Then, I understand
>>>> > the
>>>> > funktion of supervisord and started to setup it, but no success. I'm
>>>> > really
>>>> > not an expert but like to look inside erpnext, implement it and offer
>>>> > it to
>>>> > others.
>>>> > The supervisord.conf file bench is providing is just a part to be
>>>> > included
>>>> > in supervisord.conf. Am I right? Attached my config file, just in
>>>> > case...please take a look, since I'm realy not sure what I was
>>>> > doing...
>>>> > Thank you Pratik,
>>>> > I appreciate your support a lot!
>>>> > Camilo
>>>> >
>>>> >
>>>>
>>>> Hi Camilo,
>>>>
>>>> The bench can generate a config that you want.
>>>>
>>>> ```
>>>> bench config serve_default_site off
>>>> bench config dns_multitenant off
>>>> bench set-nginx-port {your-site} 8765
>>>> bench setup nginx
>>>> ```
>>>>
>>>> This should generate an nginx that doesn't listen on port 80. You can
>>>> regenerate supervisor config by running `bench setup supervisor`
>>>>
>>>> You have to link the config files in the correct config dirs of
>>>> nginx/supervisor for it to take effect.
>>>>
>>>> https://github.com/frappe/bench/#production-deployment >>>>
>>>> Thanks,
>>>> --
>>>> Pratik
>>>> ERPNext
>
> --
> Note:
>
> If you are posting an issue,
>
> 1. ERPNext is a free and open source software and support is given on this
> forum by a team (https://frappe.io/webnotes). So please consider donating if
> you find this forum useful (https://frappe.io/buy). Even a small amount
> would be helpful.
> 2. We should be able to replicate it at our end. So please give us as much
> information as you can. Please see it from the point of view of the person
> receiving the communication.
> 3. Paste your code at http://pastebin.com or http://gist.github.com and send
> only the URL via email
> 4. For sending images, use http://imgur.com or other similar services. Do
> not send images as attachments. Links are good. Same goes for any file you
> are going to send.
>
> End of Note
> ---
> You received this message because you are subscribed to the Google Groups
> "ERPNext Developer Forum" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to erpnext-developer-forum+un...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/erpnext-developer-forum/0f61a3fa-4fd0-4213-9dae-612e2c72b842%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.
--
Pratik
erpnext
–
Note:
If you are posting an issue,
ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
I installed Python2.7 but the system shows still Python 2.6.6
I think it has something to do with it but I don't know the solution yet. Any idea?
Thank you,
Camilo
On Monday, September 15, 2014 8:07:58 PM UTC+2, Pratik Vyas wrote:
Are processes running?
`supervisorctl status`
Log?
tail -n50 frappe-bench/logs/web.error.log
On Mon, Sep 15, 2014 at 11:14 PM, Camilo <ca...@gmail.com> wrote:
> NGNIX TALKING TO ME!!!!!:
>
> 502 Bad Gateway
>
>
> Allways near of supervisor to work. Thank you!
> Camilo
>
> On Monday, September 15, 2014 5:09:06 PM UTC+2, Camilo wrote:
>>
>> Also a question about this command line:
>> sudo ln -s `pwd`/config/supervisor.conf
>> /etc/supervisor/conf.d/frappe.conf
>>
>> Since the easy_install put supervisord.conf on /etc/supervisord.conf
>>
>> So it would be:
>> sudo ln -s `pwd`/config/supervisor.conf /etc/frappe.conf (OK???)
>>
>> And, may not be relevant, but your conf file name, supervisor.conf should
>> not be supervisord.conf ??
>> Sorry, I'm realy confused about this addresses...
>> Looking other instructions I have seen the dir: /etc/supervisord/conf.d/
>>
>> I appreciate,
>> best,
>> Camilo
>>
>>
>>
>> On Monday, September 15, 2014 4:02:49 PM UTC+2, Camilo wrote:
>>>
>>> Pratik,
>>> by {your-site} you mean the first site installed as {site1.local} or my
>>> first domain?
>>>
>>> bench set-nginx-port site1.local 8765
>>> bench set-nginx-port hydrocarbon-americas.com 8765
>>>
>>> I appreciate a lot and would love to be able to take part on the conf
>>> there on Sept. 25. Not possible jet but nextERP.conf
>>> Sincerely,
>>> Camilo
>>>
>>> On Monday, September 15, 2014 1:05:56 PM UTC+2, Pratik Vyas wrote:
>>>>
>>>> On Mon, Sep 15, 2014 at 2:52 PM, Camilo <ca...@gmail.com> wrote:
>>>> > Pratik, since apache is running on my server I was trying to run ngnix
>>>> > on
>>>> > 8080 or 8000. May this be the problem? Should I try to setup nginx
>>>> > only? I
>>>> > was very proud as 'bench start' was doing the job. Then, I understand
>>>> > the
>>>> > funktion of supervisord and started to setup it, but no success. I'm
>>>> > really
>>>> > not an expert but like to look inside erpnext, implement it and offer
>>>> > it to
>>>> > others.
>>>> > The supervisord.conf file bench is providing is just a part to be
>>>> > included
>>>> > in supervisord.conf. Am I right? Attached my config file, just in
>>>> > case...please take a look, since I'm realy not sure what I was
>>>> > doing...
>>>> > Thank you Pratik,
>>>> > I appreciate your support a lot!
>>>> > Camilo
>>>> >
>>>> >
>>>>
>>>> Hi Camilo,
>>>>
>>>> The bench can generate a config that you want.
>>>>
>>>> ```
>>>> bench config serve_default_site off
>>>> bench config dns_multitenant off
>>>> bench set-nginx-port {your-site} 8765
>>>> bench setup nginx
>>>> ```
>>>>
>>>> This should generate an nginx that doesn't listen on port 80. You can
>>>> regenerate supervisor config by running `bench setup supervisor`
>>>>
>>>> You have to link the config files in the correct config dirs of
>>>> nginx/supervisor for it to take effect.
>>>>
>>>> https://github.com/frappe/bench/#production-deployment >>>>
>>>> Thanks,
>>>> --
>>>> Pratik
>>>> ERPNext
>
> --
> Note:
>
> If you are posting an issue,
>
> 1. ERPNext is a free and open source software and support is given on this
> forum by a team (https://frappe.io/webnotes). So please consider donating if
> you find this forum useful (https://frappe.io/buy). Even a small amount
> would be helpful.
> 2. We should be able to replicate it at our end. So please give us as much
> information as you can. Please see it from the point of view of the person
> receiving the communication.
> 3. Paste your code at http://pastebin.com or http://gist.github.com and send
> only the URL via email
> 4. For sending images, use http://imgur.com or other similar services. Do
> not send images as attachments. Links are good. Same goes for any file you
> are going to send.
>
> End of Note
> ---
> You received this message because you are subscribed to the Google Groups
> "ERPNext Developer Forum" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to erpnext-developer-forum+un...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/erpnext-developer-forum/0f61a3fa-4fd0-4213-9dae-612e2c72b842%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.
--
Pratik
erpnext
–
Note:
If you are posting an issue,
ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
On Tuesday, September 16, 2014 12:38:10 AM UTC+5:30, Camilo wrote:
Pratik,
I installed Python2.7 but the system shows still Python 2.6.6
I think it has something to do with it but I don't know the solution yet. Any idea?
Thank you,
Camilo
On Monday, September 15, 2014 8:07:58 PM UTC+2, Pratik Vyas wrote:
Are processes running?
`supervisorctl status`
Log?
tail -n50 frappe-bench/logs/web.error.log
On Mon, Sep 15, 2014 at 11:14 PM, Camilo <ca...@gmail.com> wrote:
> NGNIX TALKING TO ME!!!!!:
>
> 502 Bad Gateway
>
>
> Allways near of supervisor to work. Thank you!
> Camilo
>
> On Monday, September 15, 2014 5:09:06 PM UTC+2, Camilo wrote:
>>
>> Also a question about this command line:
>> sudo ln -s `pwd`/config/supervisor.conf
>> /etc/supervisor/conf.d/frappe.conf
>>
>> Since the easy_install put supervisord.conf on /etc/supervisord.conf
>>
>> So it would be:
>> sudo ln -s `pwd`/config/supervisor.conf /etc/frappe.conf (OK???)
>>
>> And, may not be relevant, but your conf file name, supervisor.conf should
>> not be supervisord.conf ??
>> Sorry, I'm realy confused about this addresses...
>> Looking other instructions I have seen the dir: /etc/supervisord/conf.d/
>>
>> I appreciate,
>> best,
>> Camilo
>>
>>
>>
>> On Monday, September 15, 2014 4:02:49 PM UTC+2, Camilo wrote:
>>>
>>> Pratik,
>>> by {your-site} you mean the first site installed as {site1.local} or my
>>> first domain?
>>>
>>> bench set-nginx-port site1.local 8765
>>> bench set-nginx-port hydrocarbon-americas.com 8765
>>>
>>> I appreciate a lot and would love to be able to take part on the conf
>>> there on Sept. 25. Not possible jet but nextERP.conf
>>> Sincerely,
>>> Camilo
>>>
>>> On Monday, September 15, 2014 1:05:56 PM UTC+2, Pratik Vyas wrote:
>>>>
>>>> On Mon, Sep 15, 2014 at 2:52 PM, Camilo <ca...@gmail.com> wrote:
>>>> > Pratik, since apache is running on my server I was trying to run ngnix
>>>> > on
>>>> > 8080 or 8000. May this be the problem? Should I try to setup nginx
>>>> > only? I
>>>> > was very proud as 'bench start' was doing the job. Then, I understand
>>>> > the
>>>> > funktion of supervisord and started to setup it, but no success. I'm
>>>> > really
>>>> > not an expert but like to look inside erpnext, implement it and offer
>>>> > it to
>>>> > others.
>>>> > The supervisord.conf file bench is providing is just a part to be
>>>> > included
>>>> > in supervisord.conf. Am I right? Attached my config file, just in
>>>> > case...please take a look, since I'm realy not sure what I was
>>>> > doing...
>>>> > Thank you Pratik,
>>>> > I appreciate your support a lot!
>>>> > Camilo
>>>> >
>>>> >
>>>>
>>>> Hi Camilo,
>>>>
>>>> The bench can generate a config that you want.
>>>>
>>>> ```
>>>> bench config serve_default_site off
>>>> bench config dns_multitenant off
>>>> bench set-nginx-port {your-site} 8765
>>>> bench setup nginx
>>>> ```
>>>>
>>>> This should generate an nginx that doesn't listen on port 80. You can
>>>> regenerate supervisor config by running `bench setup supervisor`
>>>>
>>>> You have to link the config files in the correct config dirs of
>>>> nginx/supervisor for it to take effect.
>>>>
>>>> https://github.com/frappe/bench/#production-deployment >>>>
>>>> Thanks,
>>>> --
>>>> Pratik
>>>> ERPNext
>
> --
> Note:
>
> If you are posting an issue,
>
> 1. ERPNext is a free and open source software and support is given on this
> forum by a team (https://frappe.io/webnotes). So please consider donating if
> you find this forum useful (https://frappe.io/buy). Even a small amount
> would be helpful.
> 2. We should be able to replicate it at our end. So please give us as much
> information as you can. Please see it from the point of view of the person
> receiving the communication.
> 3. Paste your code at http://pastebin.com or http://gist.github.com and send
> only the URL via email
> 4. For sending images, use http://imgur.com or other similar services. Do
> not send images as attachments. Links are good. Same goes for any file you
> are going to send.
>
> End of Note
> ---
> You received this message because you are subscribed to the Google Groups
> "ERPNext Developer Forum" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to erpnext-developer-forum+un...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/erpnext-developer-forum/0f61a3fa-4fd0-4213-9dae-612e2c72b842%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.
--
Pratik
erpnext
–
Note:
If you are posting an issue,
ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
On Mon, Sep 15, 2014 at 11:51 PM, Camilo ca...@gmail.com wrote:
Two of them:
Exception KeyError: KeyError(46928062566912,) in <module ‘threading’ from
‘/usr/local/lib/python2.7/threading.pyc’> ignored
Exception KeyError: KeyError(47283097993728,) in <module ‘threading’ from
‘/usr/local/lib/python2.7/threading.pyc’> ignored
Gunicorn is using Python 2.7 (evident from the traceback). Can you try
restarting the processes?