Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    Modifications to Upgrade Express for installations with over 168 libraries

    • Article Type: General
    • Product: Aleph
    • Product Version: 19.01

    Description:
    In working with Upgrade Express I found some problems in the initial setup and configuration for implementations that have a large number of libraries.

    When you run '1. View/Update upgrade parameters' you get an error:

    Word too long

    You will also see this same error when you try to define the libraries to be upgraded.

    The reason for this problem is that the scripts are trying to assign a large number of words all at once to a shell variable. While the shell variable can handle this many words, they need to be assigned incrementally.

    I have figured out a work around.

    1. Run Upgrade Express once and get the error.

    2. Edit util/upgrade_util_param commenting out the first line:
    # $uk_root/util/make_default_conf

    3. Edit conf/default.conf modifying the "setenv ukd_libraries" line. You need to break this up into multiple incremental assignments; Instead of one large assignment you can do the following:

    setenv ukd_libraries "acc30 ... adc50"
    setenv ukd_libraries "$ukd_libraries cen30 ... cen50"

    I believe you can have 168 libraries in a line, but no more than that. (I would also suggest setting the default lines to the exact libraries you want to upgrade. That way you can take the defaults on the next step.)

    4. Run the 'Update parameters' step. When you run the step to 'Update Upgrade Libraries Definition' you will again get the 'Word too long' error.

    5. Edit the conf/current_libraries.conf file. Here you need to modify the 'setenv uk_libraries' definition assigning the definition in steps just like before. So you end up with:

    setenv uk_libraries "acc30 ... acc50"
    setenv uk_libraries "$uk_libraries cen30 ... cen50"

    6. You can now view the configuration and run the upgrade. You should manually update the 2 files conf/default.conf and conf/current_libraries.conf. Do not use the scripts to update the files.

    The upgrade seems to be running fine now. This will only be a problem if the aleph_libs definition is for over 168 libraries.

    Resolution:
    A fix has been made to the Upgrade Express.


    • Article last edited: 10/8/2013
    • Was this article helpful?