JS Report server auto shut down?
-
I setup JS Report service on one of my server and I found next day this service was automatically closed and said "exit". Can you please suggest the possible reason for this? I am using community edition, so is this the limitation of this edition, do I need to buy a license? Please help!
Chirag
-
No, this has nothing to do with the edition.
The problem is likely somewhere else.
Please provide logs and as much information as you can about hosting jsreport.
-
@jan_blaha ,
m also facing similar issue,
This is the server log in my local,it automatically exit from the process :2018-05-11T05:22:36.020Z - debug: Zipping prepared xml files into C:\Users\YUGAM~1.GHO\AppData\Local\Temp\jsreport\50840340-54db-11e8-908c-efa5b6c219fa.xlsx requestId=7
2018-05-11T05:22:36.093Z - debug: Successfully zipped now. requestId=7
2018-05-11T05:22:37.399Z - debug: Skipping storing report. requestId=7
2018-05-11T05:22:37.408Z - info: Rendering request 7 finished in 2071 ms requestId=7
2018-05-11T05:29:50.605Z - debug: OData update on templatesProcess finished with exit code 1
Do you know how to avoid this.
-
@Yugam-Gogia Do you host jsreport in windows service? Can you check event viewer logs?
Is the time2018-05-11T05:29:50.605Z - debug: OData update on templates
the time when jsreport stopped?
Are you able to replicate this?
-
@jan_blaha ,Our Service is hosted on Linux server.
But the same issue with my local on windows, i got the logs from Event viewer
if Idle timout is causing this issue ,then what is the solution.
Please ignore the logged time ,as this is the first time i got this issue.
-
@Yugam-Gogia The VSS is likely unrelated error based on this description. How do you host jsreport on windows? It should write hard crash to the event log if you use our command jsreport win-install. The message would contain something with NSSM
-
@jan_blaha ,
Getting error while doing Jsreport win-install$ jsreport win-install
Platform is win32
Installing windows service "jsreport-server" for app..
Error: Command failed: "E:\Cartos_Main\Report\js-report\js-report\node_modules\winser-with-api\bin\nssm64.exe" install "jsreport-server" node server
'"E:\Cartos_Main\Report\js-report\js-report\node_modules\winser-with-api\bin\nssm64.exe"' is not recognized as an internal or external command,
operable program or batch file.at ChildProcess.exithandler (child_process.js:275:12) at emitTwo (events.js:126:13) at ChildProcess.emit (events.js:214:7) at maybeClose (internal/child_process.js:925:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5) {"killed":false,"code":1,"signal":null,"cmd":"\"E:\\Cartos_Main\\Report\\js-report\\js-report\\node_modules\\winser-with-api\\bin\\nssm64.exe\" install \"jsreport-server\" node server"}
And how to see logs on linux server where it is deployed