Re: [erpnext-dev] Duplicate Name Module Def Accounts

Hi Satish,

You should not need to install erpnext and shopping cart from Installer. Something didn't go right with your migration.

-Anand.


On Sat, Aug 9, 2014 at 9:03 PM, Satish <sa...@gmail.com> wrote:
Hi

I have installed erpnext 4 on virtualbox and successfully restored backup from version 3. But when I login to erpnext I don't see the app erpnext and shopping-cart installed.
I can successfully install shopping-cart from inside erpnex but when I try to install erpnext it gives me error saying "Duplicate Name Module Def Accounts"


If I try to install it through terminal I get the following error:

http://pastebin.com/ASG18sff

What can I do to get rid of this?/

Regards

Satish



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/f1803e8b-5a8b-4513-8efd-ef25673a7b7e%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/CAAQzbF03HzMLp-xC5pUVQuSvZW4W%2BrKZ6n%3DjyYh-i6FOtoE_AQ%40mail.gmail.com.

    For more options, visit https://groups.google.com/d/optout.
Are you using the new bench? github.com/frappe/bench


On Mon, Aug 11, 2014 at 11:16 AM, Satish <sa...@gmail.com> wrote:
Dear Anand,

Thanks for replying. I have taken a backup of erpnext 3 database from the server and now I am trying to restore it to the new erpnext 4 installation on a virtualbox.

The restore completes successfully as you would see in the data in the above link. But on opening the erpnext, both erpnext app and shopping_cart are not installed. I have created the second site and have repeated the same think and I get the same results.

Do I further need to perform the migration steps after restoring the database?? If yes how do I do them. Till now I am under the impression that the migration is useful only for current installation for version 3.

Regards
Satish Gupta




On Saturday, 9 August 2014 22:11:09 UTC+5:30, Anand Doshi wrote:
Hi Satish,

You should not need to install erpnext and shopping cart from Installer. Something didn't go right with your migration.

-Anand.


On Sat, Aug 9, 2014 at 9:03 PM, Satish <sa...@gmail.com> wrote:
Hi

I have installed erpnext 4 on virtualbox and successfully restored backup from version 3. But when I login to erpnext I don't see the app erpnext and shopping-cart installed.
I can successfully install shopping-cart from inside erpnex but when I try to install erpnext it gives me error saying "Duplicate Name Module Def Accounts"


If I try to install it through terminal I get the following error:

http://pastebin.com/ASG18sff

What can I do to get rid of this?/

Regards

Satish



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/f1803e8b-5a8b-4513-8efd-ef25673a7b7e%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/d52fdd41-55e7-437b-8c24-578d4b8d1a8c%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/CAAQzbF3DFm7j7OCToExD-j8_3y%2BYC5dSvXL%2B1J0rRqEUwR8yZg%40mail.gmail.com.

    For more options, visit https://groups.google.com/d/optout.
Also, there is a separate migration script: https://github.com/frappe/bench#migrating-from-existing-installation



On Mon, Aug 11, 2014 at 6:24 PM, Anand Doshi <an…@erpnext.com> wrote:

Are you using the new bench? github.com/frappe/bench


On Mon, Aug 11, 2014 at 11:16 AM, Satish <sa…@gmail.com> wrote:

Dear Anand,

Thanks for replying. I have taken a backup of erpnext 3 database from the server and now I am trying to restore it to the new erpnext 4 installation on a virtualbox.

The restore completes successfully as you would see in the data in the above link. But on opening the erpnext, both erpnext app and shopping_cart are not installed. I have created the second site and have repeated the same think and I get the same results.

Do I further need to perform the migration steps after restoring the database?? If yes how do I do them. Till now I am under the impression that the migration is useful only for current installation for version 3.

Regards
Satish Gupta




On Saturday, 9 August 2014 22:11:09 UTC+5:30, Anand Doshi wrote:
Hi Satish,

You should not need to install erpnext and shopping cart from Installer. Something didn't go right with your migration.

-Anand.


On Sat, Aug 9, 2014 at 9:03 PM, Satish <sa...@gmail.com> wrote:
Hi

I have installed erpnext 4 on virtualbox and successfully restored backup from version 3. But when I login to erpnext I don't see the app erpnext and shopping-cart installed.
I can successfully install shopping-cart from inside erpnex but when I try to install erpnext it gives me error saying "Duplicate Name Module Def Accounts"


If I try to install it through terminal I get the following error:

http://pastebin.com/ASG18sff

What can I do to get rid of this?/

Regards

Satish



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/f1803e8b-5a8b-4513-8efd-ef25673a7b7e%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/d52fdd41-55e7-437b-8c24-578d4b8d1a8c%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/CAAQzbF3TDW2UwS2tdGrkTQNODq557MQV8rsw122aTNZe7fSzGw%40mail.gmail.com.

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

Migration to version 4 is not as simple as restoring a version 3 file into version 4. Hence the migration script!

-Anand.


On Mon, Aug 11, 2014 at 6:43 PM, Satish <sa...@gmail.com> wrote:
Hi Anand,

I tried migration first. But I did not succeed I downloaded the erpnext ova file and ran it in the virtualbox. Then I took the database backup of erpnext 3 and tried to restore it to this new erpnext virtualbox instance. But I keep on getting lock timeout error. I can't scroll up to see the entire error since I can only see command line.

Then I created a new instance of ubuntu in virtual box, installed latest frappe bench and restored the database backup of version 3. In this case the restore happened without any error but now I can't see the erpnext and shopping-cart app installed. When I try to install erpnext i get error Duplicate Name Def Accounts.


Regards
Satish Gupta

On Monday, 11 August 2014 18:26:22 UTC+5:30, Anand Doshi wrote:



On Mon, Aug 11, 2014 at 6:24 PM, Anand Doshi <an…@erpnext.com> wrote:

Are you using the new bench? github.com/frappe/bench


On Mon, Aug 11, 2014 at 11:16 AM, Satish <sa…@gmail.com> wrote:

Dear Anand,

Thanks for replying. I have taken a backup of erpnext 3 database from the server and now I am trying to restore it to the new erpnext 4 installation on a virtualbox.

The restore completes successfully as you would see in the data in the above link. But on opening the erpnext, both erpnext app and shopping_cart are not installed. I have created the second site and have repeated the same think and I get the same results.

Do I further need to perform the migration steps after restoring the database?? If yes how do I do them. Till now I am under the impression that the migration is useful only for current installation for version 3.

Regards
Satish Gupta




On Saturday, 9 August 2014 22:11:09 UTC+5:30, Anand Doshi wrote:
Hi Satish,

You should not need to install erpnext and shopping cart from Installer. Something didn't go right with your migration.

-Anand.


On Sat, Aug 9, 2014 at 9:03 PM, Satish <sa...@gmail.com> wrote:
Hi

I have installed erpnext 4 on virtualbox and successfully restored backup from version 3. But when I login to erpnext I don't see the app erpnext and shopping-cart installed.
I can successfully install shopping-cart from inside erpnex but when I try to install erpnext it gives me error saying "Duplicate Name Module Def Accounts"


If I try to install it through terminal I get the following error:

http://pastebin.com/ASG18sff

What can I do to get rid of this?/

Regards

Satish



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

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/f1803e8b-5a8b-4513-8efd-ef25673a7b7e%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/d52fdd41-55e7-437b-8c24-578d4b8d1a8c%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/c12c236a-cdcc-4d0f-8099-f5b3b742648c%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/CAAQzbF1RVi5XAuMZS6QFhuk_PZ0t7277qLVzOg8om1WWLDLsdA%40mail.gmail.com.

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