Almost ready to implement erpnext

Hello Pratik, This is what I get. What this mean, please. Thank you

ro...@vps [~/frappe-bench]# supervisorctl status
frappe:frappe-web RUNNING pid 3154, uptime 15:04:20
frappe:frappe-worker RUNNING pid 3153, uptime 15:04:20
frappe:frappe-workerbeat RUNNING pid 3155, uptime 15:04:20
ro...@vps [~/frappe-bench]# supervisorctl restart frappe
frappe: ERROR (no such process)
frappe: ERROR (no such process)
ro...@vps [~/frappe-bench]#


2014-09-16 5:51 GMT+02:00 Pratik Vyas <pd...@gmail.com>:
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?

`sudo supervisorctl restart frappe:`

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 a topic in the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/erpnext-developer-forum/BIz4bhKo_-Q/unsubscribe.
To unsubscribe from this group and all its topics, 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/CAG8U0En6ojXb5iMV1R4WtH3Jmp%2Bzb0_4BbfrDk0vHoqGBBDc9Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.



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/CAN24MNGX2xRO4UvH6xGN1zawV7v%3DJ7RW-Jf1Mw8xD-Udao6YGw%40mail.gmail.com.

    For more options, visit https://groups.google.com/d/optout.

On Tue, Sep 16, 2014 at 4:38 PM, Camilo Correa ca...@gmail.com wrote:

Hello Pratik, This is what I get. What this mean, please. Thank you

ro…@vps [~/frappe-bench]# supervisorctl status
frappe:frappe-web RUNNING pid 3154, uptime 15:04:20
frappe:frappe-worker RUNNING pid 3153, uptime 15:04:20
frappe:frappe-workerbeat RUNNING pid 3155, uptime 15:04:20
ro…@vps [~/frappe-bench]# supervisorctl restart frappe
frappe: ERROR (no such process)
frappe: ERROR (no such process)
ro…@vps [~/frappe-bench]#

You forgot the colon in the end,

supervisorctl restart frappe:

Also, after you restart, what is the output of curl localhost:8000

Sunil,
Yes, I will consider DigitalOcean as soon as our contract is near to the end. I hear good things about. Thank you.
I hope it willo be possible to get supervisor doing th job...
Camilo

On Tuesday, September 16, 2014 5:31:40 AM UTC+2, Sunil Kumar wrote:
Hello Camilo,

I think issue is with your server configuration. Otherwise ERPNext installation for production/development is just a 5 min job.

I would say, try once DigitalOcean, amazon, Google. I'm sure your ERPNext experience will be smooth.

----
Sunil
Partner for ERPNext 

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,

 

  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/3e93d28f-ad83-4f9d-956a-803a3839d65a%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
Thank you!

curl: (7) couldn't connect to host


On Tuesday, September 16, 2014 1:19:44 PM UTC+2, Pratik Vyas wrote:
On Tue, Sep 16, 2014 at 4:38 PM, Camilo Correa <ca...@gmail.com> wrote:
> Hello Pratik, This is what I get. What this mean, please. Thank you
>
> ro...@vps [~/frappe-bench]# supervisorctl status
> frappe:frappe-web                RUNNING   pid 3154, uptime 15:04:20
> frappe:frappe-worker             RUNNING   pid 3153, uptime 15:04:20
> frappe:frappe-workerbeat         RUNNING   pid 3155, uptime 15:04:20
> ro...@vps [~/frappe-bench]# supervisorctl restart frappe
> frappe: ERROR (no such process)
> frappe: ERROR (no such process)
> ro...@vps [~/frappe-bench]#
>

You forgot the colon in the end,

`supervisorctl restart frappe:`

Also, after you restart, what is the output of `curl localhost:8000`



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/c7703260-1e10-4111-802d-434486811042%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.

Alright that means that gunicorn is not running. Can you stop
supervisor and try this,

supervisorctl stop frappe:

cd frappe-bench/sites
../env/bin/gunicorn -b 127.0.0.1:8000 frappe.app:application

The above command is what supervisor will try to run.

On Tue, Sep 16, 2014 at 4:54 PM, Camilo ca...@gmail.com wrote:

Thank you!

curl: (7) couldn’t connect to host

On Tuesday, September 16, 2014 1:19:44 PM UTC+2, Pratik Vyas wrote:

On Tue, Sep 16, 2014 at 4:38 PM, Camilo Correa ca...@gmail.com
wrote:

Hello Pratik, This is what I get. What this mean, please. Thank you

