And yes, water must be kept liquid. But so must the crew - and a big tank of water would make an excellent heat buffer to smooth out variations in temperature.
Getting the bubbles out is easy - you need only a very small difference in weight, and you can do that with a turntable.
The big problem is the energy needed to split the water into H2 and O2, and yes, as has been pointed out, no way will there be enough energy in starlight.
“And since oxygen gas must be kept in pressurized tanks”
HEAVY metal/plastic tanks the higher the pressure goes (or bulky low pressure)
as long as you have the power source (solarcell efficiency has been going up ...)
Seems to me that keeping the water in a liquid state would require more energy than you could produce.