WorldVistA/popHealth

Issue while restarting Apache (popHealth Installation)

Opened this issue · 0 comments

Hi,

I have followed all the steps provided from the below installation link and while restarting the apache, i am getting the below error. Not sure what is wrong with my config file, Kindly help me on this.

https://github.com/OSEHRA/popHealth/wiki/Installation-v4.0

pophealth.conf - Content
SetEnv SECRET_KEY_BASE cat /dev/urandom | env LC_CTYPE=c tr -dc 'a-e0-9' | fold -w 64 | head -n 1

Command: service apache2 restart
Error Description:

  • Restarting web Server apache2
  • The apache2 configtest failed.
    Output of config test was:
    AH00526: Syntax error on line 1 of /etc/apache2/conf-enabled/pophealth.conf:
    SetEnv takes 1-2 arguments, an environment variable name and optional value to pass to CGI.
    Action 'configtest' failed.
    The Apache error log may have more information

Thanks in Advance

Regards
Nithin Basavarajappa