VIVO Documentation
Old Release
This documentation relates to an old version of VIVO, version 1.13.x.
Looking for another version? See all documentation.
If you are moving images from one server to another, with no change in the URL, it should be sufficient to just move the VIVO home directory with no changes. VIVO will find file_storage_namespaces.properties
and file_storage_root
in [home]/uploads
, and everything still works.
If you are changing to a new URL, I presume that you are changing to a new default namespace. Have you used the “Change Namespace of Resources" tool? (http://localhost:8082/vivo/ingest?action=renameResource)
So your file individual has changed from the old URI http://localhost:8082/vivo/individual/n187
to the new URIhttp://logics.emap.fgv.br:8080/vivo/individual/n187
However, file_storage_namespaces.properties
does not know how to translate this new namespace.
One way to cope with this is to edit file_storage_namespace.properties
accordingly, adding this line:b = http://logics.emap.fgv.br:8080/vivo/individual/
and rename your
[home]/uploads/file_storage_root/a~n
directory to [home]/uploads/file_storage_root/b~n
The new URI now translates to b~n187
, and the file which is now stored at [home]/uploads/file_storage_root/b~n/187/servletrecuperafoto.jpeg
is accessible by its new URI.