FIR icon indicating copy to clipboard operation
FIR copied to clipboard

Internal Server Error

Open XiQshoner opened this issue 5 years ago • 2 comments

Hello Folks,

I am not very great on the Linux command line so please talk to me like a first timer. Essentially, I have installed the FIR platform to the following path"home/so-ebrown/FIR/fir" I filled out everything for the/etc/init/fir.conf file as below:

description "FIR - Django uWSGI"

start on runlevel [2345]
stop on runlevel [!2345]

setuid www-data
setgid www-data

respawn

exec uwsgi --socket /home/so-ebrown/FIR/fir/run/fir.sock --chdir /home/so-ebrown/FIR/fir --module fir.wsgi

However when I run the sudo start fir command I get the following error: sudo: start: command not found. I also tried to use the systemd instructions however when I run the sudo service fir_uwsgi start Nothing seems to happen just directly to a new line. I'm sure there is something that I am doing wrong.

I do have the production.py file @ /home/so-ebrown/FIR/fir/config if it holds any relevance.

Thanks in advance, Eddie

XiQshoner avatar Aug 21 '18 22:08 XiQshoner

So I scrapped the above install and re-installed using 14.0.4 and making sure I had all the paths correct. The service seems to start now. I am able to browse to the webpage however i am getting a internal server error.

XiQshoner avatar Aug 22 '18 15:08 XiQshoner

Could you output the error that should be present in the logs/errors.log file ?

gaelmuller avatar Aug 23 '18 07:08 gaelmuller

I will close this issue (for inactivity). Feel free to re-open it if needed!

Augustin-FL avatar Aug 22 '23 10:08 Augustin-FL