Upgrading Mapstore

155 views
Skip to first unread message

jatox

unread,
Sep 11, 2023, 5:27:27 AM9/11/23
to mapstore-users
Hi all,
I'm about to upgrade from Mapstore 2021.02.02 to the latest version. 

What is the best practice route of doing this? Migrating through all versions OR do a clean install and keep the database?

There is no heavy customization on the existing installation

Thanks!

/Jacob

Tobia Di Pisa

unread,
Sep 11, 2023, 5:33:04 AM9/11/23
to mapstor...@googlegroups.com
Hi jatox,

If you don't have special customizations you can simply install the new version keeping the DB that will be automatically updated at startup if necessary. Anyway, I recommend you to have a look at the migration guidelines we always update at each MapStore release just to be sure if there is something to take into account for your MS project.

Best Regards,
     Tobia Di Pisa

--
You received this message because you are subscribed to the Google Groups "mapstore-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mapstore-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mapstore-users/ecc4eac1-d18d-4522-a4dc-7a14fec96159n%40googlegroups.com.


--


==
GeoServer Professional Services from the experts!

Visit http://bit.ly/gs-services-us for more information.
==
Dott. Ing. Tobia Di Pisa
Technical Lead / Project Manager


GeoSolutions Group
phone: +39 0584 962313

mobile: +39 340 1781783
fax:      +39 0584 1660272

https://www.geosolutionsgroup.com/
http://twitter.com/geosolutions_it
-------------------------------------------------------


Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.

jatox

unread,
Sep 11, 2023, 5:41:57 AM9/11/23
to mapstore-users
Hi Tobia,

Thank you for the quick reply!:)

Sounds great, I will try upgrading directly and revert to upgrading incrementally if that doesn't work.

Br,
Jacob 

jatox

unread,
Sep 16, 2023, 5:00:22 AM9/16/23
to mapstore-users
Hello again,

Seems I'm running into some issues while upgrading to the newest version. 

I loaded the war file in tomcat9 and it doesn't start. 
I then tried 2022.01.00 which starts but there seems to be some errors which I think is related to some of the library updates, but I'm not sure. https://github.com/geosolutions-it/MapStore2/issues/7172

I appreciate all the hints I can get, thanks!

jatox

unread,
Sep 17, 2023, 2:28:31 PM9/17/23
to mapstore-users
Turns out the version I'm upgrading from is  2021.02.02 which is loaded as a war file and the problem arises when I try to upgrade to the newest version. 
No customization has been done. 
Ubuntu server running tomcat 9 and Java 11(would it make sense to downgrade to recommended version?)
catalina.log
mapstore.log
Message has been deleted

Lorenzo Natali

unread,
Sep 19, 2023, 5:30:24 AM9/19/23
to mapstore-users
Hi, 
I think the error looks related to the web/pom.xml file that doesn't seems to have the proper classes. 
This error:
Cannot resolve reference to bean 'googleOpenIdFilter'
Suggest me that you need a newer version of geostore that include the classes that support google Open ID. 

I think you have to align your geostore version in your web/pom.xml
accordingly with the versions written here. 


For instance 2023.01.00 needs

<!-- MapStore services -->
<dependency>
<groupId>it.geosolutions.mapstore</groupId>
<artifactId>mapstore-services</artifactId>
<version>1.5.0</version>
</dependency>

<!-- ================================================================ -->
<!-- GeoStore modules -->
<!-- ================================================================ -->
<dependency>
<groupId>it.geosolutions.geostore</groupId>
<artifactId>geostore-webapp</artifactId>
<version>2.0</version>
<type>war</type>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>proxy</groupId>
<artifactId>http_proxy</artifactId>
<version>1.4.0</version>
<type>war</type>
<scope>runtime</scope>
</dependency>



And so on...
Reply all
Reply to author
Forward
0 new messages