I noticed that some community step templates are not showing up in Octopus when I open ‘Library’->‘Step templates’ and click ‘Install’.
For instance, the step template ‘Microsoft Teams - Post a message’ is not visible.
I noticed that the JSON returned by the ‘/api/actiontemplates/search’ action does contain the step template, but shows the category as ‘null’.
When I browse to the library.octopusdeploy.com/listing site, I can see this step template and it shows the category ‘Microsoft Teams’.
Do we need to refresh some files on our Octopus-server or did I miss something else?
It took some fiddling around, but I think I discovered the problem. As it turns out, it was a misunderstanding of the functionality on my part.
The synchronization completed successfully and the database did show the step template with the correct category.
However, I initially imported the step template by copying the JSON from the library.octopusdeploy.com website. After I deleted the imported step template, it immediately showed up in the Community Contributed Step Templates and I was able to re-install the template. In other words, the overview filters out already installed templates by setting the category to null in the JSON content. I did not realize that installed templates do not show up in the overview.