Setting up new site

Hello,


System is already in multi-tenancy. I want to setup new site on this system.
Please let me know whether following steps are good enough to setup a site.

Note : Logged in as root user and then switched to user erpnext :- su erpnext

Step 1: Activate environment :- source env/bin/activate

Step 2: Create new Site :- bench new-site fx.xbs360.com

Step 3: Add entry to nginx under /etc/nginx/conf.d/frappe.conf

Step 4: Reload gunicorn and nginx
 
Thank You,



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/f46cf248-7686-4826-8b38-fa80fc2d2388%40googlegroups.com.

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

On Tue, Sep 9, 2014 at 10:44 AM, saurabh palande sa...@gmail.com wrote:

Hello,

System is already in multi-tenancy. I want to setup new site on this system.
Please let me know whether following steps are good enough to setup a site.

Note : Logged in as root user and then switched to user erpnext :- su
erpnext

Step 1: Activate environment :- source env/bin/activate

Step 2: Create new Site :- bench new-site fx.xbs360.com

Step 3: Add entry to nginx under /etc/nginx/conf.d/frappe.conf

Step 4: Reload gunicorn and nginx

No need to activate environment,

Steps:

  • Login as erpnext/frappe user
  • cd ~/frappe-bench
  • bench new-site abcd.example.com
  • bench setup nginx #re generate nginx config

As root, reload nginx

service nginx reload

Thanks,

Pratik
erpnext

Hi,

After executing the set of instructions, I am getting error showing 404

Regards,

On Tue, Sep 9, 2014 at 11:38 AM, Pratik Vyas <pd...@gmail.com> wrote:
On Tue, Sep 9, 2014 at 10:44 AM, saurabh palande <sa...@gmail.com> wrote:
> Hello,
>
>
> System is already in multi-tenancy. I want to setup new site on this system.
> Please let me know whether following steps are good enough to setup a site.
>
> Note : Logged in as root user and then switched to user erpnext :- su
> erpnext
>
> Step 1: Activate environment :- source env/bin/activate
>
> Step 2: Create new Site :- bench new-site fx.xbs360.com
>
> Step 3: Add entry to nginx under /etc/nginx/conf.d/frappe.conf
>
> Step 4: Reload gunicorn and nginx
>

No need to activate environment,

Steps:

* Login as erpnext/frappe user
* cd ~/frappe-bench
* `bench new-site abcd.example.com`
* `bench setup nginx` #re generate nginx config

As root, reload nginx

service nginx reload

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/CAG8U0Em4ksQ%2Bk9APU5-%3DDWLxYMKQMiLz_qZCtczjJhA7v-F8fA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.



--
S.S.Palande



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/CAGCrPP9WS1yTK4qHsPceEBjLnCdQws3uu99%2B-%3DZ1gmiKJS55VQ%40mail.gmail.com.

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

Check if nginx is running otherwise you'll have to restart it manually.

ps -ef|grep nginx
sudo service nginx restart

Hope this helps,

Omkar

On 09-Sep-2014 12:46 pm, "Saurabh Palande" <sa...@gmail.com> wrote:
Hi,

After executing the set of instructions, I am getting error showing 404

Regards,

On Tue, Sep 9, 2014 at 11:38 AM, Pratik Vyas <pd...@gmail.com> wrote:
On Tue, Sep 9, 2014 at 10:44 AM, saurabh palande <sa...@gmail.com> wrote:
> Hello,
>
>
> System is already in multi-tenancy. I want to setup new site on this system.
> Please let me know whether following steps are good enough to setup a site.
>
> Note : Logged in as root user and then switched to user erpnext :- su
> erpnext
>
> Step 1: Activate environment :- source env/bin/activate
>
> Step 2: Create new Site :- bench new-site fx.xbs360.com
>
> Step 3: Add entry to nginx under /etc/nginx/conf.d/frappe.conf
>
> Step 4: Reload gunicorn and nginx
>

No need to activate environment,

Steps:

* Login as erpnext/frappe user
* cd ~/frappe-bench
* `bench new-site abcd.example.com`
* `bench setup nginx` #re generate nginx config

As root, reload nginx

service nginx reload

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/CAG8U0Em4ksQ%2Bk9APU5-%3DDWLxYMKQMiLz_qZCtczjJhA7v-F8fA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.



--
S.S.Palande



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/CAGCrPP9WS1yTK4qHsPceEBjLnCdQws3uu99%2B-%3DZ1gmiKJS55VQ%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/CAOnj–J_m80RKKf_9PkF8u0953TYEffSe99nGsqEtxqHjG4wGg%40mail.gmail.com.

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

On Tue, Sep 9, 2014 at 12:46 PM, Saurabh Palande sa...@gmail.com wrote:

Hi,

After executing the set of instructions, I am getting error showing 404

Was a bug in the nginx template, fixed.

Hi Pratik,

Should I need to execute `bench update --bench` to fetch these fixes or `bench update --pull`?

Thanks,

On Tue, Sep 9, 2014 at 1:03 PM, Pratik Vyas <pd...@gmail.com> wrote:
On Tue, Sep 9, 2014 at 12:46 PM, Saurabh Palande <sa...@gmail.com> wrote:
> Hi,
>
> After executing the set of instructions, I am getting error showing 404
>

Was a bug in the nginx template, fixed.

--
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/CAG8U0EkxqkDer6MLRYZL8D-5H2xup_ieH8XMkBFGdhyKgiVBPw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.



--
S.S.Palande



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/CAGCrPP9274%2BRevSvxZ7aGbbLdAW6Or9RVWmZUEH86AP6MkTZ4Q%40mail.gmail.com.

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