Installation in Amazon Ec2 Ubuntu

I have installed ErpNext to a Amazon Ec2 Ubuntu as per the instruction given.

I hope it was successfully installed as I received the message:

"Installation complete. Open your browser with http://localhost:8000"

My VPS ip address is:54.204.30.106

My web server is working perfectly fine and I was trying to access the app
as http://54.204.30.106:8000

But it's not working. I can't understand what'll be the application url in my VPS.

Anyone please help.



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.
You might have to open port 8000 via your AWS Console.

On Monday, November 11, 2013 11:44:11 AM UTC+5:30, ku...@globizs.com wrote:
I have installed ErpNext to a Amazon Ec2 Ubuntu as per the instruction given.

I hope it was successfully installed as I received the message:

"Installation complete. Open your browser with http://localhost:8000"

My VPS ip address is:54.204.30.106

My web server is working perfectly fine and I was trying to access the app
as http://54.204.30.106:8000

But it's not working. I can't understand what'll be the application url in my VPS.

Anyone please help.



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 here after manual installaion on Debian 6x64
I've made a copy of /erpnext/lib/conf/apache.conf
to /etc/apache2/sites-available/erpnext.conf
after changing the path inside the file to reflect the /path/to/the/public and port to 80
then
a2ensite erpnext.conf 

but 403 forbidden error

then I found this URl
which talks about running erpnext production server on WSGI not apache

I would be pleased if i can get it to run on apache with the same configuration file as included with erpnext installation

I've tried chown erpnext directory to erpnext:expnext  and www-data:www-data 
even with full read/write permission 777
and adding the erpnext user to the apache group  
usermod -a -G www-data erpnext

but after all this I am still getting

Forbidden

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


On Monday, 11 November 2013 09:14:11 UTC+3, ku...@globizs.com wrote:
I have installed ErpNext to a Amazon Ec2 Ubuntu as per the instruction given.

I hope it was successfully installed as I received the message:

"Installation complete. Open your browser with http://localhost:8000"

My VPS ip address is:54.204.30.106

My web server is working perfectly fine and I was trying to access the app
as http://54.204.30.106:8000

But it's not working. I can't understand what'll be the application url in my VPS.

Anyone please help.



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.
Please search the forum for a reply by Max on how to use Apache and WSGI if you want to go ahead.

But we recommend the nginx method.

Best,
Anand Doshi

On 11 November 2013 at 12:49:44 pm, Abdullah Mancy (ab...@gmail.com) wrote:

Same here after manual installaion on Debian 6x64
I've made a copy of /erpnext/lib/conf/apache.conf
to /etc/apache2/sites-available/erpnext.conf
after changing the path inside the file to reflect the /path/to/the/public and port to 80
then
a2ensite erpnext.conf 

but 403 forbidden error

then I found this URl
which talks about running erpnext production server on WSGI not apache

I would be pleased if i can get it to run on apache with the same configuration file as included with erpnext installation

I've tried chown erpnext directory to erpnext:expnext  and www-data:www-data 
even with full read/write permission 777
and adding the erpnext user to the apache group  
usermod -a -G www-data erpnext

but after all this I am still getting

Forbidden

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


On Monday, 11 November 2013 09:14:11 UTC+3, ku...@globizs.com wrote:
I have installed ErpNext to a Amazon Ec2 Ubuntu as per the instruction given.

I hope it was successfully installed as I received the message:

"Installation complete. Open your browser with http://localhost:8000"

My VPS ip address is:54.204.30.106

My web server is working perfectly fine and I was trying to access the app
as http://54.204.30.106:8000

But it's not working. I can't understand what'll be the application url in my VPS.

Anyone please help.
--
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.

How do I can bind the app url to 54.204.30.106:8000 instead of 127.0.0.1:8000


On Monday, November 11, 2013 11:44:11 AM UTC+5:30, ku...@globizs.com wrote:
I have installed ErpNext to a Amazon Ec2 Ubuntu as per the instruction given.

I hope it was successfully installed as I received the message:

"Installation complete. Open your browser with http://localhost:8000"

My VPS ip address is:54.204.30.106

My web server is working perfectly fine and I was trying to access the app
as http://54.204.30.106:8000

But it's not working. I can't understand what'll be the application url in my VPS.

Anyone please help.



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.
Check amazon firewall settings. 

On 11-Nov-2013, at 8:36 pm, ku...@globizs.com wrote:


How do I can bind the app url to 54.204.30.106:8000 instead of 127.0.0.1:8000


On Monday, November 11, 2013 11:44:11 AM UTC+5:30, ku...@globizs.com wrote:
I have installed ErpNext to a Amazon Ec2 Ubuntu as per the instruction given.

I hope it was successfully installed as I received the message:

"Installation complete. Open your browser with http://localhost:8000"

My VPS ip address is:54.204.30.106

My web server is working perfectly fine and I was trying to access the app
as http://54.204.30.106:8000

But it's not working. I can't understand what'll be the application url in my VPS.

Anyone please help.



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.
Amazon firewall is perfectly ok.


On Monday, November 11, 2013 11:44:11 AM UTC+5:30, ku...@globizs.com wrote:
I have installed ErpNext to a Amazon Ec2 Ubuntu as per the instruction given.

I hope it was successfully installed as I received the message:

"Installation complete. Open your browser with http://localhost:8000"

My VPS ip address is:54.204.30.106

My web server is working perfectly fine and I was trying to access the app
as http://54.204.30.106:8000

But it's not working. I can't understand what'll be the application url in my VPS.

Anyone please help.



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.
So you are saying that when you do
curl http://localhost:8000 from terminal, it works whereas from your browser it doesn't if you go to http;//IPADDR:8000?

On 11-Nov-2013, at 9:52 pm, ku...@globizs.com wrote:

Amazon firewall is perfectly ok.


On Monday, November 11, 2013 11:44:11 AM UTC+5:30, ku...@globizs.com wrote:
I have installed ErpNext to a Amazon Ec2 Ubuntu as per the instruction given.

I hope it was successfully installed as I received the message:

"Installation complete. Open your browser with http://localhost:8000"

My VPS ip address is:54.204.30.106

My web server is working perfectly fine and I was trying to access the app
as http://54.204.30.106:8000

But it's not working. I can't understand what'll be the application url in my VPS.

Anyone please help.



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 Mon, Nov 11, 2013 at 8:36 PM, ku...@globizs.com wrote:

How do I can bind the app url to 54.204.30.106:8000 instead of
127.0.0.1:8000

Hi Kumar,
./lib/wnf.py --serve binds to 0.0.0.0 and not 127.0.0.1

If you installed gunicorn, and you can fire

gunicorn -b 0.0.0.0:8000 -w 2 lib.webnotes.app:application

If you are trying to install in a production environment I would
suggest letting gunicorn bind to 127.0.0.1:8000 and reverse proxy
nginx with statics also served from nginx as described here,
WSGI Production Deployment · webnotes/erpnext Wiki · GitHub .

Thanks

Pratik
ERPNext

Look to my AWS security Groups Screen an have sure you configure like  this




Best Regards




Em segunda-feira, 11 de novembro de 2013 04h14min11s UTC-2, ku...@globizs.com escreveu:
I have installed ErpNext to a Amazon Ec2 Ubuntu as per the instruction given.

I hope it was successfully installed as I received the message:

"Installation complete. Open your browser with http://localhost:8000"

My VPS ip address is:54.204.30.106

My web server is working perfectly fine and I was trying to access the app
as http://54.204.30.106:8000

But it's not working. I can't understand what'll be the application url in my VPS.

Anyone please help.



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.