Can't open erpnext after update

Hi

Immediately after updating erpnext if am getting the following error:


Forbidden

You don't have permission to access / on this server.


Apache/2.2.22 (Ubuntu) Server at 192.168.1.7 Port 8080

I also checked  "error.log" in /var/log/apache2It says  "Symbolic link not allowed or link target not accessible: /home/satish/erpnext/public/web.py"

What should I do?

Satish Gupta



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

Can someone help me on this. I am not a developer and I am not sure if the WSGI and other branch thing is related to my problem.
I updated from inside erpnext but now I can't access it. I get the error as shown in the previous post.
Can I still get back my installation and data??

Regards
Satish

On Wednesday, 30 October 2013 15:54:49 UTC+5:30, Satish wrote:
Hi

Immediately after updating erpnext if am getting the following error:


Forbidden

You don't have permission to access / on this server.


Apache/2.2.22 (Ubuntu) Server at 192.168.1.7 Port 8080

I also checked  "error.log" in /var/log/apache2It says  "Symbolic link not allowed or link target not accessible: /home/satish/erpnext/public/web.py"

What should I do?

Satish Gupta



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.
Hi Satish,

You seem to have update ERPNext and pulled the WSGI related code. You need to follow these steps to start ERPNext:
https://github.com/webnotes/erpnext/wiki/Migrating-your-erpnext-instance-to-wsgi

If you don’t want to follow this complicated process now, you can change the branch to 1310:

cd app && git checkout 1310 & cd ..
cd lib && git checkout 1310 & cd ..
lib/wnf.py —update origin 1310

Then your instance should start working. However, you won’t get any future updates.

Best,
Anand.

PS: Always take a backup before update.

On 01-Nov-2013, at 3:48 pm, Satish <sa...@gmail.com> wrote:

HI

Can someone help me on this. I am not a developer and I am not sure if the WSGI and other branch thing is related to my problem.
I updated from inside erpnext but now I can't access it. I get the error as shown in the previous post.
Can I still get back my installation and data??

Regards
Satish

On Wednesday, 30 October 2013 15:54:49 UTC+5:30, Satish wrote:
Hi

Immediately after updating erpnext if am getting the following error:


Forbidden

You don't have permission to access / on this server.


Apache/2.2.22 (Ubuntu) Server at 192.168.1.7 Port 8080

I also checked  "error.log" in /var/log/apache2It says  "Symbolic link not allowed or link target not accessible: /home/satish/erpnext/public/web.py"

What should I do?

Satish Gupta



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

Thanks Anand. 
I have completed the update process without any error.
But still I am getting the same "Forbidden" error.
Do I need to do something else??

Regards
Satish



On Friday, 1 November 2013 16:41:04 UTC+5:30, Anand Doshi wrote:
Hi Satish,

You seem to have update ERPNext and pulled the WSGI related code. You need to follow these steps to start ERPNext:

If you don’t want to follow this complicated process now, you can change the branch to 1310:

cd app && git checkout 1310 & cd ..
cd lib && git checkout 1310 & cd ..
lib/wnf.py —update origin 1310

Then your instance should start working. However, you won’t get any future updates.

Best,
Anand.

PS: Always take a backup before update.

On 01-Nov-2013, at 3:48 pm, Satish <sa...@gmail.com> wrote:

HI

Can someone help me on this. I am not a developer and I am not sure if the WSGI and other branch thing is related to my problem.
I updated from inside erpnext but now I can't access it. I get the error as shown in the previous post.
Can I still get back my installation and data??

Regards
Satish

On Wednesday, 30 October 2013 15:54:49 UTC+5:30, Satish wrote:
Hi

Immediately after updating erpnext if am getting the following error:


Forbidden

You don't have permission to access / on this server.


Apache/2.2.22 (Ubuntu) Server at 192.168.1.7 Port 8080

I also checked  "error.log" in /var/log/apache2It says  "Symbolic link not allowed or link target not accessible: /home/satish/erpnext/public/web.py"

What should I do?

Satish Gupta



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 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.
Difficult to say. You also might need to change user to apache user. 

What's the operating system?

On 01-Nov-2013, at 6:39 pm, Satish <sa...@gmail.com> wrote:

Hi

Thanks Anand. 
I have completed the update process without any error.
But still I am getting the same "Forbidden" error.
Do I need to do something else??

Regards
Satish



On Friday, 1 November 2013 16:41:04 UTC+5:30, Anand Doshi wrote:
Hi Satish,

You seem to have update ERPNext and pulled the WSGI related code. You need to follow these steps to start ERPNext:

If you don’t want to follow this complicated process now, you can change the branch to 1310:

cd app && git checkout 1310 & cd ..
cd lib && git checkout 1310 & cd ..
lib/wnf.py —update origin 1310

Then your instance should start working. However, you won’t get any future updates.

Best,
Anand.

PS: Always take a backup before update.

On 01-Nov-2013, at 3:48 pm, Satish <sa...@gmail.com> wrote:

HI

Can someone help me on this. I am not a developer and I am not sure if the WSGI and other branch thing is related to my problem.
I updated from inside erpnext but now I can't access it. I get the error as shown in the previous post.
Can I still get back my installation and data??

Regards
Satish

On Wednesday, 30 October 2013 15:54:49 UTC+5:30, Satish wrote:
Hi

Immediately after updating erpnext if am getting the following error:


Forbidden

You don't have permission to access / on this server.


Apache/2.2.22 (Ubuntu) Server at 192.168.1.7 Port 8080

I also checked  "error.log" in /var/log/apache2It says  "Symbolic link not allowed or link target not accessible: /home/satish/erpnext/public/web.py"

What should I do?

Satish Gupta



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 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 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.
OS is Ubuntu.

I also read the error log in  /var/log/apache2/error.log    if it helps:

It says first  "Symbolic link not allowed or link target not accessible:  /home/satish/erpnext/public/web.py "  This is whenever I try to access erpnext.

Just before this error started appearing, there is another error which says:

"File does not exist:  /home/satish/erpnext/public/HNAP1,  referer:  http://117.207.143.250:8080/ "


Satish

On Friday, 1 November 2013 18:47:29 UTC+5:30, Anand Doshi wrote:
Difficult to say. You also might need to change user to apache user. 

What's the operating system?

On 01-Nov-2013, at 6:39 pm, Satish <sa...@gmail.com> wrote:

Hi

Thanks Anand. 
I have completed the update process without any error.
But still I am getting the same "Forbidden" error.
Do I need to do something else??

Regards
Satish



On Friday, 1 November 2013 16:41:04 UTC+5:30, Anand Doshi wrote:
Hi Satish,

You seem to have update ERPNext and pulled the WSGI related code. You need to follow these steps to start ERPNext:

If you don’t want to follow this complicated process now, you can change the branch to 1310:

cd app && git checkout 1310 & cd ..
cd lib && git checkout 1310 & cd ..
lib/wnf.py —update origin 1310

Then your instance should start working. However, you won’t get any future updates.