ro…@vps [~/frappe-bench]# supervisorctl status
frappe:frappe-web RUNNING pid 3154, uptime 15:04:20
frappe:frappe-worker RUNNING pid 3153, uptime 15:04:20
frappe:frappe-workerbeat RUNNING pid 3155, uptime 15:04:20
ro…@vps [~/frappe-bench]# supervisorctl restart frappe
frappe: ERROR (no such process)
frappe: ERROR (no such process)
ro…@vps [~/frappe-bench]#

You forgot the colon in the end,

supervisorctl restart frappe:

Also, after you restart, what is the output of curl localhost:8000


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/c7703260-1e10-4111-802d-434486811042%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


Pratik
erpnext

Done!
ro...@vps [~/frappe-bench]# supervisorctl stop frappe:
frappe:frappe-web: stopped
frappe:frappe-workerbeat: stopped
frappe:frappe-worker: stopped
ro...@vps [~/frappe-bench]# cd sites
ro...@vps [~/frappe-bench/sites]# ../env/bin/gunicorn -b 127.0.0.1:8000 frappe.app:application


no answer at all.

On Tuesday, September 16, 2014 3:50:02 PM UTC+2, Pratik Vyas wrote:
Alright that means that gunicorn is not running. Can you stop
supervisor and try this,

`supervisorctl stop frappe:`

```
cd frappe-bench/sites
../env/bin/gunicorn -b 127.0.0.1:8000 frappe.app:application

```

The above command is what supervisor will try to run.

On Tue, Sep 16, 2014 at 4:54 PM, Camilo <ca...@gmail.com> wrote:
> Thank you!
>
> curl: (7) couldn't connect to host
>
>
> On Tuesday, September 16, 2014 1:19:44 PM UTC+2, Pratik Vyas wrote:
>>
>> On Tue, Sep 16, 2014 at 4:38 PM, Camilo Correa <ca...@gmail.com>
>> wrote:
>> > Hello Pratik, This is what I get. What this mean, please. Thank you
>> >
>> > ro...@vps [~/frappe-bench]# supervisorctl status
>> > frappe:frappe-web                RUNNING   pid 3154, uptime 15:04:20
>> > frappe:frappe-worker             RUNNING   pid 3153, uptime 15:04:20
>> > frappe:frappe-workerbeat         RUNNING   pid 3155, uptime 15:04:20
>> > ro...@vps [~/frappe-bench]# supervisorctl restart frappe
>> > frappe: ERROR (no such process)
>> > frappe: ERROR (no such process)
>> > ro...@vps [~/frappe-bench]#
>> >
>>
>> You forgot the colon in the end,
>>
>> `supervisorctl restart frappe:`
>>
>> Also, after you restart, what is the output of `curl localhost:8000`
>
> --
> 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/c7703260-1e10-4111-802d-434486811042%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.



--
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/8c52b13f-b30a-467a-a245-f8346a07663d%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
but now I access the site "incomplete" at port 8765: http://promusica.co:8765/

success??...
Thanks,
Camilo

On Tuesday, September 16, 2014 3:50:02 PM UTC+2, Pratik Vyas wrote:
Alright that means that gunicorn is not running. Can you stop
supervisor and try this,

`supervisorctl stop frappe:`

```
cd frappe-bench/sites
../env/bin/gunicorn -b 127.0.0.1:8000 frappe.app:application

```

The above command is what supervisor will try to run.

On Tue, Sep 16, 2014 at 4:54 PM, Camilo <ca...@gmail.com> wrote:
> Thank you!
>
> curl: (7) couldn't connect to host
>
>
> On Tuesday, September 16, 2014 1:19:44 PM UTC+2, Pratik Vyas wrote:
>>
>> On Tue, Sep 16, 2014 at 4:38 PM, Camilo Correa <ca...@gmail.com>
>> wrote:
>> > Hello Pratik, This is what I get. What this mean, please. Thank you
>> >
>> > ro...@vps [~/frappe-bench]# supervisorctl status
>> > frappe:frappe-web                RUNNING   pid 3154, uptime 15:04:20
>> > frappe:frappe-worker             RUNNING   pid 3153, uptime 15:04:20
>> > frappe:frappe-workerbeat         RUNNING   pid 3155, uptime 15:04:20
>> > ro...@vps [~/frappe-bench]# supervisorctl restart frappe
>> > frappe: ERROR (no such process)
>> > frappe: ERROR (no such process)
>> > ro...@vps [~/frappe-bench]#
>> >
>>
>> You forgot the colon in the end,
>>
>> `supervisorctl restart frappe:`
>>
>> Also, after you restart, what is the output of `curl localhost:8000`
>
> --
> 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/c7703260-1e10-4111-802d-434486811042%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.



