TurnKey Linux Virtual Appliance Library

Viewing site in Turnkey Django

I'm missing something fundamental. I can see everything setup (/admin /media etc) but I don't see an obvious way to access the example.com project that was pre-configured. What is the url for that? When I go to the site at port 80, it just gives me the turnkey web interface and not the example.com site.
Jeremy's picture

Accordung to the appliance page

It should be found at project/ ie http://<domain-or-IP-address>/project/ (The appliance page is here).

same issue

 

I get the same error.  a request to http://my_ip/project/ gives a 500 Internal server error.

Logs have these messages.

[Thu Dec 29 19:00:40 2011] [error] [client 192.168.5.153] mod_wsgi (pid=9504): Exception occurred processing WSGI script '/var/www/project/wsgi_handler.py'.
[Thu Dec 29 19:00:40 2011] [error] [client 192.168.5.153] Traceback (most recent call last):
[Thu Dec 29 19:00:40 2011] [error] [client 192.168.5.153]   File "/usr/lib/pymodules/python2.6/django/core/handlers/wsgi.py", line 241, in __call__
[Thu Dec 29 19:00:40 2011] [error] [client 192.168.5.153]     response = self.get_response(request)
[Thu Dec 29 19:00:40 2011] [error] [client 192.168.5.153]   File "/usr/lib/pymodules/python2.6/django/core/handlers/base.py", line 122, in get_response
[Thu Dec 29 19:00:40 2011] [error] [client 192.168.5.153]     return self.handle_uncaught_exception(request, resolver, sys.exc_info())
[Thu Dec 29 19:00:40 2011] [error] [client 192.168.5.153]   File "/usr/lib/pymodules/python2.6/django/core/handlers/base.py", line 166, in handle_uncaught_exception
[Thu Dec 29 19:00:40 2011] [error] [client 192.168.5.153]     return callback(request, **param_dict)
[Thu Dec 29 19:00:40 2011] [error] [client 192.168.5.153]   File "/usr/lib/pymodules/python2.6/django/views/defaults.py", line 23, in server_error
[Thu Dec 29 19:00:40 2011] [error] [client 192.168.5.153]     t = loader.get_template(template_name) # You need to create a 500.html template.
[Thu Dec 29 19:00:40 2011] [error] [client 192.168.5.153]   File "/usr/lib/pymodules/python2.6/django/template/loader.py", line 81, in get_template
[Thu Dec 29 19:00:40 2011] [error] [client 192.168.5.153]     source, origin = find_template_source(template_name)
[Thu Dec 29 19:00:40 2011] [error] [client 192.168.5.153]   File "/usr/lib/pymodules/python2.6/django/template/loader.py", line 74, in find_template_source
[Thu Dec 29 19:00:40 2011] [error] [client 192.168.5.153]     raise TemplateDoesNotExist, name
[Thu Dec 29 19:00:40 2011] [error] [client 192.168.5.153] TemplateDoesNotExist: 500.html
[Thu Dec 29 19:00:40 2011] [error] [client 192.168.5.153] mod_wsgi (pid=9504): Exception occurred processing WSGI script '/var/www/project/wsgi_handler.py'.
[Thu Dec 29 19:00:40 2011] [error] [client 192.168.5.153] Traceback (most recent call last):
[Thu Dec 29 19:00:40 2011] [error] [client 192.168.5.153]   File "/usr/lib/pymodules/python2.6/django/core/handlers/wsgi.py", line 241, in __call__
[Thu Dec 29 19:00:40 2011] [error] [client 192.168.5.153]     response = self.get_response(request)
[Thu Dec 29 19:00:40 2011] [error] [client 192.168.5.153]   File "/usr/lib/pymodules/python2.6/django/core/handlers/base.py", line 122, in get_response
[Thu Dec 29 19:00:40 2011] [error] [client 192.168.5.153]     return self.handle_uncaught_exception(request, resolver, sys.exc_info())
[Thu Dec 29 19:00:40 2011] [error] [client 192.168.5.153]   File "/usr/lib/pymodules/python2.6/django/core/handlers/base.py", line 166, in handle_uncaught_exception
[Thu Dec 29 19:00:40 2011] [error] [client 192.168.5.153]     return callback(request, **param_dict)
[Thu Dec 29 19:00:40 2011] [error] [client 192.168.5.153]   File "/usr/lib/pymodules/python2.6/django/views/defaults.py", line 23, in server_error
[Thu Dec 29 19:00:40 2011] [error] [client 192.168.5.153]     t = loader.get_template(template_name) # You need to create a 500.html template.
[Thu Dec 29 19:00:40 2011] [error] [client 192.168.5.153]   File "/usr/lib/pymodules/python2.6/django/template/loader.py", line 81, in get_template
[Thu Dec 29 19:00:40 2011] [error] [client 192.168.5.153]     source, origin = find_template_source(template_name)
[Thu Dec 29 19:00:40 2011] [error] [client 192.168.5.153]   File "/usr/lib/pymodules/python2.6/django/template/loader.py", line 74, in find_template_source
[Thu Dec 29 19:00:40 2011] [error] [client 192.168.5.153]     raise TemplateDoesNotExist, name
[Thu Dec 29 19:00:40 2011] [error] [client 192.168.5.153] TemplateDoesNotExist: 500.html

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)