Best,
Anand.

PS: Always take a backup before update.

On 01-Nov-2013, at 3:48 pm, Satish <sa...@gmail.com> wrote:

HI

Can someone help me on this. I am not a developer and I am not sure if the WSGI and other branch thing is related to my problem.
I updated from inside erpnext but now I can't access it. I get the error as shown in the previous post.
Can I still get back my installation and data??

Regards
Satish

On Wednesday, 30 October 2013 15:54:49 UTC+5:30, Satish wrote:
Hi

Immediately after updating erpnext if am getting the following error:


Forbidden

You don't have permission to access / on this server.


Apache/2.2.22 (Ubuntu) Server at 192.168.1.7 Port 8080

I also checked  "error.log" in /var/log/apache2It says  "Symbolic link not allowed or link target not accessible: /home/satish/erpnext/public/web.py"

What should I do?

Satish Gupta



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 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 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
cd app & git reset --hard origin/1310 && cd ..

Similarly for lib folder

Then try again

On 01-Nov-2013, at 6:58 pm, Satish <sa...@gmail.com> wrote:

OS is Ubuntu.

I also read the error log in  /var/log/apache2/error.log    if it helps:

It says first  "Symbolic link not allowed or link target not accessible:  /home/satish/erpnext/public/web.py "  This is whenever I try to access erpnext.

Just before this error started appearing, there is another error which says:

"File does not exist:  /home/satish/erpnext/public/HNAP1,  referer:  http://117.207.143.250:8080/ "


Satish

On Friday, 1 November 2013 18:47:29 UTC+5:30, Anand Doshi wrote:
Difficult to say. You also might need to change user to apache user. 

What's the operating system?

On 01-Nov-2013, at 6:39 pm, Satish <sa...@gmail.com> wrote:

Hi

Thanks Anand. 
I have completed the update process without any error.
But still I am getting the same "Forbidden" error.
Do I need to do something else??

Regards
Satish



On Friday, 1 November 2013 16:41:04 UTC+5:30, Anand Doshi wrote:
Hi Satish,

You seem to have update ERPNext and pulled the WSGI related code. You need to follow these steps to start ERPNext:

If you don’t want to follow this complicated process now, you can change the branch to 1310:

cd app && git checkout 1310 & cd ..
cd lib && git checkout 1310 & cd ..
lib/wnf.py —update origin 1310

Then your instance should start working. However, you won’t get any future updates.

Best,
Anand.

PS: Always take a backup before update.

On 01-Nov-2013, at 3:48 pm, Satish <sa...@gmail.com> wrote:

HI

Can someone help me on this. I am not a developer and I am not sure if the WSGI and other branch thing is related to my problem.
I updated from inside erpnext but now I can't access it. I get the error as shown in the previous post.
Can I still get back my installation and data??

Regards
Satish

On Wednesday, 30 October 2013 15:54:49 UTC+5:30, Satish wrote:
Hi

Immediately after updating erpnext if am getting the following error:


Forbidden

You don't have permission to access / on this server.


Apache/2.2.22 (Ubuntu) Server at 192.168.1.7 Port 8080

I also checked  "error.log" in /var/log/apache2It says  "Symbolic link not allowed or link target not accessible: /home/satish/erpnext/public/web.py"

What should I do?

Satish Gupta



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 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 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 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.
When I run it, it says:

[1] 2269
fatal: Not a git repository (or any of the parent directories): .git
[1]+ Done                        cd lib


and similary for lib.

I am still getting the Forbidden error.


Satish


On Friday, 1 November 2013 19:01:43 UTC+5:30, Anand Doshi wrote:
Try
cd app & git reset --hard origin/1310 && cd ..

Similarly for lib folder

Then try again

On 01-Nov-2013, at 6:58 pm, Satish <sa...@gmail.com> wrote:

OS is Ubuntu.

I also read the error log in  /var/log/apache2/error.log    if it helps:

It says first  "Symbolic link not allowed or link target not accessible:  /home/satish/erpnext/public/web.py "  This is whenever I try to access erpnext.

Just before this error started appearing, there is another error which says:

"File does not exist:  /home/satish/erpnext/public/HNAP1,  referer:  http://117.207.143.250:8080/ "


Satish

On Friday, 1 November 2013 18:47:29 UTC+5:30, Anand Doshi wrote:
Difficult to say. You also might need to change user to apache user. 

What's the operating system?

On 01-Nov-2013, at 6:39 pm, Satish <sa...@gmail.com> wrote:

Hi

Thanks Anand. 
I have completed the update process without any error.
But still I am getting the same "Forbidden" error.
Do I need to do something else??

Regards
Satish



On Friday, 1 November 2013 16:41:04 UTC+5:30, Anand Doshi wrote:
Hi Satish,

You seem to have update ERPNext and pulled the WSGI related code. You need to follow these steps to start ERPNext:

If you don’t want to follow this complicated process now, you can change the branch to 1310:

cd app && git checkout 1310 & cd ..
cd lib && git checkout 1310 & cd ..
lib/wnf.py —update origin 1310

Then your instance should start working. However, you won’t get any future updates.

Best,
Anand.

PS: Always take a backup before update.

On 01-Nov-2013, at 3:48 pm, Satish <sa...@gmail.com> wrote:

HI

Can someone help me on this. I am not a developer and I am not sure if the WSGI and other branch thing is related to my problem.
I updated from inside erpnext but now I can't access it. I get the error as shown in the previous post.
Can I still get back my installation and data??

Regards
Satish

On Wednesday, 30 October 2013 15:54:49 UTC+5:30, Satish wrote:
Hi

Immediately after updating erpnext if am getting the following error:


Forbidden

You don't have permission to access / on this server.


Apache/2.2.22 (Ubuntu) Server at 192.168.1.7 Port 8080

I also checked  "error.log" in /var/log/apache2It says  "Symbolic link not allowed or link target not accessible: /home/satish/erpnext/public/web.py"

What should I do?

Satish Gupta



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

Hi Satish,
To change to apache user, do `sudo su www-data`

To fix the missing web.py, run ./lib/wnf.py --build

The lib and app directories not being git repositories is mysterious.

--
Pratik
sent from a telephone, please excuse typos

On 1 Nov 2013 19:14, "Satish" <sa...@gmail.com> wrote:
When I run it, it says:

[1] 2269
fatal: Not a git repository (or any of the parent directories): .git
[1]+ Done cd lib


and similary for lib.

I am still getting the Forbidden error.


Satish


On Friday, 1 November 2013 19:01:43 UTC+5:30, Anand Doshi wrote:
Try
cd app & git reset --hard origin/1310 && cd ..

Similarly for lib folder

Then try again

On 01-Nov-2013, at 6:58 pm, Satish <sa...@gmail.com> wrote:

OS is Ubuntu.

I also read the error log in /var/log/apache2/error.log if it helps:

It says first "Symbolic link not allowed or link target not accessible: /home/satish/erpnext/public/web.py " This is whenever I try to access erpnext.

Just before this error started appearing, there is another error which says:

"File does not exist: /home/satish/erpnext/public/HNAP1, referer: http://117.207.143.250:8080/ "


Satish

On Friday, 1 November 2013 18:47:29 UTC+5:30, Anand Doshi wrote:
Difficult to say. You also might need to change user to apache user.

What's the operating system?

On 01-Nov-2013, at 6:39 pm, Satish <sa...@gmail.com> wrote:

Hi

Thanks Anand.
I have completed the update process without any error.
But still I am getting the same "Forbidden" error.
Do I need to do something else??

Regards
Satish



On Friday, 1 November 2013 16:41:04 UTC+5:30, Anand Doshi wrote:
Hi Satish,

You seem to have update ERPNext and pulled the WSGI related code. You need to follow these steps to start ERPNext:

If you don’t want to follow this complicated process now, you can change the branch to 1310:

cd app && git checkout 1310 & cd ..
cd lib && git checkout 1310 & cd ..
lib/wnf.py —update origin 1310

Then your instance should start working. However, you won’t get any future updates.

Best,
Anand.

PS: Always take a backup before update.

On 01-Nov-2013, at 3:48 pm, Satish <sa...@gmail.com> wrote:

HI

Can someone help me on this. I am not a developer and I am not sure if the WSGI and other branch thing is related to my problem.
I updated from inside erpnext but now I can't access it. I get the error as shown in the previous post.
Can I still get back my installation and data??

Regards
Satish

On Wednesday, 30 October 2013 15:54:49 UTC+5:30, Satish wrote:
Hi

Immediately after updating erpnext if am getting the following error:


Forbidden

You don't have permission to access / on this server.


Apache/2.2.22 (Ubuntu) Server at 192.168.1.7 Port 8080

I also checked "error.log" in /var/log/apache2It says "Symbolic link not allowed or link target not accessible: /home/satish/erpnext/public/web.py"

What should I do?

Satish Gupta



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

Tried it. the command runs without problem.
But still the same error.


Satish


On Friday, 1 November 2013 21:52:45 UTC+5:30, pdvyas wrote:

Hi Satish,
To change to apache user, do `sudo su www-data`

To fix the missing web.py, run ./lib/wnf.py --build

The lib and app directories not being git repositories is mysterious.

--
Pratik
sent from a telephone, please excuse typos

On 1 Nov 2013 19:14, "Satish" <sa...@gmail.com> wrote:
When I run it, it says:

[1] 2269
fatal: Not a git repository (or any of the parent directories): .git
[1]+ Done                        cd lib


and similary for lib.

I am still getting the Forbidden error.


Satish


On Friday, 1 November 2013 19:01:43 UTC+5:30, Anand Doshi wrote:
Try
cd app & git reset --hard origin/1310 && cd ..

Similarly for lib folder

Then try again

On 01-Nov-2013, at 6:58 pm, Satish <sa...@gmail.com> wrote:

OS is Ubuntu.

I also read the error log in  /var/log/apache2/error.log    if it helps:

It says first  "Symbolic link not allowed or link target not accessible:  /home/satish/erpnext/public/web.py "  This is whenever I try to access erpnext.

Just before this error started appearing, there is another error which says:

"File does not exist:  /home/satish/erpnext/public/HNAP1,  referer:  http://117.207.143.250:8080/ "


Satish

On Friday, 1 November 2013 18:47:29 UTC+5:30, Anand Doshi wrote:
Difficult to say. You also might need to change user to apache user. 

What's the operating system?

On 01-Nov-2013, at 6:39 pm, Satish <sa...@gmail.com> wrote:

Hi

Thanks Anand. 
I have completed the update process without any error.
But still I am getting the same "Forbidden" error.
Do I need to do something else??

Regards
Satish



On Friday, 1 November 2013 16:41:04 UTC+5:30, Anand Doshi wrote:
Hi Satish,

You seem to have update ERPNext and pulled the WSGI related code. You need to follow these steps to start ERPNext:

If you don’t want to follow this complicated process now, you can change the branch to 1310:

cd app && git checkout 1310 & cd ..
cd lib && git checkout 1310 & cd ..
lib/wnf.py —update origin 1310

Then your instance should start working. However, you won’t get any future updates.

Best,
Anand.

PS: Always take a backup before update.

On 01-Nov-2013, at 3:48 pm, Satish <sa...@gmail.com> wrote:

HI

Can someone help me on this. I am not a developer and I am not sure if the WSGI and other branch thing is related to my problem.
I updated from inside erpnext but now I can't access it. I get the error as shown in the previous post.
Can I still get back my installation and data??

Regards
Satish

On Wednesday, 30 October 2013 15:54:49 UTC+5:30, Satish wrote:
Hi

Immediately after updating erpnext if am getting the following error:


Forbidden

You don't have permission to access / on this server.


Apache/2.2.22 (Ubuntu) Server at 192.168.1.7 Port 8080

I also checked  "error.log" in /var/log/apache2It says  "Symbolic link not allowed or link target not accessible: /home/satish/erpnext/public/web.py"

What should I do?

Satish Gupta



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

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

    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 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 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.
I've been having the same problem, it would be a good idea to make a better step-by-step tutorial on how to upgrade to the new version.


On Saturday, November 2, 2013 5:47:38 AM UTC-3, Satish wrote:
Tried it. the command runs without problem.
But still the same error.


Satish


On Friday, 1 November 2013 21:52:45 UTC+5:30, pdvyas wrote:

Hi Satish,
To change to apache user, do `sudo su www-data`

To fix the missing web.py, run ./lib/wnf.py --build

The lib and app directories not being git repositories is mysterious.

--
Pratik
sent from a telephone, please excuse typos

On 1 Nov 2013 19:14, "Satish" <sa...@gmail.com> wrote:
When I run it, it says:

[1] 2269
fatal: Not a git repository (or any of the parent directories): .git
[1]+ Done                        cd lib


and similary for lib.

I am still getting the Forbidden error.


Satish


On Friday, 1 November 2013 19:01:43 UTC+5:30, Anand Doshi wrote:
Try
cd app & git reset --hard origin/1310 && cd ..

Similarly for lib folder

Then try again

On 01-Nov-2013, at 6:58 pm, Satish <sa...@gmail.com> wrote:

OS is Ubuntu.

I also read the error log in  /var/log/apache2/error.log    if it helps:

It says first  "Symbolic link not allowed or link target not accessible:  /home/satish/erpnext/public/web.py "  This is whenever I try to access erpnext.

Just before this error started appearing, there is another error which says:

"File does not exist:  /home/satish/erpnext/public/HNAP1,  referer:  http://117.207.143.250:8080/ "


Satish

On Friday, 1 November 2013 18:47:29 UTC+5:30, Anand Doshi wrote:
Difficult to say. You also might need to change user to apache user. 

What's the operating system?

On 01-Nov-2013, at 6:39 pm, Satish <sa...@gmail.com> wrote:

Hi

Thanks Anand. 
I have completed the update process without any error.
But still I am getting the same "Forbidden" error.
Do I need to do something else??

Regards
Satish



On Friday, 1 November 2013 16:41:04 UTC+5:30, Anand Doshi wrote:
Hi Satish,

You seem to have update ERPNext and pulled the WSGI related code. You need to follow these steps to start ERPNext:

If you don’t want to follow this complicated process now, you can change the branch to 1310:

cd app && git checkout 1310 & cd ..
cd lib && git checkout 1310 & cd ..
lib/wnf.py —update origin 1310

Then your instance should start working. However, you won’t get any future updates.

Best,
Anand.

PS: Always take a backup before update.

On 01-Nov-2013, at 3:48 pm, Satish <sa...@gmail.com> wrote:

HI

Can someone help me on this. I am not a developer and I am not sure if the WSGI and other branch thing is related to my problem.
I updated from inside erpnext but now I can't access it. I get the error as shown in the previous post.
Can I still get back my installation and data??

Regards
Satish

On Wednesday, 30 October 2013 15:54:49 UTC+5:30, Satish wrote:
Hi

Immediately after updating erpnext if am getting the following error:


Forbidden

You don't have permission to access / on this server.


Apache/2.2.22 (Ubuntu) Server at 192.168.1.7 Port 8080

I also checked  "error.log" in /var/log/apache2It says  "Symbolic link not allowed or link target not accessible: /home/satish/erpnext/public/web.py"

What should I do?

Satish Gupta



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

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

    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 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 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.
Same problem, on localgost and VPS also...How to upgrade to the new ver?
Regards,
Ferenc

On Saturday, November 2, 2013 10:50:54 PM UTC+1, Hernan Gonzalez wrote:
I've been having the same problem, it would be a good idea to make a better step-by-step tutorial on how to upgrade to the new version.


On Saturday, November 2, 2013 5:47:38 AM UTC-3, Satish wrote:
Tried it. the command runs without problem.
But still the same error.


Satish


On Friday, 1 November 2013 21:52:45 UTC+5:30, pdvyas wrote:

Hi Satish,
To change to apache user, do `sudo su www-data`

To fix the missing web.py, run ./lib/wnf.py --build

The lib and app directories not being git repositories is mysterious.

--
Pratik
sent from a telephone, please excuse typos

On 1 Nov 2013 19:14, "Satish" <sa...@gmail.com> wrote:
When I run it, it says:

[1] 2269
fatal: Not a git repository (or any of the parent directories): .git
[1]+ Done                        cd lib


and similary for lib.

I am still getting the Forbidden error.


Satish


On Friday, 1 November 2013 19:01:43 UTC+5:30, Anand Doshi wrote:
Try
cd app & git reset --hard origin/1310 && cd ..

Similarly for lib folder

Then try again

On 01-Nov-2013, at 6:58 pm, Satish <sa...@gmail.com> wrote:

OS is Ubuntu.

I also read the error log in  /var/log/apache2/error.log    if it helps:

It says first  "Symbolic link not allowed or link target not accessible:  /home/satish/erpnext/public/web.py "  This is whenever I try to access erpnext.

Just before this error started appearing, there is another error which says:

"File does not exist:  /home/satish/erpnext/public/HNAP1,  referer:  http://117.207.143.250:8080/ "


Satish

On Friday, 1 November 2013 18:47:29 UTC+5:30, Anand Doshi wrote:
Difficult to say. You also might need to change user to apache user. 

What's the operating system?

On 01-Nov-2013, at 6:39 pm, Satish <sa...@gmail.com> wrote:

Hi

Thanks Anand. 
I have completed the update process without any error.
But still I am getting the same "Forbidden" error.
Do I need to do something else??

Regards
Satish



On Friday, 1 November 2013 16:41:04 UTC+5:30, Anand Doshi wrote:
Hi Satish,

You seem to have update ERPNext and pulled the WSGI related code. You need to follow these steps to start ERPNext:

If you don’t want to follow this complicated process now, you can change the branch to 1310:

cd app && git checkout 1310 & cd ..
cd lib && git checkout 1310 & cd ..
lib/wnf.py —update origin 1310

Then your instance should start working. However, you won’t get any future updates.

Best,
Anand.

PS: Always take a backup before update.

On 01-Nov-2013, at 3:48 pm, Satish <sa...@gmail.com> wrote:

HI

Can someone help me on this. I am not a developer and I am not sure if the WSGI and other branch thing is related to my problem.
I updated from inside erpnext but now I can't access it. I get the error as shown in the previous post.
Can I still get back my installation and data??

Regards
Satish

On Wednesday, 30 October 2013 15:54:49 UTC+5:30, Satish wrote:
Hi

Immediately after updating erpnext if am getting the following error:


Forbidden

You don't have permission to access / on this server.


Apache/2.2.22 (Ubuntu) Server at 192.168.1.7 Port 8080

I also checked  "error.log" in /var/log/apache2It says  "Symbolic link not allowed or link target not accessible: /home/satish/erpnext/public/web.py"

What should I do?

Satish Gupta



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

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

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

Here is the document for migration that we shared,

I am trying to replicate the scenario as to how to recover if you
update from UI.
Can you elaborate where are you stuck?

On Sun, Nov 3, 2013 at 3:01 PM, Ferenc fe...@gmail.com wrote:

Same problem, on localgost and VPS also…How to upgrade to the new ver?
Regards,
Ferenc

On Saturday, November 2, 2013 10:50:54 PM UTC+1, Hernan Gonzalez wrote:

I’ve been having the same problem, it would be a good idea to make a
better step-by-step tutorial on how to upgrade to the new version.

On Saturday, November 2, 2013 5:47:38 AM UTC-3, Satish wrote:

Tried it. the command runs without problem.
But still the same error.

Satish

On Friday, 1 November 2013 21:52:45 UTC+5:30, pdvyas wrote:

Hi Satish,
To change to apache user, do sudo su www-data

To fix the missing web.py, run ./lib/wnf.py --build

The lib and app directories not being git repositories is mysterious.


Pratik
sent from a telephone, please excuse typos

On 1 Nov 2013 19:14, “Satish” sa...@gmail.com wrote:

When I run it, it says:

[1] 2269
fatal: Not a git repository (or any of the parent directories): .git
[1]+ Done cd lib

and similary for lib.

I am still getting the Forbidden error.

Satish

On Friday, 1 November 2013 19:01:43 UTC+5:30, Anand Doshi wrote:

Try
cd app & git reset --hard origin/1310 && cd …

Similarly for lib folder

Then try again

On 01-Nov-2013, at 6:58 pm, Satish sa...@gmail.com wrote:

OS is Ubuntu.

I also read the error log in /var/log/apache2/error.log if it
helps:

It says first "Symbolic link not allowed or link target not
accessible: /home/satish/erpnext/public/web.py " This is whenever I try to
access erpnext.

Just before this error started appearing, there is another error which
says:

