mirror of
https://github.com/mbentley/docker-omada-controller.git
synced 2026-12-05 16:42:10 +00:00
Merge pull request #519 from mbentley/workaround-509
Created a workaround for 509
This commit is contained in:
+6
-1
@@ -13,6 +13,7 @@
|
||||
* [5.12 - Unable to Login After Upgrade](#512---unable-to-login-after-upgrade)
|
||||
* [Slowness in Safari](#slowness-in-safari)
|
||||
* [5.14 - Controller Unable to Start](#514---controller-unable-to-start)
|
||||
* [5.15 - Controller Unable to Start](#515---controller-unable-to-start)
|
||||
|
||||
## Containerization Issues
|
||||
|
||||
@@ -75,4 +76,8 @@ In versions 5.8 to 5.12, it has been seen where Safari will take a significant a
|
||||
|
||||
### 5.14 - Controller Unable to Start
|
||||
|
||||
Upon upgrade to 5.14, the controller may not start. You may see error messages that include phrases like: `Cannot retry start up springboot`, `Unsatisfied dependency expressed through field...`, `org.springframework.beans.factory.UnsatisfiedDependencyException`, among others. This is a problem with the controller software itself that TP-Link is aware of. If you're impacted, see the first post in [this issue](https://github.com/mbentley/docker-omada-controller/issues/418) for possible workaround instructions and more information.
|
||||
Upon upgrade to 5.14, the controller may not start. You may see error messages that include phrases like: `Cannot retry start up springboot`, `Unsatisfied dependency expressed through field...`, `org.springframework.beans.factory.UnsatisfiedDependencyException`, among others. This is a problem with the controller software itself that TP-Link is aware of. If you're impacted, see the first post in [this issue](https://github.com/mbentley/docker-omada-controller/issues/418) for possible workaround instructions and more information. This issue should no longer be present on the latest 5.14 versions.
|
||||
|
||||
### 5.15 - Controller Unable to Start
|
||||
|
||||
Upon upgrade to 5.15, the controller may not start. You may see error messages right around the `Valid radius server keystore is missing. Generating one ...` message that include phrases like: `Exception in thread "main" java.lang.NoSuchFieldError: id_alg_zlibCompress` among others. This is a problem with the controller software itself that TP-Link is aware of. If you're impacted, see the first post in [this issue](https://github.com/mbentley/docker-omada-controller/issues/509) for more information. An environment variable can be set as `WORKAROUND_509=true` on the container definition and it will delete two library files that are causing the issue.
|
||||
|
||||
@@ -43,6 +43,8 @@ For references on running a legacy v3 or v4 controller, see the [README for v3 a
|
||||
* [Incorrect CMD](KNOWN_ISSUES.md#incorrect-cmd)
|
||||
* [5.12 - Unable to Login After Upgrade](KNOWN_ISSUES.md#512---unable-to-login-after-upgrade)
|
||||
* [Slowness in Safari](KNOWN_ISSUES.md#slowness-in-safari)
|
||||
* [5.14 - Controller Unable to Start](KNOWN_ISSUES.md#514---controller-unable-to-start)
|
||||
* [5.15 - Controller Unable to Start](KNOWN_ISSUES.md#515---controller-unable-to-start)
|
||||
|
||||
## Image Tags
|
||||
|
||||
|
||||
@@ -372,6 +372,29 @@ else
|
||||
echo "INFO: userland/kernel check passed"
|
||||
fi
|
||||
|
||||
# see if we should try to delete bcpkix-jdk15on-1.70.jar and bcprov-jdk15on-1.70.jar to workaround https://github.com/mbentley/docker-omada-controller/issues/509
|
||||
if [ "${WORKAROUND_509}" = "true" ]
|
||||
then
|
||||
echo "INFO: WORKAROUND_509=true; deleting files that block controller startup, if present"
|
||||
|
||||
# delete files, if present
|
||||
for FILE in bcpkix-jdk15on-1.70.jar bcprov-jdk15on-1.70.jar
|
||||
do
|
||||
# see if the file is there
|
||||
if [ -f "${FILE}" ]
|
||||
then
|
||||
# found; delete it
|
||||
echo -ne "INFO: deleting '/opt/tplink/EAPController/lib/${FILE}'\nINFO: "
|
||||
rm -v "/opt/tplink/EAPController/lib/${FILE}"
|
||||
else
|
||||
# not found
|
||||
echo "INFO: '/opt/tplink/EAPController/lib/${FILE}' isn't present, skipping"
|
||||
fi
|
||||
done
|
||||
|
||||
echo "INFO: WORKAROUND_509 complete!"
|
||||
fi
|
||||
|
||||
# show java version
|
||||
echo -e "INFO: output of 'java -version':\n$(java -version 2>&1)\n"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user