I have a missed ticket, I have missed it 4, almost 5 months ago. It is still locked. How long does it take to get the ticket price back to my wallet, so I could use it for staking again?
Start the wallet process with the --enablevoting flag. It will not issue revocations without it. Unlock the wallet with dcrctl --wallet walletpassphrase "yourpassphrase" 0. The wallet must be unlocked for it to be able to create the revocations and sign them. Instruct dcrd to notify the wallet about missed tickets again so it will issue the revocations with dcrctl rebroadcastmissed. At that point, you should see the wallet log some details about the revocation transactions. Once those revocation transactions are mined into a block (which should be the next block), you will see the funds move to the immaturestakegeneration category in the dcrctl --wallet getbalance output. Finally, after 256 blocks, they will move to spendable category and thus be available to spend. NOTE: You could also just wait for a new block to show up for the final step since the wallet will automatically issue revocations given the first two conditions are true, but I suggested you manually issue the notification so you can more easily verify it issues the revocations.
I missed the ticket, I have already missed 10 months ago. It is still locked, send instructions to unlock