supid me I didn't perform sugested postgresql configuration well. This solves out everything: "6. If you are importing to a postgres database, you will need to execute the following SQL statement from within your RT2 database. $ psql rt2 psql> SELECT setval('tickets_id_seq', (select max(id) from tickets));"