Minecraft wiki entry for Server_maintenance, associated text: Ensure there are no players in that dimension, stop the server. Delete the "DIM-1" folder to reset The Nether, delete the "DIM1" folder to reset The End. Any builds inside those dimensions will be lost, the Ender Dragon will also reappear for The End.
Restart the server.