The issue occurs when there are extra entries in the license table beyond those that are stored on the filesystem:
select uuid, origin, alter_time from license;
As a best practise precaution snapshot the raas server before proceeding.
1. SSH to the raas server and verify that the current valid license keys are stored in the filesystem under /etc/raas/*_license. Do not proceed if correct license files do not exist here.
2.Stop the raas service:
systemctl stop raas
3. Clear the current contents of the licensing table. This will prompt the system to read in again the license files from the filesystem.:
psql -U postgres
\c raas_<UUID>
delete * from license;
\q
4. Start the raas service.
systemctl start raas
It will not impact functionality to exceed these limits. It just generates some errors in the raas log.