Cannot log into hestiacp

Hello. I am using hestiacp in an instance oracle cloud free tier. I recently changed some things and found a number of issues so I decided to reinstall hestiacp. Now when I log in as admin and enter my password it just cycles back to username and asks again for my password. I have changed and check my password via v-change-user-password and v-check-user-password. In /var/log/hestia/nginx-error.log I see “…Permission denied (13) in /usr/local/hestia/web/inc/main.php on line 2; PHP message: PHP Warning: session_start():.Failed to read session data: files (path: /usr/local/hestia/data/sessions)…” . What have I missed?

Hi @ce1,

That usually means no space left in device:

df -h

Filesystem Size Used Avail Use% Mounted on
udev 2.9G 0 2.9G 0% /dev
tmpfs 592M 1.5M 591M 1% /run
/dev/sda1 45G 12G 34G 26% /
tmpfs 2.9G 1.2M 2.9G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 2.9G 0 2.9G 0% /sys/fs/cgroup
/dev/loop0 50M 50M 0 100% /snap/core18/2800
/dev/loop1 50M 50M 0 100% /snap/core18/2810
/dev/loop2 60M 60M 0 100% /snap/core20/2267
/dev/loop3 60M 60M 0 100% /snap/core20/2186
/dev/loop4 92M 92M 0 100% /snap/lxd/24065
/dev/loop5 27M 27M 0 100% /snap/oracle-cloud-agent/71
/dev/loop7 36M 36M 0 100% /snap/snapd/20674
/dev/loop6 27M 27M 0 100% /snap/oracle-cloud-agent/73
/dev/loop8 35M 35M 0 100% /snap/snapd/21185
/dev/sda15 98M 6.3M 92M 7% /boot/efi
tmpfs 592M 0 592M 0% /run/user/1001

So v-check-user password doesn’t show any password missmatch error?

Could you please change again your password but using single quotes?

v-change-user-password admin 'hereYourNewPassword'
v-check-user-password admin 'hereYourNewPassword'

And show the output of this command:

ls -la /usr/local/hestia/data/sessions/

What version are you on?

version = 1.8.11
putting quotes didn’t help

each failed attempt writes this to /var/log/hestia/nginx-error.log:

2024/04/11 22:25:33 [error] 1152#0: *93 FastCGI sent in stderr: “PHP message: PHP Warning: session_start(): open(/usr/local/hestia/data/sessions/sess_mf60a1236ste28k7nanaiej8h0, O_RDWR) failed: Permission denied (13) in /usr/local/hestia/web/inc/main.php on line 2; PHP message: PHP Warning: session_start(): Failed to read session data: files (path: /usr/local/hestia/data/sessions) in /usr/local/hestia/web/inc/main.php on line 2” while reading response header from upstream, client: xxx.xxx.xxx.xxx, server: _, request: “POST /login/ HTTP/2.0”, upstream: “fastcgi://unix:/run/hestia-php.sock:”, host: “xxx.xxx.xxx.xxx:8083”, referrer: “https://xxx.xxx.xxx.xxx:8083/login/

does /usr/local/hestia/data/sessions exist?

Yes and it is populated.

ls -lah /usr/local/hestia/data/
ls -lah /usr/local/hestia/data/sessions