JS Report Upgrade from v1.7.0 to 2.0



  • Hi,

    I am running JS report(version 1.7.0) in AWS Elastic Beanstalk using Docker file.

    Today i have created new Elastic Beanstalk application for JS Report 2.0 using Docker File. and i am trying to enable the authentication using following variable and it is not working in V2.0 but same tag is working in v 1.7.0
    authentication_enabled
    authentication_admin_username
    authentication_admin_password

    similarly other configuration which are working in v1.7.0 is not working in v2.0

    please help us in configuring it.



  • Hi, the v2 configuration changes are described here
    https://jsreport.net/blog/jsreport-v2-released

    The authentication in particular should be configured like this

    extensions_authentication_admin_username=admin
    extensions_authentication_admin_password=xxx
    extensions_authentication_cookieSession_secret=yoursecret
    


  • Thanks,
    the authentication is working, but connection string is not working, as per the document connectionstring is renamed to store, but it is not working.

    extensions_store_provider : postgres
    extensions_store_database
    extensions_store_host
    extensions_store_password
    extensions_store_port
    extensions_store_user

    please help



  • It should be like this

    {
    	"store": {
    		"provider": "postgres"
    	},
    	"extensions": {
    		"postgres-store": {
    			"host": "localhost",
    			"port": 5433,
    			"database": "jsreport",
    			"user": "postgres",
    			"password": "password"
    		}
    	}
    }
    

    Or with envs like this

    store_provider=postgres
    extensions_postgresStore_database=...
    extensions_postgresStore_host=...
    

Log in to reply
 

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