Vacuum command hanging

4.0.9.2244:
Unraid docker binhex-sonarr

I am trying to recover a corrupt database via this in the wiki:

I have gotten to the VACUUM; step and nothing seems to be happening.

Any idea what I am doing wrong?

I skipped that step and it seems to have worked to solve the problem I was having.