Files
CyberPanel/upgrade_modules
master3395 f434a23684 fix(upgrade): never reset DB passwords by default; avoid root GRANT IDENTIFIED BY
- recover_database_credentials: read root password from JSON mysqlPassword
  when present; try cyberpanel password from settings.py then FTP/DNS/Postfix
  configs; refuse DROP/CREATE or random passwords unless
  CYBERPANEL_ALLOW_DB_CREDENTIAL_RESET=1 (legacy recovery).
- Pre-upgrade MariaDB: GRANT root privileges without IDENTIFIED BY so the
  existing root password hash is not rewritten.
2026-04-11 23:25:11 +02:00
..