You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Migration guide needs some more information on database upgrades #12262
I am upgrading a testing server from version 2025.01.00 to current 2026.01.00, in that system the database is postgres. That database was created using the version of the script from Feb 6th 205 (geosolutions-it/geostore@257d342)
I get an error about missing table gs_ip_range (geostore.gs_ip_range)
15-Apr-2026 11:24:31.336 SEVERE [http-nio-127.0.0.1-8080-exec-1] org.apache.catalina.core.StandardContext.listenerStart Exception sending context initialized event to listener instance of class [org.spring
framework.web.context.ContextLoaderListener]
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'geostoreEntityManagerFactory' defined in URL [jar:file:/var/lib/tomcat9/webapps/mapstore/WEB-INF/lib/geostore
-persistence-2.5.0.jar!/applicationContext-geostoreDatasource.xml]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: geostore] Unable to build
Hibernate SessionFactory; nested exception is org.hibernate.tool.schema.spi.SchemaManagementException: Schema-validation: missing table [geostore.gs_ip_range]
I applied in order the updates manually and the issue was fixed in my case (still it would be nice to have a bit more information about this on the upgrade procedure)
but according to the documentation is discouraged to use so I left it untouched, if it's generally safe I will change the value
You're right to be cautious, especially when touching production environments. Running this directly in production without testing it in a QA/Dev environment first is generally not recommended.
However, while it requires a controlled environment, this option is definitely helpful to streamline the DB update process and avoid doing everything manually.
I usually suggest trying it in a local or staging environment first; once verified, it can save you a lot of manual work (depending on the update, of course).
Activity
aseques commentedon Apr 15, 2026
I applied in order the updates manually and the issue was fixed in my case (still it would be nice to have a bit more information about this on the upgrade procedure)
tdipisa commentedon Apr 15, 2026
@aseques thank you for reporting.
Typically, to automate this process, you need to have the jpaPropertyMap[hibernate.hbm2ddl.auto] set to
update.Anyway, we will specify it better in the migration guidelines.
aseques commentedon Apr 15, 2026
HI @tdipisa about the setting you comment, I read about it this morning here https://docs.mapstore.geosolutionsgroup.com/en/latest/developer-guide/database-setup/#database-creation-mode, but according to the documentation is discouraged to use so I left it untouched, if it's generally safe I will change the value
tdipisa commentedon Apr 15, 2026
@aseques
You're right to be cautious, especially when touching production environments. Running this directly in production without testing it in a QA/Dev environment first is generally not recommended.
However, while it requires a controlled environment, this option is definitely helpful to streamline the DB update process and avoid doing everything manually.
I usually suggest trying it in a local or staging environment first; once verified, it can save you a lot of manual work (depending on the update, of course).
Fix #12262 - Improve documentation with clear db update policy (#12293)
Fix #12262 - Improve documentation with clear db update policy (#12293)…
Fix geosolutions-it#12262 - Improve documentation with clear db updat…
Add Portuguese (pt-PT) translation (#12236)
Update to upstream v2026.01.02 (#77)