started from ground.
I used https://github.com/jsreport/jsreport/blob/master/jsreport.config.json
and also
ubuntu@reports:/tmp/jsreport$ sudo sudo chmod -R 777 /my_data_folder/*
Works now.
started from ground.
I used https://github.com/jsreport/jsreport/blob/master/jsreport.config.json
and also
ubuntu@reports:/tmp/jsreport$ sudo sudo chmod -R 777 /my_data_folder/*
Works now.
I am trying to run jsreport on docker -compose
version: '3.3'
services:
jsreport:
image: jsreport/jsreport:3.10.0
ports:
- "5488:5488"
restart: unless-stopped
volumes:
- "./data:/app/data"
- "./jsreport.config.json:/app/jsreport.config.json"
but I am getting following errror.
jsreport_1 | 2023-02-25T23:42:32.653Z - error: Error occurred during reporter init: Error: Error when loading extension fs-store@3.2.4
jsreport_1 | Error: EACCES: permission denied, mkdir '/app/data/storage'
jsreport_1 | at Object.mkdirSync (node:fs:1382:3)
jsreport_1 | at module.exports (/app/node_modules/@jsreport/jsreport-fs-store/lib/blobStorageProvider.js:8:8)
jsreport_1 | at Object.module.exports (/app/node_modules/@jsreport/jsreport-fs-store/lib/main.js:36:75)
jsreport_1 | at Object._useOne (/app/node_modules/@jsreport/jsreport-core/lib/main/extensions/extensionsManager.js:226:75)