Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

Postinstall can no longer be run twice #4984

@jhg03a

Description

@jhg03a

I'm submitting a ...

  • bug report

Traffic Control components affected ...

  • Traffic Ops

Current behavior:

Running postinstall.pl twice causes failure.

Expected / new behavior:

Previously there hadn't been issues with running Postinstall twice

Minimal reproduction of the problem with instructions:

  1. Run Postinstall
  2. Run Postinstall again with the same input

Anything else:

ERROR: function on_update_current_timestamp_last_updated already exists with same argument types
Can't create database tables
Died at /opt/traffic_ops/install/lib/InstallUtils.pm line 62.
Database load_schema failed
Error on line 57 of /opt/traffic_ops/install/bin/postinstall

Metadata

Metadata

Assignees

Labels

Traffic Opsrelated to Traffic Opsbugsomething isn't working as intendeddatabaserelating to setup/installation/structure of the Traffic Ops databaselow impactaffects only a small portion of a CDN, and cannot itself break one

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions