(note URL prefix is missing due to restriction on new users posting url’s)
If I set the CONTENT_ROOT, update 127.0.0.1:8008/update/videos/ runs for 1 second and nothing is updated.
System information
ka_lite-0.17.1.
Arch Linux 4.9.33-1
$ pip2 -V
pip 9.0.1 from /usr/lib/python2.7/site-packages (python 2.7)
server.log
cat /srv/kalite/.kalite/server.log
[INFO] [2017-07-26 21:27:15,951] cherrypy.error: [26/Jul/2017:21:27:15] ENGINE Listening for SIGHUP.
[INFO] [2017-07-26 21:27:15,959] cherrypy.error: [26/Jul/2017:21:27:15] ENGINE Listening for SIGTERM.
[INFO] [2017-07-26 21:27:15,964] cherrypy.error: [26/Jul/2017:21:27:15] ENGINE Listening for SIGUSR1.
[INFO] [2017-07-26 21:27:15,964] cherrypy.error: [26/Jul/2017:21:27:15] ENGINE Bus STARTING
[INFO] [2017-07-26 21:27:15,964] cherrypy.error: [26/Jul/2017:21:27:15] Loading and serving the Django application
[INFO] [2017-07-26 21:27:15,968] cherrypy.error: [26/Jul/2017:21:27:15] ENGINE Started monitor thread ‘_TimeoutMonitor’.
[INFO] [2017-07-26 21:27:16,011] kalite: Running 1 due jobs… (“Secure Sync”)
[INFO] [2017-07-26 21:27:16,076] cherrypy.error: [26/Jul/2017:21:27:16] ENGINE Serving on http://0.0.0.0:8008
[INFO] [2017-07-26 21:27:16,079] cherrypy.error: [26/Jul/2017:21:27:16] ENGINE Bus STARTED
settings.py
from kalite.project.settings.base import *
CONTENT_ROOT = “/media/esata/MEDIA/Videos/Education/Khan-Academy2”
DEBUG = True
Check of permissions
sudo -u kalite2 ls -1l /media/esata/MEDIA/Videos/Education/Khan-Academy2|head -10
total 32257136
-rw-r–r-- 1 adrian adrian 2518 Oct 25 2016 01c12NaUQDw.jpg
-rw-r–r-- 1 adrian adrian 1757525 Jun 16 2013 01c12NaUQDw.mp4
-rw-r–r-- 1 adrian adrian 64880 Jun 16 2013 01c12NaUQDw.png
-rw-r–r-- 1 adrian adrian 2504 Oct 25 2016 _01wqwsb66E.jpg
-rw-r–r-- 1 adrian adrian 2463761 Jun 16 2013 _01wqwsb66E.mp4
-rw-r–r-- 1 adrian adrian 60678 Jun 16 2013 _01wqwsb66E.png
-rw-r–r-- 1 adrian adrian 7404963 Jun 16 2013 02gVmoObrjM.mp4
-rw-r–r-- 1 adrian adrian 160541 Jun 23 2013 02gVmoObrjM.png
-rw-r–r-- 1 adrian adrian 5452291 Jun 16 2013 02h9yhc7ruc.mp4
KA Lite User
cat /etc/passwd|grep kalite2
kalite2:x:1007:1007::/srv/kalite:/bin/bash
KA Lite Start/Stop
sudo su -l kalite2 -c “KALITE_DIR=’/srv/kalite’ /srv/kalite/.local/bin/kalite start”
Running ‘kalite start’ as daemon (system service)
Going to daemon mode, logging to /srv/kalite/.kalite/server.log
To access KA Lite from another connected computer, try the following address(es):
192.168.1.100:8008/
To access KA Lite from this machine, try the following address:
127.0.0.1:8008/