HestiaCP Admin login Error 500

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/”

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

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

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

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'

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

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

I have removed hestiaCP and installed Control-Web Panel

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