reset database

399 views
Skip to first unread message

Andri Halim Gunawan

unread,
May 13, 2014, 11:46:56 PM5/13/14
to erpnext-dev...@googlegroups.com
Hi,
How do we reset the database back to the original state? (ie. I want to delete everything and start again from scratch)

Anand Doshi

unread,
May 14, 2014, 1:02:46 AM5/14/14
to Andri Halim Gunawan, erpnext-dev...@googlegroups.com

Hi Andri,

Since you are a cloud customer, we will do it from our end. Just drop a mail on sup...@frappecloud.com.


Thanks,
Anand Doshi.

On 14 May 2014 at 9:16:58 am, Andri Halim Gunawan (an...@krupuksuryajaya.com) wrote:

Hi,
How do we reset the database back to the original state? (ie. I want to delete everything and start again from scratch)
--
Note:
 
If you are posting an issue,
1. 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.
2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
3. 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/307b54ee-347e-4e4a-9341-13f81f203512%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Andri Halim Gunawan

unread,
May 14, 2014, 7:53:07 AM5/14/14
to erpnext-dev...@googlegroups.com, Andri Halim Gunawan
How about for self-hosted installations?

Thanks


On Wednesday, May 14, 2014 12:02:46 PM UTC+7, Anand Doshi wrote:

Hi Andri,

Since you are a cloud customer, we will do it from our end. Just drop a mail on sup...@frappecloud.com.


Thanks,
Anand Doshi.

On 14 May 2014 at 9:16:58 am, Andri Halim Gunawan (an...@krupuksuryajaya.com) wrote:

Hi,
How do we reset the database back to the original state? (ie. I want to delete everything and start again from scratch)
--
Note:
 
If you are posting an issue,
1. 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.
2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
3. 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.

Pratik Vyas

unread,
May 14, 2014, 7:57:09 AM5/14/14
to erpnext-dev...@googlegroups.com
On Wed, May 14, 2014 at 5:23 PM, Andri Halim Gunawan
<an...@krupuksuryajaya.com> wrote:
> How about for self-hosted installations?
>

`frappe --reinstall yoursite --force`
`frappe --install_app erpnext yoursite`
`frappe --install_app shopping_cart yoursite`

--
Pratik
erpnext

Andri Halim Gunawan

unread,
May 26, 2014, 12:25:14 AM5/26/14
to erpnext-dev...@googlegroups.com
I tried the steps, but it gives me:
 raise IOError("{} Not Found".format(path))
IOError: ./apps.txt Not Found



Andri

Andri Halim Gunawan

unread,
May 26, 2014, 12:26:48 AM5/26/14
to erpnext-dev...@googlegroups.com
I also tried to update the installation first: ./scripts/update.sh

And it gives me:
Updating 326fc66..d83c66d
error: Your local changes to the following files would be overwritten by merge:
        Readme.md
Please, commit your changes or stash them before you can merge.
Aborting

Rushabh Mehta

unread,
May 26, 2014, 12:49:14 AM5/26/14
to erpnext-dev...@googlegroups.com
Clearly you have edited some files. You have to either stash them via git stash or commit them (read up on git at http://git-scm.com/ if you are unfamiliar)



--
Note:
 
If you are posting an issue,
1. 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.
2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
3. 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/4a4b3935-786c-48e5-bda7-65117748e6b6%40googlegroups.com.

Pratik Vyas

unread,
May 26, 2014, 2:03:56 AM5/26/14
to erpnext-dev...@googlegroups.com
On Mon, May 26, 2014 at 9:55 AM, Andri Halim Gunawan
<an...@krupuksuryajaya.com> wrote:
> I tried the steps, but it gives me:
> raise IOError("{} Not Found".format(path))
> IOError: ./apps.txt Not Found
>
>

Very close, run the commands from the sites directory.

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