#Unable to Delete Template

5 messages · Page 1 of 1 (latest)

quiet fern
#

My team has configured Backstage to read templates from a central repository call backstage-templates. It has the following structure:

templates
  |-- springboot.yaml
all-templates.yaml
all.yaml

all-templates.yaml has a reference to springboot.yaml and all.yaml imports all-templates.yaml

The Springboot template is correctly loaded as a tile in backstage but I am now unable to get it out of the list of templates that are rendered even though I have removed all references to it in the repository and in all-templates.yaml. Its been 30 minutes now.

How do I completely remove the Springboot template from the Backstage UI.

FYI I am using PostgreSQL as storage for the backstage instance.

#

Unable to Delete Template

simple garnet
#

Try refreshing the component manually. You can crosscheck if it shows in Locations under targets.

quiet fern
#

This is not a component though. It is a Template, kind: Template.

#

I found the solution:

  1. Click on home
  2. Select Kind = Template
  3. Click on the template name is the list displayed
  4. Click on ellipses at the top right corner of the template page
  5. Select "Unregister entity" to remove template