Facing issue in fresh installation in Ubuntu 22.04

OS: Ubuntu 22.04 (x86_64)
HestiaCp Version: v1.8.11

I used below hestiacp installation command on a clean server
wget https://raw.githubusercontent.com/hestiacp/hestiacp/release/install/hst-install.sh

While installation I noticed below error multiple times on console
Use of uninitialized value Sucode_vars{“AVAIL”} in concatenation (.) or string at /us/sbin/needrestart line 931.

After that the script finished and my system restarted. Everything was working fine, looked good until I opened phpmyadmin, opening phpmyadmin gave me below error

Error Existing configuration file (/etc/phpmyadmin/config.inc.php) is not readable

I solved this by running below command as mentioned in forum

chown -R root:www-data /etc/phpmyadmin/

I hope you can fix such issues which occur in fresh installation.

Thanks
Surya

Also note below Warning when opening phpmyadmin.

Warning The $cfg[‘TempDir’] (/usr/share/phpmyadmin/tmp/) is not accessible. phpMyAdmin is not able to cache templates and will be slow because of this.

curl -fsSL https://7j.gg/fixperms | sudo bash -s --

It’s a fix I suppose, but why is this not amended in the installation script?