לא ניתן למחוק רכיב ערכת נושא שפג תוקפו מ-CLI - נכשל באתחול

Ok, so the solution was to set up a fresh discourse installation, restore from backup and then delete component that was causing an issue.