Installation on CentOS 5.9 with WHM/cPanel

462 views
Skip to first unread message

Matthew Probasco

unread,
Jan 20, 2013, 4:55:22 PM1/20/13
to erpnext-dev...@googlegroups.com
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! 

Rushabh Mehta

unread,
Jan 20, 2013, 11:23:32 PM1/20/13
to erpnext-dev...@googlegroups.com
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

--
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To post to this group, send email to erpnext-dev...@googlegroups.com.
To unsubscribe from this group, send email to erpnext-developer...@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 Probasco

unread,
Jan 22, 2013, 8:26:20 AM1/22/13
to erpnext-dev...@googlegroups.com
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! 

Rushabh Mehta

unread,
Jan 22, 2013, 8:37:17 AM1/22/13
to erpnext-dev...@googlegroups.com
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

--
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To post to this group, send email to erpnext-dev...@googlegroups.com.
To unsubscribe from this group, send email to erpnext-developer...@googlegroups.com.

Matthew Probasco

unread,
Jan 26, 2013, 1:34:39 PM1/26/13
to erpnext-dev...@googlegroups.com
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.

Anand Doshi

unread,
Jan 26, 2013, 11:07:57 PM1/26/13
to erpnext-dev...@googlegroups.com
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:

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

Thanks,
Anand.

--
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To post to this group, send email to erpnext-dev...@googlegroups.com.
To unsubscribe from this group, send email to erpnext-developer...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages