Copying an updated www_f_eng directory from Test to Prod
- Article Type: General
- Product: Aleph
- Product Version: 20
Description:
We're having difficulty migrating a new www_f_eng directory from our test region on our existing server to the production version on the same server. The cp -r command produces a directory of a different size from the original. And the screens which display lack the proper background.
Resolution:
The difference in the size of the ./www_f_eng directory was not the problem....
Checking in the ./alephe/apache/htdocs, we found that while this directory on the Test instance had soft links pointing to the ./www_f_eng/cas.css and cas.js files, the same directory on the Prod instance lacked these links.
We added them, using these commands:
> ln -s /exlibris/aleph/u20_1/alephe/www_f_eng/abc.css abc.css
> ln -s /exlibris/aleph/u20_1/alephe/www_f_eng/abc.js abc.js
Then we restarted the www_server and the expected screens displayed.
I find that the following grep in the Prod www_f_eng locates numerous references to the *Test* /u20_2/alephe/www_f_eng/:
> grep 20_2 *
These are "background" lines in the ./www_f_eng/abc.css.
As a matter of principle, I believe that all of these should be changed from the Test ("u20_2") to the Prod ("20_1").
Jerry
- Article last edited: 10/8/2013