-
Notifications
You must be signed in to change notification settings - Fork 3.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
[Bug]: Docker Container Reset stays with wrong version #1443
Comments
Cant reproduce this issue, i assume its related to how you are updating the containers, i recommend |
I assume your version you are downloading is older version which is why VERSION_TAG does not match, |
i am not using watchtower, i have a simple scheduled script that is running as root to pull the latest images, for froodle i use |
are you able to provide script? |
and also docker run/compose config |
sript is just a scheduled task as root with to get the latest updates/image Installation was done with portainer and tutorial from modified with :latest tag and valid language settings, as en_US or de_DE is wrong, should be en-US oder de-DE. |
So to confirm you stop old instance Remove old image Run docker pull Start container again? There is something wrong in the process as I don't believe there is issue our end so trying to lay it out |
The sequence is different. The old image is only deleted once the upgrade has been completed without any problems so that the last status can be restored. |
Cant reproduce |
the docker latest fat should be a workaround for you for this, the version tag is for the security jar to be downloaded as a optional addon, |
Tested today with tag:Latest. Still the same, why is this Version Tag not updated when the container is reset? I didn´t understand why this version tag is not updated during the reset, only by deleting the complete variable or doing a fresh container it is automatically set. |
The Problem
Stirling-PDF is running as Docker Container on Synology NAS. First setup was done by portainer script.
services:
stirling-pdf:
container_name: Stirling-PDF
image: frooodle/s-pdf:latest
i update the container by downloading the new image with a script polling all new images. stop and reset the container.
now i was wondering, why the Container was still using an old version. I found that the environmental variable
VERSION_TAG 0.2.xxx
ist never updated and still is pointig to the old installed version. If i delete this variable and reset the container, the variable will be set with the latest version number. Why is this "VERSION_TAG" not updated with the matching Version number from the actual image?
There is no VERSION_TAG set in portainer at Environment variables.
Version of Stirling-PDF
0.2.x
Last Working Version of Stirling-PDF
0.x
Page Where the Problem Occurred
No response
Docker Configuration
No response
Relevant Log Output
No response
Additional Information
Download new image from frooodle/s-pdf:latest. Stop Container, Reset Container. Start Container.
Until the VERSION_TAG is not deleted, it will stay on the already installed older Version.
Browsers Affected
Firefox, Chrome, Safari, Microsoft Edge, Other
No Duplicate of the Issue
The text was updated successfully, but these errors were encountered: