I am using sainsmart 12v 16 channel relay with raspberry pi 3 model b+. I m connecting two 5v and ground from rpi to relay board, powering telay board with 12v adapter and connecting gpio pin 4 to relay input.
My understanding you don’t need to connect 5V from outside source to the board - it has it’s own regulator which produces 5V from 12V source.
Also check what is the right initial input state (Low vs. High) for the board and configure your RPi outputs accordingly. I would suggest to first shutdown the OH then play with the port states from the command line.