I got 500 Internal Server Error when accessing Ubuntu installed Cyberpanel Admin Port 8090 after upgrade to 2.4.3. It looks like the cyberpanel database password has been corrupt after upgrade.
systemctl status mariadb shows mariadb is active running but gives the following error.
mariadb[1114]: 2025-08-13 10:02:22 3 [Warning] Access denied for user ‘root’@‘localhost’ (using password: NO)
/etc/mysql/debian-start [1227]: Reading datadir from the MariaDB server failed. Got the following error when executing the ‘mysql’ command line client
/etc/mysql/debian-start [1227]: ERROR 1045 (28000): Access denied for user ‘root’@‘localhost’ (using password: NO)
/etc/mysql/debian-start [1227]: FATAL ERROR: Upgrade failed
/etc/mysql/debian-start [1269]: Checking for insecure root accounts.
mariadb[1114]: 2025-08-13 10:02:23 4 [Warning] Access denied for user ‘root’@‘localhost’ (using password: NO)
debian-start [1280] : ERROR 1045 (28000): Access denied for user ‘root’@‘localhost’ (using password: NO)
The passwords are the same for the following file. I have rebooted the system and it still doesn’t work.
/usr/local/CyberCP/CyberCP/settings.py (both password the same as in the following file)
/etc/cyberpanel/mysqlPassword (only password)
How can I fix this database error? Any help is greatly appreciated.