--
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/06644f75-2c2d-431e-88fb-ca0d8087802a%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.

Post your gunicorn and nginx config (via dpaste.com)

On Tue, Sep 16, 2014 at 7:49 PM, Camilo ca...@gmail.com wrote:

but now I access the site “incomplete” at port 8765:
http://promusica.co:8765/

success??..
Thanks,
Camilo

On Tuesday, September 16, 2014 3:50:02 PM UTC+2, Pratik Vyas wrote:

Alright that means that gunicorn is not running. Can you stop
supervisor and try this,

supervisorctl stop frappe:

cd frappe-bench/sites
../env/bin/gunicorn -b 127.0.0.1:8000 frappe.app:application

The above command is what supervisor will try to run.

On Tue, Sep 16, 2014 at 4:54 PM, Camilo ca...@gmail.com wrote:

Thank you!

curl: (7) couldn’t connect to host

On Tuesday, September 16, 2014 1:19:44 PM UTC+2, Pratik Vyas wrote:

On Tue, Sep 16, 2014 at 4:38 PM, Camilo Correa ca...@gmail.com
wrote:

Hello Pratik, This is what I get. What this mean, please. Thank you

ro…@vps [~/frappe-bench]# supervisorctl status
frappe:frappe-web RUNNING pid 3154, uptime 15:04:20
frappe:frappe-worker RUNNING pid 3153, uptime 15:04:20
frappe:frappe-workerbeat RUNNING pid 3155, uptime 15:04:20
ro…@vps [~/frappe-bench]# supervisorctl restart frappe
frappe: ERROR (no such process)
frappe: ERROR (no such process)
ro…@vps [~/frappe-bench]#

You forgot the colon in the end,

supervisorctl restart frappe:

Also, after you restart, what is the output of curl localhost:8000


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/c7703260-1e10-4111-802d-434486811042%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


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/06644f75-2c2d-431e-88fb-ca0d8087802a%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


Pratik
erpnext

sorry Pratik, which is the name of the gunicorn conf file. just gunicorn? Thank you.

On Tuesday, September 16, 2014 4:38:26 PM UTC+2, Pratik Vyas wrote:
Post your gunicorn and nginx config (via dpaste.com)

On Tue, Sep 16, 2014 at 7:49 PM, Camilo <ca...@gmail.com> wrote:
> but now I access the site "incomplete" at port 8765:
> http://promusica.co:8765/
>
> success??...
> Thanks,
> Camilo
>
> On Tuesday, September 16, 2014 3:50:02 PM UTC+2, Pratik Vyas wrote:
>>
>> Alright that means that gunicorn is not running. Can you stop
>> supervisor and try this,
>>
>> `supervisorctl stop frappe:`
>>
>> ```
>> cd frappe-bench/sites
>> ../env/bin/gunicorn -b 127.0.0.1:8000 frappe.app:application
>>
>> ```
>>
>> The above command is what supervisor will try to run.
>>
>> On Tue, Sep 16, 2014 at 4:54 PM, Camilo <ca...@gmail.com> wrote:
>> > Thank you!
>> >
>> > curl: (7) couldn't connect to host
>> >
>> >
>> > On Tuesday, September 16, 2014 1:19:44 PM UTC+2, Pratik Vyas wrote:
>> >>
>> >> On Tue, Sep 16, 2014 at 4:38 PM, Camilo Correa <ca...@gmail.com>
>> >> wrote:
>> >> > Hello Pratik, This is what I get. What this mean, please. Thank you
>> >> >
>> >> > ro...@vps [~/frappe-bench]# supervisorctl status
>> >> > frappe:frappe-web                RUNNING   pid 3154, uptime 15:04:20
>> >> > frappe:frappe-worker             RUNNING   pid 3153, uptime 15:04:20
>> >> > frappe:frappe-workerbeat         RUNNING   pid 3155, uptime 15:04:20
>> >> > ro...@vps [~/frappe-bench]# supervisorctl restart frappe
>> >> > frappe: ERROR (no such process)
>> >> > frappe: ERROR (no such process)
>> >> > ro...@vps [~/frappe-bench]#
>> >> >
>> >>
>> >> You forgot the colon in the end,
>> >>
>> >> `supervisorctl restart frappe:`
>> >>
>> >> Also, after you restart, what is the output of `curl localhost:8000`
>> >
>> > --
>> > 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/c7703260-1e10-4111-802d-434486811042%40googlegroups.com.
>> >
>> > For more options, visit https://groups.google.com/d/optout.
>>
>>
>>
>> --
>> 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/06644f75-2c2d-431e-88fb-ca0d8087802a%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.



