Restoring from backup

33 views
Skip to first unread message

electromania

unread,
Jan 30, 2013, 5:18:45 PM1/30/13
to erpnext-dev...@googlegroups.com
Following from previous posts https://groups.google.com/forum/#!topic/erpnext-developer-forum/MUty84a_Mlg thought I'll start a new top. The upgrade didn't work, no matter how much I tried.

I went and re-installed everything on a fresh VM, now I need to copy DB and all settings from my previous version. Is there a guide for this? Or can anyone guide me through it please. 

electromania

unread,
Jan 30, 2013, 7:01:37 PM1/30/13
to erpnext-dev...@googlegroups.com
Ok, I followed the upgrade page and everything worked fine (had to resotre the DB via phpmyadmin). Now the only thing not working is the default letter head. The image is there, the letter head is setup, but when I got to old invoices its not being pulled.

electromania

unread,
Jan 30, 2013, 7:28:21 PM1/30/13
to erpnext-dev...@googlegroups.com
Not sure what happened, after a few minutes now getting blank screen after login.


electromania

unread,
Jan 30, 2013, 7:37:38 PM1/30/13
to erpnext-dev...@googlegroups.com
Also getting this 

test@vm01:/var/www/erpnext$ sudo lib/wnf.py --build_web_cache
Usage: wnf.py [options]

wnf.py: error: no such option: --build_webcache



Anand Doshi

unread,
Jan 30, 2013, 9:39:50 PM1/30/13
to erpnext-dev...@googlegroups.com
Hi,

Now that you are done with the change in directory structure upgrade, please look at the latest install page and make sure you have all the pre-requisites. I think that would be the cause of the blank page. You can also post the output of the JavaScript console. 

Sent from my iPhone
--
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 post to this group, send email to erpnext-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/Jj1rVGJuQUQJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

electromania

unread,
Jan 30, 2013, 9:56:49 PM1/30/13
to erpnext-dev...@googlegroups.com
Am i getting this error because I don't have pre-requisites? 

wnf.py: error: no such option: --build_webcache

Also in my conf.py file, what should be the value if I'm in Melbourne australia
# user timezone
user_timezone = 'Asia/Calcutta'

Anand Doshi

unread,
Jan 30, 2013, 10:01:35 PM1/30/13
to erpnext-dev...@googlegroups.com
Build web cache option was changed to clear_web. You need not do it since you are already able to see the login page.

Just make sure that you have the pre-requisites and if you still get error send us the web console's output using pastebin.com

Sent from my iPhone
--
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 post to this group, send email to erpnext-dev...@googlegroups.com.

electromania

unread,
Jan 30, 2013, 10:03:22 PM1/30/13
to erpnext-dev...@googlegroups.com
here is the paste http://pastebin.com/bzdix4Z3


On Thursday, January 31, 2013 2:01:35 PM UTC+11, Anand Doshi wrote:
Build web cache option was changed to clear_web. You need not do it since you are already able to see the login page.

Just make sure that you have the pre-requisites and if you still get error send us the web console's output using pastebin.com

Sent from my iPhone

On 31-Jan-2013, at 8:26 AM, electromania <iadr...@gmail.com> wrote:

Am i getting this error because I don't have pre-requisites? 

wnf.py: error: no such option: --build_webcache

Also in my conf.py file, what should be the value if I'm in Melbourne australia
# user timezone
user_timezone = 'Asia/Calcutta'

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

Anand Doshi

unread,
Jan 30, 2013, 10:09:58 PM1/30/13
to erpnext-dev...@googlegroups.com
Ok. Can you run the update part again and see if goes smoothly. 

I think your schema is not yet synchronised. 

lib/wnf.py --update origin master

Sent from my iPhone
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer...@googlegroups.com.

To post to this group, send email to erpnext-dev...@googlegroups.com.

electromania

unread,
Jan 30, 2013, 10:14:16 PM1/30/13
to erpnext-dev...@googlegroups.com
Thanks Anand, Here is the update output. Everything was working except default header and all of sudden blank screen started.

http://pastebin.com/9nFhBphb

Anand Doshi

unread,
Jan 30, 2013, 10:27:00 PM1/30/13
to erpnext-dev...@googlegroups.com
Hi,

As per the paste, none of the patches got executed. try this out in mysql

use your_db
delete from `tabPatch Log`

once this is cleared, the patches should run.

lib/wnf.py --patch_sync

The above command will only run patches and sync db

Thanks,
Anand.

On 31-Jan-2013, at 8:44 AM, electromania <iadr...@gmail.com> wrote:

Thanks Anand, Here is the update output. Everything was working except default header and all of sudden blank screen started.

http://pastebin.com/9nFhBphb

--
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 post to this group, send email to erpnext-dev...@googlegroups.com.

electromania

unread,
Jan 30, 2013, 10:39:11 PM1/30/13
to erpnext-dev...@googlegroups.com
Thanks Anand, Your a legend! :) 
Reply all
Reply to author
Forward
0 new messages