learningequality / kolibri-server

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

.kolibri deletion: nginx fails to start #75

Open benjaoming opened 4 years ago

benjaoming commented 4 years ago

Problem: Gotchas in testing because removing .kolibri removes ~/.kolibri/nginx.conf that's included in the Nginx configuration, so it cannot start.

Possible sub-problem: When Nginx fails to start, IIRC kolibri-server also fails to install because it tries to restart Nginx during installation.

Solution: @jredrejo has an idea

Refs: testing of #53 - more general issue #73

Mar 18 17:08:26 test-machine nginx[14312]: nginx: [emerg] open() "/var/kolibri/.kolibri/nginx.conf" failed (2: No such file or directory) in /etc/kolibri/nginx.d/099-user.conf