Problem
Issue: After activating a new license on a self-hosted Mattermost instance, the system still displays the old license.
Solution
Steps to Resolve:
1. Verify the License File:
- Ensure the license file downloaded from the Customer Portal is correct and up to date.
- To verify the license file:
- The license file is encoded in Base64. Decode it using a Base64 decoder tool or a command-line tool like
base64
(e.g.,base64 --decode -i <filename>
). - Open the decoded license file in a text editor.
- Check the expiry date and other details to confirm that the license is valid.
- The license file is encoded in Base64. Decode it using a Base64 decoder tool or a command-line tool like
2. Enable Debug Logging:
- Set the file log level to DEBUG from the system console for detailed logs. To do this:
- Navigate to the System Console.
- Go to the Logging section.
- Set the File Log Level to DEBUG.
- This will provide more detailed logs that can help identify any issues during the license upload process.
3. Check Environment Variables:
- Determine if the old license was deployed using environment variables. This is a common cause for such issues because environment variables take precedence over system console settings.
- Update the license file in the environment variables to ensure the new license is recognized.
4. Confirm Resolution:
- After updating the license file in the environment variables, check if the issue is resolved by restarting the Mattermost server and confirming the license status in the system console.
Further Assistance
For further assistance, please contact Mattermost Support.
Comments
Article is closed for comments.