"File does not exist: /home/satish/erpnext/public/HNAP1, referer:
http://117.207.143.250:8080/ "

Satish

On Friday, 1 November 2013 18:47:29 UTC+5:30, Anand Doshi wrote:

Difficult to say. You also might need to change user to apache user.

What’s the operating system?

On 01-Nov-2013, at 6:39 pm, Satish sa...@gmail.com wrote:

Hi

Thanks Anand.
I have completed the update process without any error.
But still I am getting the same “Forbidden” error.
Do I need to do something else??

Regards
Satish

On Friday, 1 November 2013 16:41:04 UTC+5:30, Anand Doshi wrote:

Hi Satish,

You seem to have update ERPNext and pulled the WSGI related code.
You need to follow these steps to start ERPNext:

Migrating your erpnext instance to wsgi · webnotes/erpnext Wiki · GitHub

If you don’t want to follow this complicated process now, you can
change the branch to 1310:

cd app && git checkout 1310 & cd …
cd lib && git checkout 1310 & cd …
lib/wnf.py —update origin 1310

Then your instance should start working. However, you won’t get any
future updates.

Best,
Anand.

PS: Always take a backup before update.

On 01-Nov-2013, at 3:48 pm, Satish sa...@gmail.com wrote:

HI

Can someone help me on this. I am not a developer and I am not sure
if the WSGI and other branch thing is related to my problem.
I updated from inside erpnext but now I can’t access it. I get the
error as shown in the previous post.
Can I still get back my installation and data??

Regards
Satish

On Wednesday, 30 October 2013 15:54:49 UTC+5:30, Satish wrote:

Hi

Immediately after updating erpnext if am getting the following
error:

Forbidden

You don’t have permission to access / on this server.


Apache/2.2.22 (Ubuntu) Server at 192.168.1.7 Port 8080

I also checked “error.log” in /var/log/apache2It says “Symbolic
link not allowed or link target not accessible:
/home/satish/erpnext/public/web.py”

What should I do?

Satish Gupta


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


Pratik Vyas
Ph: +919925239915
Google Profile : http://www.google.com/profiles/pdvyas

Hi Satish,

Can you try,

cd /home/satish/
sudo chown www-data -R .

On Sat, Nov 2, 2013 at 2:17 PM, Satish sa...@gmail.com wrote:

Tried it. the command runs without problem.
But still the same error.

Satish

On Friday, 1 November 2013 21:52:45 UTC+5:30, pdvyas wrote:

Hi Satish,
To change to apache user, do sudo su www-data

To fix the missing web.py, run ./lib/wnf.py --build

The lib and app directories not being git repositories is mysterious.


Pratik
sent from a telephone, please excuse typos

On 1 Nov 2013 19:14, “Satish” sa...@gmail.com wrote:

When I run it, it says:

[1] 2269
fatal: Not a git repository (or any of the parent directories): .git
[1]+ Done cd lib

and similary for lib.

I am still getting the Forbidden error.

Satish

On Friday, 1 November 2013 19:01:43 UTC+5:30, Anand Doshi wrote:

Try
cd app & git reset --hard origin/1310 && cd …

Similarly for lib folder

Then try again

On 01-Nov-2013, at 6:58 pm, Satish sa...@gmail.com wrote:

OS is Ubuntu.

I also read the error log in /var/log/apache2/error.log if it helps:

It says first "Symbolic link not allowed or link target not accessible:
/home/satish/erpnext/public/web.py " This is whenever I try to access
erpnext.

Just before this error started appearing, there is another error which
says:

"File does not exist: /home/satish/erpnext/public/HNAP1, referer:
http://117.207.143.250:8080/ "

Satish

On Friday, 1 November 2013 18:47:29 UTC+5:30, Anand Doshi wrote:

Difficult to say. You also might need to change user to apache user.

What’s the operating system?

On 01-Nov-2013, at 6:39 pm, Satish sa...@gmail.com wrote:

Hi

Thanks Anand.
I have completed the update process without any error.
But still I am getting the same “Forbidden” error.
Do I need to do something else??

Regards
Satish

On Friday, 1 November 2013 16:41:04 UTC+5:30, Anand Doshi wrote:

Hi Satish,

You seem to have update ERPNext and pulled the WSGI related code. You
need to follow these steps to start ERPNext:

Migrating your erpnext instance to wsgi · webnotes/erpnext Wiki · GitHub

If you don’t want to follow this complicated process now, you can
change the branch to 1310:

cd app && git checkout 1310 & cd …
cd lib && git checkout 1310 & cd …
lib/wnf.py —update origin 1310

Then your instance should start working. However, you won’t get any
future updates.

Best,
Anand.

PS: Always take a backup before update.

On 01-Nov-2013, at 3:48 pm, Satish sa...@gmail.com wrote:

HI

Can someone help me on this. I am not a developer and I am not sure if
the WSGI and other branch thing is related to my problem.
I updated from inside erpnext but now I can’t access it. I get the
error as shown in the previous post.
Can I still get back my installation and data??

Regards
Satish

On Wednesday, 30 October 2013 15:54:49 UTC+5:30, Satish wrote:

Hi

Immediately after updating erpnext if am getting the following error:

Forbidden

You don’t have permission to access / on this server.


Apache/2.2.22 (Ubuntu) Server at 192.168.1.7 Port 8080

I also checked “error.log” in /var/log/apache2It says “Symbolic
link not allowed or link target not accessible:
/home/satish/erpnext/public/web.py”

What should I do?

Satish Gupta


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


Pratik Vyas
Ph: +919925239915
Google Profile : http://www.google.com/profiles/pdvyas

Thank you all for ur help. But i am out of office till 13 and will be able to try only then. Will let u know if it works. But it seems that that u want apache user to take ownership of files and folder. I have tried that already but it doesnt work.

On Nov 3, 2013 4:46 PM, "Pratik Vyas" <pd...@gmail.com> wrote:
Hi Satish,

Can you try,
```
cd /home/satish/
sudo chown www-data -R .
```


