IN-CORE / incore-helm

Helm chart to deploy the IN-CORE system in kubernetes.
0 stars 0 forks source link

Update geoserver in kube cluster #68

Closed ywkim312 closed 1 year ago

ywkim312 commented 1 year ago

Current geoserver is kartoza 2.17.0. Update this to newer version

ywkim312 commented 1 year ago

The geoserver upgrade attempts has not been very successful so far. It still has a problem in GUI part that it doesn't allow users to manipulated the GUI even though it serves the image to incore

Upgrading geoserver kartoza version from 2.17.2 to 2.23.0

ywkim312 commented 1 year ago

The details about the problems

  1. can login
  2. can see the layers or other pages in the left menu side
  3. when it comes to the real pages like layers, the pagination doesn't work so the users can only see the very first page
  4. this happens in all the pages
  5. when you try search the layers other others using the search box in number 3, it doesn't work.

step 3-5 doesn't look like it is not being clicked. It doesn't have any reaction with mouse button click

ywkim312 commented 1 year ago

Have tried the same way as the docker-compose (this way worked in docker-compose)

  1. upgrade geoserver without mounting any volume
  2. launch geoserver and loging
  3. rerun docker-compose with volume mounted again, then the problem solved
ywkim312 commented 1 year ago

tst is down but using the new helm chart for geoserver is working on tst. So created a new namespace geoserver and deployed the new geoserver 2.23.1 using the helm chart and new namespace

ywkim312 commented 1 year ago

Create a new PVC and PV in incore-vm and named geoserver-test under incore-tst folder in incore-vm. Copied the shared folders and only left little amount of layers in data folder and worksapce folder so the new deployment's up and down should be fast.

ywkim312 commented 1 year ago

Created a script to update hard coded folder name in all the xml files in the data. This fixed the layer previews.

ywkim312 commented 1 year ago

Newly deployed geoserver still doesn't work in GUI. The search option or pagination doesn't work. Also, changing password doesn't work. The weird thing is that, it doesn't work even though there is no mounted one. The default container without mounting didn't work. Tested the same docker image in vm as a single docker run without mounting and it (search, pagination, etc) worked well.

ywkim312 commented 1 year ago

This has been implemented