Upgraded from 4.3.1 to 4.3.2 on Ubuntu 20 and the ...
# fleet
r
Upgraded from 4.3.1 to 4.3.2 on Ubuntu 20 and the DB migration hangs. If I kill the process and rerun it I get an error
Copy code
2021/10/04 20:26:53 FAIL 20210927143115_AddPolicyUpdatedAtColumn.go (adding policy_updated_at column: Error 1060: Duplicate column name 'policy_updated_at'), quitting migration.
so I check and it appears it’s an addition to the host table. I altered and drop the column and ran the DB migration again and it continues to hang. I killed it again and started fleet and it’s updating the column so 🤷
z
Can you try
TRUNCATE TABLE policy_membership_history
followed by dropping that column and running the migration again?
r
Ran successfully 👍
🚀 1