On Sat, Nov 2, 2013 at 2:17 PM, Satish <sa...@gmail.com> wrote:
> Tried it. the command runs without problem.
> But still the same error.
>
>
> Satish
>
>
> On Friday, 1 November 2013 21:52:45 UTC+5:30, pdvyas wrote:
>>
>> Hi Satish,
>> To change to apache user, do `sudo su www-data`
>>
>> To fix the missing web.py, run ./lib/wnf.py --build
>>
>> The lib and app directories not being git repositories is mysterious.
>>
>> --
>> Pratik
>> sent from a telephone, please excuse typos
>>
>> On 1 Nov 2013 19:14, "Satish" <sa...@gmail.com> wrote:
>>>
>>> When I run it, it says:
>>>
>>> [1] 2269
>>> fatal: Not a git repository (or any of the parent directories): .git
>>> [1]+ Done cd lib
>>>
>>>
>>> and similary for lib.
>>>
>>> I am still getting the Forbidden error.
>>>
>>>
>>> Satish
>>>
>>>
>>> On Friday, 1 November 2013 19:01:43 UTC+5:30, Anand Doshi wrote:
>>>>
>>>> Try
>>>> cd app & git reset --hard origin/1310 && cd ..
>>>>
>>>> Similarly for lib folder
>>>>
>>>> Then try again
>>>>
>>>> On 01-Nov-2013, at 6:58 pm, Satish <sa...@gmail.com> wrote:
>>>>
>>>> OS is Ubuntu.
>>>>
>>>> I also read the error log in /var/log/apache2/error.log if it helps:
>>>>
>>>> It says first "Symbolic link not allowed or link target not accessible:
>>>> /home/satish/erpnext/public/web.py " This is whenever I try to access
>>>> erpnext.
>>>>
>>>> Just before this error started appearing, there is another error which
>>>> says:
>>>>
>>>> "File does not exist: /home/satish/erpnext/public/HNAP1, referer:
>>>> http://117.207.143.250:8080/ "
>>>>
>>>>
>>>> Satish
>>>>
>>>> On Friday, 1 November 2013 18:47:29 UTC+5:30, Anand Doshi wrote:
>>>>>
>>>>> Difficult to say. You also might need to change user to apache user.
>>>>>
>>>>> What's the operating system?
>>>>>
>>>>> On 01-Nov-2013, at 6:39 pm, Satish <sa...@gmail.com> wrote:
>>>>>
>>>>> Hi
>>>>>
>>>>> Thanks Anand.
>>>>> I have completed the update process without any error.
>>>>> But still I am getting the same "Forbidden" error.
>>>>> Do I need to do something else??
>>>>>
>>>>> Regards
>>>>> Satish
>>>>>
>>>>>
>>>>>
>>>>> On Friday, 1 November 2013 16:41:04 UTC+5:30, Anand Doshi wrote:
>>>>>>
>>>>>> Hi Satish,
>>>>>>
>>>>>> You seem to have update ERPNext and pulled the WSGI related code. You
>>>>>> need to follow these steps to start ERPNext:
>>>>>>
>>>>>> https://github.com/webnotes/erpnext/wiki/Migrating-your-erpnext-instance-to-wsgi

>>>>>>

>>>>>> If you don’t want to follow this complicated process now, you can

>>>>>> change the branch to 1310:

>>>>>>

>>>>>> cd app && git checkout 1310 & cd …

>>>>>> cd lib && git checkout 1310 & cd …

>>>>>> lib/wnf.py —update origin 1310

>>>>>>

>>>>>> Then your instance should start working. However, you won’t get any

>>>>>> future updates.

>>>>>>

>>>>>> Best,

>>>>>> Anand.

>>>>>>

>>>>>> PS: Always take a backup before update.

>>>>>>

>>>>>> On 01-Nov-2013, at 3:48 pm, Satish <sa…@gmail.com> wrote:

>>>>>>

>>>>>> HI

>>>>>>

>>>>>> Can someone help me on this. I am not a developer and I am not sure if

>>>>>> the WSGI and other branch thing is related to my problem.

>>>>>> I updated from inside erpnext but now I can't access it. I get the

>>>>>> error as shown in the previous post.

>>>>>> Can I still get back my installation and data??

>>>>>>

>>>>>> Regards

>>>>>> Satish

>>>>>>

>>>>>> On Wednesday, 30 October 2013 15:54:49 UTC+5:30, Satish wrote:

>>>>>>>

>>>>>>> Hi

>>>>>>>

>>>>>>> Immediately after updating erpnext if am getting the following error:

>>>>>>>

>>>>>>>

>>>>>>> Forbidden

>>>>>>>

>>>>>>> You don't have permission to access / on this server.

>>>>>>>

>>>>>>> ________________________________

>>>>>>> Apache/2.2.22 (Ubuntu) Server at 192.168.1.7 Port 8080

>>>>>>>

>>>>>>> I also checked "error.log" in /var/log/apache2It says "Symbolic

>>>>>>> link not allowed or link target not accessible:

>>>>>>> /home/satish/erpnext/public/web.py"

>>>>>>>

>>>>>>> What should I do?

>>>>>>>

>>>>>>> Satish Gupta

>>>>>>

>>>>>>

>>>>>> –

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









Pratik Vyas

Ph: +919925239915

Google Profile : http://www.google.com/profiles/pdvyas





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



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.

Hi Satish,

On Thu, Nov 7, 2013 at 11:54 PM, Satish Gupta
sa...@gmail.com wrote:

Thank you all for ur help. But i am out of office till 13 and will be able
to try only then. Will let u know if it works. But it seems that that u want
apache user to take ownership of files and folder. I have tried that already
but it doesnt work.

I think that instead of getting apache to work, you should invest in
getting the latest master (with wsgi changes) to work. It is worth the
effort as we will be deprecating the 1310 branch soon.

Copying from rihnorck’s thread,

  • Create a new erpnext user,
  • install from latest master,
  • copy the old conf.py (as it will have the database config)
  • run patches and clear web

Assuming that you are on Ubuntu

sudo adduser erpnext
su - erpnext
# enter password for erpnext
mkdir ~/erpnext
cd ~/erpnext
wget https://raw.github.com/webnotes/erpnext/master/install_erpnext.py
#enter some random database name
sudo python install_erpnext.py
cp /path/to/old/conf.py conf.py
rm conf.pyc
./lib/wnf.py --latest
./lib/wnf.py --clear_web
./lib/wnf.py --serve

This should get you up and running on WSGI (current master). Proceed
with production setup from here,


Pratik
ERPNext

Hi Pratik,

Thanks for you help.

When I run command   ./lib/wnf.py --latest, clear_web and server,  I get the following output:

er...@SatishG:~/erpnext$ ./lib/wnf.py --latest
Traceback (most recent call last):
  File "/usr/lib/python2.7/site.py", line 562, in <module>
    main()
  File "/usr/lib/python2.7/site.py", line 544, in main
    known_paths = addusersitepackages(known_paths)
  File "/usr/lib/python2.7/site.py", line 271, in addusersitepackages
    user_site = getusersitepackages()
  File "/usr/lib/python2.7/site.py", line 246, in getusersitepackages
    user_base = getuserbase() # this will also set USER_BASE
  File "/usr/lib/python2.7/site.py", line 236, in getuserbase
    USER_BASE = get_config_var('userbase')
  File "/usr/lib/python2.7/sysconfig.py", line 577, in get_config_var
    return get_config_vars().get(name)
  File "/usr/lib/python2.7/sysconfig.py", line 476, in get_config_vars
    _init_posix(_CONFIG_VARS)
  File "/usr/lib/python2.7/sysconfig.py", line 337, in _init_posix
    makefile = _get_makefile_filename()
  File "/usr/lib/python2.7/sysconfig.py", line 331, in _get_makefile_filename
    return os.path.join(get_path('platstdlib').replace("/usr/local","/usr",1), "config" + (sys.pydebug and "_d" or ""), "Makefile")
