Installation on CentOS 5.9 with WHM/cPanel

Hello…


I am trying to install this on a VPS running CentOS 5.9 WHM and cPanel…

It is not working well for me…


Essentially since cPanel/WHM manages the Apaches COnfiguraion file. I need to use .htaccess files. When I put in the rules, it doesn’t work. I can get the install to complete but when I try to navigate to http://www.TLD.com/erp/public/app.html i get an erpNext Notification in the bottom right corner saying it failed or could not complete the request? I do not know how to get it work over port 80 (apache default  and take me to the login page (since ligin-page.html does not exist?)

Thank you! 



You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To post to this group, send email to er...@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/Ybwv-ImZ7pgJ.

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

 

 

Matthew,

Never tried setting up using .htaccess. You might have to do some debugging here.

The url for the login page is public/web.py?page=login (which is basically reset to public/login using the rewrite rule)

Also check public/web.py - do you get an error trace?

best,
Rushabh

W: https://erpnext.com
T: @rushabh_mehta

On 21-Jan-2013, at 3:25 AM, Matthew Probasco <ma...@gmail.com> wrote:

Hello....

I am trying to install this on a VPS running CentOS 5.9 WHM and cPanel....

It is not working well for me....


Essentially since cPanel/WHM manages the Apaches COnfiguraion file. I need to use .htaccess files. When I put in the rules, it doesn't work. I can get the install to complete but when I try to navigate to http://www.TLD.com/erp/public/app.html i get an erpNext Notification in the bottom right corner saying it failed or could not complete the request? I do not know how to get it work over port 80 (apache default  and take me to the login page (since ligin-page.html does not exist?)

Thank you! 



You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

To post to this group, send email to er…@googlegroups.com.

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

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/Ybwv-ImZ7pgJ.

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

 

 




You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To post to this group, send email to er...@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

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

 

 

You know, I did not get an error trace. I actually uninstalled and am in the process of re-installing… I just noticed your update to the install to show RedHat Based Systems! Great add! 


A note… I am curious how to have one erpNext Installation but have many “Virtual” instances running. I know there would need to be multiple databases, but is this a possibility in the way it is scripted? If so, how would this be accomplished?

Thanks! 


On Sunday, January 20, 2013 10:23:32 PM UTC-6, rushabh wrote:
Matthew,

Never tried setting up using .htaccess. You might have to do some debugging here.

The url for the login page is public/web.py?page=login (which is basically reset to public/login using the rewrite rule)

Also check public/web.py - do you get an error trace?

best,
Rushabh


On 21-Jan-2013, at 3:25 AM, Matthew Probasco <ma...@gmail.com> wrote:

Hello....

I am trying to install this on a VPS running CentOS 5.9 WHM and cPanel....

It is not working well for me....


Essentially since cPanel/WHM manages the Apaches COnfiguraion file. I need to use .htaccess files. When I put in the rules, it doesn't work. I can get the install to complete but when I try to navigate to http://www.TLD.com/erp/public/app.html i get an erpNext Notification in the bottom right corner saying it failed or could not complete the request? I do not know how to get it work over port 80 (apache default  and take me to the login page (since ligin-page.html does not exist?)

Thank you! 
 
 



You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To post to this group, send email to er...@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/lXcnLc60sFQJ.

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

 

 

Matthew,

Thats our bread and butter :) Well if someone makes us a nice enough donation we can make that open too.

But its not too hard to figure out, just keep each instance in a separate folder. Make sure the conf.py files are properly configured. Since each system has its own patching mechanism built-in, its quite simple actually.

If you are using Virtual Machines, thats a whole approach where we have no expertise.

best,
Rushabh


W: https://erpnext.com
T: @rushabh_mehta

On 22-Jan-2013, at 6:56 PM, Matthew Probasco <ma...@gmail.com> wrote:

You know, I did not get an error trace. I actually uninstalled and am in the process of re-installing.... I just noticed your update to the install to show RedHat Based Systems! Great add! 

A note... I am curious how to have one erpNext Installation but have many "Virtual" instances running. I know there would need to be multiple databases, but is this a possibility in the way it is scripted? If so, how would this be accomplished?

Thanks! 


On Sunday, January 20, 2013 10:23:32 PM UTC-6, rushabh wrote:
Matthew,

Never tried setting up using .htaccess. You might have to do some debugging here.

The url for the login page is public/web.py?page=login (which is basically reset to public/login using the rewrite rule)

Also check public/web.py - do you get an error trace?

best,
Rushabh

W: https://erpnext.com
T: @rushabh_mehta

On 21-Jan-2013, at 3:25 AM, Matthew Probasco <ma...@gmail.com> wrote:

Hello....

I am trying to install this on a VPS running CentOS 5.9 WHM and cPanel....

It is not working well for me....


