Symptom
FMC 6.4 to 6.7 upgrade fails "Error running script 500_rpms/110_generate_dbaccess.sh
No access to the FMC GUI; it simply displays an "upgrade failed" and below error logs seen in the status.log file.
Starting script: 500_rpms/110_generate_dbaccess.sh
Entering 500_rpms/110_generate_dbaccess.sh...
No JSON object could be decoded
Error while generating dbaccess file.
httpsd process is down
status.log shows failure at script 500_rpms/110_generate_dbaccess.sh
Conditions
Upgrading FMC from 6.4.x
Private FireAMP cloud is configured on the FMC
If the customer is upgrading from 6.5+ they are less likely to see this issue.
Workaround
If the customer is running 6.4.x product version and has a PRIVATE FireAMP cloud configured, it is advised to preemptively unregister the private cloud before an upgrade and register it back after an upgrade.
If the issue occurred Contact TAC to:
Option 1: Delete /new-root/etc/sf/dbaccess.conf & /etc/sf/dbaccess.conf and rerun the upgrade then dbaccess.conf File get re-generated.
Option 2:
Copy non-empty dbaccess.conf file from lab FMC running same version to "/etc/sf/dbaccess.conf" and then kick the upgrade.
PRIVATE FireAMP cloud credentials will be lost and it needs to be re-registered in this case. Prior to registering the private cloud again, it may be required to clean up old private cloud information from the MySQL fireamp_cloud table.
Further Problem Description