getting a 'has already been deployed" message #880
-
|
After catching up a slightly messed-up commit/deploy, with Where should I be looking for the cause of this?
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
|
Do the two change have identical deploy scripts? That will fail because they need to generate different script hashes. |
Beta Was this translation helpful? Give feedback.
-
|
Ah, okay, that'll be released next week. |
Beta Was this translation helpful? Give feedback.
Ok - the result of a
sqitch deploy --log-onlyhad put three changes inchangeswith exactly the same (to the second, as MariaDB seems not to do < second timestamps) timestamps which were sorting insqitch login the opposite order to which they'd been deployed.Fix was to remove the rows from
changesandeventsby hand (caution to anyone else doing this: do not do this unless you understand what you're doing AND have a backup of the tables), and then deploy the three changes one after another usingsqitch deploy --log-only <change name>at least a second apart :DThanks for listening :D