You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in postgres until server_tool_id_seq is outside the range of existing acnode id's so this issue is worked around for now, but we might encounter similar problems at some point.
The text was updated successfully, but these errors were encountered:
When we import the tools from the old acserver we insert the tool data into server_tool, including the id column, which we need to preserve.
As a result server_tool_id_seq does not get incremented (it starts at 1) and when trying to add a tool django dies with:
IntegrityError: duplicate key value violates unique constraint "server_tool_pkey"
DETAIL: Key (id)=(3) already exists.
in the logs.
I've manualy run:
select nextval('server_tool_id_seq'::regclass);
in postgres until server_tool_id_seq is outside the range of existing acnode id's so this issue is worked around for now, but we might encounter similar problems at some point.
The text was updated successfully, but these errors were encountered: