PS4 needs it's hard drive to be constantly pushed into port else the display will flicker and turn off

Hi,

My PS4 requires the HDD to be physically pushed in the port really hard for it to remain turned on.

Once releasing pressure the PS4 remains turned on, but display has no signal. Also the light on the PS4 is purple. I have tried a new HDD and the same thing happens. With no hard drive, the PS4 turns on, but will show no video output.

Does anyone know what is going on and if I might be able to fix it?

Thanks