[OPEN-ILS-DEV] 1.4.0 almost working

Jeff Godin jeff at tcnet.org
Mon Apr 6 23:09:51 EDT 2009


On Mon, 6 Apr 2009, Jon Legree wrote:

> I think I'm real close to a working installation of version 1.4.0 on ubuntu
> intrepid. Everything seems to work when I test the connection using the
> installation instructions, and when I run the settings-tester.pl script,
> everything looks OK:

[snip settings-tester output]

>
> The staff client will load, but I get the following errors:
[snip]
> {"message":"au is not defined"

Have you run autogen.sh?

from the wiki (server:1.4.0:install):

As the opensrf user, generate the Web files needed by the staff client and
catalogue and update the organization unit proximity (you need to do this
each time you change the library hierarchy in config.cgi):

cd /openils/bin
./autogen.sh -c /openils/conf/opensrf_core.xml -u

The output should look something like this:
Updating fieldmapper
Updating web_fieldmapper
Updating OrgTree
removing OrgTree from the cache for locale hy-AM...
removing OrgTree from the cache for locale cs-CZ...
removing OrgTree from the cache for locale en-CA...
removing OrgTree from the cache for locale en-US...
removing OrgTree from the cache for locale fr-CA...
Updating OrgTree HTML
Updating locales selection HTML
Updating Search Groups
Refreshing proximity of org units
Successfully updated the organization proximity
Done

Give that a try, then try restarting the staff client.

If you get errors when trying to run autogen.sh, please pass them to the
list.

If there are no errors and the staff client still throws the same error,
I'd suggest capturing apache error log entries that are generated when you
attempt to run the staff client. This can be as easy as running tail -f on
the log file, then starting the staff client.

Good luck, and I hope this helps!

-jeff


More information about the Open-ils-dev mailing list