Mac shared folder can't be accessed via afp if it's on another HD
I have a folder on a second internal HD that I share from my Mac mini (running 10.12). I usually connect to it through SMB, but I need to use AFP due to using an older Mac. However, I cannot get the folder to show up while connecting via AFP, it only shows via SMB. I have tested and found that any folder shared from my internal SSD/boot drive is accessible via AFP, but not any folders from my internal HD.
Any idea what's going on and how I can fix this?
The issue was solved by turning off and back on File Sharing in the OS X Server app. Not sure why restarting and turning on/off the System Preferences checkmark didn't solve it.