-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
App Templates regression since 2.22.0 #12337
Comments
I can confirm this. i have the exact same problems with templates. In buisiness and the community version on 2 differt machines setup using Truenas Scale. |
I have just found this issue because I have exactly the same problem. I'm running |
Same problem here - using STS - current Version 2.24.0 |
I actually wrote a simple script to fix those templates and then opened a pull request on that repo with my fixed version: Lissy93/portainer-templates#67. Note that I didn't alter the original file, I created a new one called |
Yeah, that option works! I wonder if there will be an update to the main branch? |
Seems to be required due to portainer/portainer#12337
Before you start please confirm the following.
Problem Description
Custom App Templates JSON using version 2 format does not work correctly since Portainer 2.22.
List of templates is loaded correctly in UI but I'm unable to open them. It starts to display the template settings but 1 second after the UI goes back to the list. The issue seems related to the new "id" parameters that appeared with App Templates v3.
Another issue is that App Templates V3 is not currently documented anywhere (or I could not find its documentation).
Expected Behavior
App templates v2 and v3 should work correctly in all recent versions of Portainer.
Actual Behavior
List is loading correctly but not the Template details and options page.
Steps to Reproduce
I did some extended testings and it shows some clear regressions since 2.22.0 :
App Templates files used :
You just have to point to these URL to reproduce the behaviour (not loading details page on any Template).
Portainer logs or screenshots
Most of the time there is no error, it just goes back to the list after selecting a template.
Sometimes there is an error in the events :
Portainer version
2.23.0
Portainer Edition
Business Edition (BE/EE) with 5NF / 3NF license
Platform and Version
Any version
OS and Architecture
Any OS
Browser
Chrome 114.0
What command did you use to deploy Portainer?
standard command and tried on multiple setups always with same result.
Additional Information
It would be great to fix the regression because I have dozens of Portainer CE pointing to my templates and they are managed by other users so I can't control their Portainer versions.
App templates JSON v3 must be documented correctly somewhere.
The text was updated successfully, but these errors were encountered: