New Instatllation - Error on backup old database

Hi,

I have installed erpnext today on Ubuntu 12.04  and it is running  good . I have the following issues

1.  I tried to restore my old backup using lib/wnf.py --install  but go the following error
    wnf.py: error: unrecognized arguments: /var/test/tmp/20131026_64490553_database.sql
 
2. I have followed
https://github.com/webnotes/erpnext/wiki/WSGI-Production-Deployment  and did everything as per the instruction. How can I make my erpnext instance production ready and change the listening port  from 8000

3. How can install and run  multiple instances  using Gunicorn+Nginx

Regards




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.

    For more options, visit https://groups.google.com/groups/opt_out.
Try using lib/wnf.py --restore databasename database_backup.sql

On Tuesday, October 29, 2013 11:56:01 AM UTC-3, Shameem Mohammed wrote:
Hi,

I have installed erpnext today on Ubuntu 12.04  and it is running  good . I have the following issues

1.  I tried to restore my old backup using lib/wnf.py --install  but go the following error
    wnf.py: error: unrecognized arguments: /var/test/tmp/20131026_64490553_database.sql
 
2. I have followed
https://github.com/webnotes/erpnext/wiki/WSGI-Production-Deployment  and did everything as per the instruction. How can I make my erpnext instance production ready and change the listening port  from 8000

3. How can install and run  multiple instances  using Gunicorn+Nginx

Regards




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.

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


On 29 Oct 2013 20:26, "Shameem Mohammed" <sh...@malabaruae.com> wrote:
>
> Hi,
>
> I have installed erpnext today on Ubuntu 12.04 and it is running good . I have the following issues
>
> 1. I tried to restore my old backup using lib/wnf.py --install but go the following error
> wnf.py: error: unrecognized arguments: /var/test/tmp/20131026_64490553_database.sql
>

To restore, run
lib/wnf.py --mysql < /path/to/backup.sql

> 2. I have followed https://github.com/webnotes/erpnext/wiki/WSGI-Production-Deployment and did everything as per the instruction. How can I make my erpnext instance production ready and change the listening port from 8000

>

Where did you get stuck?

> 3. How can install and run multiple instances using Gunicorn+Nginx
>

Easiest way is to run different gunicorn processes on different Unix/tcp sockets and create a server block in nginx for every instance.

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

> For more options, visit https://groups.google.com/groups/opt_out.

Hai Pratk ,

Thanks for the Help.

1. Restore is successful now

2.> 2. I have followed https://github.com/webnotes/erpnext/wiki/WSGI-Production-Deployment and did everything as per the instruction. How can I make my erpnext instance production ready and change the listening port from 8000


>

Where did you get stuck?

Installation is success. install_erpnext.py installs development server on port 8000. I need to covert this to production server and change the port to 88. I installed Gunicorn , supervisord , nginx .


Regards





On Tue, Oct 29, 2013 at 8:38 PM, Pratik Vyas <pd...@gmail.com> wrote:


On 29 Oct 2013 20:26, "Shameem Mohammed" <sh...@malabaruae.com> wrote:
>
> Hi,
>
> I have installed erpnext today on Ubuntu 12.04 and it is running good . I have the following issues
>
> 1. I tried to restore my old backup using lib/wnf.py --install but go the following error
> wnf.py: error: unrecognized arguments: /var/test/tmp/20131026_64490553_database.sql
>

To restore, run
lib/wnf.py --mysql < /path/to/backup.sql

> 2. I have followed https://github.com/webnotes/erpnext/wiki/WSGI-Production-Deployment and did everything as per the instruction. How can I make my erpnext instance production ready and change the listening port from 8000

>

Where did you get stuck?

> 3. How can install and run multiple instances using Gunicorn+Nginx
>

Easiest way is to run different gunicorn processes on different Unix/tcp sockets and create a server block in nginx for every instance.

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


> For more options, visit https://groups.google.com/groups/opt_out.



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 a topic in the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this topic, visit https://groups.google.com/d/topic/erpnext-developer-forum/LAzcktEOxgM/unsubscribe.

To unsubscribe from this group and all its topics, send an email to erpnext-developer-forum+un…@googlegroups.com.

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




--
Shameem N. Mohammed
Finance Manager
Malabar Gen. Trdg. L.L.C,
P.O.Box 234478 , Dubai , U.A.E
Tel:+9714 2510788 Fax:+9714 2510789




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.

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