# HestiaCP Admin login Error 500

**URL:** <https://forum.hestiacp.com/t/hestiacp-admin-login-error-500/12870>\
**Category:** System\
**Created:** [January 25, 2024, 1:03pm UTC](https://forum.hestiacp.com/t/hestiacp-admin-login-error-500/12870 "2024-01-25T13:03:42Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![akgormani](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/a/898d66/32.png) [@akgormani](https://forum.hestiacp.com/u/akgormani)\
**Post date:** [January 25, 2024, 1:03pm UTC](https://forum.hestiacp.com/t/hestiacp-admin-login-error-500/12870/1 "2024-01-25T13:03:43Z")

</div>

I have installed the hestiacp recently, By mistake i checked the diable\_login for admin account. After that i checked forum and set disabled login to no, but now its showing error “INTERNAL SERVER ERROR CODE 500”  
logs:  
2024/01/25 12:54:20 [error] 3457#0: _3504 FastCGI sent in stderr: “PHP message: PHP Warning: Trying to access array offset on value of type null in /usr/local/hestia/web/login/index.php on line 220; PHP message: PHP Warning: Trying to access array offset on value of type null in /usr/local/hestia/web/login/index.php on line 220; PHP message: PHP Warning: Trying to access array offset on value of type null in /usr/local/hestia/web/login/index.php on line 241; PHP message: PHP Warning: Trying to access array offset on value of type null in /usr/local/hestia/web/login/index.php on line 241; PHP message: PHP Warning: Trying to access array offset on value of type null in /usr/local/hestia/web/login/index.php on line 266; PHP message: PHP Warning: Trying to access array offset on value of type null in /usr/local/hestia/web/login/index.php on line 266; PHP message: PHP Fatal error: Uncaught TypeError: key(): Argument #1 ($array) must be of type array, null given in /usr/local/hestia/web/login/index.php:314 Stack trace: #0 /usr/local/hestia/web/login/index.php(314): key() #1 /usr/local/hestia/web/login/index.php(420): authenticate\_user() #2 {main} thrown in /usr/local/hestia/web/login/index.php on line 314” while reading response header from upstream, client: 154.80.17.252, server: \_, request: “POST /login/ HTTP/2.0”, upstream: “fastcgi://unix:/run/hestia-php.sock:”, host: "_\*\*\*\*\*\*\*\*\*\*\*", referrer: “https://\*\*\*\*\*\*\*\*:7620/login/”

---

<div class="post-metadata">

**Author:** ![eris](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/eris/32/1241_2.png) [@eris](https://forum.hestiacp.com/u/eris)\
**Post date:** [January 25, 2024, 1:18pm UTC](https://forum.hestiacp.com/t/hestiacp-admin-login-error-500/12870/2 "2024-01-25T13:18:07Z")

</div>

> <https://github.com/hestiacp/hestiacp/blob/5006e21ea5cb01f967c205a524c91028e2590399/web/login/index.php#L217-L220>

Please check /usr/local/hestia/data/users/{user}/user.conf

---

<div class="post-metadata">

**Author:** ![akgormani](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/a/898d66/32.png) [@akgormani](https://forum.hestiacp.com/u/akgormani)\
**Post date:** [January 25, 2024, 1:22pm UTC](https://forum.hestiacp.com/t/hestiacp-admin-login-error-500/12870/3 "2024-01-25T13:22:35Z")

</div>

its set to no in usr/local/hestia/data/users/admin/user.conf

---

<div class="post-metadata">

**Author:** ![eris](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/eris/32/1241_2.png) [@eris](https://forum.hestiacp.com/u/eris)\
**Post date:** [January 25, 2024, 1:24pm UTC](https://forum.hestiacp.com/t/hestiacp-admin-login-error-500/12870/4 "2024-01-25T13:24:21Z")

</div>

Please share the conf if possible it looks like json format returnd is not valid…

---

<div class="post-metadata">

**Author:** ![akgormani](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/a/898d66/32.png) [@akgormani](https://forum.hestiacp.com/u/akgormani)\
**Post date:** [January 25, 2024, 1:27pm UTC](https://forum.hestiacp.com/t/hestiacp-admin-login-error-500/12870/5 "2024-01-25T13:27:38Z")

</div>

```auto
NAME='System Administrator'
PACKAGE='default'
WEB_TEMPLATE='default'
BACKEND_TEMPLATE='default'
PROXY_TEMPLATE='default'
DNS_TEMPLATE='default'
WEB_DOMAINS='unlimited'
WEB_ALIASES='unlimited'
DNS_DOMAINS='unlimited'
DNS_RECORDS='unlimited'
MAIL_DOMAINS='unlimited'
MAIL_ACCOUNTS='unlimited'
RATE_LIMIT='200'
DATABASES='unlimited'
CRON_JOBS='unlimited'
DISK_QUOTA='unlimited'
BANDWIDTH='unlimited'
NS='ns1. ****,ns2.****'
SHELL='nologin'
BACKUPS='1'
CONTACT=' ****** @gmail.com'
CRON_REPORTS='yes'
MD5=' ******'
RKEY=' ****'
TWOFA=''
QRCODE=''
PHPCLI=''
ROLE='admin'
SUSPENDED='no'
SUSPENDED_USERS='0'
SUSPENDED_WEB='0'
SUSPENDED_DNS='0'
SUSPENDED_MAIL='0'
SUSPENDED_DB='0'
SUSPENDED_CRON='0'
IP_AVAIL='1'
IP_OWNED='1'
U_USERS='3'
U_DISK='8'
U_DISK_DIRS='5'
U_DISK_WEB='3'
U_DISK_MAIL='0'
U_DISK_DB='0'
U_BANDWIDTH='6'
U_WEB_DOMAINS='1'
U_WEB_SSL='1'
U_WEB_ALIASES='0'
U_DNS_DOMAINS='0'
U_DNS_RECORDS='0'
U_MAIL_DOMAINS='0'
U_MAIL_DKIM='0'
U_MAIL_ACCOUNTS='0'
U_DATABASES='0'
U_CRON_JOBS='11'
U_BACKUPS='1'
LANGUAGE='en'
THEME=''
NOTIFICATIONS='yes'
PREF_UI_SORT='name'
LOGIN_DISABLED='no'
LOGIN_USE_IPLIST='no'
LOGIN_ALLOW_IPS=''
TIME='04:14:05'
DATE='2024-01-23'

```

---

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [January 25, 2024, 9:13pm UTC](https://forum.hestiacp.com/t/hestiacp-admin-login-error-500/12870/6 "2024-01-25T21:13:11Z")

</div>

Could you please show the output of these commands (as root)?

```t
df -h
ls -la /usr/local/hestia/data/sessions
grep -r admin /etc/sudo*
v-list-user admin json
v-list-sys-config json

```

---

<div class="post-metadata">

**Author:** ![akgormani](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/a/898d66/32.png) [@akgormani](https://forum.hestiacp.com/u/akgormani)\
**Post date:** [January 26, 2024, 3:10am UTC](https://forum.hestiacp.com/t/hestiacp-admin-login-error-500/12870/7 "2024-01-26T03:10:14Z")

</div>

I have removed hestiaCP and installed Control-Web Panel

---

<div class="post-metadata">

**Author:** ![system](https://forum.hestiacp.com/uploads/default/original/1X/d9a5b68bf50ced83e880b56452e592b204761b19.png) [@system](https://forum.hestiacp.com/u/system)\
**Post date:** [February 25, 2024, 3:10am UTC](https://forum.hestiacp.com/t/hestiacp-admin-login-error-500/12870/8 "2024-02-25T03:10:19Z")

</div>

Closed on February 25, 2024, 3:10am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
