Cannot restart JsReports: Windows Service



  • Hello, I have already installed the JsReports windows Service in my local machine and works fine.
    But, when I restart the service from the services.msc, the service is looping between the state "Running" and "Starting".

    My jsreport.config.json file is:
    "{
    "extensions": {
    "authentication": {
    "cookieSession": {
    "secret": "<your strong secret here>"
    },
    "admin": {
    "userName": "admin",
    "password": "password"
    },
    "enabled": false
    },
    "scripts": {
    "timeout": 10
    },
    "sample-template": {
    "createSamples": true
    }
    },
    "httpPort": 17050,
    "store": {
    "provider": "fs"
    },
    "blobStorage": {
    "provider": "fs"
    },
    "logger": {
    "console": {
    "transport": "console",
    "level": "debug"
    },
    "file": {
    "transport": "file",
    "level": "info",
    "fileName": "logs/reporter.log"
    },
    "error": {
    "transport": "file",
    "level": "error",
    "fileName": "logs/error.log"
    }
    },
    "allowLocalFilesAccess": true,
    "templatingEngines": {
    "timeout": 10
    },
    "chrome": {
    "timeout": 10
    }
    }"

    Only restarting the pc I can use the service again.

    Thanks



  • Please check jsreport logs in logs/reporter.log and also the windows events log.
    The window service writes to the events log every failed attempt to start.



  • Logs:
    "Error occured during reporter init Error: Enterprise trial expired", but... i don't use the templates, I only use the web-server for posts and do the pdfs



  • I create 1 template for try in my playground (localhost), but... i don't use the playground for generate reports, I only use this for examples, but.. i don't need this!
    My license is expired? But.. I don't need a license 😂



  • Hm, you are on the latest 2.8.0 jsreport?
    Don't you have templates in the data folder?
    Please delete the jsreport.license.json if its there and try to restart again.



  • Thanks!


Log in to reply
 

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