Collect those blue light thingies that float around after you kill monsters (black orbs) and put them on 3 pedestals around the first floor. The door of night to the second floor will be unlocked