85 views
Skip to first unread message

Ranjith Kumar

unread,
Jun 4, 2013, 11:10:00 AM6/4/13
to erpnext-dev...@googlegroups.com
Hello all,
Today I tried to setup erpnext on my new instance i followed everything from github installation wiki.

Installation process went smooth, but at apache config point i'm facing issues. i used default port 99

Correct me where it went wrong also if tell me where i can get stable version.

Thank you

--
Cheers,
Ranjith Kumar K,

Rushabh Mehta

unread,
Jun 4, 2013, 11:16:47 AM6/4/13
to erpnext-dev...@googlegroups.com
Ranjit,

Unless you tell us where are you getting stuck, we cannot help you.

In general, if you are reporting issues, please give as much information as possible so that we can help you.

- 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 unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer...@googlegroups.com.
To post to this group, send email to erpnext-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CAAr0NR_mT68uK%2BFm_tNtiQ4HHkYkC1gVm3Jmh5wW%2B%3DqHpjtMgg%40mail.gmail.com?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Ranjith Kumar

unread,
Jun 4, 2013, 11:31:03 AM6/4/13
to erpnext-dev...@googlegroups.com
Rushabh,
The thing is i'm not getting any errors, 
0. I have installed all required packages on my ubuntu instance
1. Download install_erpnext.py
2. Cloned repo successfully by running install_erpnext.py
3. Tables created successfully
4. I copied sample apache config file and created erpnext.conf and pasted and created link file.
I guess the problem is apache config file, help me out on apache config steps. I'm bit confused with those steps





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



--
Cheers,
Ranjith Kumar K,

Rushabh Mehta

unread,
Jun 4, 2013, 11:33:30 AM6/4/13
to erpnext-dev...@googlegroups.com
What are you seeing on your screen?
Whats there in your Apache logs?

The standard installation is fairly straightforward - really hard to say whats wrong.

Please look up help on Apache config files on Google if you think you are stuck there.


Anand Doshi

unread,
Jun 4, 2013, 11:36:22 AM6/4/13
to erpnext-dev...@googlegroups.com, erpnext-dev...@googlegroups.com
Hi Ranjith,

Did you replace the path in the apache conf file?

-Anand 

Sent from my phone

Ranjith Kumar

unread,
Jun 4, 2013, 12:17:31 PM6/4/13
to erpnext-dev...@googlegroups.com
I have created apache conf file at root directory and created link file at /erpnext.conf "/etc/apache2/sites-enabled/"



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

Anand Doshi

unread,
Jun 4, 2013, 12:26:18 PM6/4/13
to erpnext-dev...@googlegroups.com
In the erpnext.conf file, did you replace the path
In DocumentRoot and Directory keywords?

Sent from my phone

Ranjith Kumar

unread,
Jun 4, 2013, 12:30:02 PM6/4/13
to erpnext-dev...@googlegroups.com

Anand Doshi

unread,
Jun 4, 2013, 12:48:01 PM6/4/13
to erpnext-dev...@googlegroups.com
Please send the contents of erpnext conf file in your installation. 

Also did you restart apache after this?

Sent from my phone

Ranjith Kumar

unread,
Jun 4, 2013, 1:13:47 PM6/4/13
to erpnext-dev...@googlegroups.com
Yes I restarted the apache server,

please find the apache file content

SetEnv PYTHON_EGG_CACHE /var/www

# you can change 99 to any other port

Listen 99
NameVirtualHost *:99
<VirtualHost *:99>
ServerName mcvan.in
DocumentRoot /var/www/backoffiz/public
    AddHandler cgi-script .cgi .xml .py

<Directory /var/www/backoffiz/public/>
# directory specific options
Options -Indexes +FollowSymLinks +ExecCGI

# directory's index file
DirectoryIndex web.py

# rewrite rule
RewriteEngine on

# condition 1:
# ignore login-page.html, app.html, blank.html, unsupported.html
RewriteCond %{REQUEST_URI} ^((?!app\.html|blank\.html|unsupported\.html).)*$

# condition 2: if there are no slashes
# and file is .html or does not containt a .
RewriteCond %{REQUEST_URI} ^(?!.+/)((.+\.html)|([^.]+))$

# rewrite if both of the above conditions are true
RewriteRule ^(.+)$ web.py?page=$1 [NC,L]

AllowOverride all
Order Allow,Deny
Allow from all
</Directory>
</VirtualHost>



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

Anand Doshi

unread,
Jun 4, 2013, 11:14:02 PM6/4/13
to erpnext-dev...@googlegroups.com, erpnext-dev...@googlegroups.com
Hi Ranjith 

So now when you go to localhost:99 from the browser, what do you see

Sent from my phone

Ranjith Kumar

unread,
Jun 5, 2013, 10:45:51 AM6/5/13
to erpnext-dev...@googlegroups.com
Hi Anand,
I'm setting up in a remote instance! When i try with 99 port with my ip address i'm getting "unable to connect" error! 



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

Ankur Shah

unread,
Jun 5, 2013, 10:52:06 AM6/5/13
to erpnext-developer-forum

Too many variables here. What do you get when you do this on the server?

$telnet localhost 99

Ranjith Kumar

unread,
Jun 5, 2013, 11:36:19 AM6/5/13
to erpnext-dev...@googlegroups.com
Hi Anand,
This is the error i got 
"
$/var/www/backoffiz$ telnet localhost 99
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
You have new mail in /var/mail/metalbig
"



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

Ankur Shah

unread,
Jun 5, 2013, 11:53:52 AM6/5/13
to erpnext-developer-forum

Looks like your server is listening on the correct port. Now the problem could be networking, firewall, proxying, something else. Bottom line is that if you're having problem at this level, I'd strongly suggest you either get a sys admin involved or have erpnext host the instance for you.

Ranjith Kumar

unread,
Jun 5, 2013, 11:58:46 AM6/5/13
to erpnext-dev...@googlegroups.com

Ankur Shah

unread,
Jun 5, 2013, 12:08:06 PM6/5/13
to erpnext-developer-forum
Reply all
Reply to author
Forward
0 new messages