{"id":7966,"date":"2022-10-11T06:35:19","date_gmt":"2022-10-11T06:35:19","guid":{"rendered":"https:\/\/truehost.com\/support\/?post_type=ht_kb&#038;p=7966"},"modified":"2024-06-07T13:02:47","modified_gmt":"2024-06-07T13:02:47","password":"","slug":"how-to-view-errors-on-a-python-nodejs-app-in-cpanel","status":"publish","type":"docs","link":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-view-errors-on-a-python-nodejs-app-in-cpanel\/","title":{"rendered":"How to View Errors on a Python\/NodeJS App in cPanel"},"content":{"rendered":"\n<p>Sometimes, after deploying your Python\/NodeJS app in cPanel, you may get an error 500. Unfortunately, error 500 does not tell you much about whats affecting your site. This is a generic error message.<\/p>\n\n\n\n<p>You can however view the actual error behind this cryptic error 500 from your cPanel.<\/p>\n\n\n\n<p>There are two ways to do this:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Use error log created by your app<\/li><li>Enable error display on the site via .htaccess<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Use error log created by your app<\/h2>\n\n\n\n<p>1.Login to your cPanel and go to File Manager<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"189\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-00-15-cPanel-Main-1024x189.png\" alt=\"\" class=\"wp-image-7967\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-00-15-cPanel-Main-1024x189.png 1024w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-00-15-cPanel-Main-300x55.png 300w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-00-15-cPanel-Main-768x142.png 768w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-00-15-cPanel-Main-50x9.png 50w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-00-15-cPanel-Main-920x170.png 920w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-00-15-cPanel-Main-600x111.png 600w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-00-15-cPanel-Main-320x59.png 320w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-00-15-cPanel-Main.png 1344w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>2.Navigate to the folder where your python files are.<\/p>\n\n\n\n<p>3.Look for a file called stderr.log<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1544\" height=\"459\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-02-41-cPanel-File-Manager-v3.png\" alt=\"\" class=\"wp-image-7968\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-02-41-cPanel-File-Manager-v3.png 1544w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-02-41-cPanel-File-Manager-v3-300x89.png 300w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-02-41-cPanel-File-Manager-v3-1024x304.png 1024w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-02-41-cPanel-File-Manager-v3-768x228.png 768w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-02-41-cPanel-File-Manager-v3-50x15.png 50w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-02-41-cPanel-File-Manager-v3-1536x457.png 1536w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-02-41-cPanel-File-Manager-v3-920x273.png 920w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-02-41-cPanel-File-Manager-v3-600x178.png 600w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-02-41-cPanel-File-Manager-v3-320x95.png 320w\" sizes=\"auto, (max-width: 1544px) 100vw, 1544px\" \/><\/figure>\n\n\n\n<p>4.Open the file and view the Errors displayed. In my example, I got a ModuleErrorLog due to some missing modules in my app<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1826\" height=\"420\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-05-10-stderr.log-cPanel-File-Manager-v3.png\" alt=\"\" class=\"wp-image-7969\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-05-10-stderr.log-cPanel-File-Manager-v3.png 1826w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-05-10-stderr.log-cPanel-File-Manager-v3-300x69.png 300w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-05-10-stderr.log-cPanel-File-Manager-v3-1024x236.png 1024w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-05-10-stderr.log-cPanel-File-Manager-v3-768x177.png 768w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-05-10-stderr.log-cPanel-File-Manager-v3-50x12.png 50w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-05-10-stderr.log-cPanel-File-Manager-v3-1536x353.png 1536w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-05-10-stderr.log-cPanel-File-Manager-v3-920x212.png 920w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-05-10-stderr.log-cPanel-File-Manager-v3-600x138.png 600w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-05-10-stderr.log-cPanel-File-Manager-v3-320x74.png 320w\" sizes=\"auto, (max-width: 1826px) 100vw, 1826px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Enable error display on the site via .htaccess<\/h2>\n\n\n\n<p>To enable errors, follow these steps:<\/p>\n\n\n\n<p>1.Login to cPanel and go to File Manager<\/p>\n\n\n\n<p>2.Open your document root and find the .htaccess file. <\/p>\n\n\n\n<p>Note: For the main domain in cPanel, document root is usually public_html. Addons and subdomains may have different document roots. By default though, the document root of an Addon Domain is a folder whose name is the same as the addon domain. Same applies for sub domains<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"194\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-16-17-cPanel-File-Manager-v3-1024x194.png\" alt=\"\" class=\"wp-image-7970\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-16-17-cPanel-File-Manager-v3-1024x194.png 1024w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-16-17-cPanel-File-Manager-v3-300x57.png 300w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-16-17-cPanel-File-Manager-v3-768x146.png 768w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-16-17-cPanel-File-Manager-v3-50x9.png 50w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-16-17-cPanel-File-Manager-v3-920x174.png 920w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-16-17-cPanel-File-Manager-v3-600x114.png 600w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-16-17-cPanel-File-Manager-v3-320x61.png 320w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-16-17-cPanel-File-Manager-v3.png 1498w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>3.Open the .htaccess file and add the following line<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">PassengerAppEnv \"development\"<\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"267\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-19-56-htaccess-cPanel-File-Manager-v3-1024x267.png\" alt=\"\" class=\"wp-image-7971\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-19-56-htaccess-cPanel-File-Manager-v3-1024x267.png 1024w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-19-56-htaccess-cPanel-File-Manager-v3-300x78.png 300w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-19-56-htaccess-cPanel-File-Manager-v3-768x200.png 768w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-19-56-htaccess-cPanel-File-Manager-v3-50x13.png 50w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-19-56-htaccess-cPanel-File-Manager-v3-920x240.png 920w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-19-56-htaccess-cPanel-File-Manager-v3-600x156.png 600w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-19-56-htaccess-cPanel-File-Manager-v3-320x83.png 320w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-19-56-htaccess-cPanel-File-Manager-v3.png 1274w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>4. Save the changes and restart your Python\/NodeJS App<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"176\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-from-2022-10-11-09-22-18-1024x176.png\" alt=\"\" class=\"wp-image-7972\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-from-2022-10-11-09-22-18-1024x176.png 1024w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-from-2022-10-11-09-22-18-300x51.png 300w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-from-2022-10-11-09-22-18-768x132.png 768w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-from-2022-10-11-09-22-18-50x9.png 50w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-from-2022-10-11-09-22-18-1536x263.png 1536w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-from-2022-10-11-09-22-18-920x158.png 920w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-from-2022-10-11-09-22-18-600x103.png 600w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-from-2022-10-11-09-22-18-320x55.png 320w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-from-2022-10-11-09-22-18.png 1686w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>5. When you access your site, detailed pages like the one below will be displayed. From the errors displayed, you can fix the app<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"808\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/error_message_flask-1.png\" alt=\"\" class=\"wp-image-7974\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/error_message_flask-1.png 1024w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/error_message_flask-1-300x237.png 300w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/error_message_flask-1-768x606.png 768w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/error_message_flask-1-50x39.png 50w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/error_message_flask-1-920x726.png 920w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/error_message_flask-1-600x473.png 600w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/error_message_flask-1-320x253.png 320w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes, after deploying your Python\/NodeJS app in cPanel, you may get an error 500. Unfortunately, error 500 does not tell you much about whats affecting your site. This is a generic error message. You can however view the actual error behind this cryptic error 500 from your cPanel. There are two ways to do this: [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_eb_attr":"","_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"doc_category":[],"doc_tag":[],"class_list":["post-7966","docs","type-docs","status-publish","hentry"],"year_month":"2026-06","word_count":244,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"w m","author_nicename":"wm","author_url":"https:\/\/truehost.com\/support\/author\/wm\/"},"doc_category_info":[],"doc_tag_info":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to View Errors on a Python\/NodeJS App in cPanel -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/truehost.com\/support\/knowledge-base\/how-to-view-errors-on-a-python-nodejs-app-in-cpanel\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to View Errors on a Python\/NodeJS App in cPanel -\" \/>\n<meta property=\"og:description\" content=\"Sometimes, after deploying your Python\/NodeJS app in cPanel, you may get an error 500. Unfortunately, error 500 does not tell you much about whats affecting your site. This is a generic error message. You can however view the actual error behind this cryptic error 500 from your cPanel. There are two ways to do this: [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/truehost.com\/support\/knowledge-base\/how-to-view-errors-on-a-python-nodejs-app-in-cpanel\/\" \/>\n<meta property=\"article:modified_time\" content=\"2024-06-07T13:02:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-00-15-cPanel-Main-1024x189.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-view-errors-on-a-python-nodejs-app-in-cpanel\\\/\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-view-errors-on-a-python-nodejs-app-in-cpanel\\\/\",\"name\":\"How to View Errors on a Python\\\/NodeJS App in cPanel -\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-view-errors-on-a-python-nodejs-app-in-cpanel\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-view-errors-on-a-python-nodejs-app-in-cpanel\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2022\\\/10\\\/Screenshot-2022-10-11-at-09-00-15-cPanel-Main-1024x189.png\",\"datePublished\":\"2022-10-11T06:35:19+00:00\",\"dateModified\":\"2024-06-07T13:02:47+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-view-errors-on-a-python-nodejs-app-in-cpanel\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-view-errors-on-a-python-nodejs-app-in-cpanel\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-view-errors-on-a-python-nodejs-app-in-cpanel\\\/#primaryimage\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2022\\\/10\\\/Screenshot-2022-10-11-at-09-00-15-cPanel-Main-1024x189.png\",\"contentUrl\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2022\\\/10\\\/Screenshot-2022-10-11-at-09-00-15-cPanel-Main-1024x189.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-view-errors-on-a-python-nodejs-app-in-cpanel\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/truehost.com\\\/support\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to View Errors on a Python\\\/NodeJS App in cPanel\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#website\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/\",\"name\":\"\",\"description\":\"Help In a Click\",\"publisher\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/truehost.com\\\/support\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#organization\",\"name\":\"Truehost Kenya\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/cropped-image_2026-04-16_174808866.png\",\"contentUrl\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/cropped-image_2026-04-16_174808866.png\",\"width\":240,\"height\":48,\"caption\":\"Truehost Kenya\"},\"image\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to View Errors on a Python\/NodeJS App in cPanel -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-view-errors-on-a-python-nodejs-app-in-cpanel\/","og_locale":"en_US","og_type":"article","og_title":"How to View Errors on a Python\/NodeJS App in cPanel -","og_description":"Sometimes, after deploying your Python\/NodeJS app in cPanel, you may get an error 500. Unfortunately, error 500 does not tell you much about whats affecting your site. This is a generic error message. You can however view the actual error behind this cryptic error 500 from your cPanel. There are two ways to do this: [&hellip;]","og_url":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-view-errors-on-a-python-nodejs-app-in-cpanel\/","article_modified_time":"2024-06-07T13:02:47+00:00","og_image":[{"url":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-00-15-cPanel-Main-1024x189.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-view-errors-on-a-python-nodejs-app-in-cpanel\/","url":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-view-errors-on-a-python-nodejs-app-in-cpanel\/","name":"How to View Errors on a Python\/NodeJS App in cPanel -","isPartOf":{"@id":"https:\/\/truehost.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-view-errors-on-a-python-nodejs-app-in-cpanel\/#primaryimage"},"image":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-view-errors-on-a-python-nodejs-app-in-cpanel\/#primaryimage"},"thumbnailUrl":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-00-15-cPanel-Main-1024x189.png","datePublished":"2022-10-11T06:35:19+00:00","dateModified":"2024-06-07T13:02:47+00:00","breadcrumb":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-view-errors-on-a-python-nodejs-app-in-cpanel\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/truehost.com\/support\/knowledge-base\/how-to-view-errors-on-a-python-nodejs-app-in-cpanel\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-view-errors-on-a-python-nodejs-app-in-cpanel\/#primaryimage","url":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-00-15-cPanel-Main-1024x189.png","contentUrl":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-11-at-09-00-15-cPanel-Main-1024x189.png"},{"@type":"BreadcrumbList","@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-view-errors-on-a-python-nodejs-app-in-cpanel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/truehost.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to View Errors on a Python\/NodeJS App in cPanel"}]},{"@type":"WebSite","@id":"https:\/\/truehost.com\/support\/#website","url":"https:\/\/truehost.com\/support\/","name":"","description":"Help In a Click","publisher":{"@id":"https:\/\/truehost.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/truehost.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/truehost.com\/support\/#organization","name":"Truehost Kenya","url":"https:\/\/truehost.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/truehost.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2026\/04\/cropped-image_2026-04-16_174808866.png","contentUrl":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2026\/04\/cropped-image_2026-04-16_174808866.png","width":240,"height":48,"caption":"Truehost Kenya"},"image":{"@id":"https:\/\/truehost.com\/support\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/7966","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/comments?post=7966"}],"version-history":[{"count":4,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/7966\/revisions"}],"predecessor-version":[{"id":7978,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/7966\/revisions\/7978"}],"wp:attachment":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/media?parent=7966"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/doc_category?post=7966"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/doc_tag?post=7966"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}