Data directory is invalid. Please check that the data directory contains a file “.ocdata” in its root

Changing the data directory in the config is not enough. Did you read this?