Issue DescriptionGetting error response “Import of an organization to the root is not allowed", when trying to import resources to root folder: | [toc] |
./js-import.sh --input-zip organization_1.zip --organization organizations --merge-organization --keyalias deprecatedImportExportEncSecret Result: 128 Validating JasperServer database connection at jdbc:postgresql://localhost:5432/jasperserver. Phase: [import-export-test] Connection OK Keystore OK VALIDATION COMPLETED Total time: 3 seconds Executing Pro version First resource path: /opt/jasperreports-server/jasperreports-server-pro-7.5.0-bin/buildomatic/conf_source/iePro Loading configuration resources Initialization complete Processing started Import of an organization to the root is not allowed.
Resolution
To import resources to Root folder, you need to use organization option and specify target as Organizations, with capital "O". Otherwise, it will fail with the error as in this case.
The correct command is:
./js-import.sh --input-zip organization_1.zip --organization Organizations --merge-organization --keyalias deprecatedImportExportEncSecret
If you like to import to other Organization, you can use command as below
./js-import.sh --input-zip organization_1.zip --organization organization_2 --merge-organization --keyalias deprecatedImportExportEncSecret
More import / export options can be found at
Recommended Comments
There are no comments to display.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now