You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After ./install.sh and reboot the kalite background daemons do not start
manually starting the service with "sudo service kalite start" throws these messages (although the server is not started):
cronstart.sh: line 4: /home/pi/ka-lite/../python.sh: No such file or directory
Starting the cron server in the background.
cronstart.sh: line 16: cronserver.py: command not found
serverstart.sh: line 4: /home/pi/ka-lite/../python.sh: No such file or directory
serverstart.sh: line 7: -c: command not found
Running the web server on port .
serverstart.sh: line 28: manage.py: command not found
The server should now be accessible locally at: http://127.0.0.1:/
To access it from another connected computer, try the following address(es): http://192.168.1.24:/ http://1.1.1.1:/
The text was updated successfully, but these errors were encountered:
I believe this is due to a change that I made, "source"-ing the cronstart.sh and serverstart.sh instead of calling them. Though it somehow works on a mac, linux seems to be doing something more reasonable (and failing).
Our current scripts assume that you're running them from the current directory, rather than getting the SCRIPT_DIR from their location (and not where you're running from).
Bottom line: try this out!
replace
SCRIPT_DIR="$( cd "$( dirname "$0" )" && pwd )"
with
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
@gimick could you make this change in the kalite/cronstart.sh and kalite/serverstart.sh files, and retry?
After ./install.sh and reboot the kalite background daemons do not start
manually starting the service with "sudo service kalite start" throws these messages (although the server is not started):
cronstart.sh: line 4: /home/pi/ka-lite/../python.sh: No such file or directory
Starting the cron server in the background.
cronstart.sh: line 16: cronserver.py: command not found
serverstart.sh: line 4: /home/pi/ka-lite/../python.sh: No such file or directory
serverstart.sh: line 7: -c: command not found
Running the web server on port .
serverstart.sh: line 28: manage.py: command not found
The server should now be accessible locally at: http://127.0.0.1:/
To access it from another connected computer, try the following address(es):
http://192.168.1.24:/
http://1.1.1.1:/
The text was updated successfully, but these errors were encountered: