I tried multiple cleanup options like
changing the sonar.search.port
bringing down the disk usage to 2 % from 15%
removing /temp and data/es8 but nothing worked.
A fresh installation pointing to the same DB with default configs worked though.
I did check that as i found in some other thread that the disk usage may be an issue. The partition where SonarQube is running though small (60GB) is only used 3%.
What edition of SonarQube are you running? Am I right to assume Community Edition?
How are you running it? Docker?
You mentioned that
Could you please elaborate on that?
A fresh installation pointing to the DB that you upgraded works?
Or do you mean that a fresh installation of SonarQube on an empty Postgres 15.4 works?
How did you upgrade from Postgres 15.3 to 15.4? You have a backup from 15.3, right?
Apologies this thread has now mixed up a lot. So the initial issue was that i upgraded postgresql to 15.4 and my sonar instance (10.1.0.73491) failed to start after that. When it didn’t start after multiple tries, i reinstalled the same version (10.1.0.73491) by unziping the sonar zip and config changes to point to the postgres db(same 15.4). that worked and i was able to keep the instance up till i upgraded sonar to 10.2.1.78527. For both the issues logs are attached in the ticket.
I am not running docker.
Unfortunately i don’t have the DB backup.
This is community edition.
From your logs, I get the impression that you are trying to run SonarQube from /apps, is that correct? Do you have SELinux or something like that enabled?
It is a very long shot, specially considering that you had something that was working before, but could you try to move your setup to somewhere else, say /opt/sonarqube?
Do you have any proxy configured for your environment?
LSB Version: :core-4.1-amd64:core-4.1-noarch
Distributor ID: RedHatEnterpriseServer
Description: Red Hat Enterprise Linux Server release 7.4 (Maipo)
Release: 7.4
Codename: Maipo
Yes i am running this from /apps. I can give /opt a shot. will get back with the results.
the PG upgrade was by compiling the PG from source and inplace data upgrade with pg_upgrade.
SELinux status: enabled [Had been enabled since many years and the sonar has been updated from old version many times]
Were you able to try installing SonarQube into a different directory?
We are curious about this:
Am I right in understanding that you manually compiled PostgreSQL by yourself? Did you get different results when using your distro’s official package?
unfortunately i couldn’t test /opt as for some reasons my /opt partition is really small.
I have never used Postgres distributions as i am used to of compiling softwares for years now. (A bit of unlearning and new learning is required it seems. )
A new development here is that i used the same database with the latest 10.3 release and that seems to work fine. So i think for now i’ll stick to it. One lesson is to have postgres and sonar backup for each version.