You are using an unsupported browser. Please update your browser to the latest version on or before July 31, 2020.
close
You are viewing the article in preview mode. It is not live at the moment.
We are announcing the retirement of the Helpdesk Pilot on-premise Helpdesk. Support and update would be discontinued as of June 30, 2019. Existing customers can migrate to our cloud edition - HappyFox.com.
Home > How Tos > Enabling Debug Mode
Enabling Debug Mode
print icon

In the event of a 500 error message on the deployed Helpdesk Pilot installation, the following can be done to see the complete error message.

  • Login to the Helpdesk Pilot VM as superuser (password: superuser)
  • Type sudo nano /hdp/etc/env.py
  • Now add this line at the end of the file
    export HDP_DEBUG_MODE=1
  • Type Ctrl+x followed by 'y' to save the file
  • Now, restart the service again by typing
    sudo hdp-manage service restart
  • Perform the same action on the browser which results in showing the 500 error page. As in, if you were loading the /staff/tickets page when you saw this error, do the same.
  • Now with DEBUG_MODE enabled you should see a complete error message on the page, rather than the one you currently see
  • Please save this as a HTML file from the browser and send it to us
We will be able to analyse what the problem is and get back to you with a suitable reply.
 
Sample of modified env.py file, with DEBUG_MODE enabled, 
 

Feedback
0 out of 3 found this helpful

scroll to top icon