--
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/9fb759f6-1aaa-4109-a7c7-0757aa2a59ad%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
now I know how dpaste works!...sorry for the delay. Thank you!!

http://dpaste.com/35YE793
http://dpaste.com/247JZNR


On Tuesday, September 16, 2014 4:38:26 PM UTC+2, Pratik Vyas wrote:
Post your gunicorn and nginx config (via dpaste.com)

On Tue, Sep 16, 2014 at 7:49 PM, Camilo <ca...@gmail.com> wrote:
> but now I access the site "incomplete" at port 8765:
> http://promusica.co:8765/
>
> success??...
> Thanks,
> Camilo
>
> On Tuesday, September 16, 2014 3:50:02 PM UTC+2, Pratik Vyas wrote:
>>
>> Alright that means that gunicorn is not running. Can you stop
>> supervisor and try this,
>>
>> `supervisorctl stop frappe:`
>>
>> ```
>> cd frappe-bench/sites
>> ../env/bin/gunicorn -b 127.0.0.1:8000 frappe.app:application
>>
>> ```
>>
>> The above command is what supervisor will try to run.
>>
>> On Tue, Sep 16, 2014 at 4:54 PM, Camilo <ca...@gmail.com> wrote:
>> > Thank you!
>> >
>> > curl: (7) couldn't connect to host
>> >
>> >
>> > On Tuesday, September 16, 2014 1:19:44 PM UTC+2, Pratik Vyas wrote:
>> >>
>> >> On Tue, Sep 16, 2014 at 4:38 PM, Camilo Correa <ca...@gmail.com>
>> >> wrote:
>> >> > Hello Pratik, This is what I get. What this mean, please. Thank you
>> >> >
>> >> > ro...@vps [~/frappe-bench]# supervisorctl status
>> >> > frappe:frappe-web                RUNNING   pid 3154, uptime 15:04:20
>> >> > frappe:frappe-worker             RUNNING   pid 3153, uptime 15:04:20
>> >> > frappe:frappe-workerbeat         RUNNING   pid 3155, uptime 15:04:20
>> >> > ro...@vps [~/frappe-bench]# supervisorctl restart frappe
>> >> > frappe: ERROR (no such process)
>> >> > frappe: ERROR (no such process)
>> >> > ro...@vps [~/frappe-bench]#
>> >> >
>> >>
>> >> You forgot the colon in the end,
>> >>
>> >> `supervisorctl restart frappe:`
>> >>
>> >> Also, after you restart, what is the output of `curl localhost:8000`
>> >
>> > --
>> > 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/c7703260-1e10-4111-802d-434486811042%40googlegroups.com.
>> >
>> > For more options, visit https://groups.google.com/d/optout.
>>
>>
>>
>> --
>> 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/06644f75-2c2d-431e-88fb-ca0d8087802a%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.



--
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/e221c664-531a-42f4-b735-05d9ddb32e16%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
Sunil,

The experience with DigitalOcean was awesome, although trying to install ERPNext  manualy brougth me to understand more the components and how it works.

"Setup-frappe.sh" did the job perfectly!

Still, I'm havig dificulties with supervisor. I will come back with details. For now, thank you! all for your help and advice.
Camilo

On Tuesday, September 16, 2014 5:31:40 AM UTC+2, Sunil Kumar wrote:
Hello Camilo,

I think issue is with your server configuration. Otherwise ERPNext installation for production/development is just a 5 min job.

I would say, try once DigitalOcean, amazon, Google. I'm sure your ERPNext experience will be smooth.

----
Sunil
Partner for ERPNext 

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,

 

  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/b1f64a42-9931-411d-a296-cd58933ff7c4%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
Best of luck Camilo.

If you looking for performance even better than DigitalOcean, try Google cloud platform. 
For testing purpose, I have installed ERPNext on Azure, Amazon, Openshift, DigitalOcean and Google. Every where I got issue pertains of Nginx & supervisor but Google instance is up and running without any issue till yet. 

Reread & update supervisor, it might work for you :)

sudo supervisorctl reread
sudo supervisorctl update

----
Sunil
Partner for ERPNext 

On Friday, September 19, 2014 5:26:50 PM UTC+5:30, Camilo wrote:
Sunil,

The experience with DigitalOcean was awesome, although trying to install ERPNext  manualy brougth me to understand more the components and how it works.

"Setup-frappe.sh" did the job perfectly!

Still, I'm havig dificulties with supervisor. I will come back with details. For now, thank you! all for your help and advice.
Camilo

On Tuesday, September 16, 2014 5:31:40 AM UTC+2, Sunil Kumar wrote:
Hello Camilo,

I think issue is with your server configuration. Otherwise ERPNext installation for production/development is just a 5 min job.

I would say, try once DigitalOcean, amazon, Google. I'm sure your ERPNext experience will be smooth.

----
Sunil
Partner for ERPNext 

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,

 

  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/e796a40b-f417-4cc9-a356-4b8fb0e5c866%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.

Thanks.

Sorry, I meant supervisor config

On Thu, Sep 18, 2014 at 4:20 PM, Camilo <ca...@gmail.com> wrote:
> now I know how dpaste works!...sorry for the delay. Thank you!!
>
> http://dpaste.com/35YE793
> http://dpaste.com/247JZNR
>
>
> On Tuesday, September 16, 2014 4:38:26 PM UTC+2, Pratik Vyas wrote:
>>
>> Post your gunicorn and nginx config (via dpaste.com)
>>
>> On Tue, Sep 16, 2014 at 7:49 PM, Camilo <ca...@gmail.com> wrote:
>> > but now I access the site "incomplete" at port 8765:
>> > http://promusica.co:8765/
>> >
>> > success??...
>> > Thanks,
>> > Camilo
>> >
>> > On Tuesday, September 16, 2014 3:50:02 PM UTC+2, Pratik Vyas wrote:
>> >>
>> >> Alright that means that gunicorn is not running. Can you stop
>> >> supervisor and try this,
>> >>
>> >> `supervisorctl stop frappe:`
>> >>
>> >> ```
>> >> cd frappe-bench/sites
>> >> ../env/bin/gunicorn -b 127.0.0.1:8000 frappe.app:application
>> >>
>> >> ```
>> >>
>> >> The above command is what supervisor will try to run.
>> >>
>> >> On Tue, Sep 16, 2014 at 4:54 PM, Camilo <ca...@gmail.com> wrote:
>> >> > Thank you!
>> >> >
>> >> > curl: (7) couldn't connect to host
>> >> >
>> >> >
>> >> > On Tuesday, September 16, 2014 1:19:44 PM UTC+2, Pratik Vyas wrote:
>> >> >>
>> >> >> On Tue, Sep 16, 2014 at 4:38 PM, Camilo Correa <ca...@gmail.com>
>> >> >> wrote:
>> >> >> > Hello Pratik, This is what I get. What this mean, please. Thank
>> >> >> > you
>> >> >> >
>> >> >> > ro...@vps [~/frappe-bench]# supervisorctl status
>> >> >> > frappe:frappe-web RUNNING pid 3154, uptime
>> >> >> > 15:04:20
>> >> >> > frappe:frappe-worker RUNNING pid 3153, uptime
>> >> >> > 15:04:20
>> >> >> > frappe:frappe-workerbeat RUNNING pid 3155, uptime
>> >> >> > 15:04:20
>> >> >> > ro...@vps [~/frappe-bench]# supervisorctl restart frappe
>> >> >> > frappe: ERROR (no such process)
>> >> >> > frappe: ERROR (no such process)
>> >> >> > ro...@vps [~/frappe-bench]#
>> >> >> >
>> >> >>
>> >> >> You forgot the colon in the end,
>> >> >>
>> >> >> `supervisorctl restart frappe:`
>> >> >>
>> >> >> Also, after you restart, what is the output of `curl localhost:8000`
>> >> >
>> >> > --
>> >> > 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/c7703260-1e10-4111-802d-434486811042%40googlegroups.com.
>> >> >
>> >> > For more options, visit https://groups.google.com/d/optout.
>> >>
>> >>
>> >>
>> >> --
>> >> 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/06644f75-2c2d-431e-88fb-ca0d8087802a%40googlegroups.com.
>> >
>> > For more options, visit https://groups.google.com/d/optout.
>>
>>
>>
>> --
>> 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/e221c664-531a-42f4-b735-05d9ddb32e16%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.

--
Pratik
erpnext

