After update 1.5 Can´t see users list under “admin” account
From what version did you update?
The previous, always is up to date.
Do you see any error is /var/log/hestia/nginx-error.log?
This two line is repeat over and over again
2021/12/01 14:57:53 [error] 2613164#0: *13 FastCGI sent in stderr: “PHP message: PHP Warning: ksort() expects parameter 1 to be array, null given in /usr/local/hestia/web/list/user/index.php on line 28” while reading response header from upstream, client: 181.42.55.12, server: _, request: “GET /list/user/ HTTP/1.1”, upstream: “fastcgi://unix:/var/run/hestia-php.sock:”, host: “subd.mydomain.com:8083”, referrer: “https ://subd.mydomain.com:8083/login/”
2021/12/01 14:57:53 [error] 2613164#0: *13 FastCGI sent in stderr: “PHP message: PHP Warning: Invalid argument supplied for foreach() in /usr/local/hestia/web/templates/pages/list_user.html on line 88” while reading upstream, client: 181.42.55.12, server: _, request: “GET /list/user/ HTTP/1.1”, upstream: “fastcgi://unix:/var/run/hestia-php.sock:”, host: “subd.mydomain.com:8083”, referrer: “https ://subd.mydomain.com:8083/login/”
What does v-list-users return.
We haven’t changed anything in 1.5.1 related to users
Show me the 25 existing users.
today I accessed the panel, but the certificate had expired. I have run the following commands:
./v-update-host-certificate admin subd.mydomain.com
./v-update-letsencrypt-ssl
So far I know we have not changed anything regarding users.
The only thing you might be able to go trough each end point and check where it goes wrong as like this I can’t do a lot…
how can i send you the txt nginx log file?
Friends… any idea?
thanks!
Upload it to your server and give us the url.
No ideas though.
Does the following command show read/write permissions of all 25 users:
ls -all /usr/local/hestia/data/users/*/user.conf
Are these files - user.conf - empty, or have account info on each user in it?
I’ve run the command on each one, user.conf file show each account information.
Enable bash for the admin user:
v-change-user-shell admin bash
Login as admin via shell and run sudo /usr/local/hestia/bin/v-list-users
There have been about 15k server updates without any issue reported like this. So I don’t think it is an software bug…
I ran this command with admin user, it show correctly all users.
But, can´t see in the web panel.