#295: New inveniocfg option to change URL of an installation
-------------------------------------+--------------------------------------
Reporter: skaplun | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone: v1.1
Component: *installation* | Version: v0.99.1
Keywords: CFG_SITE_URL inveniocfg |
-------------------------------------+--------------------------------------
When an Invenio installation is upgraded to serve requests under a new
URLs, several steps are needed to bring the system to a working status.
In particular:
1. the `invenio(-local).conf` file should be updated accordingly
2. {{{inveniocfg --update-all}}} should be called
3. all `8564_u` URLs referring to local bibdocfile managed files must be
upgraded. For this one needs to know what was the previous `CFG_SITE_URL`
of the system and what was the new one. All records might be upgraded by
an automatic procedure (currently this is also possible manually by using
`MultiEdit`).
4. optionally `bibreformat` and `webcoll` might be run.
I would propose something like:
{{{
$ inveniocfg --update-site-url-from=http://OLD-URL
}}}
that would assume the system has already the new URL in
`invenio-(local).conf`. This procedure would simply trigger and upgrade of
all `8564_u` URLs, with an embedded `FIX-MARC` (just in case), and would
schedule a `bibreformat` and a `webcoll`.
--
Ticket URL: <http://invenio-software.org/ticket/295>
Invenio <http://invenio-software.org>