Customer Portal loading up blank after a Jira upgrade
Platform Notice: Data Center - This article applies to Atlassian products on the Data Center platform.
Note that this knowledge base article was created for the Data Center version of the product. Data Center knowledge base articles for non-Data Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
After performing a Jira upgrade, you notice that the customer portal page is showing completely blank on the browser.
No apparent errors are shown on the browser, on a HAR file, or on the Jira logs about it, and you have confirmed that have the appropriate version of Service Desk installed and enabled.
Environment
Jira service desk configured with SSL (prior to the upgrade).
Diagnosis
Check the Browser console logs from when loading up the blank customer portal page.
- Open the Developer tools by pressing F12.
- Switch to the Console tab
- Right-click at any place in the console content, and choose "Save as...".
With the saved results, look for occurrences of Mixed Content errors informing that This request has been blocked; the content must be served over HTTPS.
Example:
Mixed Content: The page at 'https://JiraBaseURL.com/servicedesk/customer/portals' was loaded over HTTPS, but requested an insecure script 'http://JiraBaseURL.com/s/34cf567dff4d26da16adf1dc36f9bc3c-CDN/31dj44/940000/iwvr1za/a0000dc68b693301/c7d809889492d9ff_/download/contextbatch/js/async-chunk-cv-help-center-portal-page,-customerportal,-com.atlassian.analytics.analytics-client:js-events,-jira.webresources:almond/batch.js?locale=en-UK'. This request has been blocked; the content must be served over HTTPS.
Cause
As is mentioned in the Upgrading Jira Data Center documents, after performing a Jira upgrade, customizations applied to its Installation Directory, such as SSL settings, are overwritten back to their defaults.
This means that any SSL settings that were applied to your instance have been lost, and because of it, although you are attempting to still access Jira with HTTPS, its server settings are configured to only provide HTTP connections.
Solution
In order to solve the issues with the customer portal, and ensure your instance is operating with SSL enabled, you'll need to re-apply the lost customizations to your instance.
This can more easily be achieved by copying the connector details from the previous version of Jira, or they can be manually re-applied using the same instructions utilized when initially setting up SSL.