How can I unwedge the end when the portal didn't spawn after killing the dragon?

Our* server world has glitched out. The ender dragon is dead, but the end portal, the far portal, and the egg didn't spawn and the dragon's (full) HP bar still shows.

How can I unwedge the end? There's been a lot of construction already (before the dragon was ever killed) and I would rather not reset the map.

* Yes, I have console access.


Solution 1:

If the boss bar is still showing, are you sure the ender dragon is dead?

Try /kill @e[type=ender_dragon]

If this doesn't work, you could do /summon ender_dragon and then do the /kill command to attempt a restart of the end.

If all else fails, you could reset the specific end world file instead of the whole world file,