learningequality / kolibri-server

A performance-boosting access layer for Kolibri with multi-core support and improved caching
5 stars 8 forks source link

redis does not start #21

Closed intelliant01 closed 5 years ago

intelliant01 commented 5 years ago

redis does not start upon installation of kolibri-server though it is specified for caching in options.ini. Even after manually starting redis and restarting kolibri-server, no kolibri screen can be loaded.

This is the what is available via browser console - licecap_0NWZOeODDJ

Seems some old files are being served via cache. I had earlier upgraded from 0.12.6a2 to 0.12.7.

kolibri-server 0.3.0 kolibri 0.12.7 Ubuntu 18.04

jredrejo commented 5 years ago

hello @intelliant01 how did you install redis? did you do any manual config on it? the default redis-server installation sets it up to start on boot.

intelliant01 commented 5 years ago

@jredrejo default installation while installing kolibri-server 0.3.0. Had experienced it over two attempts of installtion. It is enabled but not started.

jredrejo commented 5 years ago

@jredrejo default installation while installing kolibri-server 0.3.0. Had experienced it over two attempts of installtion. It is enabled but not started.

but you had to do something when installing redis-server for it not to start. Automatic installation sets it to start by default.

intelliant01 commented 5 years ago

@jredrejo did a clean install on a newly installed OS. It works as expected and redis-server starts automatically. Can't yet put my finger on what is causing it not to start automatically immediately upon installation on the above referenced system. Now I shall shift my focus on solving this puzzle.

Can you suggest what could be causing this?

Seems some old files are being served via cache. I had earlier upgraded from 0.12.6a2 to 0.12.7.

indirectlylit commented 5 years ago

@intelliant01 FYI @jredrejo is on vacation. I expect your recent kolibri-server issues will get more attention when he returns. Thanks for your testing and patience!

intelliant01 commented 5 years ago

@indirectlylit Thanks for the information.

jredrejo commented 5 years ago

@intelliant01 hello again, it seems your redis installation has some kind of problem in one of the servers and it's not able to start. There are two commands that could help to find out the reason. After doing service redis restart can you paste the output of service redis status and of tail /var/log/redis/redis-server.log

intelliant01 commented 5 years ago

@jredrejo i could not reproduce this problem after a clean reinstall on the "problem" server. Hence had closed this. We can move ahead of this. Thanks.