themoonsheep / moonsheep

Moonsheep digitizes huge, messy paper and PDF archives through crowdsourcing and cutting edge technology.
http://moonsheep.org
GNU Affero General Public License v3.0
9 stars 3 forks source link

Have Moonsheep on stage server #90

Closed KrzysztofMadejski closed 7 years ago

KrzysztofMadejski commented 7 years ago

I've downloaded project + requirements on http://moonsheep.transparencee.org, but I just can't succeed in setting up redis-sentinel.

redis-server /home/moonsheep/pybossa/contrib/sentinel.conf --sentinel exits instantly without any error and I don't know why.

If this runs, supervisor is already configured to run sentinel, just a restart would be needed sudo supervisorctl redis-sentinel restart

@georgeslabreche could you look at it?

KrzysztofMadejski commented 7 years ago

Now did it via service: service redis-sentinel status, but still doesn't allow to python run.py server.

KrzysztofMadejski commented 7 years ago

UPDATE: Redis is running. Now I have problems starting pybossa via uwgi via supervisor (I've followed this http://docs.pybossa.com/en/latest/nginx.html#creating-the-pybossa-ini-file-for-uwsgi)\

root@moonsheep:/home/moonsheep/pybossa# tail -f /var/log/supervisor/pybossa-stderr---supervisor-bCRxtg.log 
--- no python application found, check your startup logs for errors ---
[pid: 5579|app: -1|req: -1/1] 89.75.182.134 () {42 vars in 704 bytes} [Fri Aug 25 19:26:11 2017] GET / => generated 21 bytes in 0 msecs (HTTP/1.1 500) 2 headers in 83 bytes (0 switches on core 0)
--- no python application found, check your startup logs for errors ---
[pid: 5577|app: -1|req: -1/2] 89.75.182.134 () {44 vars in 718 bytes} [Fri Aug 25 19:26:11 2017] GET /favicon.ico => generated 21 bytes in 0 msecs (HTTP/1.1 500) 2 headers in 83 bytes (0 switches on core 0)
KrzysztofMadejski commented 7 years ago

It works! Finally some good news for today :)

http://moonsheep.transparencee.org/ @georgeslabreche