Cookbook: Check your MIK configuration values - MarcusBarnes/mik GitHub Wiki
To check your configuration options, run MIK and include the --checkconfig
(or -cc
) option with a value of of "snippets", "urls", "paths", "aliases", "csv", or "all'":
./mik --config foo.ini --checkconfig snippets
checks your metadata mappings snippets for well formedness (not validity againt a schema)../mik --config foo.ini --checkconfig urls
checks all URLs in your config file to make sure they are accessible../mik --config foo.ini --checkconfig paths
checks to make sure that all the paths to files and directories in your configuration file exist (except for[LOGGING] path_to_log
, which is created as needed)./mik --config foo.ini --checkconfig aliases
checks whether all CONTENTdm components' "alias" values are identical../mik --config foo.ini --checkconfig csv
checks whether all rows in the input CSV metadata file have the same number of columns, and whether the column headers are unique../mik --config foo.ini --checkconfig all
checks all of the above.- Add the
--ignore_null_mappings
parameter (e.g../mik --config foo.ini --checkconfig all --ignore_null_mappings
) to skip checking any null values in your mapping CSV. If you are using null values to call on metadata manipulators,--checkconfig
will see them as malformed XML unless you use this parameter.