Essentially since cPanel/WHM manages the Apaches COnfiguraion file. I need to use .htaccess files. When I put in the rules, it doesn't work. I can get the install to complete but when I try to navigate to http://www.TLD.com/erp/public/app.html i get an erpNext Notification in the bottom right corner saying it failed or could not complete the request? I do not know how to get it work over port 80 (apache default  and take me to the login page (since ligin-page.html does not exist?)

Thank you! 
 
 




You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

To post to this group, send email to er…@googlegroups.com.

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

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/lXcnLc60sFQJ.

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

 

 




You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To post to this group, send email to er...@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

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

 

 

Hey,


So I am still trying to get this to install for just one virtual host…

The message I get when going to the domain is a 500 error. When I check the erpnext-sch.log file it says"
  File “lib/wnf.py”, line 19
    with open(fpath, ‘r’) as f:
            ^
SyntaxError: invalid syntax
  File “lib/wnf.py”, line 19
    with open(fpath, ‘r’) as f:
            ^
SyntaxError: invalid syntax
  File “lib/wnf.py”, line 19
    with open(fpath, ‘r’) as f:
            ^
SyntaxError: invalid syntax
  File “lib/wnf.py”, line 19
    with open(fpath, ‘r’) as f:
            ^
SyntaxError: invalid syntax
  File “lib/wnf.py”, line 19
    with open(fpath, ‘r’) as f:
            ^
SyntaxError: invalid syntax
"

I have tried to re-install this over and over and it will not work for me. A 500 error gives no answers as to what is going on. Do you have any ideas? 

I have reinstalled all the dependencies on CentOS 5.9
Then gone through the steps on the installation page. I never run into errors until I try to get to the front page and I always get a 500. 

Thank you.

On Sunday, January 20, 2013 3:55:22 PM UTC-6, Matthew Probasco wrote:
Hello…

I am trying to install this on a VPS running CentOS 5.9 WHM and cPanel…

It is not working well for me…


Essentially since cPanel/WHM manages the Apaches COnfiguraion file. I need to use .htaccess files. When I put in the rules, it doesn’t work. I can get the install to complete but when I try to navigate to http://www.TLD.com/erp/public/app.html i get an erpNext Notification in the bottom right corner saying it failed or could not complete the request? I do not know how to get it work over port 80 (apache default  and take me to the login page (since ligin-page.html does not exist?)

Thank you! 



You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To post to this group, send email to er...@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/akrJy7rtfOAJ.

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

 

 

Hi Matthew,

erpnext-sch.log is for logging scheduler errors. I checked wnf.py and I found no syntax error. I recommend that you update erpnext to the latest version. Use:
lib/wnf.py --update origin master

This will fetch the latest files and update your database with patches.

Also, use chrome's network tab / firebug's javascript console to check if there is an error with server.py call.

You can also try running this in your browser:
http://your-domain/server.py?cmd=startup

Paste it's output in pastebin.com and send the link of the paste.

Thanks,
Anand.

On 27-Jan-2013, at 12:04 AM, Matthew Probasco <ma...@gmail.com> wrote:

Hey,

So I am still trying to get this to install for just one virtual host.....

The message I get when going to the domain is a 500 error. When I check the erpnext-sch.log file it says"
  File "lib/wnf.py", line 19
    with open(fpath, 'r') as f:
            ^
SyntaxError: invalid syntax
  File "lib/wnf.py", line 19
    with open(fpath, 'r') as f:
            ^
SyntaxError: invalid syntax
  File "lib/wnf.py", line 19
    with open(fpath, 'r') as f:
            ^
SyntaxError: invalid syntax
  File "lib/wnf.py", line 19
    with open(fpath, 'r') as f:
            ^
SyntaxError: invalid syntax
  File "lib/wnf.py", line 19
    with open(fpath, 'r') as f:
            ^
SyntaxError: invalid syntax
"

I have tried to re-install this over and over and it will not work for me. A 500 error gives no answers as to what is going on. Do you have any ideas? 

I have reinstalled all the dependencies on CentOS 5.9
Then gone through the steps on the installation page. I never run into errors until I try to get to the front page and I always get a 500. 

Thank you.

On Sunday, January 20, 2013 3:55:22 PM UTC-6, Matthew Probasco wrote:
Hello....

I am trying to install this on a VPS running CentOS 5.9 WHM and cPanel....

It is not working well for me....


Essentially since cPanel/WHM manages the Apaches COnfiguraion file. I need to use .htaccess files. When I put in the rules, it doesn't work. I can get the install to complete but when I try to navigate to http://www.TLD.com/erp/public/app.html i get an erpNext Notification in the bottom right corner saying it failed or could not complete the request? I do not know how to get it work over port 80 (apache default  and take me to the login page (since ligin-page.html does not exist?)

Thank you! 



You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

To post to this group, send email to er…@googlegroups.com.

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

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/akrJy7rtfOAJ.

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

 

 




You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To post to this group, send email to er...@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

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