Hi there,
I tried to apply a new license key into a running drone instance on docker (drone:2.15).
Like shown in the faqs and docs, I tried to apply the license with the environment variable directly and a mountend config file. Both ways failed with the same message:
2022-12-02T09:37:07Z fatal error=Malformed License msg=main: invalid or expired license
Tried with env var:
version: "3.5"
configs:
drone.key:
external: true
services:
server:
image: drone/drone:2.15.0
environment:
# ...
DRONE_LICENSE: |
-----BEGIN LICENSE KEY-----
12345
67890
abcd
efgh
-----END LICENSE KEY------
tried with docker config:
version: "3.5"
configs:
drone.key:
external: true
services:
server:
image: drone/drone:2.15.0
environment:
# ...
DRONE_LICENSE: "/drone.key"
configs:
- drone.key