The particular issue is in www/doc/sql/security.sql
. In the function sec_rotate_last_visit (integer, integer)
, change the last line which currently reads values(v_browser_id, ''acs'', ''last_visit'', v_time::char, ''f'');
to values(v_browser_id, ''acs'', ''last_visit'', v_time::varchar, ''f'');
Everything will work just fine then.