Title
#fleet
c

Catscrash

12/19/2021, 1:38 PM
I can't seem to install 4.7 fleet prepare db 2021/12/19 14:17:39 FAIL 20211202092042_RemovePolicyHistory.go (create policy membership table: Error 1005: Can't create table
fleet
.
policy_membership
(errno: 121 "Duplicate key on write or update")), quitting migration. I see there's a bug report here (https://github.com/fleetdm/fleet/issues/3396) - someone said to remove indices - anyone know which ones to get an install to work?
Lucas Rodriguez

Lucas Rodriguez

12/20/2021, 3:02 PM
Hi Catscrash, we are testing the workaround to remove the indices. We'll publish any updates on the issue.
Lucas Rodriguez

Lucas Rodriguez

12/21/2021, 2:28 PM
Hi Tor, mhm
"Migrations completed."
should be displayed alone IIRC... So, after running such
ALTER
command and then running
prepare db
, you ran
serve
right? Does
serve
complain in any way? ("Missing migrations" message in the first lines of output)