Forum OpenACS Development: Re: OpenACS 5.0 Upgrade Experiences

Collapse
Posted by Jon Griffin on
Services are still not showing up as able to mount on upgraded sites. I just checked 2 sites that had OpenFTS installed and I am not able to add it to sitemap.

This is using /admin/site-map/.

I fixed this in my instance by changing the query in acs-tcl:


apm-procs-postgresql.xql

select package_key,
       pretty_name
from apm_package_types
where (apm_package__singleton_p(package_key) = 1 and
           apm_package__num_instances(package_key) <= 1)
order by pretty_name

Notice that the original query assumes ALL singleton packages shouldn't be mounted. This is not a correct assumption.

this is not the best way to deal with this as it only gets you the singleton packages, but it allows you to mount the packages and stop the errors in your log from openfts not being initialized.