Skip to content

Commit

Permalink
Merge pull request #420 from girder/migration-note
Browse files Browse the repository at this point in the history
Add a note about migration from Girder 2.
  • Loading branch information
manthey authored Feb 6, 2020
2 parents 971ce38 + 80680ab commit ddf32e1
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,20 @@ Many tile sources have complex prerequisites. These can be installed directly u
``pip install -e large-image[memcached] -r requirements-dev.txt --find-links https://girder.github.io/large_image_wheels``


Migration from Girder 2 to Girder 3
===================================

If you are migrating a Girder 2 instance with Large Image to Girder 3, you need to do a one time database update. Specifically, one of the tile sources' internal name changed.

Access the Girder Mongo database. The command for this in a simple installation is::
mongo girder

Update the tile source name by issuing the Mongo command::

db.item.updateMany({"largeImage.sourceName": "svs"}, {$set: {"largeImage.sourceName": "openslide"}})


.. _Girder: https://github.com/girder/girder

.. |build-status| image:: https://travis-ci.org/girder/large_image.svg?branch=master
Expand Down

0 comments on commit ddf32e1

Please sign in to comment.