Forum: 
Tags: 

Viewing site in Turnkey Django

Dense Ffog's picture
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 Davis's picture

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

phil magnuson's picture

 

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