Error accessing DB list

Hi all,
I’m receiving the attached error if accessing the “/list/db/” for the non-admin user owner of the webistes and databases.

With admin user and a new one created it is working just fine… and using the CLI command “v-list-databases username” all the DBs are correctly listed.

May I ask some help in identifying the issue?
Many Thanks


From the nginx-error.log I see:

022/06/20 16:05:08 [error] 1212124#0: *248 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught TypeError: ksort(): Argument #1 ($array) must be of type array, null given in /usr/local/hestia/web/list/db/index.php:11
Stack trace:
#0 /usr/local/hestia/web/list/db/index.php(11): ksort()
#1 {main}
thrown in /usr/local/hestia/web/list/db/index.php on line 11” while reading response header from upstream, client: 192.168.250.101, server: _, request: “GET /list/db/ HTTP/1.1”, upstream: “fastcgi://unix:/var/run/hestia-php.sock:”, host: “192.168.253.5:8083”, referrer: “https://192.168.253.5:8083/list/web/

Can you send the contents of /usr/local/hestia/data/users/{user}/db.conf in a DM?

Sent ! Thanks!

Ok somehow the users db.conf file got corrupted with a bunch of “^@” chars.
Removing that fixed the issue!

I see I have no idea what caused them…

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