mcandea Posted December 18, 2009 Share Posted December 18, 2009 Hi,I am trying to include a schedule for one of my reports in my deployment package. For this, I have created the schedule on an instance of the server and exported everything with js-export. But when I am trying to import on another instance of JasperServer, I get:User jasperadmin does not exist, skipping job 1 of report... Needless to say that user jasperadmin does exists, so does source report, so does the destination folder.Anything else that may be wrong and maybe not properly reported by js-import?Thanks,Marius Link to comment Share on other sites More sharing options...
swood Posted December 20, 2009 Share Posted December 20, 2009 Looks like a bug in import/export. Can you import the users before you import the resources and schedules? Hmmm, when you said "export everything", did you do an export of the whole repository, or just the schedules? ShermanJaspersoftPost Edited by swood at 12/20/2009 18:28 Link to comment Share on other sites More sharing options...
mcandea Posted December 21, 2009 Author Share Posted December 21, 2009 Hi Sherman, thank you for your answer!I made simpler and simpler tries. I ended up exporting and importing on my local server.The simplest thing I did was to export just the schedule, then try to import it, same message about jasperadmin not existing.Also I created another user and the schedule for that user, I exported the whole repository, then deleted my reports and the user, then tried to import. Here's an excerpt of the import log:Created user myuser of tenant organization_1...Imported resource /organizations/organization_1/Reports/threshold...User myuser does not exist, skipping job 2 of report /organizations/organization_1/Reports/thresholdCreated 0 job(s) for report /organizations/organization_1/Reports/thresholdI don't think I'm doing anything wrong. I am using JS 3.5.1 and the scripts for that version.Thanks,Marius Post Edited by mcandea at 12/22/2009 15:39 Link to comment Share on other sites More sharing options...
swood Posted December 21, 2009 Share Posted December 21, 2009 I can't recreate this problem. Here is what I did. Added the testexport user to organization_1 Created a schedule with testexport and jasperadmin Ran js-export --report-jobs /organizations/organization_1/reports --users "testexport|organization_1" --output-zip = ..\scheduleAndUser.zipExporting user testexport of tenant organization_1Exported 2 job(s) for the /organizations/organization_1/reports/samples/Employees report unit Deleted the jobs and the testexport user Ran: js-import --input-zip ..\scheduleAndUser.zipCreated user testexport of tenant organization_1Created 2 job(s) for report /organizations/organization_1/reports/samples/Employees All looked good. ShermanJaspersoft Link to comment Share on other sites More sharing options...
lucianc Posted December 22, 2009 Share Posted December 22, 2009 There's a hotfix for 3.5.1 to fix that. Contact Jaspersoft's support service to get it.Regards,Lucian Link to comment Share on other sites More sharing options...
Recommended Posts
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