SelfhostedPro / selfhosted_templates

Portainer templates for selfhosted services
GNU General Public License v3.0
1.24k stars 238 forks source link

Template error: unable to retrieve templates #159

Closed chest069 closed 3 years ago

chest069 commented 4 years ago

The template.json file results in an "unable to retrieve templates" error when loading the App Templates page.

curator888 commented 4 years ago

Are you using this exact url for your templates? https://raw.githubusercontent.com/SelfhostedPro/selfhosted_templates/master/Template/template.json

ironboy1 commented 3 years ago

same for me, getting the same error message

ironboy1 commented 3 years ago

The reason for this issue on my side is that I updated to portainer 2.0,which currently not supporting application templates.

DavidPesticcio commented 3 years ago

@chest069 / @ironboy1

FYI I'm using the link below with Portainer 2.0.0 (it's documented somewhere, I had the same issue as you, but I can't find the link sorry) - it seems to be missing a lot of the entries from the original "Portainer" list... not sure why. :-(

https://raw.githubusercontent.com/SelfhostedPro/selfhosted_templates/portainer-2.0/Template/template.json

HTH

farizno commented 3 years ago

@DavidPesticcio Thanks so much! This is what I needed to fix the issue in Portainer 2.0.

SelfhostedPro commented 3 years ago

There's a portainer 2.0 branch for Yacht now. Once I hit a slow down with Yacht I'll be getting some more work done on these templates. Not sure why there's less entries in the 2.0 branch but I'll see about resolving that.

DavidPesticcio commented 3 years ago

Hi @selfhostedpro - just to clarify my remark regarding "less" - I should have been more clear to point out that the template entries between selfhosted_templates & Portainer 2.0 templates does not appear to be an extended "mirror" of the original entries. While there are more in the selfhosted_templates list, there appear to be entries missing when compared to the original Portainer 2.0 entries. Hopefully that clarifies my point 🤓

Thanks for looking into it. If you would like some assistance with organising/synchronising the entries, feel free to ping me. I'm more than happy to assist wherever possible... ☺️👍

SelfhostedPro commented 3 years ago

@DavidPesticcio that would be much appreciated. I'm currently spending most of my time on Yacht so I haven't had time for these. Do you have a discord? If you do, join our server and I can run you through what's needed.

https://discord.gg/KpKutvC

Normanras commented 3 years ago

This thread solved it for me too! I was originally looking for the app template file, as another issue mentioned incorrect brackets in certain places, but the 2.0 is what made it work. Thanks, all!