Unable to access site from new bench

Hi,

I have just setup a new system for testing and not so surprisingly I am again stuck at the setup.
I have installed the apps and created a site but when I login to the link 0.0.0.0:8000, I am getting a 404 not found page. Kindly please help me find the mistake in the setup.



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/5c36cd6e-dd41-45c6-be12-1037420eaa68%40googlegroups.com.

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


On Wed, Aug 6, 2014 at 4:17 PM, Aditya Duggal <ad...@gmail.com> wrote:
Hi,

I have just setup a new system for testing and not so surprisingly I am again stuck at the setup.
I have installed the apps and created a site but when I login to the link 0.0.0.0:8000, I am getting a 404 not found page. Kindly please help me find the mistake in the setup.



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/5c36cd6e-dd41-45c6-be12-1037420eaa68%40googlegroups.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/CAAQzbF2isoQaDykbnRHiecaCsN1M2grE%3DcszM8ySEJX9wiF8bg%40mail.gmail.com.

    For more options, visit https://groups.google.com/d/optout.
Same result....404  not found.

On Wednesday, August 6, 2014 4:41:10 PM UTC+5:30, Anand Doshi wrote:


On Wed, Aug 6, 2014 at 4:17 PM, Aditya Duggal <ad...@gmail.com> wrote:
Hi,

I have just setup a new system for testing and not so surprisingly I am again stuck at the setup.
I have installed the apps and created a site but when I login to the link 0.0.0.0:8000, I am getting a 404 not found page. Kindly please help me find the mistake in the setup.



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/5c36cd6e-dd41-45c6-be12-1037420eaa68%40googlegroups.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/f59e5278-b409-4173-87b6-cae5c6ce2c3d%40googlegroups.com.

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

Please try running below command from site directory.

../env/bin/frappe --use <name of your site> and then run ./env/bin/honcho start from frappe-bench directory.

Kind regards,
Mayur Patel



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/bf8edf03-81df-484f-b6d7-470df5fe8064%40googlegroups.com.

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

I think the commands you mentioned are applicable for the old bench...I am using the new bench and honestly nothing seems to be working.

On Wednesday, August 6, 2014 5:19:24 PM UTC+5:30, MP wrote:
Hi Aditya,

Please try running below command from site directory.

../env/bin/frappe --use <name of your site> and then run ./env/bin/honcho start from frappe-bench directory.

Kind regards,
Mayur Patel



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/078714ad-a364-4ed2-a16b-41b537b35da8%40googlegroups.com.

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

On Wed, Aug 6, 2014 at 5:29 PM, Aditya Duggal ad...@gmail.com wrote:

Hi Mayur,

I think the commands you mentioned are applicable for the old bench…I am
using the new bench and honestly nothing seems to be working.

On Wednesday, August 6, 2014 5:19:24 PM UTC+5:30, MP wrote:

Hi Aditya,

Please try running below command from site directory.

…/env/bin/frappe --use and then run ./env/bin/honcho
start from frappe-bench directory.

Kind regards,
Mayur Patel


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/078714ad-a364-4ed2-a16b-41b537b35da8%40googlegroups.com.

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

Hi Aditya,

Try the following commands,

bench set-default-site {yoursite}
bench start


Pratik
erpnext

Hi Pratik,

It works like a charm but now when I try to restore the database I am getting tabSessions table does not exists error.

here is the pastebin of the error: http://pastebin.com/cXrNN6Rv

On Wednesday, August 6, 2014 6:33:55 PM UTC+5:30, Pratik Vyas wrote:
On Wed, Aug 6, 2014 at 5:29 PM, Aditya Duggal <ad...@gmail.com> wrote:
> Hi Mayur,
>
> I think the commands you mentioned are applicable for the old bench...I am
> using the new bench and honestly nothing seems to be working.
>
>
> On Wednesday, August 6, 2014 5:19:24 PM UTC+5:30, MP wrote:
>>
>> Hi Aditya,
>>
>> Please try running below command from site directory.
>>
>> ../env/bin/frappe --use <name of your site> and then run ./env/bin/honcho
>> start from frappe-bench directory.
>>
>> Kind regards,
>> Mayur Patel
>
> --
> 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/078714ad-a364-4ed2-a16b-41b537b35da8%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.

Hi Aditya,

Try the following commands,

```
bench set-default-site {yoursite}
bench start
```


--
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/acebf824-df3c-4a86-884a-ee1810cba982%40googlegroups.com.

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

Please disregard the last post as I have been able to restore my DB. I am however perplexed as to why the import DB failed from frappe but when I did the import from mysql it was OK and now the system is running on the test environment.

Maybe you might need to have a look as to why this failed under frappe.

On Wednesday, August 6, 2014 7:18:12 PM UTC+5:30, Aditya Duggal wrote:
Hi Pratik,

It works like a charm but now when I try to restore the database I am getting tabSessions table does not exists error.

here is the pastebin of the error: http://pastebin.com/cXrNN6Rv

On Wednesday, August 6, 2014 6:33:55 PM UTC+5:30, Pratik Vyas wrote:
On Wed, Aug 6, 2014 at 5:29 PM, Aditya Duggal <ad...@gmail.com> wrote:
> Hi Mayur,
>
> I think the commands you mentioned are applicable for the old bench...I am
> using the new bench and honestly nothing seems to be working.
>
>
> On Wednesday, August 6, 2014 5:19:24 PM UTC+5:30, MP wrote:
>>
>> Hi Aditya,
>>
>> Please try running below command from site directory.
>>
>> ../env/bin/frappe --use <name of your site> and then run ./env/bin/honcho
>> start from frappe-bench directory.
>>
>> Kind regards,
>> Mayur Patel
>
> --
> 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/078714ad-a364-4ed2-a16b-41b537b35da8%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.

Hi Aditya,

Try the following commands,

```
bench set-default-site {yoursite}
bench start
```


--
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/4ca78529-f394-41ab-916c-56ed16151601%40googlegroups.com.

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

On Wed, Aug 6, 2014 at 8:27 PM, Aditya Duggal ad...@gmail.com wrote:

Hi Pratik.

Please disregard the last post as I have been able to restore my DB. I am
however perplexed as to why the import DB failed from frappe but when I did
the import from mysql it was OK and now the system is running on the test
environment.

Maybe you might need to have a look as to why this failed under frappe.

Yes, the must be a clear cache issue, will try to replicate tomorrow.
Glad that your bench is setup.

For the record, the bench commands that I gave, internally do exactly
what Mayur had suggested :slight_smile:

Thanks,

Pratik
erpnext