Switching data directory to external usb drive

I switched my data directory on my rpi from my sd card to my usb stick. I am getting this error message now: It was not possible to execute the cron job via CLI. The following technical errors have appeared:

Your data directory is invalid Ensure there is a file called ".ocdata" in the root of the data directory.

Here are the file permissions:
-rwxrwxr-x 1 www-data www-data 0 Apr 14 13:54 .ocdata
That file path: /mnt/usb/data
I also made sure to update the config.php file.

Thankfully this is heavily documented on the forum. See search results and solutions here