The problem was related to the upgrade script from 4.6 to 4.6.1 in pg.
acs-kernel/sql/postgresql/upgrade/upgrade-4.6-4.6.1.sql
this gave back an error:
insert into acs_objects
(object_id, object_type)
values
(0, 'person');
so did an update like this:
update acs_objects
set object_type = 'person'
where object_id = 0;
and everything works fine.