# A valid Stardog license was not found. Please download a trial license or visit https://stardog.com for more information

**URL:** <https://community.stardog.com/t/a-valid-stardog-license-was-not-found-please-download-a-trial-license-or-visit-https-stardog-com-for-more-information/2449>\
**Category:** Support\
**Created:** [May 17, 2020, 1:36am UTC](https://community.stardog.com/t/a-valid-stardog-license-was-not-found-please-download-a-trial-license-or-visit-https-stardog-com-for-more-information/2449 "2020-05-17T01:36:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexj](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/alexj/32/202_2.png) [@alexj](https://community.stardog.com/u/alexj)\
**Post date:** [May 17, 2020, 1:36am UTC](https://community.stardog.com/t/a-valid-stardog-license-was-not-found-please-download-a-trial-license-or-visit-https-stardog-com-for-more-information/2449/1 "2020-05-17T01:36:54Z")

</div>

The license was retrieved less than a month ago

---

<div class="post-metadata">

**Author:** ![zachary.whitley](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/zachary.whitley/32/94_2.png) [@zachary.whitley](https://community.stardog.com/u/zachary.whitley)\
**Post date:** [May 17, 2020, 3:14am UTC](https://community.stardog.com/t/a-valid-stardog-license-was-not-found-please-download-a-trial-license-or-visit-https-stardog-com-for-more-information/2449/2 "2020-05-17T03:14:20Z")

</div>

Is there in fact a license in the STARDOG\_HOME directory? Could the env var STARDOG\_HOME have changed or not been set for some reason. Can you check that it’s set to what you think it is?

---

<div class="post-metadata">

**Author:** ![alexj](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/alexj/32/202_2.png) [@alexj](https://community.stardog.com/u/alexj)\
**Post date:** [May 17, 2020, 3:56am UTC](https://community.stardog.com/t/a-valid-stardog-license-was-not-found-please-download-a-trial-license-or-visit-https-stardog-com-for-more-information/2449/3 "2020-05-17T03:56:57Z")

</div>

it is invoked via  
`sudo docker run -e STARDOG_EXT="/var/opt/stardog/lib" -v /data/stardog:/var/opt/stardog -p 5820:5820 stardog/stardog`  
and /data/stardog does have a license.

---

<div class="post-metadata">

**Author:** ![zachary.whitley](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/zachary.whitley/32/94_2.png) [@zachary.whitley](https://community.stardog.com/u/zachary.whitley)\
**Post date:** [May 17, 2020, 1:09pm UTC](https://community.stardog.com/t/a-valid-stardog-license-was-not-found-please-download-a-trial-license-or-visit-https-stardog-com-for-more-information/2449/4 "2020-05-17T13:09:06Z")

</div>

Your immediate problem can probably be solved by adding the —force flag to the license request to get a new license.

As to why You can try checking the log, did you change the permissions on anything in the /data/Stardog dir? Update the system clock? Set the wrong date on the flux capacitor?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/2X/e/ed66b48a616f505106a4acde3c9cee7e6da9bc67.svg) [@system](https://community.stardog.com/u/system)\
**Post date:** [May 31, 2020, 1:09pm UTC](https://community.stardog.com/t/a-valid-stardog-license-was-not-found-please-download-a-trial-license-or-visit-https-stardog-com-for-more-information/2449/5 "2020-05-31T13:09:10Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
