Unable to log into hestiacp as admin

I tried to change my admin password through shh putty.

used root and command "v-change-user-password admin my new password"

i get error -bash: hn: No such file or directory

help I am frustrated i cannot access my control panel

go to the correct directory to execute it..

I went to this directory sudo /usr/local/hestia/bin/v-change-user-password

i still get the same error

Double check that you are using single quotes for the password:

/usr/local/hestia/bin/v-change-user-password admin 'HereYourPassword'

thanks sahsanu after /usr/local/hestia/bin/v-change-user-password admin ‘HereYourPassword’

after that i am asked to log in or what command follows…

After that, just try to login to the panel with the user admin and the new password.

I keep on getting Invalid username or password even with new password

Show the output of these commands:

df -h
tail -20 /var/log/hestia/nginx-error.log
ls -lrt /usr/local/hestia/data/sessions | tail -n5
namei -l /usr/local/hestia/data/sessions
root@\~# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            1.2G     0  1.2G   0% /dev
tmpfs           249M  648K  249M   1% /run
/dev/vda1        42G   12G   29G  29% /
tmpfs           1.3G     0  1.3G   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           1.3G     0  1.3G   0% /sys/fs/cgroup
tmpfs           249M     0  249M   0% /run/user/0
root@r\~# tail -20 /var/log/hestia/nginx-error.log
2026/06/07 15:45:52 \[error\] 665#0: \*12 open() "/usr/local/hestia/web/em_hou__c2g                                                                                                                                                             aae" failed (2: No such file or directory), client: 66.132.172.109, server: \_, r                                                                                                                                                             equest: "GET /em_hou__c2gaae HTTP/1.1", host: 
2026/06/07 16:57:11 \[error\] 665#0: \*24 open() "/usr/local/hestia/web/.well-known                                                                                                                                                             /security.txt" failed (2: No such file or directory), client: 66.132.172.39, ser                                                                                                                                                             ver: \_, request: "GET /.well-known/security.txt HTTP/1.1", host:
root@:\~# ls -lrt /usr/local/hestia/data/sessions | tail -n5
-rw------- 1 hestiaweb hestiaweb    0 Jun  7 11:58 sess_scr38q9rr3b2u1upvn0bvrq9                                                                                                                                                             nu
-rw------- 1 hestiaweb hestiaweb 2606 Jun  7 11:58 sess_qmcdptbue5aue3cu0ijjj6rg                                                                                                                                                             9e
-rw------- 1 hestiaweb hestiaweb 2607 Jun  7 15:03 sess_6e2ubc5j0tfildbs3qgtoqh2                                                                                                                                                             3t
-rw------- 1 hestiaweb hestiaweb    0 Jun  7 16:55 sess_gdfhv2tq01r274rrbsnkps2h                                                                                                                                                             mt
-rw------- 1 hestiaweb hestiaweb 2607 Jun  7 16:55 sess_58t12phn24l1qmn91n74vlvr                                                                                                                                                             ni
root@:\~# namei -l /usr/local/hestia/data/sessions
~# namei -l /usr/local/hestia/data/sessions
f: /usr/local/hestia/data/sessions
drwxr-xr-x root      root      /
drwxr-xr-x root      root      usr
drwxr-xr-x root      root      local
drwxr-xr-x root      root      hestia
drwxr-xr-x root      root      data
drwxrwx--- hestiaweb hestiaweb sessions
root@:~#

I see no problem.

You could try to reinstall the hestia package.

apt reinstall hestia

quick question i have not backed up my work, i am i going to loose everything after reinstall.

No, you shouldn’t lost anything but make a copy of the dir just in case.

mkdir -p /root/backup_hestia_before_reinstall
cd /root/backup_hestia_before_reinstall/
tar zcf hestia-backup.tar.gz /usr/local/hestia

apt reinstall hestia

After that command I tried /usr/local/hestia/bin/v-change-user-password admin ‘mynewpassword’

i tried logging in i get Invalid username or password

help

Maybe a cookie problem. Try in a privacy tab of your browser.