-
Notifications
You must be signed in to change notification settings - Fork 142
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
Old Commit Revision Unknown #176
Comments
yep, will do 👍 |
Awesome 😇👍🏽 |
done (in next release) but i cannot test it. do you create test docker images local? i tried it on a raspberry but it fails cuz of the architecture and did not got it fixed now. ate a few hours already 💩 guess i need to rape my ubuntu vm for this. |
@reloxx13, I simply created v1.5.0-beta1 and enabled pre-release option. After pulling it from docker hub and running it from my Synology NAS (amd64) it gives the following: Besides all warnings, on the SelfUpdate page Current Version Unknown. I checked the environment variables within the running container and they are nicely added. |
Oo ill check it tonight |
try it in firefox pls, this expire date is a chrome issue i think. |
Just tested Safari, Chrome and FF, they all show the same results (warnings). |
ahaha forget it, errors after login |
that's weird, I just deleted the container, the data dir and all tasmoadmin images (so fully fresh install) ... ran the new container with:
And it still complains about line 42 of the config.php, which is:
Also the current version remains Unknown. Any suggestion? |
Login page displays fine, but afterwards the warnings appear |
TODO: echo "fastcgi_param BUILD_VERSION tagnumber;" >> /etc/nginx/fastcgi_params @RaymondMouthaan do you now where to put this in best case? ENV vars are not passed to fcgi without this, thats why php cannot find it. new beta after this is in. |
sth like this: |
Not sure what needs to be done within the docker image .. We are not using a fpm image but from what I understand is that we need a php-fpm.conf file with some settings (i.e. clear_env = Yes ??? ) and add this to the docker image while building it? |
nuu, same problem exists for our using fcgi this string: tagnumber = replace with travis variable needs to be in this file in short: the FPM link was just to know how they got it into the docker script. for docker i think it should be:
Added this after he installation of nginx now. |
its working!! 🚀 pls update 👍 |
Version comparsion is not set up correctly and will be hard with "-beta". Currently it just checks if current is not latest Results in new update for now: In past their was no way to have a higher version as the latest 📦 so if your current is not latest, their is an update :D and latest is taken by git releases which looks like its not including pre-releases. |
Alright, lets stay at this approach :) Let's close this issue .. the honour is all yours to release v1.5.0 ;) |
Closed |
Former-commit-id: 795b5be
Former-commit-id: 2eb532f
Former-commit-id: 21d48a6
Heya @reloxx13,
I've added two environment variables to the docker image. BUILD_VERSION and BUILD_REF, both can be used to determine the current version / commit from within a running docker container.
If added these so that tasmoadmin can display the current version / revision instead of unknown. Could you please extent the php code (see http://php.net/manual/en/function.getenv.php) to read these environment variables and display the current version / revision?
example:
BUILD_VERSION: v1.3.1
BUILD_REF: 6db1acb
Some textual changes i suggest are:
So in a full example:
Current version v1.3.1 >> New version v1.4.0
As a bonus it would be nice to hyperlink both versions to related GitHub tags
Greetz,
Ray
The text was updated successfully, but these errors were encountered: