Reset database

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+un…@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.

Hi Andri,

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

body{font-family:Helvetica,Arial;font-size:13px}body { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; padding:1em; margin:auto; background:#fefefe; }

h1, h2, h3, h4, h5, h6 {
font-weight: bold;
}

h1 {
color: #000000;
font-size: 28pt;
}

h2 {
border-bottom: 1px solid #CCCCCC;
color: #000000;
font-size: 24px;
}

h3 {
font-size: 18px;
}

h4 {
font-size: 16px;
}

h5 {
font-size: 14px;
}

h6 {
color: #777777;
background-color: inherit;
font-size: 14px;
}

hr {
height: 0.2em;
border: 0;
color: #CCCCCC;
background-color: #CCCCCC;
}

p, blockquote, ul, ol, dl, li, table, pre {
margin: 15px 0;
}

a, a:visited {
color: #4183C4;
background-color: inherit;
text-decoration: none;
}

#message {
border-radius: 6px;
border: 1px solid #ccc;
display:block;
width:100%;
height:60px;
margin:6px 0px;
}

button, #ws {
font-size: 12 pt;
padding: 4px 6px;
border-radius: 5px;
border: 1px solid #bbb;
background-color: #eee;
}

code, pre, #ws, #message {
font-family: Monaco;
font-size: 10pt;
border-radius: 3px;
background-color: #F8F8F8;
color: inherit;
}

code {
border: 1px solid #EAEAEA;
margin: 0 2px;
padding: 0 5px;
}

pre {
border: 1px solid #CCCCCC;
overflow: auto;
padding: 4px 8px;
}

pre > code {
border: 0;
margin: 0;
padding: 0;
}

#ws { background-color: #f8f8f8; }

table {
border-collapse: collapse;
font-family: Helvetica, arial, freesans, clean, sans-serif;
color: rgb(51, 51, 51);
font-size: 15px; line-height: 25px;
padding: 0; }

table tr {
border-top: 1px solid #cccccc;
background-color: white;
margin: 0;
padding: 0; }

table tr:nth-child(2n) {
background-color: #f8f8f8; }

table tr th {
font-weight: bold;
border: 1px solid #cccccc;
margin: 0;
padding: 6px 13px; }

table tr td {
border: 1px solid #cccccc;
margin: 0;
padding: 6px 13px; }

table tr th :first-child, table tr td :first-child {
margin-top: 0; }

table tr th :last-child, table tr td :last-child {
margin-bottom: 0; }

.send { color:#77bb77; }
.server { color:#7799bb; }
.error { color:#AA0000; }


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



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+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/etPan.5372f8f6.2d1d5ae9.290%40apdmacbook.local.

    For more options, visit https://groups.google.com/d/optout.
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 su...@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+un...@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.



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+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/81672f6b-5001-43c5-a3dc-e230b7916a86%40googlegroups.com.

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

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

I tried the steps, but it gives me:
 raise IOError("{} Not Found".format(path))
IOError: ./apps.txt Not Found



Andri

On Wednesday, May 14, 2014 6:57:09 PM UTC+7, Pratik Vyas wrote:
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



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+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/39de6ab9-c401-468d-b8a4-9677478bc8cc%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
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



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+un…@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.

    For more options, visit https://groups.google.com/d/optout.
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)



On 26-May-2014, at 9:56 am, Andri Halim Gunawan <an...@krupuksuryajaya.com> wrote:

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



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+un…@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.

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



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+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/C2427303-758F-4887-B532-582E2CC8AE35%40gmail.com.

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

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

What about someone like me, who is a free cloud customer, 5 users upto 500MB data, can you people process a scrub request from me if required?

Sorry can’t afford any requests on the free account.