Closing jsreport instance error



  • Deployed jsreport with free version. But when I run command with node server.js, it gives me below error.

    Closing jsreport instance
    error: Error occured during reporter init Error: Enterprise trial expired

    Kindly assist on it.


  • administrators

    hi! hmm maybe all this time you were having some license key referenced in your configuration file or maybe in some of these locations and after some time it now detects it as trial expired. if you find some reference for the license key then remove it and you should be able to start again. what version of jsreport are you using? can you share the full logs that jsreport outputs when starting?



  • I am facing the same issue ,Following is error code. Please reply if any fix.

    2019-09-02T12:49:05.737Z - info: Using extension authentication@2.2.3
    2019-09-02T12:49:05.757Z - info: Using extension cli@2.0.7
    2019-09-02T12:49:05.758Z - info: Using extension debug@2.0.2
    2019-09-02T12:49:05.759Z - info: Using extension express@2.4.0
    2019-09-02T12:49:05.846Z - info: Using extension freeze@2.0.0
    2019-09-02T12:49:05.856Z - info: Using extension handlebars@2.0.2
    2019-09-02T12:49:05.861Z - info: Using extension import-export@1.3.0
    2019-09-02T12:49:05.947Z - info: Using extension jsrender@2.0.0
    2019-09-02T12:49:05.948Z - info: Using extension tags@2.2.0
    2019-09-02T12:49:05.950Z - info: Using extension templates@2.2.0
    2019-09-02T12:49:05.951Z - info: Using extension authorization@2.2.4
    2019-09-02T12:49:05.960Z - info: Using extension base@2.0.2
    2019-09-02T12:49:05.961Z - info: Using extension browser-client@2.1.1
    2019-09-02T12:49:05.964Z - info: Using extension child-templates@1.2.0
    2019-09-02T12:49:05.969Z - info: Using extension chrome-pdf@1.4.0
    2019-09-02T12:49:06.022Z - debug: Chrome strategy is dedicated-process
    2019-09-02T12:49:06.023Z - info: Using extension data@2.1.0
    2019-09-02T12:49:06.023Z - info: Using extension fs-store@2.4.1
    2019-09-02T12:49:06.148Z - info: fs store underlying changes synchronization with studio is disabled
    2019-09-02T12:49:06.148Z - info: Using extension licensing@2.1.0
    2019-09-02T12:49:06.170Z - info: Using extension pdf-utils@1.4.0
    2019-09-02T12:49:06.322Z - info: Using extension reports@2.2.0
    2019-09-02T12:49:06.326Z - info: Using extension studio@2.5.1
    2019-09-02T12:49:06.333Z - debug: studio request logs are enabled (flush interval: 2000)
    2019-09-02T12:49:06.333Z - info: Using extension text@2.0.0
    2019-09-02T12:49:06.334Z - info: Using extension version-control@1.2.3
    2019-09-02T12:49:06.373Z - info: Using extension assets@1.1.3
    2019-09-02T12:49:06.383Z - info: Using extension html-to-xlsx@2.3.1
    2019-09-02T12:49:06.462Z - info: html-to-xlsx detected chrome as available html engine
    2019-09-02T12:49:06.463Z - info: Using extension scheduling@2.0.7
    2019-09-02T12:49:06.488Z - info: Using extension scripts@2.1.0
    2019-09-02T12:49:06.491Z - info: Using extension xlsx@2.0.10
    2019-09-02T12:49:06.623Z - info: Using extension public-templates@2.0.1
    2019-09-02T12:49:06.624Z - info: Using extension resources@2.0.3
    2019-09-02T12:49:06.625Z - info: Using extension sample-template@2.3.0
    2019-09-02T12:49:06.626Z - info: Using fs provider for template store.
    2019-09-02T12:49:06.631Z - info: fs store is persisting using fs
    2019-09-02T12:49:06.631Z - info: fs store is synchronizing using fs
    2019-09-02T12:49:06.633Z - info: fs store is loading data
    2019-09-02T12:49:06.657Z - info: fs store is initialized successfully

    Blobstorage initialted.
    2019-09-02T12:49:06.690Z - info: Creating default express app.
    2019-09-02T12:49:06.705Z - info: jsreport server successfully started on http port: 8000
    2019-09-02T12:49:06.705Z - debug: fs store sync modifications is disabled
    2019-09-02T12:49:06.707Z - info: Verifying license key free
    2019-09-02T12:49:06.709Z - warn: License info stored in jsreport.license.json is corrupted, processing remote license verification
    2019-09-02T12:49:07.181Z - info: Closing jsreport instance
    2019-09-02T12:49:07.187Z - error: Error occured during reporter init Error: Enterprise trial expired
    at /home/bitnami/vaarta-report/node_modules/jsreport-licensing/lib/licensing.js:146:18
    at tryCatcher (/home/bitnami/vaarta-report/node_modules/jsreport-licensing/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/home/bitnami/vaarta-report/node_modules/jsreport-licensing/node_modules/bluebird/js/release/promise.js:512:31)
    at Promise._settlePromise (/home/bitnami/vaarta-report/node_modules/jsreport-licensing/node_modules/bluebird/js/release/promise.js:569:18)
    at Promise._settlePromise0 (/home/bitnami/vaarta-report/node_modules/jsreport-licensing/node_modules/bluebird/js/release/promise.js:614:10)
    at Promise._settlePromises (/home/bitnami/vaarta-report/node_modules/jsreport-licensing/node_modules/bluebird/js/release/promise.js:694:18)
    at Promise._fulfill (/home/bitnami/vaarta-report/node_modules/jsreport-licensing/node_modules/bluebird/js/release/promise.js:638:18)
    at Promise._settlePromise (/home/bitnami/vaarta-report/node_modules/jsreport-licensing/node_modules/bluebird/js/release/promise.js:582:21)
    at Promise._settlePromise0 (/home/bitnami/vaarta-report/node_modules/jsreport-licensing/node_modules/bluebird/js/release/promise.js:614:10)
    at Promise._settlePromises (/home/bitnami/vaarta-report/node_modules/jsreport-licensing/node_modules/bluebird/js/release/promise.js:694:18)
    at Promise._fulfill (/home/bitnami/vaarta-report/node_modules/jsreport-licensing/node_modules/bluebird/js/release/promise.js:638:18)
    at /home/bitnami/vaarta-report/node_modules/jsreport-licensing/node_modules/bluebird/js/release/nodeback.js:42:21
    at /home/bitnami/vaarta-report/node_modules/graceful-fs/graceful-fs.js:45:10
    at FSReqCallback.oncomplete (fs.js:153:20)



  • You are probably having more than 5 templates in the store and don't have a proper license.
    If this is the case, you need to remove some templates first in order to start the instance again.
    Open data directory and delete templates you don't need. (Backup the first)


Log in to reply
 

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