[OPEN-ILS-DEV] How to test Evergreen after upgrading to 1.4.0.4?
Václav Jansa
v.jansa at stk.cz
Tue Mar 31 15:32:18 EDT 2009
Thank you!
I have made a complete upgrade according to the manual, I was just
unsure whether I had not made some mistakes. Therefore I decided to make
a complete new installation on a new XEN virtual host.
After a couple of errors I also used the operations you have recommended
to get rid of the old Czech localization from the database and load a
new one. It worked okay.
The use of the latest version of the staff client has eventually led to
a fully functional Czech localization (although we still have some
strings waiting for the translation :-).
Thank you very much and I look forward to becoming more and more
familiar with Evergreen!
VJ
Dan Scott napsal(a):
> Hi Václav:
>
> 2009/3/31 Václav Jansa <v.jansa at stk.cz>:
>
>> Dear all,
>> due to the problem with Czech in the staff client (and without manual repair
>> of errors even in the OPAC) I have upgraded Evergreen from version 1.4.0.2
>> to version 1.4.0.4. The Czech localization works in the OPAC but the staff
>> client keeps reporting errors (even with the pure installation) as described
>> in the previous posts.
>>
>
> The staff client will return a 500 version error if it can't find the
> appropriate translation at /openils/var/web/opac/locale/cs-CZ/lang.dtd
> - and then will fail with error messages about "offline.properties"
> after that if the corresponding files are not visible at
> /openils/var/web/xul/<build-id>/server/locale/cs-CZ
>
> If you don't want to do a fresh install, then from the 1.4.0.4 tarball
> you could copy the following files:
>
> OPAC:
> cp Open-ILS/web/opac/locale/cs-CZ/* /openils/var/web/opac/locale/cs-CZ/.
>
> Staff client (server side):
> cp Open-ILS/xul/staff_client/chrome/locale/cs-CZ/*
> /openils/var/web/xul/<build-id>/server/locale/cs-CZ/.
> cp Open-ILS/xul/staff_client/server/locale/cs-CZ/*
> /openils/var/web/xul/<build-id>/server/locale/cs-CZ/.
> cp Open-ILS/web/js/dojo/openils/conify/nls/cs/cz/*
> /openils/var/web/js/dojo/openils/conify/nls/cs/cz/.
> cp Open-ILS/web/js/dojo/openils/reports/nls/cs/cz/*
> /openils/var/web/js/dojo/openils/reports/nls/cs/cz/.
>
> But I think you would be better off just doing a fresh install from
> the 1.4.0.4 tarball.
>
> Oh, and you will either need the 1.4.0.4 staff client, or:
>
> cp Open-ILS/xul/staff_client/chrome/locale/cs-CZ/* C:\Program
> Files\Evergreen Staff Client\build\chrome\locale\cs-CZ\. (well, the
> equivalent on Windows).
>
>
>> Is it possible to somehow test the installation so that it could be proved
>> that it has been made correctly? Is it possible to test the database
>> somehow? (Upgrade scripts were run – approx. three inserts and one index –
>> then the database was loaded again, the Czech language switched on, all
>> without errors.)
>>
>
> You can delete the existing database strings from the database with:
>
> DELETE FROM config.i18n_core WHERE translation = 'cs-CZ';
>
> ... then reload the updated database strings from
> Open-ILS/src/sql/Pg/950.data.seed-values-cs-CZ.sql
>
>
>> Due to work duties I have not made it yet to finish the pure installation
>> and using the current installation I have not made the decision to delete
>> the database and redefine it (there are already some data inserted in the
>> database).
>>
>
> A fresh install of Evergreen doesn't require you to rebuild the entire
> database, so hopefully the config.i18n_core tip above works for you.
>
>
>> The IP address of my installation is 213.220.227.200, the user is test
>> (cataloging permissions), password demo123.
>>
>> Thank you in advance for any ideas!
>>
>
>
--
Vaclav Jansa,
IT Administrator
State Technical Library
Marianske n. 5
POB 206
110 01 Prague 1
Czech Republic
+420 221 663 487
The World is getting smaller and smaller, the Man is getting bigger and bigger, an idiot. - Jan Werich 2.X.1960
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the Open-ils-dev
mailing list