Not able to upgrade from jasper reports server(community edition) from version 6.4.3 to version 7.5.0, Cannot locate script js-export-ce.sh in jasper reports server installation 6.4.3.


I am following steps described in the below upgrade guide link to upgrade from jasper reports server community edition 6.4.3 to 7.5.0,
https://community.jaspersoft.com/documentation/tibco-jasperreports-serve...

While trying to execute command in section, Exporting Current Repository Data, I am not able to locate script, js-export-ce.sh in jasper server installation 6.4.3. 
js-export-ce.sh --everything --output-zip js-export.zip --genkey

I also noticed that the script js-export-ce.sh is also not present in jasper server installation 6.4.0 either.

Please help me locate the script js-export-ce.sh.

Cannot use the script js-export.sh instead of js-export-ce.sh, because script js-export.sh does not support the --genkey option and the genkey option seems to be important as the same will be later used for upgrade to 7.5.

akshaya_hebbar's picture
Joined: Jul 16 2019 - 2:53am
Last seen: 2 years 3 months ago

As mentioned earlier in the question/ticket, I am using or trying to upgrade "community edition" of JasperReports Server and I cannot find script js-export-ce, in community edition of JasperReports Server 6.4.3.

I am following the upgrade guide for community edition and the upgrade guide asks me to use script js-export-ce, which is not present in jasper server installation version 6.4.3(also not present in version 6.4.0 or 7.5.0)

https://community.jaspersoft.com/documentation/tibco-jasperreports-server-community-project-upgrade-guide/v750/upgrading-64-71-75

akshaya_hebbar - 3 years 1 month ago

I think "js-export-ce" in JRS community upgrade guide is misleading. Try ./js-export.sh in 6.4.3 and ./js-import.sh in 7.5 instead to migrate your repository content.

Based on JRS community admin guide, it only has js-export and js-import utilities.  

https://community.jaspersoft.com/documentation/tibco-jasperreports-server-administrator-guide/v630/import-and-export-through-command

https://community.jaspersoft.com/documentation/tibco-jasperreports-server-community-project-administrator-guide/v75-v750/import-and

tchen - 3 years 1 month ago

The complete command to be executed in step Exporting Current Repository Data is, (https://community.jaspersoft.com/documentation/tibco-jasperreports-serve...)
js-export-ce.sh --everything --output-zip js-7.1-export.zip --genkey

If your advice is to use js-export.sh instead of js-export-ce.sh, then that does not work either,
./js-export.sh --everything --output-zip js-export.zip --genkey
fails with the below error,
"Option genkey is not recognized."
The above error is because js-export.sh does not support --genkey option.

Mention of both script js-export-ce.sh and option --genkey in the upgrade guide cannot be a typo.

akshaya_hebbar - 3 years 1 month ago
show 1 more...

The --genkey option for export utility is introduced in 7.5.0 . Our upgrade document is misleading and INCORRECT. I am going to file a documentation bug report on this error which affects both community and comercial edition of the document. FYI, only commercial edition is supportable by Tech Support group.

In your case, you should run ./js-export.sh --everything --output-zip js-export.zip in JRS 6.4.3 installation. You do not need JRS 6.4.3 old key to run your reposiotry content import into JRS 7.5.0. Hope this helps to clarify the situation and sorry for the confusion this has caused.

tchen - 3 years 1 month ago

0 Answers:

No answers yet
Feedback