Page MenuHomePhabricator

Migrate wikimaps warper from Debian Bullseye to Trixie
Closed, ResolvedPublic

Description

Issue to help track tasks to migrate the Wikimaps Warper maps-warper4 to Debian Trixie

Wikimaps Warper is at https://warper.wmflabs.org/ and is a service to georeference historical maps on Wikimedia commons with the use of the maps template.

https://openstack-browser.toolforge.org/project/maps

  • Develop locally on trixie vm to see specific tasks involved first
  • Create maps-warper5
  • Install software
  • Migrate Data
  • Set up proxy
  • Turn off maps-warper4
  • (additional - look at maps data to project data?)

Similar to previous migrations: maps-warper3 -> maps-warper4 https://phabricator.wikimedia.org/T298076 Migrate Wikimaps Warper VM from Debain Stretch to Debian Bullseye

and before that maps-warper2 to maps-warper3 https://phabricator.wikimedia.org/T211149


https://etherpad.wikimedia.org/p/2026-bullseye-deprecation

Parent issue: https://phabricator.wikimedia.org/T428196 Reach out to Cloud VPS project maintainers about Debian Bullseye deprecation

https://os-deprecation.toolforge.org/

Event Timeline

updates:
Installed trixie vm locally
Installed software in the vm

Issue with compiling the mapserver ruby library - we have a newer debian so have to use newer version of mapserver.

git checkout branch-8-6
cmake .. -DWITH_THREAD_SAFETY=1 -DWITH_FCGI=0 -DWITH_RUBY=1 -DCMAKE_INSTALL_PREFIX=~/mapserverinstall -DWITH_GIF=0  -DCMAKE_C_FLAGS="-D_GNU_SOURCE"

Need to patch mapwarper to work with the newer version of mapserver:

  1. remove deprecated lines: raster.dump = Mapscript::MS_TRUE
  2. edit metadata lines: map.setMetaData("wms_onlineresource", .... to e.g mapsv.web.metadata.set("wms_onlineresource", "http://example.com/wms")

Good news is that system gdal works so no compile needed there.
Data seems to be okay with new postgres database.

Soon able to go to next step and get maps-warper5 instance

  • pushed code fixes
  • created maps-warper5 instance

next:
Configure maps-warper5 instance

maps-warper5 configured.
set up mapwarper with apache webserver
horizon proxy is now set so it should be serving warper.wmflabs.org now

I'll keep maps-warper4 up for a little bit and monitor things.

Then I will suspend maps-warper4 and then i think we should be ok to delete it

Edits:
note for myself in the future: I forgot logrotate config and crontab . Now copied over.

Chippyy changed the task status from Open to In Progress.Jul 30 2026, 5:32 PM

there's a bug with image thumbnails which I intend to fix but its not completely dependent on the migration

maps-warper4 instance is now paused.
monitoring continues

maps-warper4 is now deleted. Closing this ticket