{"id":17283,"date":"2024-11-15T11:29:39","date_gmt":"2024-11-15T11:29:39","guid":{"rendered":"https:\/\/truehost.com\/support\/?post_type=docs&#038;p=17283"},"modified":"2024-11-15T11:29:40","modified_gmt":"2024-11-15T11:29:40","password":"","slug":"how-to-resolve-server-error-500-on-cyberpanel-login-page","status":"publish","type":"docs","link":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-resolve-server-error-500-on-cyberpanel-login-page\/","title":{"rendered":"How to resolve Server Error 500 on Cyberpanel login page"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<p>At times you try to access your Cyberpanel Admin dashboard and you come across the error 500.<\/p>\n\n\n\n<p>This makes the dashboard not be accessible. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"857\" height=\"441\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-328.png\" alt=\"\" class=\"wp-image-17284\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-328.png 857w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-328-300x154.png 300w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-328-768x395.png 768w\" sizes=\"auto, (max-width: 857px) 100vw, 857px\" \/><\/figure>\n\n\n\n<p>You can start by enabling debug mode for cyberpanel on the path below to identify the cause of the error.<\/p>\n\n\n\n<p>Open using your preferred text editor<\/p>\n\n\n\n<p>vim <strong><code>\/usr\/local\/CyberCP\/CyberCP\/settings.py<\/code><\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"173\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-329-1024x173.png\" alt=\"\" class=\"wp-image-17285\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-329-1024x173.png 1024w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-329-300x51.png 300w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-329-768x130.png 768w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-329.png 1145w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Save your changes<\/p>\n\n\n\n<p>Restart Cyberpanel using command below <\/p>\n\n\n\n<p><strong><code>systemctl restart lscpd<\/code><\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"885\" height=\"89\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-332.png\" alt=\"\" class=\"wp-image-17288\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-332.png 885w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-332-300x30.png 300w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-332-768x77.png 768w\" sizes=\"auto, (max-width: 885px) 100vw, 885px\" \/><\/figure>\n\n\n\n<p>Reload the page.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"423\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-333-1024x423.png\" alt=\"\" class=\"wp-image-17289\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-333-1024x423.png 1024w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-333-300x124.png 300w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-333-768x317.png 768w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-333.png 1348w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>In our case, the issue seems to be database related as Cyberpanel fails to connect to our database.<\/p>\n\n\n\n<p>We can check the database status.<\/p>\n\n\n\n<p><strong><code>systemctl status mariadb.service<\/code><\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"272\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-334-1024x272.png\" alt=\"\" class=\"wp-image-17290\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-334-1024x272.png 1024w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-334-300x80.png 300w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-334-768x204.png 768w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-334.png 1303w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Let&#8217;s restart the database. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"382\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-335-1024x382.png\" alt=\"\" class=\"wp-image-17291\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-335-1024x382.png 1024w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-335-300x112.png 300w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-335-768x286.png 768w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-335.png 1170w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Let&#8217;s now reload the page.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"512\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-336-1024x512.png\" alt=\"\" class=\"wp-image-17292\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-336-1024x512.png 1024w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-336-300x150.png 300w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-336-768x384.png 768w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-336.png 1257w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Login page is accessible and now we can disable debug mode for Cyberpanel<\/p>\n\n\n\n<p>That&#8217;s it.<\/p>\n\n\n\n<p>Happy Hosting.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>At times you try to access your Cyberpanel Admin dashboard and you come across the error 500. This makes the dashboard not be accessible. You can start by enabling debug mode for cyberpanel on the path below to identify the cause of the error. Open using your preferred text editor vim \/usr\/local\/CyberCP\/CyberCP\/settings.py Save your changes [&hellip;]<\/p>\n","protected":false},"author":24,"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":[2121],"doc_tag":[],"class_list":["post-17283","docs","type-docs","status-publish","hentry","doc_category-cyberpanel"],"year_month":"2026-06","word_count":124,"total_views":"0","reactions":{"happy":"1","normal":"0","sad":"0"},"author_info":{"name":"Kibera","author_nicename":"dan-k","author_url":"https:\/\/truehost.com\/support\/author\/dan-k\/"},"doc_category_info":[{"term_name":"Cyberpanel","term_url":"https:\/\/truehost.com\/support\/docs-category\/cyberpanel\/"}],"doc_tag_info":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to resolve Server Error 500 on Cyberpanel login page -<\/title>\n<meta name=\"description\" content=\"At times you try to access your Cyberpanel Admin dashboard and you come across the error 500.This makes the dashboard not be accessible.\" \/>\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-resolve-server-error-500-on-cyberpanel-login-page\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to resolve Server Error 500 on Cyberpanel login page -\" \/>\n<meta property=\"og:description\" content=\"At times you try to access your Cyberpanel Admin dashboard and you come across the error 500.This makes the dashboard not be accessible.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/truehost.com\/support\/knowledge-base\/how-to-resolve-server-error-500-on-cyberpanel-login-page\/\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-15T11:29:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-328.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=\"2 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-resolve-server-error-500-on-cyberpanel-login-page\\\/\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-resolve-server-error-500-on-cyberpanel-login-page\\\/\",\"name\":\"How to resolve Server Error 500 on Cyberpanel login page -\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-resolve-server-error-500-on-cyberpanel-login-page\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-resolve-server-error-500-on-cyberpanel-login-page\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/image-328.png\",\"datePublished\":\"2024-11-15T11:29:39+00:00\",\"dateModified\":\"2024-11-15T11:29:40+00:00\",\"description\":\"At times you try to access your Cyberpanel Admin dashboard and you come across the error 500.This makes the dashboard not be accessible.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-resolve-server-error-500-on-cyberpanel-login-page\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-resolve-server-error-500-on-cyberpanel-login-page\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-resolve-server-error-500-on-cyberpanel-login-page\\\/#primaryimage\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/image-328.png\",\"contentUrl\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/image-328.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-resolve-server-error-500-on-cyberpanel-login-page\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/truehost.com\\\/support\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to resolve Server Error 500 on Cyberpanel login page\"}]},{\"@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 resolve Server Error 500 on Cyberpanel login page -","description":"At times you try to access your Cyberpanel Admin dashboard and you come across the error 500.This makes the dashboard not be accessible.","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-resolve-server-error-500-on-cyberpanel-login-page\/","og_locale":"en_US","og_type":"article","og_title":"How to resolve Server Error 500 on Cyberpanel login page -","og_description":"At times you try to access your Cyberpanel Admin dashboard and you come across the error 500.This makes the dashboard not be accessible.","og_url":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-resolve-server-error-500-on-cyberpanel-login-page\/","article_modified_time":"2024-11-15T11:29:40+00:00","og_image":[{"url":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-328.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-resolve-server-error-500-on-cyberpanel-login-page\/","url":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-resolve-server-error-500-on-cyberpanel-login-page\/","name":"How to resolve Server Error 500 on Cyberpanel login page -","isPartOf":{"@id":"https:\/\/truehost.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-resolve-server-error-500-on-cyberpanel-login-page\/#primaryimage"},"image":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-resolve-server-error-500-on-cyberpanel-login-page\/#primaryimage"},"thumbnailUrl":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-328.png","datePublished":"2024-11-15T11:29:39+00:00","dateModified":"2024-11-15T11:29:40+00:00","description":"At times you try to access your Cyberpanel Admin dashboard and you come across the error 500.This makes the dashboard not be accessible.","breadcrumb":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-resolve-server-error-500-on-cyberpanel-login-page\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/truehost.com\/support\/knowledge-base\/how-to-resolve-server-error-500-on-cyberpanel-login-page\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-resolve-server-error-500-on-cyberpanel-login-page\/#primaryimage","url":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-328.png","contentUrl":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-328.png"},{"@type":"BreadcrumbList","@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-resolve-server-error-500-on-cyberpanel-login-page\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/truehost.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to resolve Server Error 500 on Cyberpanel login page"}]},{"@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\/17283","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\/24"}],"replies":[{"embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/comments?post=17283"}],"version-history":[{"count":1,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/17283\/revisions"}],"predecessor-version":[{"id":17293,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/17283\/revisions\/17293"}],"wp:attachment":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/media?parent=17283"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/doc_category?post=17283"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/doc_tag?post=17283"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}