Installing the EE license on Ubuntu instance

Hey folks,

I’m trying to install my Kong EE license on my Ubuntu instance but Kong doesn’t seem to be recognising it.

I’m running version in dbless mode and have placed our license.json file in /etc/kong.

I have also tried declaring KONG_LICENSE_DATA and KONG_LICENSE_PATH which also do nothing.

I’ve also declared KONG_LICENSE_PATH in my kong.conf.

For each of these I restart kong and test with http :8001/licenses but I am getting this back:

HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Connection: keep-alive
Content-Length: 23
Content-Type: application/json; charset=utf-8
Date: Fri, 02 Jun 2023 16:27:38 GMT
Server: kong/
X-Kong-Admin-Latency: 3
X-Kong-Admin-Request-ID: cDWyygNPJCPK7Z9bQssCnZeXv5W2XMsf

    "data": [],
    "next": null

The license doesn’t expire till 2023-08-26.