Forum OpenACS Development: Re: Diagram pkg
Apparently, core packages work fine but /api-doc. I haven't changed anything to core pkgs.
api-doc Documentation Documentation add folder unmount rename delete permissions
In order to avoid debbuging the problem within the source code, I decided to go to /admin/site-map to unmount and delete the instance "api-doc". Then I went to /acs-admin/apm, disabled, uninstalled it then I installed acs-api-browser over again.
But now acs-api-browser appears on /acs-admin/apm but it doesn't on site-map as expected. It seems it hasn't been mounted at the moment of package installation. /api-doc/ now returns "Server Error"
when deleting the api-browser, you should have seen a message, that you should NOT do this. The acs-api-browser package belongs to core and is an "initial-install package". Its package description does not contain a mount url, since the installer cares for this. Therefore, the package manager (acs-admin/apm) has now idea where to mount the package and how it should be set up.
However, live with OpenACS is not without hope: paste the following commands to your ds/shell, and /api-doc will revive.
set api_browser_id \ [site_node::instantiate_and_mount -node_name api-doc \ -package_key acs-api-browser] permission::grant -party_id [acs_magic_object registered_users] \ -object_id $api_browser_id \ -privilege read permission::set_not_inherit -object_id $api_browser_id
all the best
Your notes made remind me that I can always go to the core install scripts and grab "carefully" the chunks from there to force executions.