Forum OpenACS Q&A: Error creating users after restore

Collapse
Posted by Janine Ohmer on
I just moved a 4.6.3/1.0.1 site from one system to another.  I did the usual:  load postgresql.sql and then the site dump.  Nothing out of the ordinary happened, but you cannot create users on the new site.  This error:

ERROR:  -20001: membership_rel  violation: Invalid object types. Object -2 (application_group) must be of type group Object 3334 (user) must be of type person

happens during the call to acs__add_user.

Any ideas what this could be???

Collapse
Posted by Janine Ohmer on
*cough* apparently this is what happens when you forget to run "createlang plpgsql".  There must have been some errors the first time but I didn't spot them.

Well, hopefully this will help some other poor soul. :)