Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 906 Bytes

debugging-mission-portal.markdown

File metadata and controls

46 lines (33 loc) · 906 Bytes
layout title published sorting tags
default
Debugging Mission Portal
true
90
FAQ
Enterprise
debug
Mission Portal
  1. Set the API log level to DEBUG in Mission Portal settings.

  2. Edit /var/cfengine/share/GUI/index.php and set ENVIRONMENT to development

    define('ENVIRONMENT', 'development');
    
  3. Run the hubs policy.

    cf-agent -KI
  4. Restart cf-apache.

    For systemd manged systems (RedHat/Centos7, Debian 7+, Ubuntu 15.04+):

        systemctl restart cf-apache

    For sysv init managed systems:

    pkill httpd 
    cf-agent -KI

    or

    LD_LIBRARY_PATH=/var/cfengine/lib:$LD_LIBRARY_PATH /var/cfengine/httpd/bin/apachectl restart
  5. Watch the logs:

  • /var/cfengine/httpd/logs/error_log
  • /var/cfengine/httpd/htdocs/application/logs/log-$(date +%Y-%m-%d).php