Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] - Port v2.1.1 | Templates JSON | Unable to retrieve templates #226

Closed
quadcom opened this issue Mar 1, 2021 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@quadcom
Copy link

quadcom commented Mar 1, 2021

Describe the bug
I've added the URL for the JSON templates list. After saving and going to the App Templates in Portainer there was an error message at the top right. "Unable to retrieve templates"

To Reproduce
Steps to reproduce the behavior:

  1. Add template JSON URL -> https://raw.githubusercontent.com/SelfhostedPro/selfhosted_templates/master/Template/template.json
  2. Save
  3. review templates availble

Expected behavior
I expected to see a list of 80+ app templates

Portainer Logs
today at 12:52 PM 2021/03/01 17:52:22 http error: Invalid request payload (err=Invalid external templates URL. Must correspond to a valid URL format) (code=400)

Would really like to see Portainer support multiple external template URLS. The v2.1.1 install came with a JSON already present in the templates field (https://raw.githubusercontent.com/portainer/templates/master/templates-2.0.json).

@quadcom quadcom added the bug Something isn't working label Mar 1, 2021
@FatherTusker
Copy link

From the Reddit thread, it appears that the correct URL for v2.0+ is https://raw.githubusercontent.com/SelfhostedPro/selfhosted_templates/portainer-2.0/Template/template.json
Can confirm it works for me on 2.1.1 (running on OMV 5.6.2-1)

@SelfhostedPro SelfhostedPro pinned this issue Mar 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants