Skip to main content
Announcements
Qlik and Talend Support Cases are now opened in the same place.

Qlik Replicate scheduled jobs won't start after Qlik Replicate upgrade

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Pedro_Lopez
Support
Support

Qlik Replicate scheduled jobs won't start after Qlik Replicate upgrade

Last Update:

Mar 29, 2022 3:49:25 AM

Updated By:

Sonja_Bauernfeind

Created date:

Mar 22, 2022 11:17:23 AM

After upgrading Qlik Replicate may cause scheduled jobs to fail due to changes in the Scheduler functionality.

Example error: 

[UTILITIES ]E: Command request 'RESUMETASK_REQ' (55) cannot be found. [1020111] (scheduler.c:270)

In this specific example, the scheduled job didn't run because it had selected the option to "RESUME TASK",  which has been removed in more recent versions of Replicate.

 

Environment

 

Resolution

A quick solution is to export/import the repository, below are the steps:

  1. Under Replicate server -> Logging -> Log File Management -> Uncheck any Log roll over you might have
  2. Replicate Server -> Scheduler -> Take a screenshot here as you'll need to recreate the jobs
  3. Disable all the scheduled jobs
  4. Export repository by going on cmd to Replicate bin/ folder and running:
    repctl exportrepository
  5. It's going to create a JSON file called Replication_Definition.json under Replicate/data/imports , please backup this file by renaming it
  6. Edit it with notepad++ and empty the scheduler section, it should be like this:
    "scheduler": {
    
    },
  7. Save it and make sure it's called Replication_Definition.json
  8. Import repository by running under Replicate /bin folder:
    repctl importrepository json_file=Replication_Definition.json

    If you have a custom location of the data folder, make sure you specify it by adding the flag -d before the json_file.
  9. Recreate the scheduled jobs
  10. Test the schedule

 

Labels (1)
Comments
AnneVo
Contributor II
Contributor II

I'm sure this solution would work, but it requires a lot of manual/error-prone work to recreate schedule jobs.  How do we automate/script it ?

 

SwathiPulagam
Support
Support

Hi @AnneVo ,

 

This is the simple and suggested way to fix the schedule issue which happened during the upgrade.

You have to follow the suggested manual process and there is no way to automate this.

 

Thanks,

Swathi

 

HOASTONGE
Contributor
Contributor

This solution is the pain of .. I have to recreate all of schedule job.. i have more than 80 jobs need to recreate one by one .. 😞  

Version history
Last update:
‎2022-03-29 03:49 AM
Updated by: