Unable to access site from new bench

273 views
Skip to first unread message

Aditya Duggal

unread,
Aug 6, 2014, 6:47:37 AM8/6/14
to erpnext-dev...@googlegroups.com
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.

Anand Doshi

unread,
Aug 6, 2014, 7:11:10 AM8/6/14
to ERPNext Developer's Forum


--
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...@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.

Aditya Duggal

unread,
Aug 6, 2014, 7:13:14 AM8/6/14
to erpnext-dev...@googlegroups.com
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 <aditya...@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+unsub...@googlegroups.com.

MP

unread,
Aug 6, 2014, 7:49:24 AM8/6/14
to erpnext-dev...@googlegroups.com
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

Aditya Duggal

unread,
Aug 6, 2014, 7:59:52 AM8/6/14
to erpnext-dev...@googlegroups.com
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.

Pratik Vyas

unread,
Aug 6, 2014, 9:03:55 AM8/6/14
to erpnext-dev...@googlegroups.com
> --
> 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...@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

Aditya Duggal

unread,
Aug 6, 2014, 9:48:12 AM8/6/14
to erpnext-dev...@googlegroups.com
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

Aditya Duggal

unread,
Aug 6, 2014, 10:57:01 AM8/6/14
to erpnext-dev...@googlegroups.com
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.

Pratik Vyas

unread,
Aug 6, 2014, 1:28:44 PM8/6/14
to erpnext-dev...@googlegroups.com
On Wed, Aug 6, 2014 at 8:27 PM, Aditya Duggal <aditya...@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 :)


Thanks,
--
Pratik
erpnext
Reply all
Reply to author
Forward
0 new messages