AttributeError: 'module' object has no attribute 'pydebug'



And I am still getting the same Access Denied error.

Thereafter, I even tried setting up Production setup. However I can't seem to figure out how to add file   gunicorn.conf  to /etc/supervisor/conf.d/


Regards
Satish Gupta

On Friday, 8 November 2013 17:59:58 UTC+5:30, Pratik Vyas wrote:
Hi Satish,

On Thu, Nov 7, 2013 at 11:54 PM, Satish Gupta
<sa...@gmail.com> wrote:
> Thank you all for ur help. But i am out of office till 13 and will be able
> to try only then. Will let u know if it works. But it seems that that u want
> apache user to take ownership of files and folder. I have tried that already
> but it doesnt work.

I think that instead of getting apache to work, you should invest in
getting the latest master (with wsgi changes) to work. It is worth the
effort as we will be deprecating the 1310 branch soon.

Copying from rihnorck's thread,

* Create a new erpnext user,
* install from latest master,
* copy the old conf.py (as it will have the database config)
* run patches and clear web

Assuming that you are on Ubuntu

```
sudo adduser erpnext
su - erpnext
# enter password for erpnext
mkdir ~/erpnext
cd ~/erpnext
wget https://raw.github.com/webnotes/erpnext/master/install_erpnext.py
#enter some random database name
sudo python install_erpnext.py
cp /path/to/old/conf.py conf.py
rm conf.pyc
./lib/wnf.py --latest
./lib/wnf.py --clear_web
./lib/wnf.py --serve
```

This should get you up and running on WSGI (current master). Proceed
with production setup from here,
https://github.com/webnotes/erpnext/wiki/WSGI-Production-Deployment


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

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

Hi Satish,

I have never encountered this error before. On searching, http://stackoverflow.com/questions/10641201/attributeerror-module-object-has-no-attribute-pydebug is the first result.

Can you send the output of
`which python`
?

On 16 Nov 2013 13:27, "Satish" <sa...@gmail.com> wrote:
Hi Pratik,

Thanks for you help.

When I run command ./lib/wnf.py --latest, clear_web and server, I get the following output:

er...@SatishG:~/erpnext$ ./lib/wnf.py --latest
Traceback (most recent call last):
File "/usr/lib/python2.7/site.py", line 562, in <module>
main()
File "/usr/lib/python2.7/site.py", line 544, in main
known_paths = addusersitepackages(known_paths)
File "/usr/lib/python2.7/site.py", line 271, in addusersitepackages
user_site = getusersitepackages()
File "/usr/lib/python2.7/site.py", line 246, in getusersitepackages
user_base = getuserbase() # this will also set USER_BASE
File "/usr/lib/python2.7/site.py", line 236, in getuserbase
USER_BASE = get_config_var('userbase')
File "/usr/lib/python2.7/sysconfig.py", line 577, in get_config_var
return get_config_vars().get(name)
File "/usr/lib/python2.7/sysconfig.py", line 476, in get_config_vars
_init_posix(_CONFIG_VARS)
File "/usr/lib/python2.7/sysconfig.py", line 337, in _init_posix
makefile = _get_makefile_filename()
File "/usr/lib/python2.7/sysconfig.py", line 331, in _get_makefile_filename
return os.path.join(get_path('platstdlib').replace("/usr/local","/usr",1), "config" + (sys.pydebug and "_d" or ""), "Makefile")
AttributeError: 'module' object has no attribute 'pydebug'



And I am still getting the same Access Denied error.

Thereafter, I even tried setting up Production setup. However I can't seem to figure out how to add file gunicorn.conf to /etc/supervisor/conf.d/


Regards
Satish Gupta

On Friday, 8 November 2013 17:59:58 UTC+5:30, Pratik Vyas wrote:
Hi Satish,

On Thu, Nov 7, 2013 at 11:54 PM, Satish Gupta
<sa...@gmail.com> wrote:
> Thank you all for ur help. But i am out of office till 13 and will be able
> to try only then. Will let u know if it works. But it seems that that u want
> apache user to take ownership of files and folder. I have tried that already
> but it doesnt work.

I think that instead of getting apache to work, you should invest in
getting the latest master (with wsgi changes) to work. It is worth the
effort as we will be deprecating the 1310 branch soon.

Copying from rihnorck's thread,

* Create a new erpnext user,
* install from latest master,
* copy the old conf.py (as it will have the database config)
* run patches and clear web

Assuming that you are on Ubuntu

```
sudo adduser erpnext
su - erpnext
# enter password for erpnext
mkdir ~/erpnext
cd ~/erpnext
wget https://raw.github.com/webnotes/erpnext/master/install_erpnext.py
#enter some random database name
sudo python install_erpnext.py
cp /path/to/old/conf.py conf.py
rm conf.pyc
./lib/wnf.py --latest
./lib/wnf.py --clear_web
./lib/wnf.py --serve
```

This should get you up and running on WSGI (current master). Proceed
with production setup from here,
https://github.com/webnotes/erpnext/wiki/WSGI-Production-Deployment


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

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

Hi Pratik

which python returns

/usr/bin/python


Satish

On Saturday, 16 November 2013 13:43:16 UTC+5:30, Pratik Vyas wrote:

Hi Satish,

I have never encountered this error before. On searching, http://stackoverflow.com/questions/10641201/attributeerror-module-object-has-no-attribute-pydebug is the first result.

Can you send the output of
`which python`
?

On 16 Nov 2013 13:27, "Satish" <sa...@gmail.com> wrote:
Hi Pratik,

Thanks for you help.

When I run command   ./lib/wnf.py --latest, clear_web and server,  I get the following output:

er...@SatishG:~/erpnext$ ./lib/wnf.py --latest
Traceback (most recent call last):
  File "/usr/lib/python2.7/site.py", line 562, in <module>
    main()
  File "/usr/lib/python2.7/site.py", line 544, in main
    known_paths = addusersitepackages(known_paths)
  File "/usr/lib/python2.7/site.py", line 271, in addusersitepackages
    user_site = getusersitepackages()
  File "/usr/lib/python2.7/site.py", line 246, in getusersitepackages
    user_base = getuserbase() # this will also set USER_BASE
  File "/usr/lib/python2.7/site.py", line 236, in getuserbase
    USER_BASE = get_config_var('userbase')
  File "/usr/lib/python2.7/sysconfig.py", line 577, in get_config_var
    return get_config_vars().get(name)
  File "/usr/lib/python2.7/sysconfig.py", line 476, in get_config_vars
    _init_posix(_CONFIG_VARS)
  File "/usr/lib/python2.7/sysconfig.py", line 337, in _init_posix
    makefile = _get_makefile_filename()
  File "/usr/lib/python2.7/sysconfig.py", line 331, in _get_makefile_filename
    return os.path.join(get_path('platstdlib').replace("/usr/local","/usr",1), "config" + (sys.pydebug and "_d" or ""), "Makefile")
