Keep getting "Error: Enterprise trial expired" having only one template



  • Hi! I'm triying to restart my JSReport server in AWS EC2. But I still getting this error:

    0|jsreport  | 2019-12-04T11:14:12.503Z - info: fs store emits sockets to synchronize underlying changes with studio
    0|jsreport  | 2019-12-04T11:14:12.630Z - info: Verifying license key free
    0|jsreport  | 2019-12-04T11:14:13.288Z - info: Closing jsreport instance
    0|jsreport  | 2019-12-04T11:14:13.374Z - error: Error occured during reporter init Error: Enterprise trial expired
    0|jsreport  |     at /home/ubuntu/jsreportapp/node_modules/jsreport-licensing/lib/licensing.js:146:18
    0|jsreport  |     at tryCatcher (/home/ubuntu/jsreportapp/node_modules/bluebird/js/release/util.js:16:23)
    0|jsreport  |     at Promise._settlePromiseFromHandler (/home/ubuntu/jsreportapp/node_modules/bluebird/js/release/promise.js:512:31)
    0|jsreport  |     at Promise._settlePromise (/home/ubuntu/jsreportapp/node_modules/bluebird/js/release/promise.js:569:18)
    0|jsreport  |     at Promise._settlePromise0 (/home/ubuntu/jsreportapp/node_modules/bluebird/js/release/promise.js:614:10)
    0|jsreport  |     at Promise._settlePromises (/home/ubuntu/jsreportapp/node_modules/bluebird/js/release/promise.js:694:18)
    0|jsreport  |     at Promise._fulfill (/home/ubuntu/jsreportapp/node_modules/bluebird/js/release/promise.js:638:18)
    0|jsreport  |     at Promise._settlePromise (/home/ubuntu/jsreportapp/node_modules/bluebird/js/release/promise.js:582:21)
    0|jsreport  |     at Promise._settlePromise0 (/home/ubuntu/jsreportapp/node_modules/bluebird/js/release/promise.js:614:10)
    0|jsreport  |     at Promise._settlePromises (/home/ubuntu/jsreportapp/node_modules/bluebird/js/release/promise.js:694:18)
    0|jsreport  |     at Promise._fulfill (/home/ubuntu/jsreportapp/node_modules/bluebird/js/release/promise.js:638:18)
    0|jsreport  |     at /home/ubuntu/jsreportapp/node_modules/bluebird/js/release/nodeback.js:42:21
    0|jsreport  |     at /home/ubuntu/jsreportapp/node_modules/graceful-fs/graceful-fs.js:45:10
    0|jsreport  |     at FSReqWrap.oncomplete (fs.js:135:15)
    0|jsreport  | Error: Enterprise trial expired
    0|jsreport  |     at /home/ubuntu/jsreportapp/node_modules/jsreport-licensing/lib/licensing.js:146:18
    0|jsreport  |     at tryCatcher (/home/ubuntu/jsreportapp/node_modules/bluebird/js/release/util.js:16:23)
    0|jsreport  |     at Promise._settlePromiseFromHandler (/home/ubuntu/jsreportapp/node_modules/bluebird/js/release/promise.js:512:31)
    0|jsreport  |     at Promise._settlePromise (/home/ubuntu/jsreportapp/node_modules/bluebird/js/release/promise.js:569:18)
    0|jsreport  |     at Promise._settlePromise0 (/home/ubuntu/jsreportapp/node_modules/bluebird/js/release/promise.js:614:10)
    0|jsreport  |     at Promise._settlePromises (/home/ubuntu/jsreportapp/node_modules/bluebird/js/release/promise.js:694:18)
    0|jsreport  |     at Promise._fulfill (/home/ubuntu/jsreportapp/node_modules/bluebird/js/release/promise.js:638:18)
    0|jsreport  |     at Promise._settlePromise (/home/ubuntu/jsreportapp/node_modules/bluebird/js/release/promise.js:582:21)
    0|jsreport  |     at Promise._settlePromise0 (/home/ubuntu/jsreportapp/node_modules/bluebird/js/release/promise.js:614:10)
    0|jsreport  |     at Promise._settlePromises (/home/ubuntu/jsreportapp/node_modules/bluebird/js/release/promise.js:694:18)
    0|jsreport  |     at Promise._fulfill (/home/ubuntu/jsreportapp/node_modules/bluebird/js/release/promise.js:638:18)
    0|jsreport  |     at /home/ubuntu/jsreportapp/node_modules/bluebird/js/release/nodeback.js:42:21
    0|jsreport  |     at /home/ubuntu/jsreportapp/node_modules/graceful-fs/graceful-fs.js:45:10
    0|jsreport  |     at FSReqWrap.oncomplete (fs.js:135:15)
    

    Full logs: https://pastebin.com/RusJHu8a

    And this are my templates directory:

    ~/jsreportapp/data/templates$ ls
    'CurrĂ­culo'   config.json
    

    I'm using Ubuntu + Nginx + PM2.



  • Are you sure you don't have other "templates" in other directories? Templates don't need to be just in the "templates" folder.
    Maybe you have some in the "samples" folder?

    I can't be 100% sure, but based on the logs you provided and our logs on licensing server it seems you have 8 templates.
    It can't still be someone else as I match it just by hour/minute, but it would be my guess it is your instance.

    In case you find other templates you don't need, just delete their respective folder, to be sure delete also "jsreport.license.json" if you have it in the app root, and restart jsreport.
    You can identify templates if you open "folderA/config.json" and check if you see inside "$entitySet": "templates".



  • I reinstalled JsReport and it's worked. I don't know what happened.

    ~/jsreportapp/data$ ls
    settings  storage  templates
    

    And I don't find any license file or environment variables.



  • Hm, strange.

    Please let me know if you experience further issues.


Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.