JULES migration to cylc 8 - ServiceFileError

Hello,

I’ve been trying to migrate my old cylc 7-compatibe rose suite for running JULES to cylc 8, but when I validate the suite I get the following output:

[jmac87@cylc2 roses]$ cylc validate u-dp235

WARNING - Backward compatibility mode ON

ServiceFileError: Workflow database is incompatible with Cylc 8.4.1, or is corrupted.

If I ignore this error and try and “play” the suite anyway, I get the same error:

[jmac87@cylc2 roses]$ cylc play u-dp235
ServiceFileError: Workflow database is incompatible with Cylc 8.4.1, or is corrupted.

I’ve tried searching online for a solution but I can’t find one. Any ideas what this error means and how I can fix it?

Many thanks

Jon

Hi Jon,

I think it’s because you have run this suite at cylc7 and so have all cylc7 incompatible run files under ~/cylc-run/u-dp235.

Regards,
Ros.

Hi Ros,

Thanks for pointing this out. I tried clearing this directory and running, but I’m still getting the same error:

[jmac87@cylc2 roses]$ cylc play u-dp235
ServiceFileError: Workflow database is incompatible with Cylc 8.4.1, or is corrupted.

Note also, after deleting the contents of ~/cylc-run/u-dp235, I get the following error message when trying to validate:

[jmac87@cylc2 roses]$ cylc validate u-dp235
WorkflowFilesError: No flow.cylc or suite.rc in /home/users/jmac87/cylc-run/u-dp235

Hi Jon,

Please run rm -rf ~/cylc-run/u-dp235 to remove the entire cylc-run directory for this suite and then try again. There are hidden files in there (e.g.the directory .service) which includes the cylc suite state db.

Regards,
Ros.

Thanks Ros,

I did that and then ran the “cylc vip” function that does the full validation, install, play and that seems to work!

Thank you

Jon