I wiped out the logic meta file and spawned my ship on an empty blueprint, and the rails started working. Until the next time I loaded up the server; they've stopped again. This time, however, there were no entities docked to the ship and not a single block of logic was connected to anything...