After upgrading Appian, the Data Server is not able to start even though the license is still active.
{"level":"ERROR","time":"YYYY-MM-DDTHH:MM:SS.MSZ","logger":"watchdog","caller":"QLicenseManager.java:54","thread":"main","msg":"An unexpected error Failed to start and connect to q. cfg=Config{script=lib/ut.q, hostAndPort=localhost:5406, args=[]} occurred during K4 license validation. For an updated license, please contact Support."}java.lang.IllegalStateException: Failed to start and connect to q. cfg=Config{script=lib/ut.q, hostAndPort=localhost:5406, args=[]}
{"level":"ERROR","time":"YYYY-MM-DDTHH:MM:SS.MSZ","logger":"watchdog","caller":"QLicenseManager.java:54","thread":"main","msg":"An unexpected error Failed to start and connect to q. cfg=Config{script=lib/ut.q, hostAndPort=localhost:5406, args=[]} occurred during K4 license validation. For an updated license, please contact Support."}
java.lang.IllegalStateException: Failed to start and connect to q. cfg=Config{script=lib/ut.q, hostAndPort=localhost:5406, args=[]}
<APPIAN_HOME>/data-server/engine/bin/q/l64$ QHOME=.. ./q 'YYYY.MM.DDTHH:MM:SS.MS license error: upd
The current k4.lic file does not support the version of q present in the upgraded Appian version. This is due to a change in the q version between the initial Appian version and the upgraded Appian version.
The k4.lic file needs to be updated if the Appian version you are upgrading to has a q version that was released later than when your license was last updated.
Open a support case to request for refreshed licenses.
This article applies to all self-managed versions of Appian.
Last Reviewed: August 2024