repository "datadir" was wrong - if this doesn't work I don't know what to do.  Also made some changes to RCM