jsreport/jsreport-migration

MIGRATION CANCELED UNEXPECTEDLY!

Closed this issue · 1 comments

Steps to reproduce this error on windows

jsreport init
jsreport configure
jsreport start
exit
npm install -g jsreport/jsreport-migration
E:\temp2>jsreport-migration
Welcome to migration utility that will help you upgrade from jsreport v1 to v2!

i Make sure to check or do the following first before start the migration:

 - update your project and check it works with latest jsreport v1 version.
 - backup somewhere your jsreport app and data first before running the migration.

Finally, make sure to follow all the steps and answer any question during the migration process.

 In case of any error during the process you can contact us and describe the error by creating a github issue (https://github.com/jsreport/jsreport-migration/issues) or opening a new topic in our forum (https://forum.jsreport.net/).


? ready to start? Yes

checking jsreport installation at: E:\temp2
 jsreport installation is ok. version found: 1.10.0

please be sure to backup your jsreport app and data before continuing. remember that you can backup your data by using the export feature (https://jsreport.net/learn/import-export) of jsreport, and to backup your app you can make a copy of your project files and save it somewhere
? should we continue? Yes
 user confirmed that project backup is done

 jsreport instance initialized

checking images extension usage in project
 no images found to migrate

checking scripts extension usage in project
 all scripts are ok

checking phantom-pdf extension usage in project
you have 2 templates(s) stored using phantom-pdf recipe. jsreport v2 doesnt include phantom-pdf as a default recipe but uses chrome-pdf as the new default instead. These two technologies produces different output sizes and we cannot automatically convert templates for you to guarantee the exact same output is produced.
? please choose what would you want to do in order to continue i will keep using
 phantom-pdf recipe in jsreport v2
 jsreport-phantom-pdf will be installed at the end of the migration

checking fop-pdf extension usage in project
 no templates with fop-pdf recipe found to migrate

checking logging configuration in project
 logging configuration is ok

checking scheduling extension usage in project
 no schedules found to migrate

all ready for the installation step
? should we install jsreport v2 (and jsreport-phantom-pdf) now? Yes
 jsreport v2 (and jsreport-phantom-pdf) installed successfully


 All done! just remember that you should not run the migration again in this project or you could have unexpected results. If for some reason you want to re-run the migration you should restore your project from your backup and try the migration again from there.


 MIGRATION COMPLETED! ENJOY

× MIGRATION CANCELED UNEXPECTEDLY! you should restore your project from your backup before running the migration again to ensure the migration can complete correctly in next run.

E:\temp2>

Fixed thanks.