process-migrator icon indicating copy to clipboard operation
process-migrator copied to clipboard

Documentation Incorrect: No Config Created

Open MrHinsh opened this issue 1 year ago • 4 comments

Just run process-migrator without any argument will create the file if it does not exist.

This is not the case.. it just errors out.

MrHinsh avatar Aug 09 '23 17:08 MrHinsh

Hey @MrHinsh, can you share a bit more context. For me it does create the template file just fine (tested on Codespace and Windows).

MOlausson avatar Aug 15 '23 09:08 MOlausson

If I install the tool and then just run it from the command prompt with no argument I get:

[ERROR] [2023-08-15T09:21:22.011Z] [Configuration validation] Missing or invalid source account url: 'Required in 'export'/'migrate' mode, source account url.'.

image

MrHinsh avatar Aug 15 '23 09:08 MrHinsh

OK, so there was an old configuration.json in that folder.

Perhaps if it finds a config it should say "Loading config: C:\Users\MartinHinshelwood(He\configuration.json" so that it is more obvious that it is indeed finding a config, but that its format is not valid.

MrHinsh avatar Aug 15 '23 09:08 MrHinsh

I agree that the documentation (and error handling) can be improved. The team will be maintaining the tool more actively going forward so will make sure it gets prioritized.

MOlausson avatar Aug 15 '23 10:08 MOlausson