I have octopi running on my raspberry pi.

Yes the motor needs to be reversed. It is done in the firmware, or by reversing the wiring.