New Instatllation - Error on backup old database

207 views
Skip to first unread message

Shameem Mohammed

unread,
Oct 29, 2013, 10:56:01 AM10/29/13
to erpnext-dev...@googlegroups.com
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


Hernan Gonzalez

unread,
Oct 29, 2013, 12:37:40 PM10/29/13
to erpnext-dev...@googlegroups.com
Try using lib/wnf.py --restore databasename database_backup.sql

Pratik Vyas

unread,
Oct 29, 2013, 12:38:09 PM10/29/13
to erpnext-dev...@googlegroups.com


On 29 Oct 2013 20:26, "Shameem Mohammed" <sha...@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...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

Shameem Mohammed

unread,
Oct 30, 2013, 3:30:00 AM10/30/13
to erpnext-developer-forum
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





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


Reply all
Reply to author
Forward
0 new messages