We’re not wild about log screenshots here. They can be hard to read, among other reasons. Does your screenshot show the entire stacktrace? If not, can you copy/paste the log text starting from… about where your screenshot starts, at least through the end of the stacktrace?
Could you also provide what DB engine you’re using (Oracle, Postgres, …) and - if you remember - what your first version of SonarQube was?
Thank you for your question. We are investigating the issue, and would like to ask that you execute the following query on your DB:
SELECT d.name FROM sys.tables t
JOIN sys.default_constraints d ON d.parent_object_id = t.object_id
JOIN sys.columns c ON c.object_id = t.object_id AND c.column_id = d.parent_column_id
WHERE t.name = 'users' AND c.name in ('sonarlint_ad_seen')
Please send the response back to us and we will take it from there.
This is very strange. Are you sure that the DB user had permissions to ALTER table? We tried reproducing the issue and the migrations worked for us. If confirmed, could you try running the same ALTER TABLE sql manually in your DB using the same DB user as SonarQube, and then restart SonarQube?