I've created 2 separate sites locally - site1.local and site2.local. First is my actual ERPNext setup and 2nd one is the demo.
I've also made port changes as mentioned in the multi-tenant setup guide (site2 mapped to port 82)
How do I actually access site2? (localhost:8082, localhost:82 not working)
Right now, I need to set one of them as default to be able to access it on localhost:8000
Thanks a lot!
Omkar
–
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.
Yes.. I've setup nginx. My /nginx/conf.d has a frappe.conf which lists both the servers/ports/sites.
Is there any additional setting I should be checking?
Thanks for the response,
Omkar
On Thu, Sep 4, 2014 at 12:28 PM, Pratik Vyas <pd...@gmail.com> wrote:
On Thu, Sep 4, 2014 at 11:47 AM, Omkar Ghatpande
<om...@gmail.com> wrote:
> Guys, sorry.. Rookie question.
>
> I've created 2 separate sites locally - site1.local and site2.local. First
> is my actual ERPNext setup and 2nd one is the demo.
>
> I've also made port changes as mentioned in the multi-tenant setup guide
> (site2 mapped to port 82)
>
> How do I actually access site2? (localhost:8082, localhost:82 not working)
>
> Right now, I need to set one of them as default to be able to access it on
> localhost:8000
>
> Thanks a lot!
>
> Omkar
Hi Omkar,
Have you setup nginx?
If yes, did you try reloading it?
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.
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.
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 Thu, Sep 4, 2014 at 2:41 PM, Pratik Vyas <pd...@gmail.com> wrote:
On Thu, Sep 4, 2014 at 12:39 PM, Omkar Ghatpande
<om...@gmail.com> wrote:
> Hi Pratik,
>
> Yes.. I've setup nginx. My /nginx/conf.d has a frappe.conf which lists both
> the servers/ports/sites.
>
> Is there any additional setting I should be checking?
>
> Thanks for the response,
>
> Omkar
>
Hi Omkar,
Is nginx running? Test using `curl localhost:80`
If yes, please post the generated nginx config on dpaste.com.
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.
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.
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.
If your config is correctly linked, your nginx restart must have
failed complaining that there are two default server block for port
80.
what is the output of
`sudo service nginx restart`?
--
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.
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.
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.
Update - removed both default files from /nginx/sites-enabled and /nginx/sites-available. Now I'm able to start/restart nginx properly. I can also access localhost:82 but again it'll load with my default site.
Any pointers?
Thanks,
Omkar
On Thu, Sep 4, 2014 at 3:54 PM, Omkar Ghatpande <om...@gmail.com> wrote:
Yup, not able to restart - though not sure how I can see the localhost page :)
om...@omkar-Vostro-1014:~$ sudo service nginx restart
If your config is correctly linked, your nginx restart must have
failed complaining that there are two default server block for port
80.
what is the output of
`sudo service nginx restart`?
--
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.
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.
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 Thu, Sep 4, 2014 at 4:20 PM, Omkar Ghatpande om...@gmail.com wrote:
Hi Pratik,
Update - removed both default files from /nginx/sites-enabled and
/nginx/sites-available. Now I’m able to start/restart nginx properly. I can
also access localhost:82 but again it’ll load with my default site.
On 04-Sep-2014 9:34 pm, "Pratik Vyas" <pd...@gmail.com> wrote:
>
> On Thu, Sep 4, 2014 at 4:20 PM, Omkar Ghatpande
> <om...@gmail.com> wrote:
> > Hi Pratik,
> >
> > Update - removed both default files from /nginx/sites-enabled and
> > /nginx/sites-available. Now I'm able to start/restart nginx properly. I can
> > also access localhost:82 but again it'll load with my default site.
> >
> > Any pointers?
> >
>
> Are you running supervisor or `bench start`?
Using 'bench start'
>
> --
> 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.
> 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.
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 did the supervisor setup.. and restarted my box. On grep bench, I can see that bench is running.
I assume, Supervisor takes care of application start-up, but now I'm getting a '404 Not Found' while accessing the application. Not able to 'bench start' as well because processes are already running.
Any missing step?
Thanks for all your help Pratik,
Omkar
On Thu, Sep 4, 2014 at 9:48 PM, Pratik Vyas <pd...@gmail.com> wrote:
> Using 'bench start'
`bench start` will always use the default site. Configure supervisor.
It will also start the erpnext service on boot.
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.
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.
Update - Application accessible on 127.0.0.1 (I was trying with localhost.. not sure what's the difference)
So now, how should I access my 2nd site? I'm getting the default one at 127.0.0.1
Thanks,
Omkar
On Fri, Sep 5, 2014 at 2:53 PM, Omkar Ghatpande <om...@gmail.com> wrote:
I did the supervisor setup.. and restarted my box. On grep bench, I can see that bench is running.
I assume, Supervisor takes care of application start-up, but now I'm getting a '404 Not Found' while accessing the application. Not able to 'bench start' as well because processes are already running.
Any missing step?
Thanks for all your help Pratik,
Omkar
On Thu, Sep 4, 2014 at 9:48 PM, Pratik Vyas <pd...@gmail.com> wrote:
> Using 'bench start'
`bench start` will always use the default site. Configure supervisor.
It will also start the erpnext service on boot.
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.
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.
Yup, that did it. Was not accessible before, so reset my port for the 2nd site which is accessible now.
Thanks a lot!
Omkar
On Fri, Sep 5, 2014 at 3:32 PM, Pratik Vyas <pd...@gmail.com> wrote:
On Fri, Sep 5, 2014 at 3:08 PM, Omkar Ghatpande
<om...@gmail.com> wrote:
> Update - Application accessible on 127.0.0.1 (I was trying with localhost..
> not sure what's the difference)
>
> So now, how should I access my 2nd site? I'm getting the default one at
> 127.0.0.1
>
> Thanks,
>
> Omkar
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.
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 Fri, Sep 5, 2014 at 5:00 PM, Pratik Vyas <pd...@gmail.com> wrote:
On Fri, Sep 5, 2014 at 3:42 PM, Omkar Ghatpande
<om...@gmail.com> wrote:
> Yup, that did it. Was not accessible before, so reset my port for the 2nd
> site which is accessible now.
>
> Thanks a lot!
>
> Omkar
2 small points which I think might be helpful for others:
1. In the 2nd section, need to mention - Supervisor setup is required and 2nd site can be accessed at localhost:<port set above>
2. In the 'reload nginx', I had to run 'sudo service nginx reload' on ubuntu. (Correction might be required). Also, need to make sure /nginx/sites-enabled and /nginx/sites-available is empty (was not in my case).
Thanks
Omkar
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.
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.