molgenis / molgenis-emx2

MOLGENIS EMX2, the latest version of the MOLGENIS data platform.
GNU Lesser General Public License v3.0
11 stars 16 forks source link

EMX logs should show a clear descriptive message when connecting to a unsupported postgres version #3134

Open connoratrug opened 7 months ago

connoratrug commented 7 months ago

What version of EMX2 are you using (see footer) 10.x

Describe the bug When the software is installed (externally ) users might have a unsupported postgres version running, this might lead to a vague message about a set user failure.

To Reproduce Steps to reproduce the behavior:

  1. Install postgress 15 and follow setup steps described in the docs
  2. Start the system
  3. Check logs for error message

Expected behavior A clear error message indicating the postgres 15 is not supported and user should use the supported version

erikzwart commented 7 months ago

The emx2 documentation mentions postgres 15 as supported

connoratrug commented 7 months ago

The emx2 documentation mentions postgres 15 as supported

this might not be the case when running an older version ( although the docs would then say version-x ), we could still improve the error message, i have seen multiple cases where developers / admins tried to start the service, failed and could not see what was wrong by looking at the logs