This is it, supervisor.conf

http://dpaste.com/3HW3W31

I will be able to look at it again in 2 hours or so.
Thank you!
Camilo

On Friday, September 19, 2014 7:14:58 PM UTC+2, Pratik Vyas wrote:

Thanks.

Sorry, I meant supervisor config

On Thu, Sep 18, 2014 at 4:20 PM, Camilo <ca...@gmail.com> wrote:
> now I know how dpaste works!...sorry for the delay. Thank you!!
>
> http://dpaste.com/35YE793
> http://dpaste.com/247JZNR
>
>
> On Tuesday, September 16, 2014 4:38:26 PM UTC+2, Pratik Vyas wrote:
>>
>> Post your gunicorn and nginx config (via dpaste.com)
>>
>> On Tue, Sep 16, 2014 at 7:49 PM, Camilo <ca...@gmail.com> wrote:
>> > but now I access the site "incomplete" at port 8765:
>> > http://promusica.co:8765/
>> >
>> > success??...
>> > Thanks,
>> > Camilo
>> >
>> > On Tuesday, September 16, 2014 3:50:02 PM UTC+2, Pratik Vyas wrote:
>> >>
>> >> Alright that means that gunicorn is not running. Can you stop
>> >> supervisor and try this,
>> >>
>> >> `supervisorctl stop frappe:`
>> >>
>> >> ```
>> >> cd frappe-bench/sites
>> >> ../env/bin/gunicorn -b 127.0.0.1:8000 frappe.app:application
>> >>
>> >> ```
>> >>
>> >> The above command is what supervisor will try to run.
>> >>
>> >> On Tue, Sep 16, 2014 at 4:54 PM, Camilo <ca...@gmail.com> wrote:
>> >> > Thank you!
>> >> >
>> >> > curl: (7) couldn't connect to host
>> >> >
>> >> >
>> >> > On Tuesday, September 16, 2014 1:19:44 PM UTC+2, Pratik Vyas wrote:
>> >> >>
>> >> >> On Tue, Sep 16, 2014 at 4:38 PM, Camilo Correa <ca...@gmail.com>
>> >> >> wrote:
>> >> >> > Hello Pratik, This is what I get. What this mean, please. Thank
>> >> >> > you
>> >> >> >
>> >> >> > ro...@vps [~/frappe-bench]# supervisorctl status
>> >> >> > frappe:frappe-web RUNNING pid 3154, uptime
>> >> >> > 15:04:20
>> >> >> > frappe:frappe-worker RUNNING pid 3153, uptime
>> >> >> > 15:04:20
>> >> >> > frappe:frappe-workerbeat RUNNING pid 3155, uptime
>> >> >> > 15:04:20
>> >> >> > ro...@vps [~/frappe-bench]# supervisorctl restart frappe
>> >> >> > frappe: ERROR (no such process)
>> >> >> > frappe: ERROR (no such process)
>> >> >> > ro...@vps [~/frappe-bench]#
>> >> >> >
>> >> >>
>> >> >> You forgot the colon in the end,
>> >> >>
>> >> >> `supervisorctl restart frappe:`
>> >> >>
>> >> >> Also, after you restart, what is the output of `curl localhost:8000`
>> >> >
>> >> > --
>> >> > 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/c7703260-1e10-4111-802d-434486811042%40googlegroups.com.
>> >> >
>> >> > For more options, visit https://groups.google.com/d/optout.
>> >>
>> >>
>> >>
>> >> --
>> >> 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/06644f75-2c2d-431e-88fb-ca0d8087802a%40googlegroups.com.
>> >
>> > For more options, visit https://groups.google.com/d/optout.
>>
>>
>>
>> --
>> 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/e221c664-531a-42f4-b735-05d9ddb32e16%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.

--
Pratik
erpnext


  1. Please be kind and don't send large attachments
  2. For issues, features requests use https://github.com/frappe/erpnext/issues



    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/4e3b7543-3f71-4662-88ed-7759524ccf52%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.

Hi Pratik,
Hi Sunil,

Much success with digitalocean! Thank you! your setup.sh, PERFECT!
I’m implementing erpnext.

Now trying to config nginx for phpmyadmin but may you know a good way to do it? I’m only running nginx. php5 already in place.

I would like to help others in need of such a good ERP.
With my kindest regards,
Camilo

No experience with phpmyadmin with nginx. Any specific reason why you need it?

To get a mysql shell, you can run

bench frappe --mysql {sitename}