-
Notifications
You must be signed in to change notification settings - Fork 74
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
Docker: add support for a patchlevel version upgrade #203
Comments
I checked how |
For this isssue lets take a very simple simple approach.
|
Here are some testcases:
|
More issues:
|
Also use exec consistently. Also support fallback for running other commands.
Act more like the Perl cmp operator. Requires that none of the versions match [^0-9.].
Avoid the unnessary step of copying from /opt/otobo/ to /var/otobo/otobo_next. set_permissions.pl now takes the param '--dir' with the default '.'. No need to use FindBin. Rename some vars. Put some vars into a tighter scope.
In the end use /opt/otobo as working dir again.
Just a sentiment that working as root should be minimised.
/var/otobo looks to much like data that must be kept
Looks mostly fine now. More testing does not hurt. |
Issue #203: ignore hidden file when checking whether /opt/otobo is empty
Tested again by creating an image with version number 11.0.1. Worked as expected. Closing. |
Currently one can't simply upgrade the otobo docker image as runtime data is stored in /opt/otobo. Examples are the dirs Custom and var and the files ZZZAAuto,pm and Config.pm. Runtime and code data should be separated. Also investigate which cases are handled in https://hub.docker.com/r/juanluisbaptiste/otrs.
The text was updated successfully, but these errors were encountered: