I’ve had similar issue in earlier versions of Umbraco 16 and 17, where the backlog got too large as @Luuk mentions.
I “fixed” it by running some code, tricking the cleanup service into thinking we are in the past ![]()
[Route("/api/contentversioncleanup")]
public class ContentVersionCleanupController(IContentVersionService service) : Controller
{
[HttpGet]
[Route("{days}")]
public async Task<IActionResult> Get([FromRoute] int days)
{
return Ok(service.PerformContentVersionCleanup(DateTime.UtcNow.AddDays(days)).Count);
}
}
So with this controller, I just started running it with eg. days=-100, days=-75 and so forth, until I got through everything.