Layers are not loading when upgraded to Geo Server version 2.27.2

Hi,

Upgraded to Geo Server from 2.19.2 to 2.27.2.

when tried to load layers in Geo Server getting error as

Error Message

ERROR [referencing.factory] - Failed to initialize pivot CRSs, please ensure you have a valid EPSG databaseorg.geotools.api.referencing.NoSuchAuthorityCodeException: No code “4258” from authority “European Petroleum Survey Group” found for object of type “interface org.geotools.api.referencing.IdentifiedObject”.at org.geotools.referencing.factory.AbstractAuthorityFactory.noSuchAuthorityCode(AbstractAuthorityFactory.java:870) at org.geotools.referencing.factory.AbstractAuthorityFactory.createObject(AbstractAuthorityFactory.java:158) at org.geotools.referencing.factory.BufferedAuthorityFactory.createObject(BufferedAuthorityFactory.java:358)

Please advise how to fix this issue.

Thanks,

Wow that is a large jump! I expect the EPSG database has been updated a few times over the course of so many releases.

The EPSG database is stored on disk, and intended to be updated automatically as needed.

The docs for manual editing indicate to clear using:

rm -rf /tmp/Geotools/Databases/HSQL

I am not on linux perhaps you can check if this is correct.