Closed ferryville closed 10 years ago
With disabling the cache I was able to make pybossa working on EC2
Hi,
Nice that you found the solution. However, I would recommend you to actually use the cache as it improves a lot the speed :-)
If you need help, don't hesitate and contact me!
Dear All, I followed the instruction to deploy pybossa on my own server (Amazon EC2 server). Everything went ok, only when I launch: python pybossa/web.py. the web page displays the layout but with the following error message: Ooops, Something's wrong It looks as though we have broken someting on our system, sorry. We will try to fix it as soon as we can! The corresponding log is: ERROR:pybossa.core:Exception on / [GET] Traceback (most recent call last): File "/home/ubuntu/pybossa/env/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/ubuntu/pybossa/env/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/ubuntu/pybossa/env/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/ubuntu/pybossa/env/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/ubuntu/pybossa/env/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functionsrule.endpoint File "pybossa/web.py", line 216, in home d = {'featured': cached_apps.get_featured_front_page(), File "/home/ubuntu/pybossa/pybossa/cache/init.py", line 61, in wrapper output = redis_slave.get(key) File "/home/ubuntu/pybossa/env/src/redis/redis/client.py", line 680, in get return self.execute_command('GET', name) File "/home/ubuntu/pybossa/env/src/redis/redis/client.py", line 441, in execute_command connection.send_command(_args) File "/home/ubuntu/pybossa/env/src/redis/redis/connection.py", line 312, in send_command self.send_packed_command(self.pack_command(_args)) File "/home/ubuntu/pybossa/env/src/redis/redis/connection.py", line 294, in send_packed_command self.connect() File "/home/ubuntu/pybossa/env/src/redis/redis/sentinel.py", line 37, in connect for slave in self.connection_pool.rotate_slaves(): File "/home/ubuntu/pybossa/env/src/redis/redis/sentinel.py", line 92, in rotate_slaves raise SlaveNotFoundError('No slave found for %r' % (self.service_name)) SlaveNotFoundError: No slave found for 'mymaster' None INFO:werkzeug:83.202.179.242 - - [25/Dec/2013 12:42:01] "GET / HTTP/1.1" 500 - INFO:werkzeug:83.202.179.242 - - [25/Dec/2013 12:42:01] "GET /static/vendor/bootstrap.min.css HTTP/1.1" 200 - INFO:werkzeug:83.202.179.242 - - [25/Dec/2013 12:42:01] "GET /static/css/fonts/stylesheet.css HTTP/1.1" 200 - INFO:werkzeug:83.202.179.242 - - [25/Dec/2013 12:42:01] "GET /static/vendor/jquery.js HTTP/1.1" 200 - INFO:werkzeug:83.202.179.242 - - [25/Dec/2013 12:42:01] "GET /static/css/styles.css HTTP/1.1" 200 - INFO:werkzeug:83.202.179.242 - - [25/Dec/2013 12:42:01] "GET /static/vendor/bootstrap/2.2.1/js/bootstrap.js HTTP/1.1" 200 - INFO:werkzeug:83.202.179.242 - - [25/Dec/2013 12:42:01] "GET /static/vendor/modernizr.min.js HTTP/1.1" 200 - INFO:werkzeug:83.202.179.242 - - [25/Dec/2013 12:42:01] "GET /static/img/default_logo.png HTTP/1.1" 200 - INFO:werkzeug:83.202.179.242 - - [25/Dec/2013 12:42:02] "GET /static/img/ccc.png HTTP/1.1" 200 - INFO:werkzeug:83.202.179.242 - - [25/Dec/2013 12:42:02] "GET /static/img/okf.png HTTP/1.1" 200 - INFO:werkzeug:83.202.179.242 - - [25/Dec/2013 12:42:02] "GET /static/img/pybossa.png HTTP/1.1" 200 -
Thank you in advance.