how to reslove Jira Software is licensed but not currently installed

Shell
SELECT * FROM pluginstate where pluginenabled = 'false';
Source

Also in Shell: