diff --git a/KNOWN_ISSUES.md b/KNOWN_ISSUES.md index acde311..78ababc 100644 --- a/KNOWN_ISSUES.md +++ b/KNOWN_ISSUES.md @@ -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. diff --git a/README.md b/README.md index 233a634..329f17c 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/entrypoint-5.x.sh b/entrypoint-5.x.sh index 4550dd2..27ef681 100755 --- a/entrypoint-5.x.sh +++ b/entrypoint-5.x.sh @@ -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"