Ajenti has issues booting on new debian installation
So I have got a fresh debian install usinga digitalocean VPS.
I have followed the installation tips here:
http://support.ajenti.org/topic/349864-installing-on-debian/
I am unable to browse to my website, at first I noticed the port was bound to 0:0:0:0, so I changed that to my servers IP in the config and restarted the service. This did not fix the issue, I am seeing this error in the logs. (Nothing was installed on this VPS prior to Ajenti installtion)
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/gevent/greenlet.py", line 327, in run
result = self._run(*self.args, **self.kwargs)
File "/usr/lib/python2.7/dist-packages/gevent/server.py", line 102, in wrap_socket_and_handle
ssl_socket = self.wrap_socket(client_socket, **self.ssl_args)
File "/usr/lib/python2.7/dist-packages/gevent/ssl.py", line 382, in wrap_socket
ciphers=ciphers)
File "/usr/lib/python2.7/dist-packages/gevent/ssl.py", line 84, in __init__
ctx = SSLContext(ssl_version)
NameError: global name 'SSLContext' is not defined
<Greenlet at 0x7fc1a530cd70: <bound method SocketIOServer.wrap_socket_and_handle of <SocketIOServer at 0x7fc1a4d8c0d0 fileno=8 address=46.101.75.44:8000>>(<socket at 0x7fc1a5301f10 fileno=11 sock=46.101.75, ('213.138.113.36', 50579))> failed with NameError
Customer support service by UserEcho
Disabled ssl, and it works fine. Thank you.
Applying this patch here makes it work
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766867#15