AttributeError: 'module' object has no attribute 'pydebug'



And I am still getting the same Access Denied error.

Thereafter, I even tried setting up Production setup. However I can't seem to figure out how to add file   gunicorn.conf  to /etc/supervisor/conf.d/


Regards
Satish Gupta

On Friday, 8 November 2013 17:59:58 UTC+5:30, Pratik Vyas wrote:
Hi Satish,

On Thu, Nov 7, 2013 at 11:54 PM, Satish Gupta
<sa...@gmail.com> wrote:
> Thank you all for ur help. But i am out of office till 13 and will be able
> to try only then. Will let u know if it works. But it seems that that u want
> apache user to take ownership of files and folder. I have tried that already
> but it doesnt work.

I think that instead of getting apache to work, you should invest in
getting the latest master (with wsgi changes) to work. It is worth the
effort as we will be deprecating the 1310 branch soon.

Copying from rihnorck's thread,

* Create a new erpnext user,
* install from latest master,
* copy the old conf.py (as it will have the database config)
* run patches and clear web

Assuming that you are on Ubuntu

```
sudo adduser erpnext
su - erpnext
# enter password for erpnext
mkdir ~/erpnext
cd ~/erpnext
wget https://raw.github.com/webnotes/erpnext/master/install_erpnext.py
#enter some random database name
sudo python install_erpnext.py
cp /path/to/old/conf.py conf.py
rm conf.pyc
./lib/wnf.py --latest
./lib/wnf.py --clear_web
./lib/wnf.py --serve
```

This should get you up and running on WSGI (current master). Proceed
with production setup from here,
https://github.com/webnotes/erpnext/wiki/WSGI-Production-Deployment


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

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 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 16 Nov 2013 15:11, "Satish" <sa...@gmail.com> wrote:
>
> Hi Pratik
>
> which python returns
>
> /usr/bin/python

Nice. Sorry but it occurred to me that the shebang asks for python2.7

Can you send
`which python2.7`

Also if your system python ie /usr/bin/python is 2.7

Can you try
```
python ./lib/wnf.py -b
```
>
>
> Satish
>
>
> On Saturday, 16 November 2013 13:43:16 UTC+5:30, Pratik Vyas wrote:
>>
>> Hi Satish,
>>
>> I have never encountered this error before. On searching, http://stackoverflow.com/questions/10641201/attributeerror-module-object-has-no-attribute-pydebug is the first result.

>>

>> Can you send the output of

>> which python

>> ?

>>

>> On 16 Nov 2013 13:27, "Satish" <sa…@gmail.com> wrote:

>>>

>>> Hi Pratik,

>>>

>>> Thanks for you help.

>>>

>>> When I run command ./lib/wnf.py --latest, clear_web and server, I get the following output:

>>>

>>> er…@SatishG:~/erpnext$ ./lib/wnf.py --latest

>>> Traceback (most recent call last):

>>> File "/usr/lib/python2.7/site.py", line 562, in <module>

>>> main()

>>> File "/usr/lib/python2.7/site.py", line 544, in main

>>> known_paths = addusersitepackages(known_paths)

>>> File "/usr/lib/python2.7/site.py", line 271, in addusersitepackages

>>> user_site = getusersitepackages()

>>> File "/usr/lib/python2.7/site.py", line 246, in getusersitepackages

>>> user_base = getuserbase() # this will also set USER_BASE

>>> File "/usr/lib/python2.7/site.py", line 236, in getuserbase

>>> USER_BASE = get_config_var('userbase')

>>> File "/usr/lib/python2.7/sysconfig.py", line 577, in get_config_var

>>> return get_config_vars().get(name)

>>> File "/usr/lib/python2.7/sysconfig.py", line 476, in get_config_vars

>>> _init_posix(_CONFIG_VARS)

>>> File "/usr/lib/python2.7/sysconfig.py", line 337, in _init_posix

>>> makefile = _get_makefile_filename()

>>> File "/usr/lib/python2.7/sysconfig.py", line 331, in _get_makefile_filename

>>> return os.path.join(get_path('platstdlib').replace("/usr/local","/usr",1), "config" + (sys.pydebug and "_d" or ""), "Makefile")

>>> AttributeError: 'module' object has no attribute 'pydebug'

>>>

>>>

>>>

>>> And I am still getting the same Access Denied error.

>>>

>>> Thereafter, I even tried setting up Production setup. However I can't seem to figure out how to add file gunicorn.conf to /etc/supervisor/conf.d/

>>>

>>>

>>> Regards

>>> Satish Gupta

>>>

>>> On Friday, 8 November 2013 17:59:58 UTC+5:30, Pratik Vyas wrote:

>>>>

>>>> Hi Satish,

>>>>

>>>> On Thu, Nov 7, 2013 at 11:54 PM, Satish Gupta

>>>> <sa…@gmail.com> wrote:

>>>> > Thank you all for ur help. But i am out of office till 13 and will be able

>>>> > to try only then. Will let u know if it works. But it seems that that u want

>>>> > apache user to take ownership of files and folder. I have tried that already

>>>> > but it doesnt work.

>>>>

>>>> I think that instead of getting apache to work, you should invest in

>>>> getting the latest master (with wsgi changes) to work. It is worth the

>>>> effort as we will be deprecating the 1310 branch soon.

>>>>

>>>> Copying from rihnorck's thread,

>>>>

>>>> * Create a new erpnext user,

>>>> * install from latest master,

>>>> * copy the old conf.py (as it will have the database config)

>>>> * run patches and clear web

>>>>

>>>> Assuming that you are on Ubuntu

>>>>

>>>> <br> &gt;&gt;&gt;&gt; sudo adduser erpnext <br> &gt;&gt;&gt;&gt; su - erpnext <br> &gt;&gt;&gt;&gt; # enter password for erpnext <br> &gt;&gt;&gt;&gt; mkdir ~/erpnext <br> &gt;&gt;&gt;&gt; cd ~/erpnext <br> &gt;&gt;&gt;&gt; wget <a href="https://raw.github.com/webnotes/erpnext/master/install_erpnext.py">https://raw.github.com/webnotes/erpnext/master/install_erpnext.py</a> <br> &gt;&gt;&gt;&gt; #enter some random database name <br> &gt;&gt;&gt;&gt; sudo python install_erpnext.py <br> &gt;&gt;&gt;&gt; cp /path/to/old/conf.py conf.py <br> &gt;&gt;&gt;&gt; rm conf.pyc <br> &gt;&gt;&gt;&gt; ./lib/wnf.py --latest <br> &gt;&gt;&gt;&gt; ./lib/wnf.py --clear_web <br> &gt;&gt;&gt;&gt; ./lib/wnf.py --serve <br> &gt;&gt;&gt;&gt;

>>>>

>>>> This should get you up and running on WSGI (current master). Proceed

>>>> with production setup from here,

>>>> https://github.com/webnotes/erpnext/wiki/WSGI-Production-Deployment

>>>>

>>>>

>>>> –

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

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