---
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. ![](https://truehost.com/support/wp-content/uploads/2024/11/image-328.png) You can start by enabling debug mode for cyberpanel on the path below to identify…"
url: "https://truehost.com/support/knowledge-base/how-to-resolve-server-error-500-on-cyberpanel-login-page/"
updated: "2024-11-15"
category: Cyberpanel
---

# How to resolve Server Error 500 on Cyberpanel login page

At times you try to access your Cyberpanel Admin dashboard and you come across the error 500.

This makes the dashboard not be accessible.

![](https://truehost.com/support/wp-content/uploads/2024/11/image-328.png)

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`**

![](https://truehost.com/support/wp-content/uploads/2024/11/image-329-1024x173.png)

Save your changes

Restart Cyberpanel using command below

**`systemctl restart lscpd`**

![](https://truehost.com/support/wp-content/uploads/2024/11/image-332.png)

Reload the page.

![](https://truehost.com/support/wp-content/uploads/2024/11/image-333-1024x423.png)

In our case, the issue seems to be database related as Cyberpanel fails to connect to our database.

We can check the database status.

**`systemctl status mariadb.service`**

![](https://truehost.com/support/wp-content/uploads/2024/11/image-334-1024x272.png)

Let's restart the database.

![](https://truehost.com/support/wp-content/uploads/2024/11/image-335-1024x382.png)

Let's now reload the page.

![](https://truehost.com/support/wp-content/uploads/2024/11/image-336-1024x512.png)

Login page is accessible and now we can disable debug mode for Cyberpanel

That's it.

Happy Hosting.
