It looks like you’ve already found the solution – to reset your PostgreSQL sequences: (OJS 3.2.0-3) DB Error: duplicate key value violates unique constraint "publication_galleys_pkey" - #6 by Tarcisio_Pereira
Regards,
Alec Smecher
Public Knowledge Project Team